3D printed battery holders

3D printed battery holders

I found these battery holders on Thingiverse. I printed the one to hold AAA batteries a while ago, and printed the AA one last night. The thing on the right is my honeycomb cable holder for USB cables. I go…

Using user-space USB drivers

Using user-space USB drivers

When you need to install a driver to get your USB device working, this driver is installed in kernel-space. On macOS this is called a kernel extension, which is a nice descriptive term. On Linux it's usually not even necessary…

USB host shield on Espruino: Part 8

USB host shield on Espruino: Part 8

I still haven't successfully received data from the meter, but analysing the USB packets using the logic analyser that I started with yesterday has been super helpful. After I discovered yesterday that there wasn't any USB bulk transfer data being…

USB host shield on Espruino: Part 7

USB host shield on Espruino: Part 7

Today I want look at analysing what exactly is happening on the USB bus when we send and receive messages, to make sure that what I think is happening is actually happening. On a Windows or Linux machine this can…

USB host shield on Espruino: Part 6

USB host shield on Espruino: Part 6

As it's Sunday and we've been having really great weather here in Wales lately, I spent most of the day in the garden and on the beach and not in front of the computer. This means there's no new code…