Skip to main content

New answers tagged

1 vote

6 V high-torque servo won't function with motor shield

Voltage dividers make bad power supplies. Basically, there is a 2 kΩ resistor between the power supply and the motor board. Assuming a 3 Ω resistance of the servo in parallel with the 2.2 kΩ resistor, ...
ocrdu's user avatar
  • 1,795
0 votes

HC-05 bluetooth not working

The red status LED on the HC-05, has three states: Rapid Flashing - Looking to pair but unpaired Slow flashing with a period of around 2 seconds - Paired Slow double flashes - in AT command mode.
Greenonline's user avatar
  • 2,959
1 vote
Accepted

Keypad library isn't working or I am wrong somewhere

Your function loop() is empty. Add these two lines to it: insertVol(); delay(500); in order to invoke function insertVol()
6v6gt's user avatar
  • 1,053
1 vote

TinyGPS Returning Garbage

Here: while(gpsSerial.available()) { Serial.write(gpsSerial.read()); gps.encode(gpsSerial.read()); you are checking whether at least one byte is available for read on gpsSerial. Then you are ...
Edgar Bonet's user avatar
  • 43.1k
0 votes

OLED (I2C) and Micro SD card module not working together in Arduino

https://github.com/greiman/SSD1306Ascii use this, it is work with the SD Card module and OLED Display
Engg. PROJECT LAB's user avatar
0 votes

Can you correct my code that works for Arduino-based incubator?

spelling error in library name, should be DHT11.h instead of dht11.h #include <DHT11.h> initialize the DHT11 library by associating DHT11 OUT/DATA/DAT pin using DHT11 dht11(4); Change this ...
Dhruba Saha's user avatar
1 vote

1602 16×2 LCD display is not lighting up for my Automatic watering system project

The LCD address might not be 0x27. Verify the address of your LCD, by checking the manufacturer of the PCF8574 (on the back of the LCD panel). From Interface an I2C LCD with Arduino: If your LCD has ...
Greenonline's user avatar
  • 2,959
0 votes

Servo motor and L298N motor driver don't work together with ESP32

I have faced same issue. But, after some R&D I have change PWM channel number of l298n motor. And now its working properly. Thanks for share this.
Paul M.'s user avatar
1 vote

How to power 2 MG996R towerpro servo

These servos can draw a good deal of current when moving quickly or drawing high loads. You can find that value under "Stall current" on the datasheet. That's the highest one of these motors ...
TPoE's user avatar
  • 29
1 vote

Emulating Arduino Uno with QEMU: interrupts do not work

The documentation of qemu-system-avr says: [...] ATmega controller, which model is limited to USART & 16-bit timer devices, enough to run FreeRTOS based applications [...] It means the emulator ...
1 vote

Servo motor and L298N motor driver don't work together with ESP32

I had it so that EnA from L298N was pin #10 and my servo was pin #2 and it wasn't working. But then I switch them up and it works fine.
Dieegaso's user avatar
0 votes

IR sketch keeps getting the same code: 4294967295

It could be a problem with the simulator (you don't say which simulator you are using), they aren't necessarily an accurate representation of the actual hardware. See How to simulate Arduino? for more ...
Greenonline's user avatar
  • 2,959
0 votes

DS3231 not keeping time when Arduino is turned off

rtc.adjust(DateTime(F(__DATE__), F(__TIME__))); I know this is an old question, however the answers so far doesn't correctly address the issue that the OP facing. The __DATE__, __TIME__ is the time ...
hcheung's user avatar
  • 1,381
0 votes

DS3231 not keeping time when Arduino is turned off

You might consider using the EEPROM to manage the execution of your time-set command based on a boolean flag. Initially, write a false (or 0) to a specific address in the EEPROM to signify that the ...
Grimgork's user avatar
0 votes

RadioHead and Servo compile problems

You can also use the ServoTimer2 library to move the servos to timer 2 if you'd prefer that. https://github.com/nabontra/ServoTimer2
Delta_G's user avatar
  • 3,270
1 vote

RadioHead and Servo compile problems

Mikael Patel pretty much gave the answer but I want to be more precise with it. In your Arduino libraries folder (C:\Users[USER_NAME]\Documents\Arduino\libraries\RadioHead) there is a file called &...
Mihkel Molder's user avatar
2 votes

I can't upload my sketch to Arduino Uno using avrdude

Finally I resolved the issue. I used arduino programmer as a parameter to avrdude ... -c arduino, but it can't work with the newer Arduino boards. It was written for the boards that use optiboot as a ...
Alexander Perechnev's user avatar
0 votes

Sending Analog Input Data from Serial Port to Google Sheets

Wouldn't it be great if the data from Arduino obtained via serial port could be inserted directly at a local google spreadsheet url, without using any api nor post requests? As far as I know, Google ...
Vladimir Brasil's user avatar
2 votes

Capturing frequency using a photodiode

Counting in a loop like that is fine if you have a very low frequency signal, and are getting the hang of how loops, and reading from input pins, work. But there will be a lot of overheads. As Edgar ...
Nick Gammon's user avatar
  • 38.2k
2 votes

Capturing frequency using a photodiode

Consider this loop: for(int i=0; i< size;i++){ // Read sensor value sensorValue[i] = analogRead(sensorPin); // wait between readings for N microseconds delayMicroseconds(dly); } The time ...
Edgar Bonet's user avatar
  • 43.1k

Top 50 recent answers are included