Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

LED Control using RS-232 for ATMega 8

Status
Not open for further replies.

sanks85

Newbie level 6
Joined
Feb 28, 2011
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,349
Hi fellow members,

I am trying to lit up LEDs using RS-232 for ATmega 8.

I have attached the referred schematics and code.

As per my understanding by reading the datasheet, before transmitting any data, START bit has to be sent and after finishing the routine, STOP bit has to be sent.

But, i have no idea what value has to be sent and on which port and Do i also need to set the respective baudrate ?

Look forward for the quick response.

Thanks alot. :)




 

the start and stop bit is handle by the hardware you do not to worry.

you can have 19600bps , 8 bits ,no parity , 1 stop bit
 
Hi,

Thanks for your response.

So according to my understanding, as per mentioned in the snapshot above, the code should work.

Thanks alot :)
 

Sorry I didn't get your question, what do you want actually?
If you want to control leds using PC then you have to write uart code, bu I didn't find any uart related code in your file....
Hi fellow members,

I am trying to lit up LEDs using RS-232 for ATmega 8.

I have attached the referred schematics and code.

As per my understanding by reading the datasheet, before transmitting any data, START bit has to be sent and after finishing the routine, STOP bit has to be sent.

But, i have no idea what value has to be sent and on which port and Do i also need to set the respective baudrate ?

Look forward for the quick response.

Thanks alot. :)




 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top