Posts

The Final Countdown - An RP3250 based Event Timer

Image
Sometimes, we are counting down the days to an important event, such as a trip or an anniversary. A few years ago, I built a timer for this, using an ESP-8266 board and two LED bar displays: It worked fine, but powering it through the USB connector was a bit of a pain. So, I started thinking about a battery-powered device. Looking at my parts stash, I found a few components that could be used in this project: An e-paper display: it shows the last image even if powered down. A tinyRTC module, with a DS1307 with battery backup and an AT24C32 EEProm: it can save the event date and keep track of the current date and time. A XIAO RP2350 board: it has support for a rechargeable battery. I had enough experience with the first two modules, the XIAO RP2350 brought the adventure of learning about power saving with the RP2350.

RP2350 Boards

Image
Over the past few months, I have collected a few boards that utilize the RP2350 microcontroller. In this post, I will provide a brief description of each one. 1:RP2350USB, 2:RP2350 Stamp XL, 3:RP2350-GEEK, 4:RP2350 Stamp, 5:RP2350 Zero, 6:XIAO RP2350, 7:Feather RP2350, 8:Raspberry Pi Pico 2, 9:RP2350B Core Board, 10:Raspberry Pi Pico 2 W

Building a One-time Password Token

Image
One-time passwords are an alternative to the more common "permanent" passwords. The problem with a "normal" password is that it can be captured during communication, by fake login screens or by key-loggers.  Once a normal password is captured, it can be used until it is changed. To avoid this "repetition attack", one-time passwords work just once. For each login, a new password is used. This creates a new problem: how to set up these passwords? One solution is to have a "password book", but that is very clumsy. In this post, we will see how to build a device that generates one-time passwords, one at a time. The other side can use the same algorithm to check the passwords. We will use a Raspberry Pi Pico W board with a MicroPython application. WARNING: This is a demo only. The encrypting key will be in plain text in the code, open to any curious eyes. Do not use this with any real key!

Mini-Review: Solder Party's RP2350 boards

Image
Solder Party is a Swedish company that has some peculiar boards. For the RP2350 (and RP2040), they have stamp boards, which contain the microcontroller, and carrier boards, where the stamps are connected and provide power and input/output connectors. One detail that will bother many people is that the pin spacing on the stamp boards is 2 mm instead of the more traditional 0.1" (2.54 mm). SolderParty sells connectors with this spacing. Although some carriers have RP2040 in their names, all models work with RP2040 and RP2350 stamps. I purchased both stamp models with RP2350 and the three carrier models. Here are some comments on them. The RP2350 Stamp XL installed into the RP2xxx Stamp Carrier XL

Using an RP2040 to Load Programs from a SD Card into a ZX81 Microcomputer

Image
This was a fun project, putting together my old and new hobbies. Back in the 80s, cheap personal computers used K7 tape to store programs. I still got a few of these old computers, but tape is pretty rare these days and my K7 players are breaking apart. You can find a lot of ZX81 software in the internet, as files for emulators. How about using an RP2040 to generate the necessary audio signals from these files? The final assembly

I2C Pico USB Adapter: Part 4 - Usage

Image
In this last part, I will show a few ways to use the adapter under Linux and Windows. Accessing an I2C device with Python, under Windows

I2C Pico USB Adapter: Part 3 - I2C

Image
I expected implementing the I2C communication would be very easy. After all, the RP microcontrollers have hardware for this and the SDK has support for it. Alas, I did not take into account some limitations of the hardware and the way i2c-tiny-usb implements its commands.