Hi, can you help me with something. It is possible to evaluate the state of a switch in arduino and that this to be for example in HIGH state allows the 555 timer to control the on and off of a led, the idea is to simulate the flashing lights of a vehicle and with a potentiometer several its frequency.
If so, how can I do it?
What's the point of the 555 - you could do all that just with the Arduino.
Or, conversely, what's the point of the Arduino - you could do it all with the 555.
You can control the 555 state with the 555's reset pin (555 pin 4). A HIGH on pin 4 will allow the 555 to oscillate and a LOW will stop the 555. Wire the 555 as a regular astable multivibrator, but wire pin 4 to a digital output on the Arduino. Just for fun, I wired up a 555 as described to my Uno and it does work that way.
What kind of switch? A momentary switch like a pushbutton or like a SPST slide switch or a DPDT toggle switch or a multi-position rotary switch or ... ?
For a bushbutton switch, here is the preferred wiring.
Hi,
The way i use a pot is connect the 3 pins of the pot is to link pin pwr to pin 1(pot), pin 7 (555) to pin 2(pot), pin 6 (555) to pin 3 (pot).
90 pf capacitor
10 uf capacitor
10k pot
See diagram
Please post a schematic. Written descriptions and photographs are ambiguous and lose details that a schematic includes. Hand drawn is perferred over Friz type diagrams.
Hi,
I updated the posting with diagran.
Diana
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.