element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum Beaglebone Black How can I send data over usb or ethernet and read the data I send over uart?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
BeagleBoard requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 97 subscribers
  • Views 2593 views
  • Users 0 members are here
Related

Beaglebone Black How can I send data over usb or ethernet and read the data I send over uart?

zmrkrzoa
zmrkrzoa over 3 years ago

hi, i'm new at this. I own a beaglebone black. For starters, I want to send data over usb or ethernet and read the data I sent over uart. I couldn't find any resources on how to do it. can you help me? The latest debian image is installed.

  • Sign in to reply
  • Cancel
Parents
  • cstanton
    cstanton over 3 years ago

    Hello,

    It helps to be specific.

    What data? Why UART? How do you see this working? What's your scenario?

     

    For example I could argue that loading up a web page using lynx over a serial console via UART on the beaglebone black is transferring data over the internet via ethernet to the beaglebone black, and then over uart, but I suspect this isn't what you're wanting.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • zmrkrzoa
    zmrkrzoa over 3 years ago in reply to cstanton

    I am an intern student. They gave me beaglebone black to work with. I tested how canbus works.

    Now, to see, understand and test how the uart works, they asked me to send any data over usb or ethernet and read it over the uart.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 3 years ago in reply to zmrkrzoa

    Hi zmrkrzoa,

     

    You can look at pyserial, or https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/uart

    One of those should provide you with some information on how to read and write from/to the UART.

    'Over USB' is kind of meaningless without knowing what device, and what software you wish to attach to, because there's no user-accessible way of sending bits and bytes without a protocol that you need to choose or identify.

    It's similar with 'over Ethernet'. Anyway, once you can at least work with the UART using (for example) either off the two methods mentioned above, then you may have an idea how you wish to transfer or receive data and which applications and protocols you will want to use.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • shabaz
    shabaz over 3 years ago in reply to zmrkrzoa

    Hi zmrkrzoa,

     

    You can look at pyserial, or https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/uart

    One of those should provide you with some information on how to read and write from/to the UART.

    'Over USB' is kind of meaningless without knowing what device, and what software you wish to attach to, because there's no user-accessible way of sending bits and bytes without a protocol that you need to choose or identify.

    It's similar with 'over Ethernet'. Anyway, once you can at least work with the UART using (for example) either off the two methods mentioned above, then you may have an idea how you wish to transfer or receive data and which applications and protocols you will want to use.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube