Posts

Showing posts with the label IOT

Pimoroni Pico Explorer Base: the GP16 “MISO” pin is really the LCD’s DC

The silkscreen labels on the back and front connector silkscreen label GP16 as MISO . The ST7789 never sends data back, so Pimoroni reassigned the pin on the Explorer Base connecting GP16 to the onboard LCD's DC pin. The display uses DC to tell commands from pixel data.  Pimoroni’s own code agrees. See common/pimoroni_bus.cpp in the pimoroni-pico repo. Pimoroni’s MicroPython firmware is built on this C++ code. For the Pico Explorer Base’s LCD, get_spi_pins() returns:  cs=17  sck=18  mosi=19  miso=PIN_UNUSED   dc=16  MISO is unused, and GP16 is assigned to DC . The breakout SPI slots also use GP16 as DC. So the “MISO” silkscreen label on GP16 is wrong. Why we care Some SPI setups claim GP16 as MISO . GP16 then becomes an input. The display can no longer tell commands from pixel data. The screen stays blank, with the backlight on. I confirmed this with Adafruit Blin...

Badgeware: Digital Dice for the Pimoroni Badger and Tufty 2350

Image
Today's app is a  Dice roller  for the Pimoroni BadgeWare devices , supporting both the E-Ink Badger and the TFT Tufty . The MicroPython-based app lets you roll from 2 to 6 dice with 4 to 20 sides.  The allocated dice can be any combination of sides.  The app defaults to rolling all the dice every time but lets you freeze any number of the dice and re-roll. The codebase can be installed to add to the main menu page or replace the menu page to be the only app on the device. The Pimoroni BadgeWare series are programmable, hackable devices in a digital conference badge form factor.  They have lanyard loops, built-in batteries, wi-fi, Bluetooth, and QT/ST (Stemma) IOT sensor connectors. This single app supports both displays and their different power management profiles. It does not support the RGB-LED display Blinky. Dice Demo Click to expand A six minute demo video UI Walkthrough The E-Ink Badger is on the left. Th...

Claude Hardware Buddy on the M5Stack Core2 - AWS IOT Edition

Image
Claude Desktop's Hardware Buddy uses a published Bluetooth LE protocol, so any device that implements it can act as a status display for your Claude sessions. This implementation runs on an M5Stack Core2 (ESP32) and leans into the fun side: tap the screen to pet it, flip it face-down to put it to sleep, or shake it until it's dizzy. The device runs the Anthropic protocol on an M5Stack Core2 to show what Claude is doing, let you approve prompts from the device, and play with an animated pet that likes attention. It also shows open sessions, waiting prompts, token count, and battery level, and you can approve permission prompts right on the device. On battery, it dims itself when nothing is happening. The repo includes Claude Code skills that identify the board, flash the UIFlow 2.0 firmware, and install the app for you. The Bluetooth connection isn't encrypted, so it's best used at home. Links  Code:  https://github.com/freemansoft/build-with-claude   Anthropic's Ha...