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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Forum Electronics Question (arduino)
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 19 replies
  • Subscribers 32 subscribers
  • Views 1302 views
  • Users 0 members are here
  • help
  • electronics
  • arduino
Related

Electronics Question (arduino)

ballyrick
ballyrick over 12 years ago

Hey guys.

 

I am making a toy car with speed control, automatic door, steering and lights.

All of these (3 switches & 2 potentiometer) will be controlled by a remote connected via cable. I would like to use either a USB or RJ11 (4-core telephone) cable.

My question is can I combine all the signal cables to reduce the number of wires going from remote to Arduino.

I thought of i2c but not sure if it will work or how to implement it.

 

Thanks.

 

 

FunctionInputOutput
steering:PotentiometerServo
Automatic doorButtonservo
lightsButtonLED's
Speed controlPotentiometerMotor
Motor DirectionSwitchMotor
  • Sign in to reply
  • Cancel

Top Replies

  • timryder
    timryder over 12 years ago +1
    You could always put a small micro controller on the remote control (like an AT-Tiny) and gather the necessary data from each input device and then send down via RS232 (Serial 3 wires) a series of data…
  • ballyrick
    ballyrick over 12 years ago in reply to timryder +1
    Hi Tim. Just a quick question for you, what model At Tiny would you recommend? And what programmer or can i program it via the arduino uno. I have also attached a picture of the circuitry so far. Than…
  • timryder
    timryder over 12 years ago in reply to ballyrick +1
    First, the ATTINY85 is a nice unit with a fair amount of memory and capabilities. Ben uses them a lot in his designs. There are a number of ways to program it but for your project probably using the Uno…
Parents
  • timryder
    timryder over 12 years ago

    You could always put a small micro controller on the remote control (like an AT-Tiny) and gather the necessary data from each input device and then send down via RS232 (Serial 3 wires) a series of data packets whose values can be interpreted by the master Arduino (Uno i'm guessing) and sets those values to the servo's motors' and LED's?  That means you're going to have to power your remote control with a 9v and a switching regulator and then have at least a 3 wire cable going to the arduino.  You might as well use RS232 over USB since the master USB port on the Arduino will function as a functional RS232 port for data acquisition.

     

    Heck go a step further maybe part 2 of your project once you have it working, get yourself an Xbee and go truly wireless.  Once you've built the RS232 communications protocol for the data its just a matter of changing the media by which the data is transfered.  Wired to wireless.

    http://www.digi.com/products/wireless-wired-embedded-solutions/zigbee-rf-modules/zigbee-mesh-module/xbee-zb-module

     

    Good Luck!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • ballyrick
    ballyrick over 12 years ago in reply to timryder

    Hi Tim.

     

    Thanks very much for your help.

    That seems like a much better way then taking 7 wires to the arduino uno.

    The Xbee would be a great idea however my budget wouldn't be able to stretch to it.

     

    I'll let you know how i get on when finished.

    Ricky

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • timryder
    timryder over 12 years ago in reply to ballyrick

    Sure,


    Feel free to ask more questions during the development.

    Should be a fun little project image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • timryder
    timryder over 12 years ago in reply to ballyrick

    Sure,


    Feel free to ask more questions during the development.

    Should be a fun little project image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • ballyrick
    ballyrick over 12 years ago in reply to timryder

    Hi Tim.

    Just a quick question for you, what model At Tiny would you recommend? And what programmer or can i program it via the arduino uno.

    I have also attached a picture of the circuitry so far.

     

    Thanks

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • timryder
    timryder over 12 years ago in reply to ballyrick

    First, the ATTINY85  is a nice unit with a fair amount of memory and capabilities. Ben uses them a lot in his designs. There are a number of ways to program it but for your project probably using the Uno would work.

     

    Here is a nice Instructable how to do exactly that.

    http://m.instructables.com/id/How-to-program-attiny-using-arduino-uno/

     

    Check that out and give it a try. Gonna need a few parts which are all listed in there.

     

    Tim

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • ballyrick
    ballyrick over 12 years ago in reply to timryder

    Hi Tim.

     

    That Instructable looks fairly good and i have most of the parts already so i'll go with that.

    Could you give me an idea what type of outputs i will be sending from the attiny to the arduino.

     

    Thanks

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