Urgent.News

What's breaking now, across thousands of outlets.

Tech

An Arduino Nano that refused to be programmed via ISP, and an ESP with a seemingly dead serial interface

My attempts to flash the Nano through its ISP header kept failing. I rummaged through my drawer looking for another programmer—didn't I have a USBasp somewhere? Found at least one STK500 clone. In the meantime, I decided to connect an ESP32 to the Nano instead, routing the ATmega328P’s TX pin through a voltage divider down to the 3.3V ESP. That should work, right? Yet nothing came back—or, if I…

The author faced challenges programming an Arduino Nano via its ISP header. Desperate, they tried connecting an ESP32 to the Nano instead, but the communication was often garbled or non-existent. They attempted to fix the issues by sourcing a different programmer—STK500 clone—and adjusting connections, but those efforts proved futile.

Frustrated, they resorted to troubleshooting with AI. The breakthrough came when they accidentally pressed the reset button, allowing the microcontroller's signature to be read successfully, confirming that the wiring was correct. The author then proceeded to measure the reset line and discovered a small capacitor and a 1 kΩ pull-up resistor on the reset line, which were causing issues with the programmer's ability to pull the line low.

The 1 kΩ resistor and capacitor were removed, and the author replaced the 0.1 kΩ pull-up resistor with a proper 10 kΩ one, emulating the original design. Additionally, the CH340 USB-to-serial chip, which was blocking communication, was addressed by removing a 680 Ω series resistor between the CH340 and the ATmega328P's RX pin. The author left the 0 Ω resistor on the ATmega328P's TX line to ensure compatibility with the CH340.

Finally, they soldered a proper 10 kΩ pull-up resistor between the 5V and RST pins on the board, resolving the programming issues entirely. This allowed for reliable ISP flashing while also preserving the ESP32's serial communication via USB. The author plans to use a 74HCT125 for serial translation from the low-voltage 3.3V TX signal to 5V, and a 74LVC04 for converting the 3.3V RX signal back to 5V.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Cordiale Brings IRC to the Desktop Through Grappa

IRC still gives people a direct way to talk in real time. Azzurra, an Italian IRC network that has been online since 1997, lists more than 100 active channels.

  • Cordiale is a desktop IRC client for Windows, macOS, and Linux.
  • It communicates with Grappa via REST and Phoenix Channels over WebSocket.
  • Cordiale offers optional end-to-end encryption for private chats.

Arabic and English in one Django site: four bugs that weren't translation

I'm an architect, and I built Architectena , a professional site for architects (portfolio, CV, architecture-only jobs, office pages and a studio workspace) that runs fully in Arabic and English.

  • Year 2026 displayed as 2,026 due to thousand separator setting
  • Arabic filter bars persisted despite comprehensive .po catalogue
  • Arabic number formats corrected by overriding FORMATMODULEPATH

More from Thursday 19 November →