Connect with us

atmega8 and rs485

Discussion in 'Microcontrollers, Programming and IoT' started by sherazi, Mar 28, 2010.

Scroll to continue with content
  1. sherazi

    sherazi

    91
    0
    Mar 8, 2010
    . i am new to usart programming... and i have to impliment a program that has to run on atmega8 and communicate to a far off (more than 50 m in some cases)trminal. i plan to use the 485 standard... and plan to code in asmbly...

    can any one help in coding... i have never coded for usart befor... i would have to send the status of gate,(opneneing, closing, closed etc)from the control panel of gate opner to the terminal
     
  2. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,270
    2,718
    Jan 21, 2010
    Can't help with this directly, but why not program in C? There are libraries to do all the serial comms stuff.
     
  3. sherazi

    sherazi

    91
    0
    Mar 8, 2010
    because my rest of the program is in assembly
     
  4. sherazi

    sherazi

    91
    0
    Mar 8, 2010
    and i am fimilar with c++ but havnt used it for microcontrollers ever
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-