
Scratching with Arduino The first thing to do is read the documentation (here) to find how do the Sensor Board interacts with Scratch. After some time reading we found that the Sensor Board communication occurs via RS-232 at a speed of 38400 baud. It is good, because Arduino already have a Serial Port which means less circuits to implement. The protocol between Scratch and Sensor Board constitutes of a ping pong mechanism. First Scratch application send a a data byte to the board then the board replies with sensor data. Nice. The request packet is simply a byte with the value 0x01, whilst the sensor data consists of 9 high byte / low byte pairs (i.e. 18 bytes) spaced in time by a 400us interval. The high byte / low byte pairs contains a 4 bit channel ID and a 10 bit Value. For the Scratch Board Release 1 firmware and Scratch release 1.1 and later, the mapping between channel ID and sensor type is given below:
Waterbear: Welcome scratch-io - home What is Kodu | Projects | Fuse Labs An overview of Kodu. (Click to play) Kodu lets kids create games on the PC and Xbox via a simple visual programming language. Kodu can be used to teach creativity, problem solving, storytelling, as well as programming. Anyone can use Kodu to make a game, young children as well as adults with no design or programming skills. Since Kodu's introduction in 2009, we have visited the White House, teamed up with great groups like NCWIT and DigiGirlz, inspired academic research and been the subject of a book (Kodu for Kids). Kodu for the PC is available to download for free.
Scratch, Enchanting y S4A tres herramientas para divertirse El montaje mecánico está basado en el propuesto en la documentación de NXT. La única modificación es la posición del sensor de contacto que controla el motor dispensador. En este vídeo se puede ver cómo funciona. Para este proyecto necesitamos dos motores, dos sensores de contacto y un sensor de color. Uno de los motores se utiliza para colocar la bola bajo el sensor de color y después soltarlo por una rampa (dispensador). El otro motor gira las cajetillas para que cada bola caiga en la que le corresponde (clasificador). Los sensores de contacto se utilizan para parar los motores en su posición inicial. El sensor de color se utiliza para identificar el color de las bolas. En el programa se usan cuatro variables: Posición: recoge el valor del último giro para poder colocar las cajetillas en la posición inicial realizando un giro del mismo valor en sentido contrario. br, ba, bv: valores devueltos por el sensor de color para cada uno de los colores (rojo, azul, verde).
MaKey MaKey: An Invention Kit for Everyone - Buy Direct (Official Site) Scratch for Arduino 2014 We all like to learn to program a robot, but the world of electronics and robotics seems very complex and difficult to understand. Can you imagine if there was a way to build devices in a simple and intuitive way , through a visual system that does not require learning a new language ? This is the offering Scratch for Arduino ( S4A ) , an application that uses environment simple and intuitive programming (Scratch ) with a plate system that allows us to build electronic projects (Arduino ) . Thus, robots can be programmed from a virtual card system that bind to each other , which allow us to manipulate the components and receive information of the plates that make up our robot. Experimentation and intuition are key in this process. What you'll learn: Basic concepts of object-oriented programming and electronics ( and robotics ) . Things to do : The plates are used to mount robots are open source ,so the possibilities are almost endless! You can check the project blog Technical Price: 75 €
Installing the Scratch/Arduino Communication | Iniciativa Computação na Escola Funcionamento da comunicação usando s2a_fm Esta página explica como instalar e fazer funcionar a comunicação entre Scratch e Arduino utilizando S2A_FM. Ajuda adicional pode ser conseguida no Manual de Referência do S2A. Plataformas: - Ubuntu Linux (x86) - Raspbian Linux (Raspberry Pi) Dialetos: - MIT Scratch 2.0 (Ubuntu) - Berkeley SNAP! O roteiro com as instruções abaixo foi desenvolvido e testado nos sabores de Linux UBUNTU 12 LTS (PC x86) e Raspberry Pi Foundation Debian Wheezy Raspbian release June 2014 (Raspberry Pi ARM). Para verificar que versão de Linux você possui,se estiver usando um PC, use o comando abaixo em um terminal de linha de comando: lsb_release -d Ubuntu retornará algo como: Description: Ubuntu 12.04.4 LTS Se você estiver usando um Raspberry Pi, use o comando abaixo em um terminal de linha de comando: uname -nrm Raspbian retornará algo como: raspberrypi 3.12.20+ armv6l Atualizando Python Passos: sudo su Atualize seu sistema Linux: update-manager & apt-get install python-pip exit
Scratch All boys and girls love construction games, with coloured pieces that go on top of each other. But what happens if what we have just built behaves just like a computer programme, capable of doing whatever we tell it to? Well then we must be playing with Scratch, the most fun and creative way of understanding how computers behave. Joining blocks together, in a matter of a few minutes even the youngest can build small programmes that move their drawings around the screen, make musical noises or can even talk with their own voice, while they intuitively put into practice concepts of programming. Their natural curiosity will be their best guide: in each session, they will have to take it apart again and ascertain how something that already works functions. What we learn: playing, we understand very simply hos computers are programmed.. Here is an example of what can be done. (embed)