Arduino
esp-idf
Arduino | esp-idf | |
---|---|---|
96 | 245 | |
15,763 | 12,479 | |
0.3% | 1.5% | |
8.1 | 10.0 | |
14 days ago | 7 days ago | |
C++ | C | |
GNU Lesser General Public License v3.0 only | Apache License 2.0 |
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.
Arduino
-
Send and receive message remotely with ESP8266
The result is that the WiFiSecureClient doesn't work when used in the bot declaration, so I changed the variable to WiFiClient but I can't use the certificate, so I comment it out and ESP8266.h gives me a thousand errors due to lack of dependencies in its libraries. I should point out that I downloaded the entire project from the Arduino ESP8266, I don't know how to link all the libraries, so I simply took those from the ESP8266WiFi.
-
Do you have any idea why this program would not work? [ESP32]
#include #include "time.h" #include "sntp.h" char* ssid = "WIFI"; char* password = "w1fi"; const char* ntpServer1 = "pool.ntp.org"; const char* ntpServer2 = "time.nist.gov"; const long gmtOffset_sec = 3600; const int daylightOffset_sec = 3600; const char* time_zone = "CET-1CEST,M3.5.0,M10.5.0/3"; // TimeZone rule for Europe/Rome including daylight adjustment rules (optional) void printLocalTime() { struct tm timeinfo; if(!getLocalTime(&timeinfo)){ Serial.println("No time available (yet)"); return; } Serial.println(&timeinfo, "%A, %B %d %Y %H:%M:%S"); } // Callback function (get's called when time adjusts via NTP) void timeavailable(struct timeval *t) { Serial.println("Got time adjustment from NTP!"); printLocalTime(); } void setup() { Serial.begin(115200); // set notification call-back function sntp_set_time_sync_notification_cb( timeavailable ); /** * NTP server address could be aquired via DHCP, * * NOTE: This call should be made BEFORE esp32 aquires IP address via DHCP, * otherwise SNTP option 42 would be rejected by default. * NOTE: configTime() function call if made AFTER DHCP-client run * will OVERRIDE aquired NTP server address */ //sntp_servermode_dhcp(1); // (optional) /** * This will set configured ntp servers and constant TimeZone/daylightOffset * should be OK if your time zone does not need to adjust daylightOffset twice a year, * in such a case time adjustment won't be handled automagicaly. */ configTime(gmtOffset_sec, daylightOffset_sec, ntpServer1, ntpServer2); /** * A more convenient approach to handle TimeZones with daylightOffset * would be to specify a environmnet variable with TimeZone definition including daylight adjustmnet rules. * A list of rules for your zone could be obtained from https://github.com/esp8266/Arduino/blob/master/cores/esp8266/TZ.h */ //configTzTime(time_zone, ntpServer1, ntpServer2); //connect to WiFi Serial.printf("Connecting to %s ", ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(" CONNECTED"); } void loop() { delay(5000); printLocalTime(); // it will take some time to sync time :) }
-
How do you determine what module/s do you have on your boards or vice versa?
https://github.com/esp8266/Arduino http://arduino.esp8266.com/stable/package\_esp8266com\_index.json https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads
-
Programming esp32
He meant the Arduino framework. There is an Arduino core for the ESP8266 so you can use Arduino’s IDE and libraries for the ESP with this core here
- rst cause:2, boot mode:(3,6) ERROR :(
-
Help Needed: ESP NOW between ESP Wroom 32 DevKit and WeMos D1 Mini.
According to this link(https://github.com/esp8266/Arduino/issues/6174) WeMos can't receive broadcasts on SDK 2.2.1.
-
ESP8266 on ESPNow protocol power consumption/sleep mode
There are 2 ways to minimize power consumption while maintaining an active WiFi connection, but it's not a large power reduction for either mode. Look at Automatic Modem Sleep and Automatic Light Sleep here: https://github.com/esp8266/Arduino/tree/master/libraries/esp8266/examples/LowPowerDemo
- Very unique color clock! Details on https://www.instructables.com/Pingo-Color-Clock-by-Illusionmanager/
-
lolin boards in close proximity are causing WIFI interferance
That's the Arduino (Uno) library. If you've correctly installed the ESP8266 package then it should be 3.(something-ish) for the ESP8266 version of the WiFi library. Current is 3.1.1 for the core files, and the WiFi is part of the core libraries. If you have your compile options set for verbose then you should see it doesn't access that old Arduino WiFi library.
-
Is there any way to get a low battery alert from a D1 mini?
Seems it's expected https://github.com/esp8266/Arduino/issues/721
esp-idf
-
ESP32S3 ability to change wakeup interrupt in wake stub/ulp coprocessor program?
For returning to deep sleep from the wake-up stub you can take a look at how it is done in https://github.com/espressif/esp-idf/tree/master/examples/system/deep_sleep_wake_stub
-
Trying to learn ESP-IDF on VSCode
You can find the examples here: https://github.com/espressif/esp-idf/tree/master/examples
-
GC9A01 vs ILI9341 for M5Stack AtomS3 LCD - both work, which should I use?
I found the spi_lcd_touch example and flashed it, and it seems to run fine with either ili9341 or gc9a01 drivers selected (although both are mirrored, and one has the colours inverted compared to the other - both of which I assume are things I can fix in either driver).
-
I2C Interrupt
If that's the case: You register a GPIO as event source and make a task waiting for it, that then just performs the I2C-transaction. Follow this example https://github.com/espressif/esp-idf/blob/master/examples/peripherals/gpio/generic_gpio/main/gpio_example_main.c
-
ESP-IDP and pytest markers for supported targets
IDF contains stuff like https://github.com/espressif/esp-idf/blob/master/pytest.ini and https://github.com/espressif/esp-idf/blob/master/tools/ci/idf_pytest/constants.py which are not part of the pytest-embedded package.
-
Unveiling secrets of the ESP32: creating an open-source Mac layer
ugh.. arduino.
Better to start with ESP-IDF, there's a pretty full featured well documented web server, and a lot more.
https://github.com/espressif/esp-idf/tree/master/examples/pr...
- Can I use esp32 to hook up a camera?
-
where can i find esp_peripheral.h ?
i've looked over the the ble peripheiral example https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/nimble/bleprph/README.md and i see it's using
- Esp32 video streaming on web server
-
ESP32-S3 Usb host hid
Hi, I have device ESP32-S3-DevKitM-1 and i want to catch keystrokes from keyboard. I tried using this https://github.com/tanakamasayuki/EspUsbHost and example from espressif https://github.com/espressif/esp-idf/tree/release/v5.1/examples/peripherals/usb/host/hid/main but when i connect keyboard it is just connecting and disconnecting. Can anyone help me with this?
What are some alternatives?
ESP8266_RTOS_SDK - Latest ESP8266 SDK based on FreeRTOS, esp-idf style.
arduino-esp32 - Arduino core for the ESP32
u8g2 - U8glib library for monochrome displays, version 2
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
ESP8266-Google-Calendar-Arduino - Interaction between an ESP8266 and the Google Calendar.
WiFiManager - ESP8266 WiFi Connection manager with web captive portal
ESP8266_NONOS_SDK - ESP8266 nonOS SDK
WLED - Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
brzo_i2c - Brzo I2C is a fast I2C Implementation written in Assembly for the esp8266
Unity Test API - Simple Unit Testing for C
esp-honeypot - Simple ESP8266 / ESP32 Canary that simulates predefined application server and notifies you using E-mail, Telegram, etc if it was accessed.
esptool-js - Javascript implementation of flasher tool for Espressif chips, running in web browser using WebSerial.