Description: I have not had much time to play recently. I was meaning to post this for some time now. I present the first iteration of my Arduino Dice Box. This project is a 5 way nav switch and a LCD display with I2C backpack that lets you roll virtual dice of various sizes and quantities. The program uses the random number function tied to an open pin to generate all the rolls. I have still not decided on a housing for this project and I am thinking of making another version that can use an 8x8 LED grid instead of a LCD display. So, lets get to it. The Parts: 1 x Arduino Uno 1 x 5 Position switch ( http://www.parallax.com/Store/Sensors/PressureFlexRPM/tabid/177/CategoryID/52/List/0/SortField/0/Level/a/ProductID/615/Default.aspx ) 1 x LCD 16x2 display ( http://www.adafruit.com/products/181 ) 1 x i2c / SPI character LCD backpack ( http://www.adafruit.com/products/292 ) The Buildout: The switch is wired up to pins 2-6. The switch is wired with built in pull ups so you will want to wire
Showing posts from May, 2013
- Other Apps
As a small project around the time I made my ATTiny AVR I decided to make a battery powered flicker light and a pulsing night light. The lantern is a simple ATTiny running a modification of the ever available REAL flicker effect code that uses 3 LEDs. In this build I used 3mm LEDs 1 orange and 2 yellow. Parts for the lantern as as follows: The Parts: 1 x ATTiny 1 x 8 pin DIP Socket 1 x Proto Board 1 x AA battery holder 1 x switch 1x Lantern assorted lengths of wire I keep in a drawer The Buildout: Below is the diagram for the circuit note that the diagram below uses a coin type battery instead of a 2 x AA connector. The Code: also available on git-hub here The Results: The results here were a smallish circuit that I can place in a lantern and have it give off a flicker effect. Why not use on of those flicker LEDs you ask? I wanted to build something with a more random flicker and that I could adjust the flicker speed on.