Newsletter
July 24, 2016 - 11:47am, 2870 views
Hi everyone!
I'm working a project that read sensor value from adc input on Java. Do you have any example code?
Thanks.
Hi,
There are some examples in the "knowledge base" section e.g.:
https://iot-developer.thalesgroup.com/showcase/how-integrate-proximity-sensor
https://iot-developer.thalesgroup.com/showcase/how-measure-temperature-java-3g-module
They should be perfect to start with. Please keep in mind that they are for the concept board, where there is an ADC multiplexer, so they are a little overcomplecated, comparing to pure module. Anyway you will find there the way to interact with both ConceptBoard and a module.
Best regards,
Michał
Hi,
I want to know if there is any way to connect a current sensor to the EHS6T LAN modem. The current sensor gives an analog value and the thing that I wanna do is convert this value to digital value.
Ones I finished the convertion, I want to send the digital value to a specific phone number.
Should I use AT commands or java ??
Thanks for the help.
Hello,
It is possible, the EHS6 module has Analog-to-Digital Converter which can be used to measure the voltage of external devices connected to the ADC input.
It can be controlled with AT commands or Java API according to your *****.
There is some configuration of input pins required on the module which can be done with AT commands (AT^SCFG). It's because some of the lines of hardware interfaces are shared. Additionally the terminal also requires some configuration which can be done with i2c interface - it's described in Java Terminals Hardware Interface Description document.
Here are some simple example projects with ADC and Java API for ConceptBoard:
https://iot-developer.thalesgroup.com/showcase/how-integrate-pcb-slider
https://iot-developer.thalesgroup.com/showcase/how-integrate-proximity-s...
https://iot-developer.thalesgroup.com/showcase/how-measure-temperature-j...
Best regards,
Bartłomiej
Hi again!
I wrote a code on Eclipse, but I can´t upload the code to the EHS6T Lan modem.
Which Serial port should I use in order to upload the program?
Could you help me with the steps??
Thanks a lot.!!!
Changing the subject, I just want a quotation of the concept board.
Do you guys know to whom I have to talk to buy one module?
Hello,
To buy a Concept Board you can visit this site:
https://webstore.gemalto.com/INTERSHOP/web/WFS/GEMALTO-B2CCORP-Site/en_U...
You can use any port that supports AT commands, if there is no USB you can use RS232. If you have Gemalto IDE there is MES tool that can be used in Windows. Just this port cannot be used by any other program at the same time.
Regards,
Bartłomiej