C Microcontroller

Open-source C projects categorized as Microcontroller

Top 23 C Microcontroller Projects

  • MicroPython

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

    Project mention: RustPython | news.ycombinator.com | 2024-02-07

    Just putting my hand up to say that MicroPython is awesome (and runs on the RP2040). https://micropython.org

  • lvgl

    Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.

    Project mention: LVGL 9.0 Released | news.ycombinator.com | 2024-01-22

    LVGL is a graphics library used mostly for embedded UI's. Main website: https://lvgl.io/

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.

  • rt-thread

    RT-Thread is an open source IoT real-time operating system (RTOS).

    Project mention: 2023 IoT Contest | /r/IOT | 2023-03-27

    The IoT Contest 2023 is organized by Open Source RT-Thread Organization and we Partnered with NXP Semiconductors, STMicroelectronics, and WCH Electronics.

  • zephyr

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

    Project mention: Ask HN: Anyone Waiting on BT Auracast? | news.ycombinator.com | 2023-12-16

    Hey folks. Anyone out there waiting for BT Auracast? It was announced June 2022, and immediately struck me as must have.

    I lost my earbuds, but it seems ridiculous to get a replacement without Auracast, seems like surely if I'm going to make a decent sized purchase like that it needs to support group playing. I want to tune into the radios of other people on the metro or on the bus, want to be able to watch a movie on the plane with someone.

    Auracast was announced in June 2022. Anyone else out there struggling with expectations here? I'm really hoping the product announcement season that's right around the corner had a good number of Auracast announcements.

    Side note, a ton of it is over my head but it's been so so fun tuning in every once and again to see how Zephyr's Bluetooth Audio work is going. Just wild now much has gone into this! https://github.com/zephyrproject-rtos/zephyr/commits/main/subsys/bluetooth/audio

  • u8g2

    U8glib library for monochrome displays, version 2

    Project mention: DIY Mahjong Scorer Guide with Chito - mahjongAsst | /r/Mahjong | 2023-07-11
  • littlefs

    A little fail-safe filesystem designed for microcontrollers

    Project mention: LittleFS Design (CObW) – Combining advantages of COW and log-structures | news.ycombinator.com | 2024-01-25
  • circuitpython

    CircuitPython - a Python implementation for teaching coding with microcontrollers

    Project mention: Thoughts on a machine? | /r/Fencing | 2023-12-09

    As another point for those interested, it (to my knowledge) is currently the ONLY implementation of a scoring machine that the firmware for the device is written in Circuit Python. which gives this unit an advantage when it comes to any and all multi tasking that the unit may need to do.

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

  • nuttx

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

    Project mention: Xiaomi Vela IoT Platform is Being Open-Sourced Based on NuttX Real-time OS | /r/embedded | 2023-11-19
  • ATTinyCore

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

    Project mention: Alternative for arduino | /r/AskElectronics | 2023-05-29

    Resources I used: - How to Burn ATTiny85 Using Arduino-Mega As ISP : 5 Steps - Instructables - To program Arduino as an ISP. This was for my Arduino mega. There are a more than a few links for "normal" Arduinos if you google a bit. - GitHub - SpenceKonde/ATTinyCore: Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8 - arduino support for attiny microcontrollers.

  • PikaPython

    An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerryScript.

    Project mention: MicroPython VS PikaPython - a user suggested alternative | libhunt.com/r/micropython | 2023-12-25

    An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerryScript.

  • embox

    Modular and configurable OS for embedded applications

    Project mention: Release v0.5.9.10 · embox/embox | /r/embedded | 2023-07-01

    Embox is a configurable RTOS designed for resource constrained and embedded systems. Embox main idea is using Linux software without Linux. (https://embox.github.io/ ) If you want use complex Linux Software and Linux is huge for your goals. Embox is the best idea, as I think. For example Embox is the only RTOS that allows to use OpenCV on Cortex-m MCUs https://www.embedded.com/benchmarking-opencv-on-stm32-mcus/

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

  • nnom

    A higher-level Neural Network library for microcontrollers.

    Project mention: [D] Run Pytorch model inference on Microcontroller | /r/MachineLearning | 2023-11-14

    nnom

  • berry

    A ultra-lightweight embedded scripting language optimized for microcontrollers. (by berry-lang)

    Project mention: Pluto, a Modern Lua Dialect | news.ycombinator.com | 2023-12-27

    This is interesting, but lua needs a refresh.

    I think berrylang shows a lot of promise now https://berry-lang.github.io/. The documentation has improved a lot and while it doesn't have a 'luajit' yet it has a lot of really interesting optimisation/reduction techniques.

  • tinyengine

    [NeurIPS 2020] MCUNet: Tiny Deep Learning on IoT Devices; [NeurIPS 2021] MCUNetV2: Memory-Efficient Patch-based Inference for Tiny Deep Learning; [NeurIPS 2022] MCUNetV3: On-Device Training Under 256KB Memory (by mit-han-lab)

    Project mention: [D] Run Pytorch model inference on Microcontroller | /r/MachineLearning | 2023-11-14

    TinyEngine from MCUNet. Looks great, targeting ARM CM4.

  • lwext4

    ext2/ext3/ext4 filesystem library for microcontrollers

  • tiny-json

    The tiny-json is a versatile and easy to use json parser in C suitable for embedded systems. It is fast, robust and portable.

  • nf-interpreter

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

  • lv_drivers

    TFT and touch pad drivers for LVGL embedded GUI library

  • BFree

    BFree: Enabling Battery-free Sensor Prototyping with Python

  • ubxlib

    Portable C libraries which provide APIs to build applications with u-blox products and services. Delivered as add-on to existing microcontroller and RTOS SDKs.

  • uCNC

    µCNC - Universal CNC firmware for microcontrollers

  • WorkOS

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

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

C Microcontroller related posts

Index

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

Project Stars
1 MicroPython 17,995
2 lvgl 14,382
3 rt-thread 9,292
4 zephyr 9,204
5 u8g2 4,618
6 littlefs 4,591
7 circuitpython 3,815
8 nuttx 2,234
9 DAPLink 2,096
10 ATTinyCore 1,467
11 PikaPython 1,311
12 embox 1,058
13 stm32-bootloader 825
14 nnom 777
15 berry 748
16 tinyengine 697
17 lwext4 437
18 tiny-json 325
19 nf-interpreter 288
20 lv_drivers 273
21 BFree 272
22 ubxlib 255
23 uCNC 206
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com