Roombaduino – part 16 – Working IO board

In soldering up the new IO board, I had to make some changes to the joystick panel to make coding for the button presses easier. For each shift register, I have 4 pins for LEDs and 4 pins for buttons. If I press a button, I can now use some simple bit shift logic to light up the corresponding LED. Unfortunately, the joystick panel wasn’t wired up like that so I had to de-solder and then re-solder some connections to fix that.

Also, I had the shift register Output Enable pins pulled permanently to ground which meant that every bit that got written is immediately copied to the output pins. Now that I’m shifting data across 2 shift registers, I could see the LEDs flicker. So, I used up one of the 2 remaining pins on the MCU “bus” to be the Output Enable line for all the shift registers.

Now, when I’m writing data, I make OE high, write all the data and then make OE low to copy the data to the output pins. Problem solved.

Next step is to integrate all these changes into the remote control sketch and then work on the Roombaduino code to act on the new commands.

Leave a Reply

Your email address will not be published. Required fields are marked *