Voilà! Solar Panel with Touchscreen inside 😂
BL602 Firmware runs OK on PineDio Stack #BL604 @PINE64 ... Here's our Blinky Firmware
https://github.com/lupyuen/bl_iot_sdk/blob/3wire/customer_app/pinedio_blinky/pinedio_blinky/demo.c
Normally we talk to #ST7789 SPI Display in 4-Wire (8-bit) Mode ... But today we do 3-Wire (9-bit) Mode ... With a sneaky packing hack
How we pack 9-bit #ST7789 data ... Into 8-bit SPI
Now we test the code that packs #ST7789 9-bit data into 8-bit SPI
We're sending SPI data to #ST7789 in multiples of 9 Bytes ... Due to the 9-bit packing
Since our #ST7789 Driver Code is in C, let's test it locally on Linux!
Verifying the packed #ST7789 9-bit data with a spreadsheet ... Our packing is indeed correct 🤔
https://docs.google.com/spreadsheets/d/1Qy0MjU79s__wzTAFwpTYUUIzLWcrFnKCrvvo_rHamiE/edit?usp=sharing
#PineDio Stack SPI Port is exposed on the GPIO Connector ... So we connect our Logic Analyser there
ST7789's CS Pin (GPIO 20) is not exposed on #PineDio Stack's GPIO Connector ... So we use GPIO 5 to Shadow the CS Pin
#BL604 doesn't seem to be transmitting anything to ST7789 on SPI MOSI (GPIO 17) ... Let's try a different pin for MOSI
Ah, Lup... You're one of my favorite mad scientists ever.
Thank goodness you're on the side of Good instead of Evil.
@Blort Haha thanks! 😀
I would really love a longer range, #FOSS alternative to #Tile / #Trackr, even if it doesn't have the pinpoint on a map feature. Just the part that lets you see if you're getting closer on your phone and push a button (on the phone) to get it to make a sound.
The problem with Tile / Trackr is that they force all kinds of location tracking to be sent back to #Google/their manufacturers by demanding location always be on, when I just want to find my keys when I need them.
@Blort Yep interesting! 👍
Thanks for the heads up. Yeah, I'd seen finder, although there are a couple of problems: 1. It hasn't been updated for almost a year. Not sure, but it's looking like development may be dead. 2. This helps find a phone. What I'm looking for is something that can let me find my keys, using a phone. This needs small hardware. Hardware which sadly, only seems to exist in the form of proprietary hardware linked to surveillance software.
That's why I suggested this usecase.
Super familiar touchscreen ... Will it connect with #PineDio Stack? 🤔
https://www.pine64.org/2021/08/15/introducing-the-pinenote/