Interstellar was not the movie I expected, but I loved the robots. Shiny robot is shiny, so is HASL.
Details
This simple add-on will be a little meme machine, maybe even a tamagotchi, who knows. We're going to have 4 touch buttons, a display and an RP2040 on the back.
I remembered to check https://pico.pinout.xyz/ for some hidden treasures in the advanced pin descriptions for PIN0 and PIN1 and I had completely forgotten the PWM functionality!
With the help of this wonderful library https://github.com/khoih-prog/RP2040_PWM, I managed to get a speaker connected to GPIO0 and 1 in a pushpull configuration, meaning channel B is an inverted A. I remembered a CNLohr video where he used a pwm output with inverted channel of an attiny85 to basically amplify a microphone?
I have rerouted some display pins and freed up an RX-TX connection that I could use for a serial infrared communications bridge. Not sure I want to, but it's free now :D There's four more pins that have the ADC pins connected, at least in the pinout for this board it's marked that way. Should I add more features or should I just ship it?
There's also a cue light now, the indicator LED for TARS making a joke, it's a neopixel, but maybe I'll just turn it into a white LED.
This evening I soldered up a small prototype to test the touchytouch library that todbot wrote and used for the his PicoTouch project. For reference, this is where I started from with the touch buttons, with resistor values of 1M Ohm. I've cut up a blank copper pcb at the hackspace and soldered four of the gazillions resistors we have to the board. I'm very pleased with the result, so there's going to be touch buttons for TARS for menus and stuff.
As you can see in the videos, I'm using a WaveShare RP2040-Tiny module, that comes with a "programming dongle", meaning you can program it via usb-c and use the boot doot and reset buttons to your liking. If you're done, you're left with a small PCB that's also SMD mountable - nice!
The ST7735S display that I'm using, can be soldered either through a slot on the back of the board, or just under the display. So I created a footprint that mounts on the front, so I will have more room on the back for the RP2040 module and some light panels for highlighting the "TARS" and "TARS" in braille font. I can probably use the onboard neopixel and safe 10ct - bargain!
The display footprint is created, next up is going to be the RP2040-tiny module. In parallel I will test some touch button code with rudamentary hardware.
So this ST7735S display has 160x80 pixels in RGB565 color range and gives you some options. I did find a relatively cheap ESP32-C3 board with additional LCD module for my #Flipper At Home , for that I wrote a little menu but never took it any further.
I will hopefully be able to throw some hommage to other franchises like Hackers, since the display is able to show some stuff and I won't be able to spin up more boards till supercon. There's an obvious flipper zero simple add-on to make, but also a pager SAO that might incorporate its own transceivers to send messages.