Skip to main content
Share Your Experience: Take the 2024 Developer Survey
13 votes
Accepted

How to increase SD card write speed in arduino

OK. So, I tried the SDFat lib. This library is definitely better than the default SD library that comes with adruino. But that is not how I solved my problem of low data-rate. I followed the ...
Ashish Ranjan's user avatar
13 votes

How to change baudrate of ESP8266 (12e) permanently?

Depending on how recent a version of the AT Instruction Set interpreter your chip has, the two instructions you tried may not be valid ones; they are not listed in Espressif's ESP8266 AT Instruction ...
JRobert's user avatar
  • 15.3k
13 votes
Accepted

How to work with non-traditional UART baud rates

The Arduino Nano cannot do 800 kb/s. As you can see in the source code, the bit duration is rounded to the nearest multiple of 8 CPU cycles. In your case, it is rounded to 3 × 8&...
Edgar Bonet's user avatar
  • 43.3k
7 votes
Accepted

EEPROM.get returns bad data

You are saving a String object in EEPROM, which is useless. A string object does not store the contents of your string. Instead, it just stores: the memory address where the actual contents (the ...
Edgar Bonet's user avatar
  • 43.3k
4 votes

How to change baudrate of ESP8266 (12e) permanently?

I bricked my Esp with the same command, too. After hours of searching I found a way to reset the bricked esp. https://developer.mbed.org/users/sschocke/code/WiFiLamp/wiki/Updating-ESP8266-Firmware I ...
Dirk Pitt's user avatar
  • 133
4 votes
Accepted

How to change baudrate of ESP8266 (12e) permanently?

I Connected an FTDI232 module at 115200 baud and could read the specs of the ESP8266 module now: AT+GMR AT version:0.40.0.0(Aug 8 2015 14:45:58) SDK version:1.3.0 Ai-Thinker Technology Co.,Ltd. ...
mvermand's user avatar
  • 407
4 votes

How to increase SD card write speed in arduino

Many factors would decide if you can reach this wanted speed. Only some of these. 1. Your Software The SdFat Library is faster than the standard SD Library of the Arduino IDE. It also has an easy to ...
William Roy's user avatar
4 votes

How to increase SD card write speed in arduino

Avoid the handshake getting a buffer! Use SD.write(buf,size); Hi every one, I'm working in a project with the same issue. I was following the same steps of yours and got exactly the same numbers. I'...
Pinipa's user avatar
  • 41
4 votes
Accepted

I change ESP8266 baudrate and now it doesn't work

Have you tried setting the web editor's baud rate to both the old and the new values? I ask because the CIOBAUD command has been obsolete for a while now so, depending on the age of your device, it ...
JRobert's user avatar
  • 15.3k
4 votes

Double Speed Operation for USART on Arduino Mega 2560

When in double-speed mode, as noted in the manual, fewer samples are used. In Asynchronous serial communication, there is no clock signal, so the clock that keeps the two devices in sync is ...
jose can u c's user avatar
  • 6,974
4 votes

Upgrade ESP-01 firmware on MacOS

Here is the step-by-step on upgrade the ESP-01 AT Command firmware (for running on macOS). Wiring For flashing the ESP-01 firmware, you need to have a USB-TTL adaptor as a programmer. +----------------...
hcheung's user avatar
  • 1,406
4 votes

Define a custom baudrate in Serial Monitor

There is no easy way to do so. The list of available baud rates is hard-coded in the Java source of the Arduino IDE. To add a custom rate, you would have to modify the source code and rebuild the IDE. ...
Edgar Bonet's user avatar
  • 43.3k
3 votes

EEPROM.get returns bad data

Just to have the full working code, I ended up with this: #include <EEPROM.h> char serial_characters[] = {"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"}; // 7 chars for serial and one for string end '...
adrianTNT's user avatar
  • 252
3 votes

Avrdude fails at specific baudrates

If I change it back to 115200 baud, it uploads fine...even though the sketch itself initializes the serial port to 57600. The bootloader is a piece of code designed to work at a specific baud rate. ...
Nick Gammon's user avatar
  • 38.3k
3 votes
Accepted

Baudrate is set to 9600 automatically even if specifying a different value

The whole concept of Baud Rate with USB communication is completely meaningless. There is no such thing as "baud rate" over USB. What there is, and what you are confusing with "baud rate" is a ...
Majenko's user avatar
  • 105k
2 votes

How to change baudrate of ESP8266 (12e) permanently?

Using this firmware: https://developer.mbed.org/users/sschocke/code/WiFiLamp/wiki/Updating-ESP8266-Firmware and this flasher: http://yaab-arduino.blogspot.com.br/2015/12/flashing-esp8266-firmware-...
Marco Andre Silva's user avatar
2 votes
Accepted

ESP8266 12e Arduino IDE outputs garbage values on serial monitor

The baud rate you specify in your program and the baud rate in the serial monitor must match. The ESP8266 outputs a boot message at its own baud rate (varies from model to model - try 57600) before it ...
Majenko's user avatar
  • 105k
2 votes

Double Speed Operation for USART on Arduino Mega 2560

As explained in jose can u c’s answer, in double speed mode the UART has fewer samples for doing clock and data recovery. But this doesn't help answering the second question: Why does it seem to be ...
Edgar Bonet's user avatar
  • 43.3k
2 votes

HC06 correct baud rate but missing characters/ no AT commands

Sorry, my question was not easy to understand. Your solution had not worked for me. I found another libary where its possible to add the parity bit: https://github.com/ledongthuc/CustomSoftwareSerial ...
aazaaa's user avatar
  • 21
2 votes
Accepted

Monitor two baud rates

Your computer can not see what is going over the WiFiBoard serial connection because that connection has nothing at all to do with the connection to your computer. If you want your computer to see ...
Majenko's user avatar
  • 105k
2 votes

Why does my 23,032 byte Arduino sketch take 36.32 sec to upload via ISP to an Atmega328p on a breadboard w/code verification disabled?

ISP programmers typically default to low ISP clock rates. Often something like 10khz, sometimes slower, probably to just work by default with very slowly clocked AVR chips. The ISP clock rate must ...
timemage's user avatar
  • 5,299
1 vote
Accepted

Matching baud rate on serial monitor

If your sketch has ... void setup() { Serial.begin(115200); // ... other stuff here; } ... And you run the IDE serial monitor at 9600, you will get gibberish. The same happens the other way ...
Dougie's user avatar
  • 290
1 vote

Changing Baud Rate not working

You are not very much clear but these are the possible reasons for your problem. You are using a while loop in your setup() function in your code. Your code might get stuck in there that's why you ...
Vaibhav's user avatar
  • 546
1 vote
Accepted

Arduino baud rate 8 times too high?

There are two baud rates you need to diagnose. One is the baud rate the ATMega8U2 runs at, and the other is the baud rate the ATMega328P runs at. You need to work out which one is being calculated ...
Majenko's user avatar
  • 105k
1 vote

Two serials can't work on the same speed

I spent some time playing with your code and it seems your code actually loops the serial therefore if they are both set at 9600 as example and you print what the other one is sending like in your ...
Tjaart van aswegen's user avatar
1 vote

Connect Arduino to Socket IO Webserver via Esp8266

Using the ESP8266 in general The easiest, most flexible, and most efficient way is to program the ESP8266 directly. If it is possible, have it replace the Arduino entirely. To do this, it is best to ...
tttapa's user avatar
  • 1,320
1 vote

How to calculate actual Baud Rate and its percent error?

First, look at the code used by the Arduino core library to configure the USART baud rate register: it's in HardwareSerial::begin(). The general formula is uint16_t baud_setting = (F_CPU / 4 / baud - ...
Edgar Bonet's user avatar
  • 43.3k
1 vote
Accepted

Avrdude fails at specific baudrates

Arduino bootloaders doesn't have any baud rate detection and baud rate is fixed (for the different boards there might be different baud rates) Only Leonardo (and others with native USB) are almost ...
KIIV's user avatar
  • 4,752
1 vote

Alter baud rate after being certain events

To answer your specific question, yes you can alter the baud rate after an event. Just use a Serial.end() then a Serial.begin() with the new baud rate.
mwwalk's user avatar
  • 446
1 vote

ESP8266-01 wrong flow control settings

AT+UART_DEF=9600,8,1,0,3 Are you aware that this configuration (3) as a rule would require both RTS and CTS extra physical signals to work ? That means, if you do not connect anything there, the ...
aluis.rcastro's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible