Go to advanced search

by qjbarry
Mon Feb 19, 2018 3:40 pm
Forum: Troubleshooting
Topic: I2C Write repeated Read
Replies: 4
Views: 1403

Re: I2C Write repeated Read

Hi All, I managed to sort out the problem. The datasheet states that the calibration constants are stored in a ROM and that the data is 16 bits wide. For example, they state that at address 0 one can find the manufacturer reserved data (16 bits) and at address 1 Coefficient 1 16 bits wide. This is n...
by qjbarry
Sun Feb 18, 2018 10:28 pm
Forum: Troubleshooting
Topic: I2C Write repeated Read
Replies: 4
Views: 1403

Re: I2C Write repeated Read

Hi Joan, My code snippet I attached tried to make use of the method you suggested. The data returned is invalid. I seem to get the idea that the Pi does not support Write Repeated Reads. The problem is that I have to write a command which tells the sensor that I am going to read the A/D Thereafter I...
by qjbarry
Sun Feb 18, 2018 9:45 pm
Forum: Troubleshooting
Topic: I2C Write repeated Read
Replies: 4
Views: 1403

I2C Write repeated Read

HI, I am somewhat confused, there is so much "old" information available on the web regarding Write->Read issues. I no longer know what the current status really is. I am trying to read a few sensors on a board I designed, and as fate would have it, two of the devices make use of Write -> Read. To s...
by qjbarry
Thu Nov 16, 2017 12:27 am
Forum: General discussion
Topic: Best way to control 179 things individually
Replies: 15
Views: 2050

Re: Best way to control 179 things individually

179 "things" means a lot of wiring. I would use remote I/O to do this.
Load a Modbus server onto the Pi, and use a USB/485 converter.
Use Modbus slaves in the field and connect your wires up there.

Go to advanced search