Battery Driven Wifi Temperature Sensor

Some notes how to build a sensor that can be driven by 3 AA rechargeable battries for up to 1 year.

Overview

The web is full of examples how to build a temperature sensor. I want a sensor that is connected to my Wifi, can be driven by batteries for months and has an adequate resolution and precision.

This leads me to the following parts:

  • ESP-01
  • DHT 22
  • MCP1700
  • 3 AA rechargeable batteries, should be ‚ready-to-use‘ (see below why)
Battery Driven Wifi Temperature Sensor weiterlesen

End-to-End Encrypted Messenger

You always thought that end-to-end encryption in your favorite messenger like WhatsApp is a big deal? Or is it even not supported? Well, here is an example showing how „new“ this feature is and it works for 15 years now. Using a Unix system (macOS, Linux etc.) it is a one-liner to send encrypted messages using the commands nc and openssl.

End-to-End Encrypted Messenger weiterlesen

Raspberry Pi’s GPIO Speed

We all know that the raspi is a small and neat device for controlling our LEDs but sometimes I miss the possibility to add hardware to a „real“ bus like a real CPU has. Sure it is possible to imitate a bus what is called bit banging. This way you can control external hardware like LCDs or writing data to external SRAM faster than utilizing SPI. So we were interested how fast the Pi can really switch these pins.

Raspberry Pi’s GPIO Speed weiterlesen

Z80 Single Board Computer

This is another project building a single board computer with an Z80 MCU alongside some RAM and ROM. In contrast to other well known projects I want to utilise an EEPROM which is very easy to handle. I also want to build a computer that works autonomously including an user interface and does not need additional microcontroller or a PC since both would be more powerful than the actual processor.

It is inspired by the SBC project by Grant Searle and therefore runs his modified version of Microsoft BASIC for the NASCOM computer. I further modified it for this SBC.

Before I explain the details, here is the result.

Overview

Z80 SBC overview
Z80 SBC overview

The specs are:

  • MCU: Z80 in CMOS (Z84C006) at 7.3728 MHz
  • RAM: 628128 SRAM
  • ROM: AT28C256 EEPROM
  • Display: 320×240 TFT with ILI9325 controller
  • Keyboard with 64 keys
  • Power consumption: 190 mA at 5V
  • OS: NASCOM BASIC 4.7b

Z80 Single Board Computer weiterlesen