hardware

2025-02-20

2025-02-22

My new Sunfounder (with Raspberry Pi Pico) hardware kit arrived and I started working through the tutorial

myLED.value(1) time.sleep(2) myLED.value(0) time.sleep(2)

myLED.value(1) is equivalent to myLED.on()

2025-02-23

2025-02-27

Today I was working through some hardware things! I wanted to play with the neopixel LED strip, and also play with using buttons to control the lights on the strip.

First, I played with displaying lights on the strip, and then reading input from a button to trigger a light loop on the strip. This ended up being pretty easy. One thing we learned was that the buttons I have are pull up buttons - when pressed, their state is 0, and they need to be connected to ground (rather than powered).

Once I got the single button working, I hooked up 4 buttons total to be able to play a simplified simon says game. The game displays a random pattern of the four colors, and the player has to remember the pattern and attempt to input it correctly. The user never currently loses the game, they would basically essentially win if attempting to click all buttons for each turn. That’s a future optimization.

The user also can’t restart the game, so that’s what I want to enhance, too. This game play might also be more interesting for a series of LEDs (in a particular position) that the user should click to match the pattern, but again, that’s a future optimization. Having a button to start / stop game play would also be cool.

2025-03-06

Today, I’m learning a bit about how to plan for and design hardware projects. I am going through some tutorials on how to use the Fritzing software to design breadboards and schematics. A few notes:

2025-03-11

Taking a crash course on YouTube on soldering and some lessons include:

2025-03-13

Today was again a very Bop It! focused day. Some folks and I went on a field trip to MicroCenter in Brooklyn to check out what they had. I picked up some hardware goodies, including a replacement joystick and LCD screen, as well as a fun pimoroni screen that I don’t have plans for yet but might inspire something in the future. I also picked up some replacement 3d printer filament since we’ve been doing a lot of 3d printing this week at RC!

2025-03-20

I also wanted to get the pimoroni display pack set up to start playing with it a bit. This was slightly less straight forward than I expected at first because I had to flash the new device I got. And stupidly, I bought a Pico 2 W this time instead of a regular Pico, so the recommended firmware is a bit different. NBD, but I think going forward I should try to stick with one device type so I can have a consistent process. The device now has this release flashed onto the drive.