Using Arduino as ISP to program AT89S52 @ceptimus
Using Arduino as ISP to program AT89S52  @ceptimus
Uploaded July 2022 | Updated November 2026, 3 hours ago
I demonstrate how easy it is to use a standard Arduino (UNO, or NANO, etc.) as an ISP to program an Atmel AT89S52 chip or similar. I show how to do it using either Windows or Linux. (files in download links, below).

Note that this technique won't work for the AT89C52 or other 'C' chips - they require a 'high voltage parallel programmer' - only the 'S' chips have the SPI programming interface. The 'S' chips are pin compatible and code compatible with the 'C' chips, so if you have a device with a 'C' chip, you may consider swapping to an 'S' chip, rather than buying or building a dedicated programming device.

I also demonstrate the 'rotating LED clock kit' displaying temperature in both Celsius and Fahrenheit, and playing music. (hex file in links below).
I show how to set the clock back to its original software (provided in the links below) and how to download whatever program is already in the chip (providing it has not been write-protected).

The clock plays a recognizable tune using the standard active buzzer, but it sounds a bit nicer if, like I have, you swap it for a passive buzzer (they're the same size, so it's a simple soldering job to swap).

Arduino sketch: ceptimus.co.uk/ArduinoISP_AT89S52.zip
Windows files: ceptimus.co.uk/AT89S52windows.zip
Linux files: ceptimus.co.uk/AT89S52linux.zip
Using Arduino as ISP to program AT89S52Clock kit analog/button tester for @paulandrusyszyn9177Antennae testing - are they tuned to the right frequency?Max7219 dot matrix display: clock, calendar, and memo board.PIC12F675 Assembly, with TM1638 display.Solar power regulator for model plane using 3.3V Pro Mini ArduinoRotating LED Electronic Clock Kit EC1204B.  Now with music!Simple single-axis gyro, Arduino + MPU6050Cheap Arduino 2.4 GHz band scannerDotMatrixClockTemperatureWeather8266Aldi bike video camera. Any good on a model plane?60 LED clock kit.  Standard firmware bugs.
ceptimus |

Using Arduino as ISP to program AT89S52

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER