Published Book on Amazon
|All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 1|
|All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 2|
출판된 한글판 도서
|최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (상)|
|최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (하)|
Original Book Contents
23.4.6 Robotics and Sensors
Scratch not only can handle the input and output to the program, but also it can connect to external hardware using the sensor board and robotics system. Thanks to its multi-threaded features and powerful messaging system between processes, Scratch can be used to create amazingly advanced robotics engines, and it will be very easy work to put Raspberry Pi in the heart of a simple robot.
Unlike Python which is a much more powerful but rather complex programming language, Scratch can not use the GPIO port of Raspberry Pi to communicate with external hardware. Therefore, it requires additional hardware to communicate with physical world.
22.214.171.124 Sensing with PicoBoard
Designed by SparkFun, PicoBoard is an add-on module that can be connected to a computer running a Scratch. It provides four set of alligator clips that can monitor various slider inputs, optical sensor, button, sound sensor, and external electronic equipment.
There are two kinds of PicoBoards: a original model using serial communication and a variant model using USB communication. Raspberry Pi supports the variant model. If you simply connect it to the USB port of Raspberry Pi and restart Scratch, you can use various functions in the Scratch interface.
For more information, please see below.
126.96.36.199 Implementing Robotics with LEGO
Scratch can be used to controlled external robotics system. LEGO educational WeDo robotics kit is designed to connect motor, distance sensor and speed sensor to computers, which can be controlled using dedicated blocks in Scratch.
WeDo kits are a great tool for children to get started with robotics. You can put components together like a regular LEGO, do not worry about getting it wrong, and do not have to worry about electric shock. As WeDo kits are also compatible with regular LEGO technique kit, it is possible to build large projects easy and fast.
For more information on Scratch and LEGO educational WeDo kits, please refer to the following site: