Week 10

Things I did this week:

  1. Add an output device to a microcontroller board you've designed, and program it to do something

Add an output device to a microcontroller board you've designed, and program it to do something



Snake Game

I tried to make a tiny game console this week.

I started by the helloworld example from HTMMA website.
The circuit on breadboard for testing.
Circuit design.
PCB board design.
When I was tilting the board it was ripped off by me from the PCBboard.
A working version on breadboard.

I found this code online, this was using the arduino uno chip. I then looked for the corresponding pins for I2C connections in XIAO RP2040.

The code was not working, and I had to modify a few parts.


I realized that this might be too fast to play.
Find code here.

I modified the code to make the speed way slower, and snake size larger.
Find code here.
BACK TO TOP


Tetris

Had Tetris working horizontally, but not vertically. Turned out there's no easy fix besides rewriting the code.

BACK TO TOP