Hey guys, I’m programming the rephone with Eclipse for a couple days now.
I have a problem to read a analog value more than 20 times…
I read the value with a function and drop it with the “vm_log_info()” function over USB to the monitor.
But the Monitor stops output value when it arrives line 116…
Hi, m.duerr
If you have the GSM Breakout, you can reference to this link seeedstudio.com/wiki/Xadow_GSM_Breakout
for Pin definitions on Arduino IDE. There is example code in Arduino IDE: …\Arduino_IDE_for_RePhone\workspace\adc_test
I tested the adc_test.ino script. Connecting A3 (breakout E/1) with 2V8 (C/5) or GND has no effect.
First i tried the adc_test.ino script with the complete assembled RePhone. For a second test i connected the Xadow GSM+BLE only with the Xadow GSM Breakout. Makes no difference.
Other examples like gpio_test_for_breakout_board.ino or pwm_test.ino worked fine.
Hi,
After going through the posts in this thread, I’m still confused about connecting an analog sensor to my Xadow GSM breakout board. Is there a working example available I can refer to? (preferably using the arduino IDE)
/edit : I figured this is probably the example that is being referred to: /master/workspace/adc_test/adc_test.ino
Running the adc_test sketch and connecting A3 (breakout E/1) with 2V8 (C/5) with GND the value goes down from 1023 to zero.
This worked in my case also when the display was connected (but not in use). The touch pad is a i2c device so you should be able to use it simultainiously with the ADC.