ESP8266 – dockerized toolchain

Lightweight docker image built on top of debian:jessie-slim with installed xtensa toolchain, ESP8266_RTOS_SDK and few additional tools: xtensa-lx106 (crosstool-NG crosstool-ng-1.22.0-92-g8facf4c; 5.2.0) ESP8266_RTOS_SDK (v3.2) esptool.py (v2.4) make (v4.2) cmake (v3.5) DockerHub: https://hub.docker.com/r/lpodkalicki/esp8266-toolchain Installing Bellow you can find recommended simple one-line installer that pulls the newest docker-image and installs esp8266-toolchain script into “/usr/bin/” directory. curl https://raw.githubusercontent.com/lpodkalicki/esp8266-toolchain-docker/master/install.sh | bash -s — Getting started … Read more

AVR – dockerized toolchain

Lightweight docker image built on top of alpine:3.10 with installed AVR toolchain and few additional tools: AVR8 toolchain (2019, AVR_8_bit_GNU_Toolchain_3.6.2_1759) avrdude (v6.3) make (v4.2) cmake (v3.14) DockerHub: https://hub.docker.com/r/lpodkalicki/avr-toolchain Installing Bellow you can find recommended simple one-line installer that pulls the newest docker-image and installs avr-toolchain script into “/usr/bin/” directory. curl https://raw.githubusercontent.com/lpodkalicki/avr-toolchain-docker/master/install.sh | bash -s — Getting started Install toolchain using … Read more

STM32 – dockerized toolchain

Lightweight docker image built on top of alpine:3.10 with installed ARM-none-eabi toolchain and few additional tools: ARM-none-eabi toolchain (2019; GNU Tools for Arm Embedded Processors 8-2019-q3-update) stlink (v1.5) make (v4.2) cmake (v3.14) DockerHub: https://hub.docker.com/r/lpodkalicki/stm32-toolchain Installing Bellow you can find recommended simple one-line installer that pulls the newest docker-image and installs stm32-toolchain script into “/usr/bin/” directory. curl https://raw.githubusercontent.com/lpodkalicki/stm32-toolchain-docker/master/install.sh | bash -s … Read more

AVR development board for ATtiny13, ATtiny85, etc.

This is an upgraded version of MBAVR-1 – a minimalist development board for tiny AVR microcontrollers like ATtiny13, ATtiny15, ATtiny25, ATtiny45 or ATtiny85. The board has been designed for a rapid prototyping of devices based on tinyAVR chips. The small-size MBAVR-1t board can be installed directly on protoboard or used as shield by other PCB. Also, by adding DIP8 holder you can … Read more

ATtiny13 – reading temperature and humidity from DHT11

This article shows how to make ATtiny13 to read temperature and humidity from DHT11 sensor and log this information using a Software UART. What you need is connect DHT11 DATA-pin to PB0 and RX-pin of USB to serial adapter to PB3 of ATtiny13. You also need to connect sensor to power supply (3.3V or 5V). Well, with a little code … Read more

How to make ATtiny13 running at 128 kHz clock source

The ATtiny13’s default clock source setting is the Internal RC Oscillator running at 9.6MHz with clock divider /8 (fuses L=0x6A and H=0xFF; see fuse calculator). This short article explains how to downclock the ATtiny13 by swtiching to Internal RC Oscillator running at 128kHz without clock divider (fuses L=0x7B and H=0xFF) and still have a control to program AVR … Read more

How to update AVR USBasp firmware to latest version

The common reason why you would like to update this firmware is unlock slow-sck function for cheap (e-bay or Aliexpress) USBasp programmers, like this one on the picture. The slow-sck function allows to program AVR chips running at very low frequency clock source (i.e. 128kHz). When your USBasp programmer prints that warning it means that firmware update is … Read more

ESP8266 – WiFi beacon spammer

In this article I will show you how to make a WiFi  beacon spammer on ESP8266. Beacon spamming involves broadcasting a valid IEEE 802.11 beacon frames using fake SSIDs and MAC addresses. This educational project is hackable and easy to get running. The code is on GitHub, here. What is WiFi Beacon? WiFI beacon frames are used by … Read more

Installing ESP8266 RTOS SDK on Linux

This is a short how-to guide about installing ESP8266_RTOS_SDK on Ubuntu Linux. The new version of ESP8266_RTOS_SDK (v3.0) shares the same framework with esp-idf (official development framework for ESP32). The toolchain programs access ESP8266_RTOS_SDK using IDF_PATH environment variable which can be set in ~/.bashrc file. If you’re working with both ESP8266 and ESP32 then note that toolchains are using the … Read more

ESP8266 – NonOS SDK version of blinky

This blinky example is using pure ESP8266 Non-OS SDK (v2.0.0). This project template has been tested on Ubuntu Linux. The complete code is on GitHub, here. Parts Required ESP8266 Development Module (for example based on ESP-12N, with build in LED) Software This code is written in C and can be compiled using xtensa-lx106-elf-gcc.  Don’t know how to start? Please read about building ESP8266 toolchain … Read more