C++ arduino-library

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

Top 23 C++ arduino-library Projects

  • ArduinoJson

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

    Project mention: How can I obtain weather info? | /r/esp8266 | 2023-05-20
  • Arduino-IRremote

    Infrared remote library for Arduino: send and receive infrared signals with multiple protocols

    Project mention: Connect to wand? | /r/MagiQuest | 2023-09-10

    However, there are plenty of libraries at this point which can handle the signal to varying degrees (some cant handle cast type but many dont care about that feature, including the game itself). I believe the most up to date currently is: https://github.com/Arduino-IRremote/Arduino-IRremote

  • JetBrains Dev Survey

    What’s up with the C++ ecosystem in 2023? JetBrains Developer Ecosystem Survey 2023 has given us many interesting insights. The Embedded (37%) and Games (39%) industries are already working with C++20, developers are incorporating static analysis in their CI, and ChatGPT usage among coders is flourishing. Read on for more!

  • Adafruit_NeoPixel

    Arduino library for controlling single-wire LED pixels (NeoPixel, WS2812, etc.)

    Project mention: BIQU B1 Marlin 2.1.2 NEOPIXEL not working properly | /r/BIGTREETECH | 2023-05-14

    // Support for Adafruit NeoPixel LED driver #define NEOPIXEL_LED #if ENABLED(NEOPIXEL_LED) #define NEOPIXEL_TYPE NEO_GRB // NEO_GRBW, NEO_RGBW, NEO_GRB, NEO_RBG, etc. // See https://github.com/adafruit/Adafruit_NeoPixel/blob/master/Adafruit_NeoPixel.h //#define NEOPIXEL_PIN 4 // LED driving pin //#define NEOPIXEL2_TYPE NEOPIXEL_TYPE //#define NEOPIXEL2_PIN 5 #define NEOPIXEL_PIXELS 2 // Number of LEDs in the strip. (Longest strip when NEOPIXEL2_SEPARATE is disabled.) //#define NEOPIXEL_IS_SEQUENTIAL // Sequential display for temperature change - LED by LED. Disable to change all LEDs at once. #define NEOPIXEL_BRIGHTNESS 255 // Initial brightness (0-255) #define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup // Support for second Adafruit NeoPixel LED driver controlled with M150 S1 ... //#define NEOPIXEL2_SEPARATE #if ENABLED(NEOPIXEL2_SEPARATE) #define NEOPIXEL2_PIXELS 15 // Number of LEDs in the second strip #define NEOPIXEL2_BRIGHTNESS 127 // Initial brightness (0-255) #define NEOPIXEL2_STARTUP_TEST // Cycle through colors at startup #define NEOPIXEL_M150_DEFAULT -1 // Default strip for M150 without 'S'. Use -1 to set all by default. #else //#define NEOPIXEL2_INSERIES // Default behavior is NeoPixel 2 in parallel #endif // Use some of the NeoPixel LEDs for static (background) lighting //#define NEOPIXEL_BKGD_INDEX_FIRST 0 // Index of the first background LED //#define NEOPIXEL_BKGD_INDEX_LAST 5 // Index of the last background LED //#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W //#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off #endif

  • 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: I built an offline smart home, and why you should too | news.ycombinator.com | 2024-01-11

    I am planning to do this soon(TM).

    Probably starting with ESPHome to control my heat pumps over IR.

    The remote works but I forget to turn it off when not in one of the rooms, and it can't do smarts like keeping temperatures in desired bounds.

    An ESP32 running ESPHome with high power IR LED, a presence sensor, temperature sensor, and some pre-built library to control heat pumps[1]. it looks like it should be fairly simple to implement with Home assistant.

    Now if I could only disable the beep from the heat pumps receiving commands.

    I would like to do smarter lighting, but the lack of decent smart light switches that support local control and are also licenced for use in AU are a blocker there.

    [1] https://github.com/crankyoldgit/IRremoteESP8266/wiki#ir-send...

  • RF24

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

    Project mention: higher channels not working on nRF24l01+PA+LNA radio units | /r/arduino | 2023-03-09

    Yeah. If you have the main RF24 library installed it's under the examples in "scanner"

  • ESP32-BLE-Keyboard

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

    Project mention: ESP32-BLE-Keyboard Example - "does not name a type" error | /r/arduino | 2023-10-24

    I am trying to get started with the bluetooth keyboard example for ESP32. using the example, it throws the error: "Compilation error: 'BleKeyboard' does not name a type" I have tried to compile this in Arduino 1.8 and 2.2.1 and on multiple computers. all fail to compile. I even tried to downgrade the ESP32 package to 2.x to no avail. What am i missing here?

  • 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: No Second hat switch with arduno Joystick | /r/arduino | 2023-11-15

    I'm at a good point with the code and the hardware, but I ran into this issue where the library says that you can define up to 2 hat switches, and I need to use both and here's the problem.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • DHT-sensor-library

    Arduino library for DHT11, DHT22, etc Temperature & Humidity Sensors

    Project mention: DHT21 and the ESP32 - Is there a trick? | /r/esp32 | 2023-06-07
  • arduinoWebSockets


    Project mention: error during Arduino compiling for esp8266 for Roller Blind project | /r/esp8266 | 2023-03-11

    in my WebSocketsServer library folder, i have these files downloaded from https://github.com/Links2004/arduinoWebSockets

  • Arduino-FOC

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

    Project mention: BLDC motor with common enable | /r/ElectricalEngineering | 2023-07-05

    Maybe check the Arduino FOC library

  • Adafruit_SSD1306

    Arduino library for SSD1306 monochrome 128x64 and 128x32 OLEDs

    Project mention: Trouble with interfacing an SSD1306 | /r/arduino | 2023-05-23

    You can compare it with Adafruit's Library

  • WS2812FX

    WS2812 FX Library for Arduino and ESP8266

    Project mention: Adafruit Neopixel lib - fading takes a long time | /r/adafruit | 2023-03-27

    I use WS2812FX library for controlling neopixels, and it performs very fast transitions. I never use the amount of LEDs that you are using, but I would suggest you give it a try. It is easy to customize as well. https://github.com/kitesurfer1404/WS2812FX

  • ESP32-A2DP

    A Simple ESP32 Bluetooth A2DP Library (to implement a Music Receiver or Sender) that supports Arduino, PlatformIO and Espressif IDF

    Project mention: Retreive time & date, cellular signal strength and battery percentage information via Bluetooth on esp32 | /r/embedded | 2023-08-13

    Whole thing is programmed using Arduino library in platformio and for a2dp sink im using pschatzmann library https://github.com/pschatzmann/ESP32-A2DP

  • HomeSpan

    HomeKit Library for the Arduino-ESP32

    Project mention: Does anyone know an alternative to Velux Active to get this into HomeKit? | /r/homebridge | 2023-07-08

    and https://github.com/HomeSpan/HomeSpan

  • Control-Surface

    Arduino library for creating MIDI controllers and other MIDI devices.

    Project mention: Just got an Arduino kit, what are some simple projects that would help me learn coding and be useful with my modular synthesizers? | /r/synthdiy | 2023-04-12

    I was in a similar boat to you, though I have a lot of experience programming outside of the arduino/midi controller context. I was pretty happy to just use https://github.com/tttapa/Control-Surface as a library to handle connecting an arduino with a pot to my PC as a midi controller. The docs and examples the codebase has were very useful.

  • ArduinoThread

    ⏳ A simple way to run Threads on Arduino

  • Adafruit_Sensor

    Common sensor library

    Project mention: Using MPU6050 to get orientation | /r/arduino | 2023-03-15

    There are a few libraries. A popular, easy to use library is the Adafruit Unified Sensor Library collection that exposes an interface for BNO055 and other similar hardware. You can read it as a quaternion format (better for math geeks who like stable orientation) or as a rotation on X/Y/Z axes in either degrees or radians for people who aren't bothered by issues like gimbal lock when you hit a pure up or pure down orientation.

  • AutoConnect

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

  • OneButton

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

    Project mention: [I made] Single Button navigation menu for SSD1306 OLED displays | /r/esp32 | 2023-04-08
  • RTClib

    A fork of Jeelab's fantastic RTC Arduino library


    A simple web user interface library for ESP32 and ESP8266

    Project mention: How are you guys building the web pages to interface with your projects? | /r/esp32 | 2023-09-09
  • HeatPump

    Arduino library to control Mitsubishi Heat Pumps via connector cn105

    Project mention: Looking for automation-friendly HVAC | /r/homeautomation | 2023-05-13

    I think we are talking about different machinery (or maybe different levels of control). What I meant is something like https://github.com/SwiCago/HeatPump , but officially supported.

  • gpio_viewer

    GPIOViewer Arduino Library to see live GPIO Pins on ESP32 boards

    Project mention: GPIOViewer: Arduino Library to see live GPIO Pins on ESP32 boards | news.ycombinator.com | 2024-01-02
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

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 2024-01-11.

C++ arduino-library related posts


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

Project Stars
1 ArduinoJson 6,494
2 Arduino-IRremote 4,229
3 Adafruit_NeoPixel 2,952
4 IRremoteESP8266 2,719
5 RF24 2,137
6 ESP32-BLE-Keyboard 2,079
7 ArduinoJoystickLibrary 1,940
8 DHT-sensor-library 1,888
9 arduinoWebSockets 1,798
10 Arduino-FOC 1,782
11 Adafruit_SSD1306 1,675
12 WS2812FX 1,532
13 ESP32-A2DP 1,294
14 HomeSpan 1,254
15 Control-Surface 1,100
16 ArduinoThread 917
17 Adafruit_Sensor 911
18 AutoConnect 871
19 OneButton 867
20 RTClib 773
21 ESPUI 765
22 HeatPump 737
23 gpio_viewer 714
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.