I need help with my project. I will provide as many details. I have Arduino mega reading the temperature from 14 sensor DS18B20 and saving it to an SD card, also displaying the temperature on LCD TFT Screen.
If I don't connect the sensors, it works perfectly for hours.
but when I connect the sensors, it will work fine for around 15 minutes and then the screen blackout.
the Arduino keeps saving the information on the sd card and displays them on the serial monitor but no LCD.
The Screen will not function again unless I turn the power off for 3-5 minutes (simple off/on will not work).
the power consumption during normal operations (screen and sensors 0.2 Amp) but when the screen is off the power jumps to 0.6 amp. power supply is 5V, 2 amp.
I tried to power the sensors from Arduino or from an external power supply, same problem.
The DS18b20 code using OneWire and all of them are connected with the below picture.
forgot to mention 680 ohms between power and data, it is not 4.7kohm because of the cables length (cable resistance)
I changed the tempreture sensor DS18B20 resistor to 960ohm. More then that it doesn't read anything.
When I connected everything for an hour. It worked fine. But when I start the car engine. And tempreture start to be around 45-50. The screen disconnected and the screen back IC got very hot.
I put the screen opposite of the AC. and it is still working fine.
Not sure it is normal or faulty screen or it need heat sink?
I have changed the screen and added heatsink. Same problem.
Working fine without starting the car. After starting for about 10 minutes the screen blackout.
PLEASE HELP
No....you still need the 4k7......... if you add more sensors and each has the pullup, you will be dividing the resistance down...not good
3 to 15 metres of cat5 does not add up to your calculated resistance......
Think you need to get back to basics.......
How about this..?? ...just show what you have in code and in a circuit diagram that includes everything like power supply etc.
Car battery chargers (if that is what you used) are not power supplies per se...........there output is rarely smooth dc.
I was wondering if this might be the problem. The USB car chargers that I've taken apart seem fine though: good clean output.
@OP: have you measured the 5V signal at the display when the car is running? Also, are all the grounds going to the same place?
Clearly your display is overheating. The only reasons it should are either because its power supply is above 5V, or possibly that the 5V is drooping and the control signals from the arduino are greater than the display power supply, causing a "reverse power" situation.
It's critical to take measurements while the engine is running since vibration can affect connections that are fine when it's not running.