Hello, Is it possible to communicate with esp32, ads1256(SPI), LIS3MDL(I2C) and 20x4 lcd together?
What kind of connection should I make?
Hello, Is it possible to communicate with esp32, ads1256(SPI), LIS3MDL(I2C) and 20x4 lcd together?
What kind of connection should I make?
Yes, it is possible to have a ads1256(SPI), LIS3MDL(I2C) and 20x4 lcd working together.
The kinds of connections that would be made would be according to the spec sheets of the devices used. If a device is SPI then the connections would be SPI and if the connections of the device are I2C then the device should be wired into the I2C bus.
I'd only get devices that are 3.3V I/O, the ESP32 is NOT 5V tolerant.
Thank you for the answer. What exactly did you mean? What kind of problem can it be to have 5v?
" I'd only get devices that are 3.3V I/O, the ESP32 is NOT 5V tolerant. "
The ESP32 is a 3.3V device and 5V on the GPIO pins can damage the ESP32.
I understand what you mean. This is an important problem. Adc1256 output is 5v. Is it possible to set this on adc?
How can I deal with this problem?
I found an explanation on the Esp32 forums; "The ESP32 is not 5v tolerant, you could not use the built in ADC to a 5V range. You could use an external ADC which operates on 5v. Or, you could scale down your inputs with a voltage divider and op amp, to take 5v down to the 3v range." I guess when external adc is used, there is no problem in SPI communication.
If the SPI signal (MISO) of the ADC is 5V, you do have a problem.
This does not seem to be related to Interfacing w/ Software on the Computer and hence is moved to amore suitable location on the forum.
Thanks, You're right. For this I will use a voltage divider to the output of the dout pin.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.