Python Forum
Programming robots using Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Programming robots using Python
#1
Hi Forum,
I hope I'm in the right part of the forum to post my question, pls correct me if I'm wrong.

I'm learning Python and I want to buy a product like Raspberry Pi where I get the Hardware and also instructions on how to program the robot using Python3.

I bought a kit of hardware from Makeblock (Motherboard, wheels, motors, movement sensor etc) but I'm not sure if it's compatible with what I want to do.

I'm happy to start over with a kit that includes the robot hardware (Motherboard, wheels, motors, movement sensor etc and full instructions on a course on programming it.

The idea is to help my understanding of the Python language.

All helpful suggestions welcomed.

Smile
Reply
#2
Here's a few sites to visit:

https://learn.adafruit.com where you will find robotics projects like https://learn.adafruit.com/simple-raspberry-pi-robot
and SparkFun: https://www.sparkfun.com/categories/31
also Pololu: https://www.pololu.com/search?query=robotics&x=0&y=0

finally:
google "robotic programming using python and raspberry pi"
and you'll get a list.

This will give you some ideas
Reply
#3
(Oct-30-2021, 04:32 PM)Larz60+ Wrote: Here's a few sites to visit:

https://learn.adafruit.com where you will find robotics projects like https://learn.adafruit.com/simple-raspberry-pi-robot
and SparkFun: https://www.sparkfun.com/categories/31
also Pololu: https://www.pololu.com/search?query=robotics&x=0&y=0

finally:
google "robotic programming using python and raspberry pi"
and you'll get a list.

This will give you some ideas
Reply
#4
Thanks Larz60+,
I've had a look and my hardware looks very similar to the basic robots kit.
The Makeblock hardware kit is designed to use Scratch and also Python.
Do you have any suggestions as to setting this Makeblock robot up to be programmed by Python.
Link to Makeblock product that I have.
https://www.amazon.com.au/Makeblock-Educ...DZPT&psc=1

Thanks Peter
Reply
#5
Hi,

If you are really starting out with python and robots,
buy a micro:bit , program it with (micro)python, and use it with
a bit:bot. Endless fun.

Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply
#6
I found this: https://github.com/xeecos/python-for-mbot#installation

Instructions are for Debian Linux (Ubuntu, Linux Mint, etc.), and will vary somewhat for windows.

create a work rnvironment for mbot:
from command line:
  1. Create virtual environment: python -m venv venv
  2. Activare virtual environment . ./venv/bin/activate
  3. Install packages:
    1. upgrade pip: pip install --upgrade pip
      pip install cython
      pip install pyserial
      pip install hidapi

    2. install git if you don't have it: sudo apt install git-all
    3. then install mbot python: git clone https://github.com/xeecos/python-for-mbot
    4. change to 'python-for-mbot' directory cd python-for-mbot
    5. Read the readme.md file
  4. Follow remainder of installation here: https://github.com/xeecos/python-for-mbot#installation
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Programming Difficult math in Python Huntern 6 4,684 Oct-17-2019, 06:32 AM
Last Post: Huntern
  Inconsistency in Python programming language? newbieAuggie2019 31 11,056 Oct-06-2019, 03:21 PM
Last Post: adt
  Python Programming Projects for Beginners jack_sparrow007 3 3,270 Dec-26-2018, 07:52 PM
Last Post: micseydel
  Programming Python as a MS Windows app? Brian123 8 4,145 Oct-17-2018, 10:26 PM
Last Post: Brian123
  Help with Python programming mediaos 5 3,697 Aug-08-2018, 01:02 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020