Electronics Forum

Electronics Circuits & Projects discussion forum. Get help with electronics.


Need Help - Using 8051 with RS232

New to electronics? Don't know where to start. No problem! Post your questions here.

Moderator: pebe

Need Help - Using 8051 with RS232

Postby maxfourier » Sun Aug 07, 2011 4:36 am

I'm an electronics student working on my first project. I have explained my problem below. Need some help.

Please consider that I'm a newbie with projects.. I have only brought a few things and downloaded some software. Apart from that I have my logic ready. So, all i would need to do is write the code and program the microcontroller.


[b]This is what i have :[/b]

[b][COLOR="darkred"]Hardware :[/COLOR][/b]

8051 (NXP 80V51RD2)
RS232 with DB9
max232

[b][COLOR="darkred"]Software :[/COLOR][/b]

Keil
Flash Magic


[b][COLOR="black"]What i want to do : [/COLOR][/b] is just program the microprocessor. I have tried Googling "Interfacing 8051 rs232" but could not really get it.

I can interface the microprocessor and the max232 but I'm having problems interfacing the RS232.

Moreover, I have NO idea how (& where) to connect the RS232. Here is what my cable looks like :

[img]https://lh6.googleusercontent.com/-yozSGJzf1_0/Tj4U141IcLI/AAAAAAAAASc/BzCSmazqVSs/s800/project.jpg[/img]


[b][COLOR="darkslategray"]
Again, What i need to know is:[/COLOR][/b]
-Which side of the cable goes where(PC n 8051)
-How is it connected to the microprocessor.
-How do I write my c code into the microprocessor - How to convert it to hex(or whatever required)? Why do I need Keil & Flash Magic?
maxfourier
 
Posts: 1
Joined: Sun Aug 07, 2011 4:09 am

Return to Electronics newbies



Who is online

Users browsing this forum: No registered users and 1 guest

Dell Nec MC-4R256CPE6C-653 Memory Ram 256
$30.00
Dell Nec MC-4R256CPE6C-653  Memory Ram 256 picturePowerStop Z36-1399 Front Brake Pads for Dodge Ram 2500 3500 2009-18 w/Hardware
$69.94
PowerStop Z36-1399 Front Brake Pads for Dodge Ram 2500 3500 2009-18 w/Hardware picture4PCS Fender Flares Fit Dodge Ram 2500 3500 2010-2017
$198.99
4PCS Fender Flares Fit Dodge Ram 2500 3500 2010-2017 pictureFuel Filters 68157291AA & 68436631AA for a 2019-2024 Truck 6.7L Cummins Diesel
$37.99
Fuel Filters 68157291AA & 68436631AA for a 2019-2024 Truck 6.7L Cummins Diesel picture


cron