C Microcontroller

Open-source C projects categorized as Microcontroller | Edit details
Related topics: #Embedded #Mcu #Esp32 #C #Firmware

Top 23 C Microcontroller Projects

  • GitHub repo MicroPython

    MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems

    Project mention: Broo you're still using C?? What do you use to program, a rock? LoL I can do whatever your code does, in just two lines. What do you say? Your 1947284 lines code is faster than my 2 lines code? Well, you should respect other people's preferences. | reddit.com/r/ProgrammerHumor | 2022-01-19

    MicroPython exists and can control microcontrollers

  • GitHub repo lvgl

    Powerful and easy-to-use embedded GUI library with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).

    Project mention: Are there any cross-platform GUI libraries out there? | reddit.com/r/C_Programming | 2021-12-12
  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo zephyr

    Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.

    Project mention: How to use Zephyr RTOS tracing library | reddit.com/r/embedded | 2021-12-26

    I know that Zephyr provides a tracing library but I am unsure how to use it to profile memory (stack and heap usage) because the explanations are vague in the official documentation. Am I suppose to provide definitions to some of the functions I choose from the library in order to profile the memory? Are there any additional necessary configurations?

  • GitHub repo u8g2

    U8glib library for monochrome displays, version 2

    Project mention: Ran out of RAM on the UNO when incorporating a SSD1306 OLED. Need some advice, please. | reddit.com/r/arduino | 2022-01-13

    You could try a different library, like U8G2 instead of the Adafruit lib. U8G2 has a couple different buffer modes, the page buffer mode might work for you since it doesn't store the entire display in RAM. Plus, its font support is leagues better than the Adafruit lib.

  • GitHub repo circuitpython

    CircuitPython - a Python implementation for teaching coding with microcontrollers

    Project mention: .NET Developer? You're an IoT Developer Too! | dev.to | 2022-01-10

    The most common languages used to write firmware for embedded devices are C/C++, Arduino (a simpler form of C), and Python derivatives like MicroPython and CircuitPython.

  • GitHub repo littlefs

    A little fail-safe filesystem designed for microcontrollers

    Project mention: Flash File System Recommendations | reddit.com/r/embedded | 2021-12-15

    Though I haven't played with it myself, littlefs seems to have made a bit of a splash. If memory serves, I think ARM has backed this to some degree https://github.com/littlefs-project/littlefs

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo ATTinyCore

    Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8

    Project mention: ATtiny85 + IR2110 | reddit.com/r/arduino | 2021-09-16

    The Arduino core (i.e. the Arduino libraries) for the ATTiny85 (and a couple more ATTinys) is here and you can find the link for the ATTiny85 specific information a bit down the main page which, inside, includes this excelent refence picture.

  • GitHub repo incubator-nuttx

    Apache NuttX is a mature, real-time embedded operating system (RTOS)

    Project mention: Open source projects | reddit.com/r/embedded | 2021-09-29

    Zephyr, RIOT, NuttX are all open source RTOSes happy about contributions

  • GitHub repo embox

    Modular and configurable OS for embedded applications

    Project mention: Release v0.5.5 · embox/embox | reddit.com/r/embedded | 2022-01-01
  • GitHub repo stm32-bootloader

    Customizable Bootloader for STM32 microcontrollers. This example demonstrates how to perform in-application-programming of a firmware located on an external SD card with FAT32 file system.

    Project mention: Writing bootloaders for microcontrollers | reddit.com/r/embedded | 2021-05-03

    Here's a bootloader "library" that might be useful. You need to add your own code to get the actual firmware image from somewhere (UART, an SD card, or whatever), and then you just pass it off to the "library" for flashing.

  • GitHub repo nf-interpreter

    :gear: nanoFramework Interpreter, CLR, HAL, PAL and reference target boards

    Project mention: Linq less library? | reddit.com/r/csharp | 2021-07-28

    Ref: https://github.com/nanoframework/nf-interpreter/pull/1802

  • GitHub repo lv_drivers

    TFT and touch pad drivers for LVGL embedded GUI library

    Project mention: Lvgl/lvgl: Powerful and easy-to-use embedded GUI library | news.ycombinator.com | 2021-10-06

    seems like LVGL has direct support for the frame buffer: https://github.com/lvgl/lv_drivers/blob/master/display/fbdev...

    other devices are supported too

  • GitHub repo pico-debug

    virtual debug pod for RP2040 "Raspberry Pi Pico" with no added hardware

    Project mention: Raspberry Pico: Simple Debugging with just one Device | dev.to | 2021-04-25

    This blog pot continues the Pico setup series and will detail how to setup a fully working debugger in VS Studio Code. Keep in mind that ultimately the steps are based on explanations from pico-debug project, and wizio-pico, but the setup is complex so I wrote a summarizing blog article. Follow along and you will be debugging your Pico C programs with the press of a simple launch button.

  • GitHub repo tinyproto

    Tiny Software Protocol for communication over UART, SPI, etc

    Project mention: Serial not sending full packets at once | reddit.com/r/esp32 | 2021-09-22

    Generally you have to use HLDC or something like this to transfer data over fragmented links. This might be a good start: https://github.com/lexus2k/tinyproto

  • GitHub repo ubxlib

    Portable C library add-on for MCU and RTOS SDKs to run data and control APIs for embedded applications with u-blox products and services.

    Project mention: STM32L4R5 BLE Ublox ANNA B112 | reddit.com/r/stm32 | 2021-06-04

    https://github.com/u-blox/ubxlib ?

  • GitHub repo Gesture-Detecting-Macro-Keyboard

    Glorified Bluetooth macro keyboard with machine learning (TensorFlow Lite for Microcontrollers) running on an ESP32.

    Project mention: Made a Macro Keyboard which use Tensorflow Micro to detect which shortcuts to send | reddit.com/r/esp32 | 2021-06-09

    Demo drawing gestures GIF

  • GitHub repo steno

    A collection of stuff I did related to steno (by crides)

    Project mention: Introducing the Uncokeeb: a new per-finger chorded keyboard concept prototype for fast typing | reddit.com/r/ErgoMechKeyboards | 2021-11-28

    Fwiw, that’s a thing, though it’s still in progress. (This says QMK, but there’s def also ZMK work somewhere in there as well.)

  • GitHub repo LameUI

    A very lame UI library for embedded systems.

    Project mention: LameUI - A UI Library for MCUs I have been making for past 6 months | reddit.com/r/embedded | 2021-01-23

    LameUI: https://github.com/abhra0897/LameUI/tree/development

  • GitHub repo PlayStation-1-Reset-Mod

    PlayStation 1 Controller Reset mod

    Project mention: PSX 5502 and Xstation, a game changer! | reddit.com/r/psx | 2021-04-15
  • GitHub repo bekantfirmware

    Programmable position memory for IKEA BEKANT adjustable sit/stand desk

    Project mention: LIN bus on PIC16F1938 firmware: Programmable position memory for IKEA BEKANT adjustable sit/stand desk | reddit.com/r/pic_programming | 2021-02-08
  • GitHub repo picoprom

    Raspberry Pi Pico DIP-EEPROM Programmer

    Project mention: EEPROM Programmer | reddit.com/r/beneater | 2021-04-10

    The details are on GitHub here: https://github.com/gfoot/picoprom

  • GitHub repo xsens-mti

    C library for managing and reading xsens MTi IMU modules over serial.

    Project mention: How to convert an Arduino library for a mbed project? | reddit.com/r/stm32 | 2021-12-11

    I don’t use mbed, but found that specific library lacking and wrote a (in my opinion) cleaner/portable C library. https://github.com/Scottapotamas/xsens-mti

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 2022-01-19.

C Microcontroller related posts


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

Project Stars
1 MicroPython 13,588
2 lvgl 8,335
3 zephyr 5,472
4 u8g2 2,795
5 circuitpython 2,759
6 littlefs 2,516
7 DAPLink 1,376
8 ATTinyCore 1,127
9 incubator-nuttx 882
10 embox 693
11 stm32-bootloader 636
12 nf-interpreter 211
13 lv_drivers 127
14 pico-debug 116
15 tinyproto 111
16 ubxlib 69
17 Gesture-Detecting-Macro-Keyboard 54
18 steno 31
19 LameUI 25
20 PlayStation-1-Reset-Mod 23
21 bekantfirmware 21
22 picoprom 9
23 xsens-mti 6
Find remote jobs at our new job board 99remotejobs.com. There are 28 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.