Category: Programming

  • ESP32, Arduino and 3 hardware serial ports

    When working with ESP32 WiFi/Bluetooth MCU under Arduino SDK for ESP32, you will notice that Serial work just fine. But Serial1 and Serial2 do not. ESP32 has 3 hardware serial ports that can be mapped to almost any pin. But, Serial1 and Serial2 will not work. In case of ESP32 this just has to be…

  • Generate S.Bus with Arduino in a simple way

    Generate S.Bus with Arduino in a simple way

    Did you noticed that lately I write about radios quite often? Well, I do and it’s not a coincidence. Proper introduction for what I’m working on will happen in a next few days, but now I will only write that this will be a mid-range, cheap, DIY radio link for UAVs. By mid-range I mean…

  • ESP8266 and DS18B20 – wireless ThingSpeak sensor

    Here is another small project of mine: battery operated ESP8266 ESP-01 WiFi thermometer using DS18B20 and ThingSpeak API to collect data. Before we proceed, you should:

  • JavaScript PID controller

    JavaScript PID controller

    I suppose this is the first time programing topic came up on this blog. Probably not the last time, since this is what I do most of the time. While working on serial port usage balancing for INAV Configurator I’ve quite accidentally created a PID controller in JavaScript. Maybe it’s not the most advanced PID…