9
1 Inside the Handy Cricket Fred Martin [email protected] Overview Origins and Status of Cricket Technology Cricket Hardware Cricket Firmware and Compiler Cricket Bus

Inside the Handy Cricket

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

1

Inside the Handy CricketFred Martin

[email protected]

Overview

• Origins and Status of CricketTechnology

• Cricket Hardware• Cricket Firmware and Compiler• Cricket Bus

2

Origins and Status• Developed by Brian Silverman and Fred

Martin at MIT Media Laboratory• Have license to all code, designs up to

Aug 2000• Through Gleason Research, distributing

Handy Crickets & more• Publishing APIs• MIT continuing work as well

Handy Cricket Chip BlockDiagram

3

The Handy Cricket

2 DC MotorOutputs

2 SensorInputs

Run/Stop Button& LED

2 Bus PortsPiezoBeeper

IR Comms

PowerSwitch 4Kbyte Memory

Cricket Software

• Virtual Machine resident in Cricket Chip(written in PIC assembly)

• Logo compiler running on workstation(written in Java)

4

Cricket Logo Compiler• Translates user

Logo into VMbytecodes

• Interactive“Command Center”

• Buffer for editingand definingprocedures

Cricket Logo VM Primitives

5

Compiler Examples

Cricket Bus System

• “One-Wire” comms with 1-master,multiple-slaves protocol

• Send and receive can be easilyimplemented with any micro

• Bundle device-specific driver code withHW in device itself

• Allow arbitrary expansion capability

6

Handy Cricket Bus Jack

Bus Signal

• Long start bit allows receiver to sync• Data bits just 10 µs long• 9th bit indicates command or data

7

4-Digit LED Display

4-Digit Bus Protocol

8

Logo Driver Code for Display

“Gama Dome” Block Diagram

9

Concluding Remarks

• Cricket system is Cricket + Software +Bus Devices

• Modular and expandable tool thatallows iterative design

• Open for others’ contributions andadaptions

• Not just for roboticists