You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to get readings from my EC sensor. I have already connected my EC chip to my USB EZO isolated board. The board is detected by my rapsberry pi, but when I send the R command to get a reading I cannot get any return value
Welcome to the Atlas Scientific Raspberry Pi FTDI Serial example.
Any commands entered are passed to the board via UART except:
Poll,xx.x command continuously polls the board every xx.x seconds
Pressing ctrl-c will stop the polling
Press enter to receive all data in buffer (for continuous mode)
Atlas Scientific I2C sample code
Any commands entered are passed to the default target device via I2C except:
Help
brings up this menu
List
lists the available I2C circuits.
the --> indicates the target device that will receive individual commands
xxx:[command]
sends the command to the device at I2C address xxx
and sets future communications to that address
Ex: "102:status" will send the command status to address 102
all:[command]
sends the command to all devices
Poll[,x.xx]
command continuously polls all devices
the optional argument [,x.xx] lets you set a polling time
where x.xx is greater than the minimum 1.50 second timeout.
by default it will poll every 1.50 seconds
Pressing ctrl-c will stop the polling
--> EC 100
Enter command: r
Success EC 100: 13090
Enter command: r
Success EC 100: 13090
Enter command: r
Success EC 100: 13090
Enter command: r
Success EC 100: 13090
Enter command: r
Success EC 100: 13090
Enter command: r
Success EC 100: 13010
Enter command: r
Success EC 100: 13010
`
Any input why I cannot get readings using the USB isolated board but I can get readinds from the EC chip connected directly to my RPI?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi, I am trying to get readings from my EC sensor. I have already connected my EC chip to my USB EZO isolated board. The board is detected by my rapsberry pi, but when I send the R command to get a reading I cannot get any return value
`pi@aws-rpi02:~/Raspberry-Pi-sample-code $ sudo python2 ftdi.py
Welcome to the Atlas Scientific Raspberry Pi FTDI Serial example.
Discovered FTDI serial numbers:
('\nIndex: ', 0, ' Serial: ', u'DO009HTS')
Please select a device index: 0
('>> Opened device ', u'DO009HTS')
If I run the i2cdectec command I dont see the chip address:
pi@aws-rpi02:~/Raspberry-Pi-sample-code $ sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
However if I connect the EC chip directly to my raspberry pi I can get readings from it:
`pi@aws-rpi02:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@aws-rpi02:~ $ cd Raspberry-Pi-sample-code/
pi@aws-rpi02:
/Raspberry-Pi-sample-code $ ls/Raspberry-Pi-sample-code $ sudo python2 i2c.pyAtlasI2C.py AtlasI2C.pyc ftdi.py i2c.py LICENSE README.md uart.py
pi@aws-rpi02:
brings up this menu
lists the available I2C circuits.
the --> indicates the target device that will receive individual commands
sends the command to the device at I2C address xxx
and sets future communications to that address
Ex: "102:status" will send the command status to address 102
sends the command to all devices
command continuously polls all devices
the optional argument [,x.xx] lets you set a polling time
where x.xx is greater than the minimum 1.50 second timeout.
by default it will poll every 1.50 seconds
--> EC 100
Any input why I cannot get readings using the USB isolated board but I can get readinds from the EC chip connected directly to my RPI?
Thanks.
The text was updated successfully, but these errors were encountered: