Recent Changes - Search:

Home

People

Publications

Projects

Fall 2009

Older Courses

Spring 2009

Fall 2008

Spring 2008

Fall 2007

HOWTOs

edit SideBar

IchiBoard

Pictures are coming! Please stand by.


The Ichi Board.

Driver Download

Please install the USB driver before plugging in your IchiBoard.

If you are having driver trouble in Windows, try using the FTClean utility to clean out the drivers.

Launch Sequence (How to Start up Scratch Using the Ichi-Board)

Please follow these steps every time you start Scratch with the Ichi Board.

  1. Plug in the Ichi Board
  2. Start Scratch
  3. Don't unplug the Ichi Board while Scratch is running. It won't be able to see the board again unless you restart from Step 1!

Introduction

Scratch has 8 channels of information it reads from the Ichi board. They are the button, slider, microphone, light sensor, and plug-in sensors A, B, C, and D. The first four of these are built onto the board and never change. The four plug-in channels allow a variety of different sensors to be attached, further extending the capabilities of the board. The four plug-in ports are also used for the built-in accelerometer and digital inputs. Keep in mind that Scratch can only look at one sensor at a time on any channel.

The Ichi board is a close cousin to the Pico board, the original sensor interface for Scratch. The Ichi board includes all of the features of the Pico board, plus a whole lot more.

This page focuses on what you can do with the advanced features of the Ichi board. For an introduction to the standard features, read through Getting Started With PicoBoards

Changing Channels

All of the plug-in ports (A, B, C, D) have three different modes, and can only be in one of these modes at a time. The modes for each port can be selected independently. The three modes are Passive, Powered, and Special. Regardless of mode, the data being read by a channel will be visible in Scratch as resistance-A, resistance-B, resistance-C, or resistance-D. Only one mode, and therefore only one data source, can be selected at a time.

Passive Mode

The passive plugs are the connectors at the very bottom of the Ichi board. They use mini jack plugs, also known as mono mini headphone plugs. These ports can read any passive resistive sensor; meaning anything does does not require power and changes resistance. Common sensors are potentiometers (knobs and sliders) and buttons.

To activate passive mode for a particular channel, set that channel's DIP switch to off/down and plug a jack into the corresponding passive port.

Powered Mode

The powered plugs use 3-pin Hirose DF3 connectors, the same that are used on the HandyBoard Cricket and related devices. These plugs are located just above the passive ports. The powered ports can support advanced sensors that require power, as well as any sensors that can be used on the passive ports. The most common powered sensors are distance sensors, which require power to emit and measure an infrared pulse.

To activate powered mode for a particular channel, set that channel's DIP switch to off/down and ensure there is nothing plugged into the corresponding passive port.

Special Mode

Each of the four ports (A, B, C, D) have a different special mode. Channels A, B, and C are all connected to the on-board accelerometer chip to sense motion. Channel D is an extra set of digital inputs, which can only be used with on/off switches.

ABCD
Accel XAccel YAccel ZDigital Inputs

To activate special mode for a particular channel, set that channel's DIP switch to on/up.

Tools & Demo Software

Graphical Readout Tool

This Scratch program provides a real-time graphical display of all the input board channels. This is useful for exploring the board's capabilities as well as debugging.

Graphical Readout Tool

Analog Channel Averager Sprite

This is not an entire Scratch program, but a single sprite you can import into Scratch. Create a new sprite by clicking the "Choose new sprite from file" button, and select this file.

This sprite provides a tool for smoothing out the data of an analog channel. Many analog sensors (like the accelerometer) are prone to giving data that is shaky. Smoothing is used to make the data nicer for certain applications. This sprite uses a floating average to perform smoothing. You can adjust how much data it uses for the average, allowing you to control how much smoothing is applied.

When this sprite is imported into Scratch it appears as a small grey triangle. You can change the appearance however you please as it has no bearing on the operation of the sprite. The sprite's script reads from an analog sensor port, does the averaging, and stores the result in a public variable that can be used by any other sprite. This variable always has the current floating average of the analog port. When the sprite is imported, the variable "average" will automatically be created. If more than one copy of this sprite is used, you will need to create additional output variables for the additional copies to use. There are comments in the sprite to help you do this.

The Analog Visualizer below uses this sprite.

Averager Sprite

Analog Visualizer with Smoothing

This Scratch program plots one analog channel over time, and is great for learning about how a certain sensor works. This program also uses the Averager sprite to plot the floating average of the analog channel.

Analog Visualizer

IchiBoard designed and supported by Mark Sherman at the UMass Lowell Engaging Computing Lab, part of the Computer Science Department. msherman@cs.uml.edu

Edit - History - Print - Recent Changes - Search
Page last modified on November 14, 2009, at 04:44 PM