All Questions
Tagged with arduino-ide microcontroller
17 questions
1
vote
0
answers
23
views
Get Camera Frame Latency after Set Pins of microphone (INMP441)
I don't know why when I uncomment this line:
// i2s_set_pin(I2S_NUM_1, &i2s_mic_pins);
getting fb frame takes much more time. (I don't have any error.)
OUTPUT:
Without i2s_set_pin:
16:59:56.940 -&...
2
votes
1
answer
405
views
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x00): Possible serial noise or corruption
I keep getting the error in the title when trying to upload a sketch. I have tried to switch to different USB ports, resetting the ESP32 camera wrover, resetting the IO extension board and the UNO and ...
-1
votes
1
answer
2k
views
Deep Sleep wakeup w/ ESP32-C3
buttonPin starts from a pressed state initially. Thus when the code is uploaded with the button pressed at the start, the esp32-c3 goes to sleep. The other button (buttonPin2) wakes the esp up from ...
-1
votes
1
answer
375
views
Turning on LED immediately after Deep Sleep w/ ESP32-C3
I have a slight problem in my code such that my LED does not illuminate immediately after deep sleep. The wakeup reason is GPIO go low so that when a button is depressed, the esp will wake up. That ...
-2
votes
1
answer
701
views
I want to get an LED to blink using the millis() function but my LED stays constantly on, what's wrong with my code? [closed]
I know there are other ways but I'd like to know what's wrong with my code and why it doesn't work. Pin 2 seems to constantly stay 'HIGH' despite the 'else if' statement.
const int led = 2;
int ...
1
vote
1
answer
506
views
Having Issue Terminating Command for Nextion Display Communicating ATmega328P
Why am I having extra character printed in serial port?
See the attached screenshot, please.
Extra character in my Nextion command see circled area
There is 0x1A received and I am not sending carriage ...
1
vote
0
answers
72
views
How can I solve this board communication problem with my Arduino Nano?
It has the ATMega328P chip on it. I'm constantly trying to upload some code to it but I'm still getting errors. Everything in the IDE is selected as it should. Board type, processor and port.
Also, ...
0
votes
1
answer
191
views
SSD1306, DIGISparkOLED not working with teensy3.2
OLED display is not working with teensy3.2 board, but it is working fine with arduino UNO with the same code as below:
#include <U8glib.h>
U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NO_ACK); // ...
2
votes
1
answer
3k
views
How do I write integers to a micro SD card on an Arduino
How do I get the Arduino to write the measurement data onto the micro SD card when the write function only accepts integers?
#include <SD.h>
#include <SPI.h>
int CS_PIN = 10;
int ledPin =...
1
vote
1
answer
152
views
Serial programming issue after using ISP
I've been using the avr-mkII programmer to program the arduino through ISP for the past month. Recently I noticed that ever since doing that I lost the ability to program the arduino through the USB ...
0
votes
2
answers
7k
views
Arduino Not Uploading Program to Kit
I have a Boarduino Duemilanove w/Atmega 328. I want to upload my program to it. I have W8.1 on my laptop.
The power green led is running and the red led is blinking. When I put the serial cable, but ...
0
votes
1
answer
458
views
Colour sensor(TCS230) interfacing not works with ATMEGA16?
Sir i dont know why my C-code for Colour sensor not working. i am using ATMEGA16 microcontroller and the sensor i am using is TCS230 sensor which is connected to TO pin PB0(PORTB0) of microcontroller. ...
0
votes
0
answers
112
views
Adding Own Controller to arduino platform
Previously I am using arduino Uno for programming.Next version of arduino board with no pins avialble is Arduino mega2560/1280.Product wise good. BUt if i wanted to develop my own controller With ...
0
votes
1
answer
2k
views
How to Save and display data SD card on LCD
I am developing system using Arduino Nano that will detect water turbidity by using photodiode sensor and LED. Now, I trying to used SD card module to save data sensor.
I tried to used this code ...
2
votes
0
answers
203
views
Taking output from an Adafruit I2C 16 channel driver
Hello I'm struggling to read output values from an Adafruit '16 Channel Driver'. Excuse me if my vocab isn't appropriate.
The project is to wire a HC-SRO4 ultrasonic sensor to an Arduino through ...