C++ arduino-library

Open-source C++ projects categorized as arduino-library

Top 23 C++ arduino-library Projects

  • GitHub repo ArduinoJson

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

    Project mention: Stack vs Heap | reddit.com/r/cpp_questions | 2021-04-27

    Templates are fine. Heck, libraries like ArduinoJson will almost make you think you're writing in Python at first glance.

  • 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: Making dumb LED strips smart. | reddit.com/r/esp8266 | 2021-04-21

    Your starter for 10 on ESP8266 and IR is crankoldgit's library When you say transistors I hope you mean big beefy power transistors or mosfets? The current led strips use can be surprising, my 4.5m RGBW 12V strip draws 9A at full brightness and the similar length WS2812 would pull 15A at full brightness if my software didn't restrict it. Do run the numbers on power consumption in regard to your switching device. It's possible to do what you want with the existing receiver but as you've already found it's not that straightforward and requires a good magnifier and enough knowledge of electronics to decipher the circuitry before you could modify it, If you want a reasonable size prebuilt RGB controller the generic H801 boxes are cheap, readily available, ESP based and easy to flash your own code to. The other possibility is to IR enable your ESP8266 using a simple IR receiver like one of the TSOP series, the filters and amplifier are built in and as it's just a 5mm package it's easy to mount it where it's convenient. That way you can have the option of IR or WiFi control, I occasionally use an old IR remote as buttons are often more convenient than web pages for controlling things, in my case the remote talks to an IR to WiFi bridge I built using the library linked. above.

  • GitHub repo RF24

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

    Project mention: Wireless Communication Between 2 Picos | reddit.com/r/raspberrypipico | 2021-04-08

    I'm using C right now with https://nrf24.github.io/RF24/

  • GitHub repo arduinoWebSockets


    Project mention: Communication between multiple esp8266's - what are my options other than mqtt? | reddit.com/r/esp8266 | 2021-05-04
  • GitHub repo ArduinoJoystickLibrary

    An Arduino library that adds one or more joysticks to the list of HID devices an Arduino Leonardo or Arduino Micro can support.

    Project mention: Potentiometer help | reddit.com/r/HotasDIY | 2021-05-07
  • 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 ESP32-BLE-Keyboard

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

    Project mention: ESP32 Bluetooth Page Turner. The enclosure is made from reclaimed oak. | reddit.com/r/esp32 | 2021-04-09

    Here's the library I used: https://github.com/T-vK/ESP32-BLE-Keyboard

  • GitHub repo AutoConnect

    An Arduino library for ESP8266/ESP32 WLAN configuration at runtime with the Web interface

    Project mention: My Diy Wordclock with an Esp32 and WS2812b. It features an Webserver for settings and updates, smooth Dimming, which always calculates the best Brightness, Time over WiFi(Ntp), an dynamic WiFi configuration so you don't need to Hardcode your WiFi credentials and much more. | reddit.com/r/arduino | 2020-12-26

    It is this one right: https://github.com/Hieromon/AutoConnect ?

  • GitHub repo OneButton

    An Arduino library for using a single button for multiple purpose input.

    Project mention: How can I break the loop although it haven't finish 10 seconds? | reddit.com/r/arduino | 2021-03-01

    Currently I am using OneButton.h library (https://github.com/mathertel/OneButton)) to code  my push button project.

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

    MCP_CAN Library

    Project mention: MCP2515 issues with GMLAN w/ Photos | reddit.com/r/CarHacking | 2021-01-25

    try coreyjfowlers library with 500k can instead: https://github.com/coryjfowler/MCP_CAN_lib

  • GitHub repo Control-Surface

    Arduino library for creating MIDI controllers and other MIDI devices.

    Project mention: MIDI controller coding headache | reddit.com/r/arduino | 2021-04-22

    You're using an unsupported library. Use the newer, supported version: https://github.com/tttapa/Control-Surface

  • GitHub repo QRCode

    QR code generation library in C, optimized for low-power devices, such as Arduino. (by ricmoo)

    Project mention: Eink NANO wallet project | reddit.com/r/nanocurrency | 2021-04-21

    Hello there! I use this QRCode library by Richard Moore.

  • GitHub repo SPIMemory

    Arduino library for Flash Memory Chips (SPI based only). Formerly SPIFlash

    Project mention: My first PCB! Any tips for starting to work with the SPI flash memory would be appreciated | reddit.com/r/arduino | 2021-03-25

    It's pretty easy to work with these chips using the SPIFlash library. Your chip seems to be supported. https://github.com/Marzogh/SPIMemory

  • GitHub repo arduino-tvout


    Project mention: Cannot believe it worked! Followed a sketchy guide for adding a Composite In line. I even managed to not electrocute myself | reddit.com/r/electronics | 2021-04-07

    I’m assuming it’s the demo from the TVOut library https://github.com/Avamander/arduino-tvout

  • GitHub repo dscKeybusInterface

    An Arduino/esp8266/esp32 library to directly interface with DSC security systems.

    Project mention: PGM output on a DSC PC1616 to determine if armed | reddit.com/r/homesecurity | 2021-04-10

    Or use a Wemos D1 mini ($3 for a chinesium one), 3 resisters to connect directly to the DSC KeyBus along with this firmware and it will send ALL of the data from the Alarm via MQTT! Add an NPN transistor and now you can even arm and control the system via MQTT! All for $3.50 in parts :)

  • GitHub repo Timezone

    Arduino library to facilitate time zone conversions and automatic daylight saving (summer) time adjustments.

    Project mention: String Timestamp to Unix/Epoch timestamp | reddit.com/r/avr | 2021-03-29

    There are Arduino libraries that do exactly what you want. TimeLib (https://github.com/PaulStoffregen/Time) supports all the time functions, and Timezone (https://github.com/JChristensen/Timezone) supports conversions between UTC and local time.

  • GitHub repo CorsairLightingProtocol

    Control LEDs connected to an Arduino with iCUE, create an unofficial Corsair iCUE compatible Arduino LED controller.

    Project mention: Prototype: Optimus Foundation AMD Block D-RGB (ARGB) Module | reddit.com/r/watercooling | 2021-05-04

    Currently this has 18 addressable LEDs and I am controlling from a Corsair Lighting Protocol Lighting Node Pro using iCUE.

  • GitHub repo ESP32-BLE-Mouse

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

    Project mention: Using a ESP32 to disable tablet mode on chromeos | reddit.com/r/chromeos | 2021-04-22
  • GitHub repo MD_MAX72XX

    LED Matrix Library

    Project mention: I need help with the MD_MAX72xx Module | reddit.com/r/arduino | 2021-04-10

    // MD_MAX72XX library can be found at https://github.com/MajicDesigns/MD_MAX72XX

  • GitHub repo InfluxDB-Client-for-Arduino

    Simple library for sending measurements to an InfluxDB with a single network request. Supports ESP8266 and ESP32.

    Project mention: BMS | EspEasy -> InfluxDB -> Grafana | but how? | reddit.com/r/esp8266 | 2021-01-10

    Use this https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino

  • GitHub repo Split-Single-Phase-Energy-Meter

    Split Single-phase Energy Meter

    Project mention: IoTaWatt Open Source WiFi Electric Power Monitor | news.ycombinator.com | 2021-02-25

    Also would be interested in this. I've looked but haven't found anything that has 2 voltage inputs (for split-phase) and 20-40 current inputs. Tempted to build it myself, basically a bunch of these[0] on a common backplane, but haven't got around to it yet

    [0] https://github.com/CircuitSetup/Split-Single-Phase-Energy-Me...

  • GitHub repo ArduinoXInput

    XInput library for USB capable Arduino boards

    Project mention: vsFIGHTER - Cherry MX switches, hotswaps, USB-C, open source firmware (QMK), and RGB underglow | reddit.com/r/fightsticks | 2021-04-07

    Try either arduinoXinput or daemonbite like you said for the firmware. I had an easier time rebinding the pins in arduinoxinput, I couldnt figure out how to do it with daemonbite.

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-05-07.


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

Project Stars
1 ArduinoJson 5,107
2 IRremoteESP8266 1,733
3 RF24 1,711
4 arduinoWebSockets 1,298
5 ArduinoJoystickLibrary 1,208
6 WS2812FX 1,126
7 ESP32-BLE-Keyboard 609
8 AutoConnect 535
9 OneButton 445
10 Arduino-FOC 443
11 MCP_CAN_lib 420
12 Control-Surface 411
13 QRCode 366
14 SPIMemory 286
15 arduino-tvout 223
16 dscKeybusInterface 221
17 Timezone 207
18 CorsairLightingProtocol 199
19 ESP32-BLE-Mouse 193
20 MD_MAX72XX 189
21 InfluxDB-Client-for-Arduino 188
22 Split-Single-Phase-Energy-Meter 159
23 ArduinoXInput 136