Tell us about yourself!
hi, i have been using pro mini with the heartbeat sensor, but the problem that i encounter is that the pro mini detects random heartbeat even there is none. do u know why ? this problem never happen when I use arduino uno
The problem with array i'm facing is that from your 'single car traffic code', you controlled the on off street lights by using ir sensors. Eg. 2nd and 3rd street light will turn on while 1st street light will turn off when ir sensor 2 activated. But the case with more than 1 car is different. Imagine if there are 2 cars in region 1, the 1st and 2nd led will turn on, but if one of the cars drive faster and passes through ir sensor 2, the 1st street light is off, regardless of there are still cars there.
How is array possible with high volume traffic ? I can't think of any other way for high volume traffic besides using multi thread, but it's kinda complicated. May you explain the array method ?
I'm doing the same project, but when 2 cars pass by the different ir sensors AT THE SAME TIME, the whole program and circuit is not working.