![]() ![]() 3 digital outputs (pins 10, 11 and 13) and.3 analog outputs (digital pins 5, 6 and 9),.2 digital inputs (digital pins 2 and 3),.Comparing with the standard desktop version of Scratch, S4A provides new blocks for managing sensors and actuators connected to Arduino.Ĭomponents have to be connected in a particular way. Also, the Scratch desktop version used by S4A is based on the 1.6 version, same as used on Raspberry Pi. On this tutorial, I decided to use S4A due its stability and simplicity. ![]() Step 1: Bill of Material (BoM)Īccording to Arduino official page, you can program an Arduino using an experimental online tool: ScratchX, and a previous (desktop) version of Scratch that was modified by another team to produce S4A which reads Scratch programs but contains extensions to utilize a subset of an Arduino's input/output facilities. Doing that will help you to better understand how to use an Arduino for Physical Computing. Here, you can see a video with an example developed during this tutorial:īefore you start, I really recommend that you go to Scratch site and familiarize yourself with the language, following some basic tutorials. But do not worry, we will go step by step on each component. The above diagram shows all the sensors and actuators will be connected to our Arduino. Actuate on analog devices, controlling, for example, a LED brightness using PWM technics. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |