0
\$\begingroup\$

I am new to this site. I am now working on microcontrollers. I successfully burnt hex file to 89S52 using arduino as a programmer. But I want to program 89C52 as this is the cheapest atmel microcontroller in my area. There are programmers available online that costs nearly 14.5 US dollar. But I want any cheap way as I am a student and cannot afford that much. Is there any way to do that? Or can I use arduino rx and tx pins to program 89C52?

Thanks in advance

\$\endgroup\$
0
\$\begingroup\$

Atmel AT89C52 can be programmed over SPI using Arduino. Here's an Arduino project to do that:

https://www.hackster.io/PatelDarshil/programming-atmel-at89-series-via-arduino-cf6201

\$\endgroup\$
  • \$\begingroup\$ I have tried your technique. But it only works for 89S52 not 89C52 \$\endgroup\$ – Arkojit Das Jul 24 '18 at 9:04
0
\$\begingroup\$

If you really want to go cheap, use a 2$ or less STM32C8T6 board, which has SPI to communicate with AT89C52. You can use the Arduino IDE using STM32Duino if you are familiar with Arduino.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.