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
    About the element14 Community
  • 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
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum guys i'm working on a segway style balancing robot as a project for college with raspberry pi. i'm pretty clueless about what to do. NEED HELP ASAP!!!
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 7 replies
  • Answers 1 answer
  • Subscribers 320 subscribers
  • Views 1008 views
  • Users 0 members are here
  • pi
  • ask_an_expert
  • drive
  • rasberry
  • robot
  • invertedpendulum
  • code
  • raspberrypi
  • segway
  • balance
  • motor
  • ask_the_expert
  • sensor
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

guys i'm working on a segway style balancing robot as a project for college with raspberry pi. i'm pretty clueless about what to do. NEED HELP ASAP!!!

Former Member
Former Member over 11 years ago

i'm in a lot of trouble right now. i have a basic idea here but everything from the coding to which sensor to select, im very confused. the working of the bot is that of a segway i.e inverted pendulum.

im hoping to connect a 9 dof sensor to the pi (clueless on how) and have a code running in the pi (have no idea about the code since im a no vice in coding) and have the motors run using a h-bridge setup. the basic block diagram is attached. the robot will also have a camera (raspberry pi camera) which will stream videos vai wifi dongle to my laptop ( or so i hope). lets just say i was counting on this person from college but turns out he's more clueless than me. please help !!! image

Attachments:
image
image
image
image
  • Sign in to reply
  • Cancel
  • dougw
    0 dougw over 11 years ago

    Hi Clint,

    Your block diagram looks good.

    You could use a ChipKit Pi for the microprocessor board as this card will connect directly to your Raspberry Pi.

    There are many 2 wheel balancing robot projects for arduino platforms that could be easily ported to the ChipKit Pi.

    Here are a couple of links to get started:

    Franko – Arduino Self Balancing Robot | Luka Gabric

    http://www.instructables.com/id/2-Wheel-Self-Balancing-Robot-by-using-Arduino-and-/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to dougw

    thank you very much Mr.Douglas image  the chipkit pi is something totally new to me right now. let me check out your links and get back to you image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to dougw

    sir so are you telling me that using the chipkit, i can directly use the code and sensors used in an adruino project??

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to Former Member

    it is a PIC Microchip not an ATMEGA328 so it is not code compatible. It is more hardware compatible and is designed to work with the PI

     

    The GERTBOARD is an other alternative that works with the PI and IS an Arduino Code compatible controller so you should be able to use existing Arduino software if so desired

     

    Regards

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dougw
    0 dougw over 11 years ago in reply to Former Member

    Actually I believe ChipKit Pi is perfectly source code and hardware compatible with arduinos. It does use a much faster cpu than the original arduino, but it comes with a compiler that will seamlessly accept arduino source code and convert it to run properly on the ChipKit Pi. The development environment for ChipKit Pi runs on the Raspberry Pi and is like a normal arduino development environment.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to dougw

    Well then I stand corrected and given the performance benefits this sounds like a good choice

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    guys i have a problem. ill have to use a separate PIC and design a board around it and connect it to the pi. my teacher wont allow me to use a ready made board like the chipkit pi. which i believe is a huge bummer image ill have to first try this and only if i end up with a problem can i opt the chipkit. thank you Mr.Douglas and Mr.Peter for the help. i'd be more than happy if you guys could help me in the future too with suggestions and such. what i need right now is probably a " raspberry pi based balancing surveillance robot for dummies"  image

    • 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 © 2026 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