Hangmanduino is complete! A word is selected at random from a list of 10 words. This could be set higher, but for demonstration purposes, it’s 10. The user scrolls through the alphabet to select a letter using the potentiometer on the front of the case. To select a letter, the user pushes down on the potentiometer. Schematics, pictures of the build and demo video can be found below…click here to download the source code, but keep in mind you will need to download the string library as well to compile this code.
I’m working on a project that requires the use of two interface devices; a button and a potentiometer, but I wanted the look of the enclosure to be really clean. I was thinking about where to place the button and potentiometer, which is when I realized, it wouldn’t be too hard to make a potentiometer that could be pushed for the select function. Within an hour I had this little prototype put together. There are a few areas that need improvement, but overall, it works great! For materials, I used a spring, pot, tactile switch, and a couple of screws/bolts to hold it all together. It’s really simple to put together so I’ll let the pictures do the explaining. Feel free to post any questions in the comments section.
A few months ago I was wrestling with getting my 16×2 parallel LCD to work with an Arduino for a few hours, until I decided it had to be broken. All I was getting was garbled characters and solid blocks. A few months later, I picked it back up and did some more playing, and eventually got it working. Now to learn how to print custom characters to it…I learn by doing, so I decided to make a hangman program. Below are pictures of the perf-board rendition of a shield for connecting the LCD, a few potentiometers, a tactile switch and a speaker for noise-making fun. At this point the code works well, but I’ve got some ideas for improvement and a box is in the making. Perhaps I’ll even submit it to Brico Geek “Let Arduino Play” contest : )