circuitpython
arduino-esp32
Our great sponsors
circuitpython | arduino-esp32 | |
---|---|---|
93 | 228 | |
3,886 | 12,553 | |
1.7% | 3.1% | |
0.0 | 9.6 | |
2 days ago | about 17 hours ago | |
C | C++ | |
MIT License | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
circuitpython
-
Thoughts on a machine?
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.
-
Unveiling secrets of the ESP32: creating an open-source Mac layer
The barrier to entry has never been lower. Last night I prototyped some code in Python on my Mac to talk to a Bluetooth peripheral, and then had ChatGPT translate it to Arduino C++ code for a $5 ESP32 which mostly worked on the first go.
You can even run Python on microcontrollers these days. See Adafruit's https://circuitpython.org for which they publish modules for many (almost all?) of the sensors they sell. The modern microcontroller frameworks hide much of the complexity of Wi-Fi, Bluetooth, filesystems, etc. so you can do complicated things with minimal effort. You can really cobble something together in an afternoon.
-
ALT.CTRL.GameCraft Workshop @ Beta Festival Write-up
The Pico runs CircuitPython and uses Adafruit's HID library to emulate a keyboard. It's also possible to emulate a mouse and a gamepad (there are some experiments for gamepad emulation in experiments).
- CircuitPython added supports for Makerdiary nRF52840 Connect Kit
-
HT1632c library for circuitpython
Asked your question in the adafruit discord and they said there's no HT1632c library for circuit python yet. There is a library for micropython. You can request to have it ported from the Micropython library I linked to by opening a feature request in the Circuit Python Github. That would be your best option for now or attempt to port the library yourself.
- Question about programming arduino
-
This may be an odd question but can someone give me a Tl;dr of the Adafruit ecosystem between 2019-now?
Microcontrollers can run Python now https://circuitpython.org/
-
Projects for newbs!
I'm aware of two versions of Python for microcontrollers. Micro Python and Circuit Python
-
Pause and resume more than one audiofile with audiocore
I tried to look in https://github.com/adafruit/circuitpython/tree/main/shared-bindings at audiocore, audioio, an audiomixer looking for a way to access the sample counter manually but I have no clue what I'm looking at :(
-
Pico W only connects to Wi-Fi once, then needs uf2 nuke
Try CircuitPython 8.0.3. The commit log has a couple networking changes for the Pico. My MQTT client seems to have fewer connection issues though they could be a fluke https://github.com/adafruit/circuitpython/compare/8.0.2...8.0.3
arduino-esp32
-
Any good/worthwhile Camera sensor modules for arduino/pico for still photography?
You could just buy ready-made ESP32 boards with an OV2640 camera built-in, then customize the example sketch from https://github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/Camera/CameraWebServer to your liking.
- I am trying to write to an SD card, it "works" but I can only find the file on PC if I use data recovery software?
-
ESP32 memory corruption
Are you perhaps this poster? https://github.com/espressif/arduino-esp32/issues/5250 - asking that poster for the list I just asked for went nowhere and it was auto-closed.
-
ESP32 WiFiMulti: Connect to the Strongest Wi-Fi Network (from a listing of networks).
/* * Based on the following examples: * WiFi > WiFiMulti: https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/examples/WiFiMulti/WiFiMulti.ino * WiFi > WiFiScan: https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/examples/WiFiScan/WiFiScan.ino * Complete project details at our blog: https://RandomNerdTutorials.com/ * */ #include #include WiFiMulti wifiMulti; // WiFi connect timeout per AP. Increase when connecting takes longer. const uint32_t connectTimeoutMs = 10000; void setup(){ Serial.begin(115200); delay(10); WiFi.mode(WIFI_STA); // Add list of wifi networks wifiMulti.addAP("ssid_from_AP_1", "your_password_for_AP_1"); wifiMulti.addAP("ssid_from_AP_2", "your_password_for_AP_2"); wifiMulti.addAP("ssid_from_AP_3", "your_password_for_AP_3"); // WiFi.scanNetworks will return the number of networks found int n = WiFi.scanNetworks(); Serial.println("scan done"); if (n == 0) { Serial.println("no networks found"); } else { Serial.print(n); Serial.println(" networks found"); for (int i = 0; i < n; ++i) { // Print SSID and RSSI for each network found Serial.print(i + 1); Serial.print(": "); Serial.print(WiFi.SSID(i)); Serial.print(" ("); Serial.print(WiFi.RSSI(i)); Serial.print(")"); Serial.println((WiFi.encryptionType(i) == WIFI_AUTH_OPEN)?" ":"*"); delay(10); } } // Connect to Wi-Fi using wifiMulti (connects to the SSID with strongest connection) Serial.println("Connecting Wifi..."); if(wifiMulti.run() == WL_CONNECTED) { Serial.println(""); Serial.println("WiFi connected"); Serial.println("IP address: "); Serial.println(WiFi.localIP()); } } void loop(){ //if the connection to the stongest hotstop is lost, it will connect to the next network on the list if (wifiMulti.run(connectTimeoutMs) == WL_CONNECTED) { Serial.print("WiFi connected: "); Serial.print(WiFi.SSID()); Serial.print(" "); Serial.println(WiFi.RSSI()); } else { Serial.println("WiFi not connected!"); } delay(1000); }
- problems connecting esp32 to sd card
-
ESP32 S2 Help
I have 2 ESP32-S2-Saolo-1 's on hand. I am trying to do the example Wifi FTM code that can be found at the following repo: https://github.com/espressif/arduino-esp32/tree/master/libraries/WiFi/examples/FTM
-
The Nano ESP32
That has not been my experience at all as a user. ESPHome is even easier than Arduino and I haven’t touched firmware code in years.
The price makes a huge difference when you have dozens of them operating which is trivial with a decent hydroponics and smarthome setup. I also have a dozen boards just sitting idle ready to be called up to replace a failed one or use for a new project because they’re so cheap.
Not to mention the Arduino core is supported officially by ESP32: https://github.com/espressif/arduino-esp32
Who actually uses Arduino in production? Everyone just uses modules (for ESP32) or rolls their own using the Arduino board as a reference.
-
Arduino Uno R4 WiFi
They've done a good job of hiding the RTOS from you and making most sketches run fine without porting, but you're still running as a task under the RTOS, yielding between loop() calls[1]. This leads to mysterious timing issues if you aren't aware of it[2]
It doesn't appear that the Arduino core for the Renesas chip is using the RTOS, at least by default -- its main loop is literally doing while (1) { loop(); }, similar to how the AVR core works. [3, 4]
1. https://github.com/espressif/arduino-esp32/blob/72c41d09538663ebef80d29eb986cd5bc3395c2d/cores/esp32/main.cpp#L45
-
exit status 1 error not going away! Pls help
https://github.com/lewisxhe/esp32-camera-series/issues/11 may interest you - you need all the files in the same dir, not just the .ino by itself
-
Do you have any idea why this program would not work? [ESP32]
I copied all the libraries from here: https://github.com/espressif/arduino-esp32/tree/master/libraries
What are some alternatives?
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
micropython-ulab - a numpy-like fast vector module for micropython, circuitpython, and their derivatives
Tasmota - Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
CPython - The Python programming language
platform-espressif32 - Espressif 32: development platform for PlatformIO
RustPython - A Python Interpreter written in Rust
WLED - Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
arduino - Firmata firmware for Arduino
esp32-wifi-penetration-tool - Exploring possibilities of ESP32 platform to attack on nearby Wi-Fi networks.
c-solutions - My Solutions to K. N. King's "C Programming: A Modern Approach", second edition
TinyGo-On-ESP32 - This tutorial will walk you through how to setup Ubuntu 20.10 with Ubuntu Desktop on a Raspberry Pi 4B, install the Espressif ESP-IDF, install Go and TinyGo and finally flash an app to an Espressif ESP32 Microcontroller.