Posts | Comments

Planet Arduino

Archive for the ‘scratch’ Category


Scratch extension for Arduino (experimental release)

arduino, education, Featured, Firmata, Kids, Scracth, scratch Commenti disabilitati su Scratch extension for Arduino (experimental release) 


With the new (experimental) Arduino extension for Scratch, you can create visual programs to control sensors and actuators connected to Arduino boards. Try it on the new ScratchX site.

Scratch allows kids (and everyone) to create their own games, interactive stories, and animations using a visual programming environment. Scratch is made by the Lifelong Kindergarten (LLK) group at the MIT Media Lab. The site is a place for trying out new, experimental extensions to Scratch — e.g. for connecting to hardware or web services. As a member of both Arduino and LLK, I’m especially excited about this possibility to combine Scratch with Arduino.

This Scratch extension, created by Kreg Hanning and me (mostly Kreg), communicates with the Firmata firmware on an Arduino board. This allows you to send the Arduino commands using special Scratch blocks. To start, we have blocks for working with LEDs, servo motors, buttons, rotation knobs (potentiometers), light sensors, and temperature sensors. There are also more general (and Arduino-like) blocks for doing analog and digital input and output. For more information, see the documentation.

If you have any trouble using the Arduino extension or have any suggestions, please open an issue on the extension repository.

Of course, this isn’t the first attempt to connect Scratch and Arduino. For other approaches, see S4A, s2a_fm, and Catenary. For even more options, see SparkFun’s discussion of alternative programming interfaces for Arduino.


Using Arduino Esplora with graphical programming languages

arduino, Esplora, Featured, Kids, scratch, Snap Commenti disabilitati su Using Arduino Esplora with graphical programming languages 


Alan Yorinks shared on Arduino Community on Gplus a physical computing environment he created to make it easier for 10 and 11 year old’s to start playing. He picked up an Arduino Esplora, and wrote some software so that it could be controlled from the Scratch and Snap! graphical programming languages. According to Alan, the Arduino Esplora has on-board integrated sensors, actuators and make it a perfect match for the graphical programming languages that the kids love to use.

By combining an Arduino Esplora microcontroller with the esp4s library and either the Scratch or Snap! programming languages, that first line of code can be written in minutes!

Take a look at his documentation on Github.

ArduinoEsplora retail package


K4S, a Keyboard for Arduino to use with Scratch

arduino, K4S, keyboard, scratch Commenti disabilitati su K4S, a Keyboard for Arduino to use with Scratch 


This is a small keyboard to use with Arduino and works with Scratch:

This project starts a few months ago. Juan Brito, author of the blog Desafio Ecuador, contacted with me to talk about Scratch and the opportunities that gives this programming enviroment in the world of education. In his own words:

I and Danny Macancela are convinced that increase the quality of education in schools and colleges do not require big budgets by governments. This ideal of change has led us to develop this project to teach children mathematics and programming. Children can learn maths with fables. The aim of this project is the search of the human talent growth, which starts in the classroom. As Fritjof Capra says, ‘Today we have the knowledge, technology and financial resources to build a sustainable future. All we need is the political will and leadership’

K4S, a Keyboard for Arduino to use with Scratch - [Link]


Reading Sensors with Scratch

arduino, arduino hacks, scratch, sensors, shield Commenti disabilitati su Reading Sensors with Scratch 

Scratch + Arduino

Scratch, a graphical programming language developed by MIT’s Media Lab, is an excellent tool for teaching programming. [Daniel] created an Arduino Sensor Shield to interface with Scratch, allowing for real-world input to the language.

This board is a derivative of the Picoboard, which is designed for use with Scratch. Fortunately, the communication protocol was well documented, and [Daniel] used the same protocol to talk to the graphical programming environment. The shield includes resistance sensing, a light sensor, a sound sensor, and a sliding potentiometer.

The main goal was to create a board that could easily be built by DIY etching. This meant a one sided board with as few jumpers as possible. The final design, which can be downloaded and etched at home, is single sided and uses only one jumper. Detailed steps on testing the board are provided, which is very helpful for anyone trying to build their own.

This board is perfect for educational purposes, and thanks to [Daniel]‘s optimizations, it can be built and tested at at home.

Filed under: arduino hacks

  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook