Read on to see what’s changed….
Forget keypads and RFID tags, the guys over at alan-parekh.com have come up with the simplest possible user interface for a code entry system: a single button. Sold in kit form via their online store and incorperating a PIC 16F628A microcontroler and relay, this kit allows you to program and input a four-digit code using only one button.
Details and a video explaining how the kit works can be found here.
I needed an idea that I could use to teach myself about using a relay with Microcontrollers and solve that age old problem: Switching between speakers and headphones on my PC without having to actually get up and mess around in the rats nest of wire’s behind it.
The solution: Use a 5v DPDT relay, a few 3.5mm stereo sockets and an Ethernet-capable Arduino to create a simple audio switch which would allow me to switch one audio source (my PC’s Soundcard in this case) to one of two outputs (headphones or speakers) via a web interface running on the Arduino from the comfort of my web browser.
Just put in your clock frequency and the time (in seconds) you need to count to and let the calculator do the rest.
8 bit and 16 bit timer resolution values are catered for and he even includes a prescaler function so you can experiement with different prescaler values.
Ok, yet another link to another site, but screw it, I’m bored so here it is!
Here’s another resource that should be useful to anyone getting to grips with the black art of AVR USART comms. The guys at extremeelectonics have published a very comprehensive tutorial on the various registers related to the AVR USART peripherial, how to set them, etc.