Skip to content

9. OUTPUT DEVICES - WORKING

This weeks task was to connect and test an output device to my the microcontroller board that I designed and built in previous assignments.

Group work

Individual assignment

Output Device

  • My final projects design will be using an output screen primarily to display a timer. It would potentially be used for other things, like displaying a menu, but the main use is for displaying a recorded time. So I chose to use an display screen as my output for this assignment.

  • I had a couple different options to chose from for my screen, but I decided on using the 0.96 inch OLED IIC Display Module 128x64. I chose this one because I preffered this aspect ratio to the others we had on hand.

  • These screens come bare as seen here, without any pins attached. However they also come with 4 male pins that you can solder on if you would rather use pins (instead of soldering directly to the board).

  • I preffered to use the male pins in my setup, so the first thing to do was to solder them to the display board.

Connecting Output

  • These display boards only need 2 data wires, plus a Power (Vcc) and Ground (GND). This display uses IIC (also called I2C) ports for communication. So these are the only ports it can use from the microprocessor. I designed my board with these 4 connectors together with labels Xiao pin layout

  • The only other thing needed to connect the screen to my board was to use 4 wires of M/F jumper wires

Programming

Major Setback

  • problems programming RP2040 to work with output screen… troubleshooting… swapping with ESP32 board instead. (heavy documentation)

Working Program

  • installing libraries

  • basic program, test working screen

  • modified program. get timer working

  • modified program. work with button press.


Last update: March 31, 2025