I am a complete newbie in electronics. As I am not able to get accurate answers catering to my specific requirements on any forums, I decided to use this forum.
I think I am facing voltage problems in my IoT project.
I am trying to get readings of 6 sensors (5V each) on my Raspberry Pi by connecting those sensors to an Arduino which is connected to the Pi (don’t know whether this is a correct method).
The Problem –
When I connect just the pH and EC Sensor to the Arduino Uno Board there are no issues but as I go on adding more sensors the other sensors start to give lower readings. I believe that this is a voltage issue. I don’t want to bodge. I am looking for a solid solution with the correct hardware.
I will explain the circuit here –
Input – 12 V
Arduino is connected to Rpi but is given an external power supply through an adapter of 12V. (as I believe Rpi gives only 5V supply to Arduino). The option of connecting sensors directly to Rpi is not possible because Rpi draws a lot of power while running my relays which drops my sensor readings.
Output Requirements & Sensors Details –
- PH Sensor (requires 5V to operate) – Specifications
- EC Sensor (requires 5V to operate) (i run this on 3.3v Arduino pin but it’s a suboptimal solution) – Specifications
- DHT11 Sensor (requires 5V to operate) – Specifications
- Ultrasonic Sensor (requires 5V to operate) – Specifications
- Water Temperature Sensor (requires 5V to operate) – Specifications
- Light (LDR) Sensor (requires 5V to operate) – Specifications
This adds up to 30V because the sensors must give a reading at the same time to the Arduino, which sends that string to Rpi.
Note – I also face heating issues on Arduino Uno board when I try to supply more than 12V to it
- A way to make this circuit work. (please give the solution in as much detail as possible)
- Any other way to make the sensors give readings to Rpi at the same time, where each sensor gets the required voltage in order to work properly.
Eg – Maybe Node MCU, Arduino Mega or something else
Please try to explain the solution in-depth & in detail.
Thanks a ton! 😀