Top new questions this week:
|
Code Snippet: String a; const int red_led_pin = 13; void setup() { Serial.begin(115200); Serial.println(“Hello, ESP32-S2!”); pinMode(red_led_pin, OUTPUT); } void loop() { …
|
Using M5StickC ESP32 with built-in MPU6886 accelerometer to read vibrations. In the loop() section the code gets 10 readings per second and if the readings exceed a threshold, it starts publishing the …
|
I’ve been using ESP32s and ESP8266 for a few years now and I thought I’d give these little boards a shot, they were cheaper for Bluetooth/WiFi combo, and I don’t need all the bells and whistles of a …
|
I realized that on the atmega boards the bootloader is programmed into the chip. I’m curious, when compiling a sketch how does the compiler/assembler differ from compiling a standard C program for a …
|
First of all, thanks in advance for some help. The code reads values from a range sensor and a force sensor, stores the readings in a buffer, and print the Json out on Terminal. It calls the functions …
|
I’ve bought an ESP32 board from here and a 3.5″ TFT Screen from here. The ESP32 board has an UNO type layout so I thought it would work with the screen which is designed to plug in and play with …
|
In our electronics tinker club, we had installed Arduino IDE 1.8 including drivers + the Holtek UART bridge (vendor ID 04D9, product ID B534) for the Elegoo Smart Car Kit 3.0 Plus (product link). The …
|
Greatest hits from previous weeks:
|
I am new to programming and am trying to communicate with my arduino using python through serial communication. I am using the following code: Arduino code: int ledPin = 11; void setup() { Serial….
|
Recently I have noticed that there are two arduino sites, arduino.cc and arduino.org. They both have the Arduino logo and both sell what seems to be official Arduino boards. Also, arduino.org came …
|
When programming an ESP-01 with Arduino IDE, how can I make the Tx and Rx into a generic I/O pins reliably? I think there’s a command to swap the Tx and Tx with other pins. I tried serial.swap() but …
|
I’m looking to convert an int value to a char array. currently I’ve found the following will return [number] int num = [number] str = String(num); str.toCharArray(cstr,16); Serial.println(cstr); …
|
When I am trying to compile the following code, int delayTime = 1; int charBreak = 2.1; #include <MemoryFree.h> int rled1 = 1; int rled2 = 2; int rled3 = 3; int rled4 = 4; int rled5 = 5; int …
|
I use Visual Studio Code to develop for arduino which uses Arduino Studio installed files and needs the installation to work. This works very well. Annoying is that when verifying a sketch it takes …
|
I started recently working with a uBlox Neo 6M GPS module (data sheet www.u-blox.com/images/downloads/Product_Docs/NEO-6_DataSheet_%28GPS.G6-HW-09005%29.pdf). I connected it to an Arduino Uno …
|
Can you answer these questions?
|
I have this project working except when I power cycle the ESP32 with the following connections (ESP32 -> Relay Module) 5V – VCC, GND – GND, Pin12 – IN1, Pin13 – IN2. When I power cycle the ESP32 …
|
Accidentally I just short circuit my arduino nano, using a led neopixel, between the 5vOutput with one of the data pins. Now the pc doesnt recognize the device when I connect it. In the device (a …
|
I have a mystery I was unable to solve and would greatly appreciate it if anyone could shed some light on this. I have a servo DSS-M15S 270 which I managed to run perfectly fine with Arduino Uno (code …
|