Dark Matters
  • About Me
  • Publications
  • Educational Resources
  • Blog
  • Other Interests

Arduino Report #9: Project 11--Model Traffic Signal Using a Rotary Encoder

2/7/2013

3 Comments

 
Additional Parts:
  1. Green LED x1
  2. Red LED x1
  3. Orange LED x1
  4. 220 Ohm x3 
  5. 100k Ohm x3
  6. Push-to-make switch x1
  7. Rotary Encoder x1

Time to Complete: 45 min
Picture
This project is very similar to the Model Traffic Signal I wrote about before. The difference is that a rotary encoder is introduced to control the frequency at which the lights change. A rotary encoder is a knob that with two output pins that can be used to determine if it was turned clockwise or counter-clockwise. Unlike a potentiometer, a rotary encoder can be rotated indefinitely. They are commonly found employed as stereo volume knobs. Many rotary encoders also incorporate a push-to-make switch built into the knob. Unfortunately, I did not read closely enough when I was ordering new parts so my rotary encoders are buttonless. However, I did have a push-to-make switch in my box-o-parts, and with a little modification, I was able to complete the project with total functionality. 

This project was not without its small hangups. I quickly broke the output pins on the rotary encoder trying to put it into the breadboard. As a result, I ended up soldering wires onto the nubs where the contacts were. This ended up being advantageous in the end as the rotary encorder can now sit away from the tangled mess of the breadboard. I was able to quickly determine, from the data sheet from the rotary encoder and from my previous experience with the push-to-make switch, how to adjust the circuit for the buttonless rotary encoder. The circuitry is above and the video is below. Pushing the button turn on all the lights simultaneously. A clockwise rotation of the encoder slows down the light change rate while a counter-clockwise turn speeds it up. Again, the traffic light pattern is in the UK style.


Next project will probably be the Keypad Security Code or one of the more advanced LED displays depending on when the Mouser shipment arrives. I'm still waiting on a few transistors. 

3 Comments
alp kaan karayali
4/10/2013 02:28:39 am

can you send me proteus technical drawing ? its need to my homework ? or can u tell me how i draw this circuit in proteus ?

Reply
Ben link
4/10/2013 02:39:06 am

I have never used Proteus. You can find the schematic for this project in Simon Monk's book. Here is the website for the book. https://sites.google.com/site/arduinobook/

Reply
alp kaan karayali
4/10/2013 05:07:45 am

thank you




Leave a Reply.

    Archives

    July 2015
    February 2014
    November 2013
    October 2013
    September 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    January 2013

    Categories

    All
    Arduino
    Chess
    Lightsaber
    Math
    Probability
    Projects
    Python
    Raspberry Pi
    Robotics
    Statistics

    The Great Arduino Project

    RSS Feed

Powered by Create your own unique website with customizable templates.