+ All Categories
Home > Documents > Suggested Reading - Robot Parts | Robot Kits | Robot Toys · Getting started Suggested Reading What...

Suggested Reading - Robot Parts | Robot Kits | Robot Toys · Getting started Suggested Reading What...

Date post: 18-Oct-2020
Category:
Upload: others
View: 6 times
Download: 0 times
Share this document with a friend
8
2/16/2016 Makeblock Academy | Getting started with Raspberry Pi http://learn.makeblock.cc/s4rpi/ 1/8 Getting started Suggested Reading What is Raspberry Pi? How to install operating system images on Raspberry Pi? step 1. Wiring Be sure you have installed operaring system images on Raspberry PI and connect your Raspberry Pi to the internet via ethernet cable . Slide the Me Shield for Raspberry Pi on your Raspberry Pi, and connect the shield to Me Baseboard Port4(Leonardo) or Makeblock Orion Port5(Uno). Next, power on the Me Baseboard or Makeblock Orion with 12V power supply. (the shield already feed 5V voltage to raspberry, so it is not necessary to power raspberry seperately)
Transcript
Page 1: Suggested Reading - Robot Parts | Robot Kits | Robot Toys · Getting started Suggested Reading What is Raspberry Pi? How to install operating system images on Raspberry Pi? step 1.

2/16/2016 Makeblock Academy | Getting started with Raspberry Pi

http://learn.makeblock.cc/s4rpi/ 1/8

Getting started

Suggested ReadingWhat is Raspberry Pi?How to install operating system images on Raspberry Pi?step 1. Wiring

Be sure you have installed operaring system images on Raspberry PI and connectyour Raspberry Pi to the internet via ethernet cable . Slide the Me Shield for RaspberryPi on your Raspberry Pi, and connect the shield to Me Baseboard Port4(Leonardo) orMakeblock Orion Port5(Uno). Next, power on the Me Baseboard or Makeblock Orionwith 12V power supply. (the shield already feed 5V voltage to raspberry, so it is notnecessary to power raspberry seperately)

Page 2: Suggested Reading - Robot Parts | Robot Kits | Robot Toys · Getting started Suggested Reading What is Raspberry Pi? How to install operating system images on Raspberry Pi? step 1.

2/16/2016 Makeblock Academy | Getting started with Raspberry Pi

http://learn.makeblock.cc/s4rpi/ 2/8

 

Step 2, log into Raspberry

If you are under windows, then you need to download a free SSHsoftware(Windows) here. Then click button “Quick Connect” to log in. Type the IP, username, password(user name:pi, passward:raspberry).

Page 3: Suggested Reading - Robot Parts | Robot Kits | Robot Toys · Getting started Suggested Reading What is Raspberry Pi? How to install operating system images on Raspberry Pi? step 1.

2/16/2016 Makeblock Academy | Getting started with Raspberry Pi

http://learn.makeblock.cc/s4rpi/ 3/8

Page 4: Suggested Reading - Robot Parts | Robot Kits | Robot Toys · Getting started Suggested Reading What is Raspberry Pi? How to install operating system images on Raspberry Pi? step 1.

2/16/2016 Makeblock Academy | Getting started with Raspberry Pi

http://learn.makeblock.cc/s4rpi/ 4/8

If you are on Mac or linux, then open a terminal with samba service installed onraspberry pi. Type the following command into the terminal window.

ssh pi@<your­rpi­ip>

more useful document http://www.raspberrypi.org/documentation/remote­access/ssh/unix.md.

 

 Step3, Disable the occupied hardware serial ttyAMA0.

make sure that pyserial is installed on your rip, if not type the following command and

Page 5: Suggested Reading - Robot Parts | Robot Kits | Robot Toys · Getting started Suggested Reading What is Raspberry Pi? How to install operating system images on Raspberry Pi? step 1.

2/16/2016 Makeblock Academy | Getting started with Raspberry Pi

http://learn.makeblock.cc/s4rpi/ 5/8

wait the process done.

sudo apt­get install python­serial

the raspberry occupied hardware serial ttyAMA0 for console, we need to disable thisfeature and use the serial to communicate with our baseboard follow the blog below todo the work http://www.irrational.net/2012/04/19/using­the­raspberry­pis­serial­port/

Step4, Clone the RaspberryShield Repository

Type the following command to clone the RaspberryShield repository

git clone https://github.com/Makeblock­official/RaspberryShield.git

Page 6: Suggested Reading - Robot Parts | Robot Kits | Robot Toys · Getting started Suggested Reading What is Raspberry Pi? How to install operating system images on Raspberry Pi? step 1.

2/16/2016 Makeblock Academy | Getting started with Raspberry Pi

http://learn.makeblock.cc/s4rpi/ 6/8

Step5, Upload an Arduino sketch to Me Baseboard or Makeblock Orion. Moredetails http://app.makeblock.cc/firmware/

Step6, Connect a motor to port M1 on Makeblock Orion. make sure that baseboardis powered by dc adapter (the motor driver chip is powered by external power)

Page 7: Suggested Reading - Robot Parts | Robot Kits | Robot Toys · Getting started Suggested Reading What is Raspberry Pi? How to install operating system images on Raspberry Pi? step 1.

2/16/2016 Makeblock Academy | Getting started with Raspberry Pi

http://learn.makeblock.cc/s4rpi/ 7/8

Step7, Run the demo script on raspberry

go to the directory where the demo script located and run the demodcmotor.pycd RaspberryShieldcd serialdemopython demo_dcmotor.py

Page 8: Suggested Reading - Robot Parts | Robot Kits | Robot Toys · Getting started Suggested Reading What is Raspberry Pi? How to install operating system images on Raspberry Pi? step 1.

2/16/2016 Makeblock Academy | Getting started with Raspberry Pi

http://learn.makeblock.cc/s4rpi/ 8/8

Everything should be fine here, enjoy it!


Recommended