PID is getting struck and making arduino to Hang..
PID is getting struck and making arduino to Hang..
You haven't given much to go on. Perhaps you should tell us more:
Arduino boards are mostly microcontroller based, and generally don't "hang" unless you have some sort of flaw in your program logic of sorts or have perhaps misconfigured the chip in some way (on purpose, or accidentally), although power problems (noisy power, insufficient voltage) could indeed cause the microcontroller to malfunction or hang, hence why having more information is necessary.
- Gough
You haven't given much to go on. Perhaps you should tell us more:
Arduino boards are mostly microcontroller based, and generally don't "hang" unless you have some sort of flaw in your program logic of sorts or have perhaps misconfigured the chip in some way (on purpose, or accidentally), although power problems (noisy power, insufficient voltage) could indeed cause the microcontroller to malfunction or hang, hence why having more information is necessary.
- Gough
i am trying to run an fan depending on the temperature from a sensor using PID...
Using arduino mega...
Libraries using are pidcontroller and dht..version of ide is 1.8.8
it is hanging when i am using UART without that it is running fine...i was checking with serial monitorby that i found it is being stopped after certain time..