How to program udoo using Python?

Discussion in 'UDOO NEO' started by Reem AlJunaid, Feb 19, 2017.

Tags:
  1. Reem AlJunaid

    Reem AlJunaid New Member

    Joined:
    Feb 19, 2017
    Messages:
    9
    Likes Received:
    3
    I have a bioloid robot and I want to control it using UDOO but with Python (I should program it by Python, It's recommended)

    I am new in this field, I never programmed robot using any board (UDOO, Arduino or Raspberry Pi)

    What are the steps I should follow at the beginning?

    Do I need to install any SDK for Python in the UDOO board?

    Could you help me in this?
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Hi Reem,
    if this is your first experience you should take a look around on the Internet and look for some tutorials.
    I especially suggest you to take a look at hackster.io, where you can find many UDOO projects to get inspired.
    EDIT: udoo.hackster.io
     
  3. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Python is preinstalled so you have nothing to install. I personally like the Geany editor (also preinstalled) because of the python interpretation and the ability to run the python scripts from the UI.
    Extra libraries you need can be installed by the standard command line tools. (apt-get -install, pip etc)
    There are also some libraries specially made for the Neo: http://www.udoo.org/docs-neo/UDOO_NEO_made_by_the_Community/Python.html

    The decision you have to make is how to control your robot: From the Arduino side or Linux side (the Neo is a combination of a Raspberry Pi-ish and an Arduino Uno-ish). You cannot use Python scripts for the Raspberry Pi GPIO directly on the Udoo Neo, they will not work!

    For an introduction you can also look into my two How-To (see links in my signature) but are not exactly about controlling robots.
     
    Reem AlJunaid likes this.
  4. Reem AlJunaid

    Reem AlJunaid New Member

    Joined:
    Feb 19, 2017
    Messages:
    9
    Likes Received:
    3
    Thank you too much, you really helped me a lot with this !
     
    waltervl and Andrea Rovai like this.
  5. Reem AlJunaid

    Reem AlJunaid New Member

    Joined:
    Feb 19, 2017
    Messages:
    9
    Likes Received:
    3
    Thank you Andrea
     
    Andrea Rovai likes this.
  6. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    You're welcome! Also, welcome in the community!
     

Share This Page