element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
Arduino
  • Products
  • More
Arduino
Arduino Forum how could i create a network of arduinos?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 7 replies
  • Subscribers 392 subscribers
  • Views 912 views
  • Users 0 members are here
  • network
  • connection
  • microcontroller
  • arduino
Related

how could i create a network of arduinos?

Former Member
Former Member over 10 years ago

Hello All,

I am new to this page; i have been working on an arduino to capture information from a position sensor. Now i would like to use multiple sensors in different places, and for that i need to use multiple arduinos. i would like to connect them in the format of a network, not necessarily linear. i know if you want to connect a bunch of them in line you could create a bus line from V+ and GND, and for data from pins 4 and 5. but how would i make it a network? what would i need for that hardware and software related? how does the host/client work?

any help is much appreciated.

Karim

  • Sign in to reply
  • Cancel

Top Replies

  • gadget.iom
    gadget.iom over 10 years ago +2
    Have a look at this tutorial: How to Network Five Arduinos (or more) using I2C - TechBitar
  • gadget.iom
    gadget.iom over 10 years ago in reply to Former Member +1
    I would personally recommend a bus network over 485. This will give you a decent transmission distance. The master can then poll the sensors as necessary. This kind of infrastructure is popular, and popular…
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to gadget.iom +1
    I agree with Paul on this, RS485 is a proven industry workhorse over considerable distances and for wireless there is both Sub Ghz radios that are very inexpensive and also simple WIFI in the form of the…
Parents
  • gadget.iom
    0 gadget.iom over 10 years ago

    Have a look at this tutorial:

    How to Network Five Arduinos (or more) using I2C - TechBitar

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to gadget.iom

    thank you; i had seen something very similar.

    my question is what if i wanted to branch out of one of the 4? what happens to the master/slave communication? essentially what i am wondering is that, is this network only supposed to work as a tree topology? could they not be mutually connected?

    i appreciate your help.

    Karim.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 10 years ago in reply to gadget.iom

    thank you; i had seen something very similar.

    my question is what if i wanted to branch out of one of the 4? what happens to the master/slave communication? essentially what i am wondering is that, is this network only supposed to work as a tree topology? could they not be mutually connected?

    i appreciate your help.

    Karim.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • gadget.iom
    0 gadget.iom over 10 years ago in reply to Former Member

    I2C is typically connected in a bus configuration as shown in the linked tutorial.

    What do you mean by "mutually connected"?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to gadget.iom

    thank you; yes absolutely.

    what i meant was to have, as an example, a topology like this:

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 10 years ago in reply to Former Member

    I would personally recommend a bus network over 485. This will give you a decent transmission distance.

    The master can then poll the sensors as necessary. This kind of infrastructure is popular, and popular for a reason.

    Have you considered going wireless?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago in reply to gadget.iom

    I agree with Paul on this, RS485 is a proven industry workhorse over considerable distances and for wireless there is both Sub Ghz radios that are very inexpensive and also simple WIFI in the form of the ESP boards, also cheap and easy to use and very extendable over vast distances, did someone say across the otherside of the world image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to gadget.iom

    As a matter of fact IMHO the topology should be something like the USB hub architecture to you are covered for any needs and the bus really act as a bus. The selection bits are just to address multiple devices inside the same bus architecture.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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