#18 Programming the AT89S52 Using Arduino Uno.

  Рет қаралды 14,971

Vooi Yap - Embedded Systems Education

Vooi Yap - Embedded Systems Education

3 жыл бұрын

This video describes how to program an AT89S52 microcontroller using an Arduino Uno. This is useful if you are considering building your own AT89S52 projects. I have referred to a few similar videos when I was researching for this video. I like to take this opportunity to mention one video which I found very useful and informative. The link for this video is as follows:
NematicsLab KZbin: • How to program 8051 us... .
NematicsLab Instructables webpage: www.instructables.com/How-to-...
Resources:
Files you need to complete the programmer:
I have uploaded the command line as a text file and the AVR8051.conf file here:-
drive.google.com/file/d/1XqGD...
The hex file that I used in this video is also included in the above link.
The AVR8051.conf can also be downloaded from the NematicsLab Instructables webpage.
19/03/2021 *Update*: Please view video #26 AT89S52 Programming Shield.

Пікірлер: 71
@sunghokim4458
@sunghokim4458 2 жыл бұрын
Thank you for your friendly statement. Please keep up the good content.
@_tamilinithu_
@_tamilinithu_ 3 жыл бұрын
Thank you 👍
@vooiyap
@vooiyap 3 жыл бұрын
I am glad you like it and I hope you find the videao useful. By the way, I have build a shield for the programmer and I will put it up in the next video.
@adrianpopescu8464
@adrianpopescu8464 Жыл бұрын
Thank you for this series. Very helpful for to put a beginner on track. Can you please explain the needed of the 10u capacitor in parallel with the switch between +5V and R1?
@vooiyap
@vooiyap Жыл бұрын
I am glad that is useful to you. The purpose of the capacitor and the resistor is to perform an auto-reset on powering up the microcontroller. I hope that helps.
@ujjwalsaha609
@ujjwalsaha609 2 жыл бұрын
Plz sir tell me, how to know which program uploaded before
@user-pq5qs1bt7y
@user-pq5qs1bt7y 3 жыл бұрын
Good channel
@vooiyap
@vooiyap 3 жыл бұрын
Thank you. I hope you find the videos useful.
@vooiyap
@vooiyap 3 жыл бұрын
Thank you for your support. It's appreciated.
@studyfree4talk
@studyfree4talk Жыл бұрын
hello sir.. thanks for give us very important knowledge ... sir can i upload same way AT89C52 microcontroller
@vooiyap
@vooiyap Жыл бұрын
Hi, I have not try this with the AT89C52. Have a look at this video. It may help.: kzbin.info/www/bejne/Z37cf35sl9pliq8
@nesarmahmud1080
@nesarmahmud1080 Жыл бұрын
Sir, please explain, bootloading processing of pic16f72 microcontroller interfacing with Arduino Uno
@vooiyap
@vooiyap Жыл бұрын
Hi, thank you for the suggestion. Regrettably, I have no plans to look into the Pic microcontroller in the near future.
@deeptimaanbanerjee6330
@deeptimaanbanerjee6330 3 жыл бұрын
Facing a weird issue... when the capacitors to the crystal oscillator are connected the 8051 does not work... whereas the capacitors when removed the microcontroller runs smoothly...
@vooiyap
@vooiyap 3 жыл бұрын
That is weird. I cannot comment on the issue until I have seen the circuit you have built.
@vooiyap
@vooiyap 2 жыл бұрын
Hi are the other end of the capacitors connected ground?
@surajkumar-ty9zy
@surajkumar-ty9zy 9 ай бұрын
Could you please tell me the easiest way to lock at89s52.i really want to lock my code as nobody can read it..
@vooiyap
@vooiyap 9 ай бұрын
Hi sorry for the late response. I do not know of any easy way to lock AT89S525. The following website might provide some clues: www.engineersgarage.com/at89s51-52-isp-programmer-lock-bits-setting/
@arindammajumder7781
@arindammajumder7781 3 жыл бұрын
Sir May I use this circuit for pixel led controller
@vooiyap
@vooiyap 3 жыл бұрын
Such. No problem.
@carmenho8209
@carmenho8209 7 ай бұрын
Hi I’m facing error when trying to key in the code for method 1. It says “syntax error at C:/AVR8051.conf:27”, what could be the problem?
@vooiyap
@vooiyap 7 ай бұрын
Hi, I do not know try you are getting this error but try this link for the file: drive.google.com/file/d/1XqGDQt50_Th77DPlTh0zPFkW_1ckOhKA/view?usp=sharing Let me know if it works.
@carmenho8209
@carmenho8209 7 ай бұрын
@@vooiyap I'm currently facing a problem with "invalid device signature", may I know what could be the problem? My led did light up but it doesn't blink
@vooiyap
@vooiyap 7 ай бұрын
Hi, I think you got a faulty device/component. Try a new device. @@carmenho8209
@sudhiracharya1234
@sudhiracharya1234 2 жыл бұрын
Is it possible to debug 8052 micro controller in keil realtime
@vooiyap
@vooiyap 2 жыл бұрын
I don't think so. Please check the forums.
@sudhiracharya1234
@sudhiracharya1234 2 жыл бұрын
@@vooiyap i mean any IDE
@candrasniper3404
@candrasniper3404 10 ай бұрын
Is it okay if I change the 33pf caps with 22pf caps?
@vooiyap
@vooiyap 10 ай бұрын
It should be okay. The capacitors are used to ensure oscillation.
@candrasniper3404
@candrasniper3404 10 ай бұрын
@@vooiyap okay, anyway it's pretty similar with the atmega328 min circuit.
@shawon97256
@shawon97256 7 ай бұрын
But the Crystal connection is with pin 18 and 19.
@vooiyap
@vooiyap 7 ай бұрын
Hi, could you kindly state your question.
@santhoshkantharaj8822
@santhoshkantharaj8822 2 жыл бұрын
I have sent a comment about 4 days back, but no reply is received. cmd type is working fine, but gui method I could not make it. The momory is exceeding 2kb of flash. Will it still run since keil says max. flash size for demo version is 2kb ? pl. camment on this. con't we send you my mail id and mob.# in this comment?
@vooiyap
@vooiyap 2 жыл бұрын
Hi I am apologize for not responding earlier. I have been quite busy and I have not check my channel. It will be good if you can send me more details to this email: vvy.eseducation@gmail.com.
@AFSMG
@AFSMG 3 ай бұрын
Como podría programar el AT89C5115. Muchas gracias
@vooiyap
@vooiyap 3 ай бұрын
Necesita conseguir un programador At89C5115 adecuado.
@AFSMG
@AFSMG 3 ай бұрын
@@vooiyap conoces alguno? No encuentro ninguno por internet.
@vooiyap
@vooiyap 3 ай бұрын
@@AFSMG No conozco ningún programador. QUIZÁS puedas consultar el programador XGecu T48 [TL866-3G]
@shubhamsen4572
@shubhamsen4572 2 жыл бұрын
how to do same on ubuntu?
@vooiyap
@vooiyap 2 жыл бұрын
You need to download and install Linux version AVRDUDE. However, I can't find a Linux version AVRDUDE_GUI_8051. You need to check this.
@gurumultitask9979
@gurumultitask9979 3 жыл бұрын
where is the pin number of VREF and Vin??
@vooiyap
@vooiyap 3 жыл бұрын
Hi, thank you for your question. Vin is located on the Arduino Uno board - just above the ANALOG IN pins. However, I am not sure which VREF pin you are refering to. By the way, VREF and Vin are not used in the project.
@gurumultitask9979
@gurumultitask9979 3 жыл бұрын
@@vooiyap I'm making a control led with a potentiometer. where can i wire the potentiometer in this microcontroller? my arduino project says wire to Vref. thanks for the quick answer
@April2023-fb6pf
@April2023-fb6pf 9 ай бұрын
Why not set fuse bit and lokbit ?
@vooiyap
@vooiyap 9 ай бұрын
Please refer to the following for information on lockbits: www.engineersgarage.com/at89s51-52-isp-programmer-lock-bits-setting/
@April2023-fb6pf
@April2023-fb6pf 9 ай бұрын
@@vooiyap thats mean that arduino ide automaticly set fusebit lok bit for new ic ?
@vooiyap
@vooiyap 9 ай бұрын
A Fuse Bit configures the Operational Mode/Functional Mode of the microcontroller (MCU) at the time of the 1st power up initialization when no instruction has yet been executed. The state of a fuse bit must be altered before “Programming the Lock Bits” associated with read/write protections of Flash Memory and EEPROM Memory of the MCU. Once, the lock bits are programmed, the state of the fuse bit cannot be changed. The option that is left is to erase the chip (chip erase brings the lock bits back to their default values) and then set the fuse bits.@@April2023-fb6pf
@April2023-fb6pf
@April2023-fb6pf 9 ай бұрын
@@vooiyap but default mcu like avr set by internal clock 1 mhz. And the arduino have 16 mhz external xlock
@Elena-es2jg
@Elena-es2jg 10 ай бұрын
Can I write stc89c53 with this programmer?
@vooiyap
@vooiyap 10 ай бұрын
I regret I cannot confirm. I have not tested it with the stc89c53.
@Elena-es2jg
@Elena-es2jg 10 ай бұрын
Thank you for your fast reply. Know you a programmer for STC89C53?
@vooiyap
@vooiyap 10 ай бұрын
I regret that I do know of any programmer for the STC89C53.@@Elena-es2jg
@saurabhtejpal
@saurabhtejpal 3 жыл бұрын
Hello Sir, Is C programming necessary to write programs for these boards or we can use assembly language also? If not, then are there boards other than Arduino which allow assembly language programming? Please help
@vooiyap
@vooiyap 3 жыл бұрын
Hi are you refering to Arduino C that is used to configure the Ardunio as an AVRISP programmer?
@ziadahmedali5976
@ziadahmedali5976 Жыл бұрын
the drive link is not working
@vooiyap
@vooiyap Жыл бұрын
May I know what do you mean by "the drive link is not working" please.
@YamakuTokaku
@YamakuTokaku 10 ай бұрын
@@vooiyap this file doesn't exist on this link
@vooiyap
@vooiyap 10 ай бұрын
Hi, which link are you referring to please? @@YamakuTokaku
@surajkumar-ty9zy
@surajkumar-ty9zy 9 ай бұрын
Please reply sir...
@babyph65
@babyph65 3 ай бұрын
My Arduino file is missing
@vooiyap
@vooiyap 3 ай бұрын
Hi, could you explain, what you mean by "My Arduino file is missing"?
@babyph65
@babyph65 3 ай бұрын
@@vooiyap hello, the Arduino folder is what i meant, its doesn't exist anywhere. But I already fixed it, I installed the new version of Arduino that's why its missing.
@vooiyap
@vooiyap 3 ай бұрын
@@babyph65 Good to know that you have fixed the problem.
@yurimoreira8659
@yurimoreira8659 19 күн бұрын
@@vooiyap my arduino folder exists, but it only have the libraries folder. i dont know why it doesnt have the others folders. i tried to install the IDE again, but nothing changed, do you know why this is happening? sorry if i said something wrong, im still learning english
@vooiyap
@vooiyap 19 күн бұрын
@babyph65 Hi, what Arduino file are you referring to?
#19 Explaining Hex Files
10:46
Vooi Yap - Embedded Systems Education
Рет қаралды 9 М.
Arduino as ISP Programmer DIY
21:42
Lari Fari
Рет қаралды 9 М.
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 38 МЛН
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 50 МЛН
80 Year Olds Share Advice for Younger Self
12:22
Sprouht
Рет қаралды 1,7 МЛН
USBASP CHIP ENABLE ERROR - FIRMWARE UPGRADE SOLUTION
12:58
Saravanan AL
Рет қаралды 25 М.
Bootloader and upload to Atmega328P-AU
7:28
Kakushin
Рет қаралды 69 М.
8051 Programming with USBASP - Barebones method
12:46
Saravanan AL
Рет қаралды 35 М.
Voice-over Microphone || DIY or Buy
9:35
GreatScott!
Рет қаралды 862 М.
10 Incredible Arduino projects of the year 2022!
8:15
ToP Projects Compilation
Рет қаралды 686 М.
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 8 МЛН
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 12 МЛН
ноутбуки от 7.900 в тг laptopshoptop
0:14
Ноутбуковая лавка
Рет қаралды 3,5 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН