Tag: Arduino

  • How to use stepper motors with Arduino

    How to use stepper motors with Arduino

    Stepper motors are the workhorse of modern automation and mechatronics. You want something to more and move precisely how much wanted it to move? You use a stepper motor. This is why, we use steppers in cars, robots, all kinds of automation, 3D printers, CNC machines. You name it. The main difference between a stepper…

  • How to generate PPM signal with ESP32 and Arduino

    How to generate PPM signal with ESP32 and Arduino

    The PPM protocol for encoding Remote Control channel values is now a legacy. Still, it is widely accepted by different hardware and when tinkering with Arduino, remote control, and working on own accessories for flight controllers, PPM is still a valid option. A few years ago I presented a code that allows generating PPM stream…

  • ESP32 and multiple I2C buses

    One of the advantages of the ESP32 microcontrollers over the competitions is dual-core architecture and two I2C buses. Yes, the I2C bus allows connecting multiple slave devices to single pair of SCL SDA wires. As long as slave device addresses are unique, everything will work just fine: OLED display, LM75 temperature sensor, MPU6050 gyroscope. However,…

  • How to connect GPS to ESP32

    How to connect GPS to ESP32

    Thanks to a very versatile Input/Output matrix, it is quite simple to connect NMEA GPS modules to ESP32 MCUs. Not only ESP32 boards have 3 serial ports you can choose from, they can be assigned to almost any pin you want. In this example we will connect a popular Ublox NEO-M8N like Beitian BN-880 or…

  • Getting started with ESP32 development boards and Arduino

    Getting started with ESP32 development boards and Arduino

    However fond of good old Arduinos based on ATmega328 and ATmega32u4 we might be, no one can now say they are state of the art. Sure, they might be the first choice to do something cheap and simple, but compared to most more modern designs, they are just too old and too weak. Slow, little…

  • CC1101 868MHz Wireless Transciever Pinout

    CC1101 is another example of modern radio modules. I might not have the receiver sensitivity or LoRa SX1276, but with proper antennas should give more than 1 km of radio transmission. Recently I got a couple of them, so expect some new projects with CC1101 and Arduino. Now, something that took me some time to…

  • 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…

  • USBasp driver for Windows 10 – Working solution

    Yesterday I’ve spent like 2 hours fighting to make USBasp ISP programmer work under Windows 10 64bit. Seriously, that was like some kind of nightmare that turned into a comedy. All web pages that I’ve found suggested following procedure: Unfortunately, in my case all attempts failed miserably. All I was getting from avrdude was I’ve…

  • Generate PPM signal with Arduino

    Generate PPM signal with Arduino

    In the beginning of this year I’ve written a short tutorial how to read PWM signals from RC radio with Arduino. While it is can be useful when building own RC equipment, it does not help much when one has to deal with PPM (CPPM) signal. Let’s be honest, PPM is much more useful than…