EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / send an array on serial port

send an array on serial port

|

Microcontroller › 8051 › send an array on serial port

  • This topic has 5 replies, 4 voices, and was last updated 8 years ago by Anonymous.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 1, 2017 at 4:12 am #4699
    Hirenn
    Participant

    hello,

    i'm using at89s52 microcontroller and need to send few bytes serially.

    i have an array like my_ip[6]={192,168,4,1};

    how could i send it on serial port

    Thanks!

    January 27, 2018 at 10:22 am #14701
    GANEEV SINGH
    Participant

    Hi

    You will need to send the data byte by byte.

    Check out this project: https://www.engineersgarage.com/microcontroller/8051projects/interface-serialport-RS232-AT89C51-circuit

     

    January 31, 2018 at 6:00 pm #14709
    Ashutosh Bhatt
    Participant

    starting with c=0

    send(my_ip[c]);

    c++;

    likewise you can send as many number of bytes as you want

    February 1, 2018 at 2:32 pm #14712
    Anonymous
    Guest

    thanks

    February 2, 2018 at 10:29 am #14716
    Anonymous
    Guest

    nice

    February 2, 2018 at 12:29 pm #14717
    Anonymous
    Guest

    what?

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • ANOTHER OLD PROJECT REDO February 9, 2026
  • Buffer design? February 9, 2026
  • BPF February 9, 2026
  • To couple or decouple February 9, 2026
  • Op amp shock February 9, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise