Hi friends,
I have been doing a simple DIY project with these two sensors separately with my INFIDUINO UNO(Arduino uno R3_full_kit)
1.Using my pir sensor(INPUT) , LCD 1602,Leds and Buzzer(OUTPUT) have found it working 100% perfect.
(and what I wanted is 100% done.)
2.Using my ultrasonic distance sensor(INPUT) , LEDs and a buzzer(OUTPUT) have found this part too 100% perfect.
(and what I wanted is 100% done.)
3.Last part of this project is combining 1st and 2nd part to be run by my Arduino simultaneously, the general circuit and codes are without any error BUT when I upload it to the Arduino IT'S ONLY part one which functions leaving 2nd part totally down(function-less at all)
I don't know if there is any problem with compatibility OR can't the arduino run two sensors performing two different tasks simultaneously?? According to my Arduino knowledge though am a NEWBIE I know that the Arduino boards are multi-functional , what are the key points to consider to make it ??
the 1st 2nd 3rd codes are somehow long, if needed will post them here for better understanding and easier problem solving.
Thank you!