+ Post New Thread
Results 1 to 10 of 10
  1. #1
    Newbie level 4
    Points: 1,446, Level: 8
    Achievements:
    7 years registered

    Join Date
    May 2011
    Posts
    5
    Helped
    0 / 0
    Points
    1,446
    Level
    8

    Is there any Serial Driver at the speed 9600 for arduino uno (Atmega 328)

    i am using one arduino Uno (Atmega 328p) to send serial data

    and receive that data using 89c51 microcontroller those are almost 12 microcontrollers (At the receiving end)

    is it danger for Tx of atmega 328?????


    if it is then how can in safe it ??? any serial Driver?


    baud rate is 9600

    •   AltAdvertisment

        
       

  2. #2
    Super Moderator
    Points: 68,799, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,040
    Helped
    3214 / 3214
    Points
    68,799
    Level
    64

    Re: Is there any Serial Driver at the speed 9600 for arduino uno (Atmega 328)

    Hi,

    You never heared about RS232? It seems impossible to me.
    Where did you try to find an answer on your own? And how?
    Learn how to: http://lmgtfy.com/?q=Serial+interface

    What about: RS485, RS422, LVDS, different optical systems, wireless optical, RF...

    In detail it depends on your requirements: cable length, cable type, shielding, twisted pairs, power supply, electromagnetic noise, ESD protevtion level, safety standard...

    is it danger for Tx of atmega 328?????
    Not as long as you are within the specifications given in the microcontroller's datasheet.

    Klaus
    Please donīt contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



  3. #3
    Super Moderator
    Points: 76,228, Level: 67
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    12,463
    Helped
    4152 / 4152
    Points
    76,228
    Level
    67

    Re: Is there any Serial Driver at the speed 9600 for arduino uno (Atmega 328)

    Driving lots of 'slave' receivers from one transmitting device is easy but be careful to choose the most appropriate system as outlined by Klaus.
    If you want the 89C51 devices to send data back you have a completely different problem. One transmitter can feed many receivers but only one transmitter can be active at a time. It the data has to flow FROM one of the 89C51s back to the 328p you have to use a system that allows each transmitter to disconnect from the line until it has to send data. If more than one transmitter is active simultaneously they simply pump current between themselves and the resulting line signal is indeterminate.

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.



  4. #4
    Newbie level 4
    Points: 1,446, Level: 8
    Achievements:
    7 years registered

    Join Date
    May 2011
    Posts
    5
    Helped
    0 / 0
    Points
    1,446
    Level
    8

    Re: Is there any Serial Driver at the speed 9600 for arduino uno (Atmega 328)

    not from both sides

    only one side from arduino uno (Atmega 328) to atmel AT89c51
    as shown in this picture


    Click image for larger version. 

Name:	arduino89.jpg 
Views:	4 
Size:	187.4 KB 
ID:	150404



    •   AltAdvertisment

        
       

  5. #5
    Super Moderator
    Points: 68,799, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,040
    Helped
    3214 / 3214
    Points
    68,799
    Level
    64

    Re: Is there any Serial Driver at the speed 9600 for arduino uno (Atmega 328)

    Hi,

    Itīs impossible to help without more information.
    What have you done so far?

    Klaus
    Please donīt contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



  6. #6
    Super Moderator
    Points: 76,228, Level: 67
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    12,463
    Helped
    4152 / 4152
    Points
    76,228
    Level
    67

    Re: Is there any Serial Driver at the speed 9600 for arduino uno (Atmega 328)

    There are many ways to do it but as post #2 asked, it depends on the distances and environment the signal has to pass through. We need to know how far it is between the Arduino and the receiving devices and whether they run off the same supply (share the same ground potential) and whether the wiring is likely to pick up a lot of interference.

    Just for information, it is easy to send slow speeds like 9600 Bauds over several Km if done correctly.

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.



    •   AltAdvertisment

        
       

  7. #7
    Newbie level 4
    Points: 1,446, Level: 8
    Achievements:
    7 years registered

    Join Date
    May 2011
    Posts
    5
    Helped
    0 / 0
    Points
    1,446
    Level
    8

    Re: Is there any Serial Driver at the speed 9600 for arduino uno (Atmega 328)

    @betwixt

    Thanks so much for this kind of information that you asked, 3 clock are approx 20 feet away from arduino, 4th is 55 feet, 5th is 70 feet and 6th is approximately 120 feet, these are working fine without any driver and that was first group and second group is approximately 180 feet from arduino with same ground potential.

    Click image for larger version. 

Name:	arduino89.jpg 
Views:	4 
Size:	43.7 KB 
ID:	150419



  8. #8
    Super Moderator
    Points: 76,228, Level: 67
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    12,463
    Helped
    4152 / 4152
    Points
    76,228
    Level
    67

    Re: Is there any Serial Driver at the speed 9600 for arduino uno (Atmega 328)

    Still many ways to do it but I would suggest the simplest is to convert the serial data to differential and use a twisted pair cable. At each receiver, convert differential back to simple serial. By sending the signal that way you make it relatively immune to both radiating and picking up interference.

    The way I do it in a similar application is to use the inexpensive ADM488 (or MAX488) which is an 8-pin IC containing both a transmitter and receiver. You can use them at both ends, just ignore the transmitter half where only a receiver is needed. They have a single input you can connect directly to the '328 and drive two differential lines out. At the receiving end you connect the two differential inputs to the 488 and it produces a single output to the 89C51. One transmitter can drive up to 32 receivers at speeds up to 10M Bauds (quite a bit faster than you need!) over distances of more than 1Km. You do need to add ONE resistor to terminate the differential lines at the most distant receiver. I use inexpensive CAT5 networking cable, leaving the other 3 twisted pairs for other purposes. The data sheets for the MAX/ADM488 explain how to do it.

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.



  9. #9
    Super Moderator
    Points: 68,799, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,040
    Helped
    3214 / 3214
    Points
    68,799
    Level
    64

    Re: Is there any Serial Driver at the speed 9600 for arduino uno (Atmega 328)

    Hi,

    Just to clarify what Brian said.
    I fully agree.
    * You need a twisted pair plus GND.
    * don't star wire the bus, no branch.
    * the twisted pair should have 120 Ohms characteristic impedance and it needs proper termination at the ends of the bus.(at least at the remote end)

    Klaus
    Please donīt contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



  10. #10
    Super Moderator
    Points: 76,228, Level: 67
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    12,463
    Helped
    4152 / 4152
    Points
    76,228
    Level
    67

    Re: Is there any Serial Driver at the speed 9600 for arduino uno (Atmega 328)

    * You need a twisted pair plus GND.
    Indeed. In fact I power the slaves from the masters supply by using one twisted pair for power and one twisted pair for ground. Not ideal but the drop along the ground cable is still well within ADM488 common mode range and the power is dropped and regulated at each slave, still leaving a safe overhead margin.

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.



--[[ ]]--