slyfth
Junior Member level 2
Hi guys!
A complete newbie here. Let's say I am at the 'a' of microcontroller knowledge. I am studying this course in uni in the current semester. However, we are more focused on theory there - Instruction sets, writing programs on paper, interrupts etc. I am planning to develop a project namely 'Wireless Energy meter' where we take I/P from an analogue energy meter using a IR sensor and then transmit the data for every unit of electric power consumed, using an RF module. On the receiver end, we will be using a microcontroller along with maybe an adder to add the total units consumed and display it onto a 7 segment LCD.
Now the reason I am here is because i need help with some really stupid and basic questions here. I hope someone here can help. I am planning to use an AT89C51 MCU for the purpose of my project and after having spent a good 7 to 10 days searching on the internet to find answers, I am again where I started from - Square 1.
So my questions:
a) Because the project is going to be a low cost project, how do I make a homegrown 'development board/development kit/demo board/programmer/burner' to burn the hex code to MCU?
b) Is there any difference between these terms 'development board/development kit/demo board/programmer/burner' or can these be used interchangeably? What confused me was this post where it mentioned that the tutorial was for a prototyping board and for programing the MCU you need a separate ISP programmer and in case of use of P89V51RD2 microcontroller you just need a max232 IC and a serial cable to program it.?
c) Are burning and programming the MCU with the hex code not the same things?
d) Once I am able to burn the MCU and I burn it, I will be able to overwrite the MCU with the new hex code for another project or not? Shouldn't the ROM in the MCU be working the same way it works in a mobile phone where we 'flash' ROMs to overwrite previous ROM?
e) Can I use an RS232 from my laptop or a USB to serial for this homegrown board, to program the MCU?
Hoping a lot here. So that I get past the internet surfing phase for finding answers and actually get started on with the project(s).
Thanks!
A complete newbie here. Let's say I am at the 'a' of microcontroller knowledge. I am studying this course in uni in the current semester. However, we are more focused on theory there - Instruction sets, writing programs on paper, interrupts etc. I am planning to develop a project namely 'Wireless Energy meter' where we take I/P from an analogue energy meter using a IR sensor and then transmit the data for every unit of electric power consumed, using an RF module. On the receiver end, we will be using a microcontroller along with maybe an adder to add the total units consumed and display it onto a 7 segment LCD.
Now the reason I am here is because i need help with some really stupid and basic questions here. I hope someone here can help. I am planning to use an AT89C51 MCU for the purpose of my project and after having spent a good 7 to 10 days searching on the internet to find answers, I am again where I started from - Square 1.
So my questions:
a) Because the project is going to be a low cost project, how do I make a homegrown 'development board/development kit/demo board/programmer/burner' to burn the hex code to MCU?
b) Is there any difference between these terms 'development board/development kit/demo board/programmer/burner' or can these be used interchangeably? What confused me was this post where it mentioned that the tutorial was for a prototyping board and for programing the MCU you need a separate ISP programmer and in case of use of P89V51RD2 microcontroller you just need a max232 IC and a serial cable to program it.?
c) Are burning and programming the MCU with the hex code not the same things?
d) Once I am able to burn the MCU and I burn it, I will be able to overwrite the MCU with the new hex code for another project or not? Shouldn't the ROM in the MCU be working the same way it works in a mobile phone where we 'flash' ROMs to overwrite previous ROM?
e) Can I use an RS232 from my laptop or a USB to serial for this homegrown board, to program the MCU?
Hoping a lot here. So that I get past the internet surfing phase for finding answers and actually get started on with the project(s).
Thanks!