C++ Arduino

Open-source C++ projects categorized as Arduino | Edit details

Top 23 C++ Arduino Projects

  • GitHub repo Marlin

    Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.

    Project mention: BLTouch pins on Creality 1.1.5 board | reddit.com/r/klippers | 2021-10-13

    I believe [this](https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/src/pins/sanguino/pins_MELZI_CREALITY.h) is my board, how would I identify the control_pin and sensor_pin in the configuration ?

  • GitHub repo ArduinoJson

    📟 JSON library for Arduino and embedded C++. Simple and efficient.

    Project mention: (esp32+adxl325+sdcard)Storing sensor data in sd card(in txt file) and then sending it to cloud. | reddit.com/r/IOT | 2021-10-16

    I'd suggest sending data directly to AWS IoT Core (Free tier eligible) with the MQTT protocol. You can send data in JSON format. You could then use a serverless function to send that data to a DynamoDB (noSQL) database as the API is easy to use.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo WiFiManager

    ESP8266 WiFi Connection manager with web captive portal

    Project mention: Create an access point with a server to set up a wifi connection | reddit.com/r/esp8266 | 2021-10-08

    That sounds a bit like Wifi Manager. If it's not the same it might be worth investigating how they do it.

  • GitHub repo blynk-library

    Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc.

    Project mention: arduino uno with blynk app | reddit.com/r/arduino | 2021-04-30
  • GitHub repo PJON

    PJON® (Padded Jittering Operative Network) is an experimental, arduino-compatible, multi-master, multi-media network protocol.

    Project mention: The operative system for a decarbonised, decentralised, digitised energy system | news.ycombinator.com | 2021-03-22

    When the physical layer of devices in the home don’t offer Wireless connectivity, hardware communication modules needs to be adopted to bridge the existing connectivity.

    This protocol exists already is called PJON: https://github.com/gioblu/PJON

  • GitHub repo OpenMQTTGateway

    MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility, SMS & LORA.

    Project mention: How can I use USB port from laptop to control IR transmitter module/circuit? | reddit.com/r/homeautomation | 2021-09-24

    An ESP32 dev board with OpenMQTTgateway can accomplish this. https://docs.openmqttgateway.com/

  • GitHub repo Serial-Studio

    Multi-purpose serial data visualization & processing program

    Project mention: Cereal Monitor Opensource Dropin Replacement For | reddit.com/r/arduino | 2021-02-06

    you folks might wanna check SerialStudio out https://github.com/Serial-Studio/Serial-Studio

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo IRremoteESP8266

    Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/

    Project mention: How can I control output pins of an ESP8266 via a linux terminal over wifi? | reddit.com/r/arduino | 2021-09-24

    Either write your own api to drive it via a pre-written library like crankyoldgits IRremote or flash something like tasmota-ir which has IR driver capability and a restAPI which would allow you to send raw codes or protocol specific hex codes from a script via curl. There's a good reason people use prebuilt solutions, modulating a 38kHz carrier with often complex protocols is not a trivial coding excercise on an MCU, thankfully there a number of dedicated/obsessive techs who have already done the heavy lifting and are generous enough to share the results of their hundreds or thousands of hours work with us lazy types who don't want to reinvent the wheel.

  • GitHub repo splitflap

    DIY split-flap display

    Project mention: I built a split-flap YouTube subscriber counter | reddit.com/r/arduino | 2021-07-31

    This is based off the splitflap project, which includes ordering and assembly guides.

  • GitHub repo RF24

    OSI Layer 2 driver for nRF24L01 on Arduino & Raspberry Pi/Linux Devices

    Project mention: RF24 ack payload | reddit.com/r/arduino | 2021-09-18

    I'm trying to get acknowledgement payloads to work with an esp32 as the sender and an uno as the receiver. The code below works as a single way transmission, but uncommenting the commented code does not work. The example code works as intended but stops working when I try to modify the structs that contain the data, and I don't know why. How can I make my own code work?

  • GitHub repo WS2812FX

    WS2812 FX Library for Arduino and ESP8266

    Project mention: [OC] My Aang and Zuko Painting on glass. Thinking of putting colored LED lights on the wall behind the frame, do you guys think it would be a good idea? | reddit.com/r/TheLastAirbender | 2021-02-06

    For libraries, I don't recommend the Adafruit neopixel lib. I think this is better, easier to use, more robust, and faster in ease of use and code execution. https://github.com/kitesurfer1404/WS2812FX

  • GitHub repo ESP3D

    FW for ESP8266/ESP8285/ESP32 used with 3D printer

    Project mention: Ender 3 + esp8266 | reddit.com/r/ender3 | 2021-08-23

    It's allready a thing https://github.com/luc-github/ESP3D

  • GitHub repo arduino_midi_library

    MIDI for Arduino

    Project mention: MIDI-controlled LED strip on keyboard (WS2812B controlled by ESP8266) | reddit.com/r/somethingimade | 2021-09-30

    It's the exact circuit on Wikipedia connected to a serial input on your microcontroller, read by the Arduino MIDI library, and then translated to LED using the FastLED library. MIDI pitches go from 0-127 - but even a full-size keyboard uses a max of 88 keys (the one shown in the post is 61-key), so you'll have extras.

  • GitHub repo ESP32-Paxcounter

    Wifi & BLE driven passenger flow metering with cheap ESP32 boards

    Project mention: What Do People Think Of Pycom Products | reddit.com/r/IOT | 2021-02-01
  • GitHub repo NeoPixelBus

    An Arduino NeoPixel support library supporting a large variety of individually addressable LEDs. Please refer to the Wiki for more details. Please use the gitter channel to ask questions as the GitHub Issues feature is used for bug tracking.

    Project mention: How to decrease SPI clock rate for long string of APA102s? | reddit.com/r/WLED | 2021-06-13

    I see FastLED defaults to a 12 MHz SPI clock and the rate can be controlled via the DATA_RATE_MHZ template parameter to addLeds(). I am having some challenges following the WLED code, but it looks like the NeoPixelBus library handling the APA102 strips defaults to SPI rate of 20 MHz.

  • GitHub repo ESP32-BLE-Keyboard

    Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)

    Project mention: Can I hand wire a keyboard using the ESP8266 instead of the Arduino pro micro ? | reddit.com/r/MechanicalKeyboards | 2021-07-30

    ESP32 might work though: https://github.com/T-vK/ESP32-BLE-Keyboard

  • GitHub repo Adafruit_Sensor

    Common sensor library

    Project mention: The code I attached below is working for esp32 but not working onesp8266 | reddit.com/r/arduino | 2021-05-05

    #include //DHT and Adafruit Sensor library(https://github.com/adafruit/Adafruit_Sensor)

  • GitHub repo ArduinoThread

    ⏳ A simple way to run Threads on Arduino

    Project mention: How do I create 2 threads in the Ardunio IDE? | reddit.com/r/arduino | 2021-08-24

    There are libraries that let you do pseudo-threading. https://github.com/ivanseidel/ArduinoThread

  • GitHub repo cartreader

    A shield for the Arduino Mega that can back up video game cartridges.

    Project mention: Hi does anyone know if it is possible to transfer a save from an emulator to a wonderswan cartridge? | reddit.com/r/WonderSwan | 2021-10-15
  • GitHub repo TaskScheduler

    Cooperative multitasking for Arduino, ESPx and STM32 microcontrollers

    Project mention: Understanding the rarely seen EVERY_N_MILLIS_I ? | reddit.com/r/FastLED | 2021-01-25

    Or just use TaskScheduler and never have to worry about this again. https://github.com/arkhipenko/TaskScheduler

  • GitHub repo HASwitchPlate

    LCD touchscreen for Home Automation

    Project mention: Is there a market for bespoke home automation components? You may recall I built this interface to our home that speaks, rings, and lights regular alerts. It has tasmota at its heart so is hardware based and easily interfaced with Home Assistant. Is there a market for me to make this kind of thing? | reddit.com/r/homeassistant | 2021-01-22

    Great news: you can build one yourself or you can buy one! :D

  • GitHub repo Arduino-FOC

    Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library

    Project mention: rosserial +platformio+ esc-BG431 | reddit.com/r/ROS | 2021-03-23
  • GitHub repo Universal-Arduino-Telegram-Bot

    Use Telegram on your Arduino (ESP8266 or Wifi-101 boards)

    Project mention: Cat feeder telegram bot | reddit.com/r/esp8266 | 2021-02-06
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-10-16.

Index

What are some of the best open-source Arduino projects in C++? This list will help you:

Project Stars
1 Marlin 11,920
2 ArduinoJson 5,374
3 WiFiManager 4,815
4 blynk-library 3,247
5 PJON 2,588
6 OpenMQTTGateway 2,340
7 Serial-Studio 1,907
8 IRremoteESP8266 1,904
9 splitflap 1,876
10 RF24 1,785
11 WS2812FX 1,205
12 ESP3D 1,133
13 arduino_midi_library 1,081
14 ESP32-Paxcounter 925
15 NeoPixelBus 920
16 ESP32-BLE-Keyboard 836
17 Adafruit_Sensor 790
18 ArduinoThread 788
19 cartreader 754
20 TaskScheduler 703
21 HASwitchPlate 689
22 Arduino-FOC 671
23 Universal-Arduino-Telegram-Bot 658
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com