ATtiny13 – TM1637 Library

This article is about tinyAVR (ATtiny13, ATtiny25, ATtiny45, ATtiny85) library for 7-segment display modules based on TM1637 chip. These TM1637 modules provide two signal connections (CLK and DIO) and two power connections (VCC and GND). Signal pins can be connected to any pair of digital pins of the AVR chip. Signal pins configuration is defined … Read more

How to compile and burn the code to STM32 chip on Linux (Ubuntu)

This is tutorial for beginners that shows how to install tools, compile the code with gcc-arm-none-eabi and send it to the STM32 with st-flash. It also introduce basics of automation of this task by putting the all instructions into Makefile. Several, complete code examples can be found on GitHub: stm32f401 stm32f072 stm32f042 1. Installing compiler … Read more

ESP32 – WiFi sniffer

This experimental project shows how to build a simple and inexpensive WiFi packet analyzer (also known as a WiFi sniffer). The heart of this project is WiFi module of ESP32 which is able to work in a promiscusous mode. It means that this clever chip allows IEEE802.11 network packets capturing for further analyzing. Because WiFi … Read more

ESP32 – blinky with delay function

This blinky project shows how to interface LED to the ESP32 and write a simple program to make the LED blink. The full code is on Github, click here. Parts List ESP-WROOM-32 module USB<->TTL converter (3.3.V) Efficient power supply (3.3V) R1 – resistor 560Ω, see LED Resistor Calculator LED1 – basic LED Circuit Diagram Firmware … Read more

ESP32 – flashing the chip

Once the ESP32 Toolchain is built, we’re ready to compile and flash the example program. This short tutorial shows how to compile and burn the code into ESP32. Compilation Before compilation part we’re able to change menu options, i.e. we can configure the serial port to be used for uploading, etc. For the test, let’s … Read more

ESP32 – building the toolchain for Linux (Ubuntu)

This quick tutorial shows how to build a complete development environment for the ESP32 processors on Linux (Ubuntu).  These instructions have been tested successfully on Ubuntu 16.04  (32 and 64 bit). Building Toolchain with Bash One-Liner I recommend to use this handy bash one-liner command to build ESP32 Tolchain. To override ESP32 Toolchain base directory … Read more

ESP32 – quick overview

The ESP32 is a low cost, low power microcontroller with integrated 2.4 GHz Wi-Fi (up to 150Mbps) and dual-mode Bluetooth (classic and BLE), which employs a dual-core Tensilica Xtensa LX6 microprocessor. ESP32 is created and developed by Espressif Systems, a Shanghai-based Chinese company, and is manufactured by TSMC using their 40 nm process. It is … Read more

ATtiny13 – pseudo random numbers

Many applications require random data to feed their algorithms. One would say that it’s quite easy when we can use a function from an existing cryptographic library. However, even if we can use such function like for example rand() from stdlib, it can quickly turn out, that this feature consume more then a half of … Read more

ATtiny13 – Morse Code (flashing light)

This project shows how to form a light impulses using an ATtiny13 to transmit messages encoded with International Morse Code. Project is easy to build and require only three parts. The code is on Github, click here. Morse Code allow to transmit data via short (dots) and long (dashes) impulsions. The advantage of the Morse … Read more