Arduino and ZiLOG Z80

If you want to find out exactly what a venerable Z80 is doing on its bus while executing instructions, in this post I outlined a dongle and the software that will let you see that. Using just a few components and connecting them to an Arduino Mega, you can trace instructions clock by clock and observe what’s happening on the bus.

Continue reading

RS232 and Arduino

This article is a follow-up to the “RS232 and Raspberry Pi” (link)

The same MAX board that I had also worked with Arduino at 5V although it was designed for 3.3V operation (capacitors onboard were sized for 3.3V operation – page 10 of MAX3243 datasheet). Still, it seemed to work fine up to the 28800 baud rate. Any faster and the software starts detecting data framing errors and the data becomes corrupted.

However, that was purely a design limitation of that particular RS232 board that I had.

Continue reading

Ambient Weather WS-2080 hang fix

A weather station, Ambient Weather WS-2080 that I installed in my backyard has a receiver unit with a pretty nasty hardware issue: occasionally, its USB interface would hang hard. It could happen twice a week or once a month – it is very unpredictable and highly annoying. Once it happens, nothing short of a power reset of the receiver unit would fix it. You’d have to remove the battery or unplug the USB if you powered it through it. I’ve finally got around to fixing it. If you have a similar problem with that weather station, you may be interested to read on…

Continue reading