Skip to main content

New answers tagged

0 votes

Photoresistor reads different values based on program running?

After way too much testing I finally realized the root cause was that I wasn't reading the correct pin. In my code I #define photoResistor 19. Turns out that wasn't the pin the photoresistor was ...
Starb3an's user avatar
0 votes

Digital pin outs inverting "sometimes"

It was a serial comms timing issue. The main() loop was cycling faster than the serial buffer was updating so the direction was being changed faster than the PC side image acquisition was working, ...
DrBwts's user avatar
  • 161
0 votes
Accepted

Arduino Nano ESD crash despite ESD protection measures

So... I've finally figured it out. After spending nearly two days trying to debug this weird case, it turns out that my Arduino was apparently broken. For a short while I switched the Nano with an ...
TPoE's user avatar
  • 29
2 votes

Create a system of hot swap firmware update on Arduino Nano?

That sounds similar in principle to some of the SD card bootloaders that I recall reading about a few years ago. These bootloaders would look for a file on SD card when triggered and then write that ...
user85471's user avatar
  • 721
2 votes
Accepted

Create a system of hot swap firmware update on Arduino Nano?

The InternalStorageAVR in my ArduinoOTA library can write a binary into the upper half of a classic AVR MCU flash. The library doesn't allow to use it with Nano because of the small flash size, but it ...
Juraj's user avatar
  • 18.1k
3 votes
Accepted

Creating firmware redundancy on Arduino Nano

More powerful MCU with large flash memory have partitioning or flash memory banks where they can switch between different versions of the firmware. They have a register to set the start address so the ...
Juraj's user avatar
  • 18.1k

Top 50 recent answers are included