Hot answers tagged

3 votes
Accepted

Multiple unique I2C devices interfere

It turns out the issue was with limited dynamic memory. The MAX30105 requires a lot of space for its calculations and adding anything else, whether that be another sensor or even a software serial ...
2 votes

What is the best (fastest and most robust) way to send messages back and forth between Python on a PC and an Arduino, over serial?

There is no best way, but there is a better way (and more efficient way). For an arbitrary forward torque of '50', the sending frame should be: [161, 0, 0, 0, 50, 0, 0, 0] And for a command of '-50', ...
  • 1,032
1 vote
Accepted

Problem cleaning string read from serial buffer

When sending text commands to an Arduino, it is common to define a “line-oriented protocol”: each command is transmitted as a single line, with the line ending signifying the end of the command. ...
  • 38.5k
1 vote
Accepted

ESP8266 module doesn't respond to commands and sends garbage to serial on boot

The ESP8266 bootloader outputs messages at that 74880 bits per second. At other speeds the bootloader's messages will look like garbage. Set your terminal speed to 74880 to see them. On the ESP8266 it ...
  • 1,314
1 vote

Arduino nano project working in North America, but not Europe

Not sure if this helps, but the problem might be with your application receiving the data. Check your Windows regional settings. The decimal point can sometimes be a full stop or a comma, eg 10.0 is ...
  • 11
1 vote

Send a 2d PROGMEM array over SoftwareSerial

The write() method from SoftwareSerial (which is inherited from the abstract Print class) does not support printing PROGMEM-based binary buffers. The print() method does have some PROGMEM support, but ...
  • 38.5k

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