Makey Makey with Box
Makey Makey with Box
The Makey Makey with Box is an innovative invention kit that allows users to create custom controllers and interfaces using everyday objects. It is a popular IoT component among makers, educators, and hobbyists, enabling the creation of interactive projects without requiring extensive programming knowledge.
The Makey Makey with Box is a compact, rectangular device (approximately 4 inches x 2 inches x 1 inch) that connects to a computer via a USB cable. The device features a series of color-coded input terminals, a power switch, and a reset button. The kit comes with a comprehensive set of accessories, including |
6 alligator clips
6 jumper wires
1 USB cable
1 instruction manual
1 carrying box
The Makey Makey with Box acts as a bridge between the physical world and the digital realm. It allows users to create custom interfaces by connecting everyday objects to the device's input terminals. When an object is connected to the terminal, the Makey Makey detects the connection and translates it into keyboard or mouse inputs that can be recognized by a computer.
Compatible with Windows, Mac, and Linux
USB 2.0
5V DC
200mA
4 inches x 2 inches x 1 inch (10.2 cm x 5.1 cm x 2.5 cm)
The Makey Makey with Box is a powerful tool for creative makers, educators, and hobbyists. Its unique functionality and versatility make it an ideal component for a wide range of IoT projects, from interactive art installations to innovative assistive devices. With its ease of use, open-source nature, and educational focus, the Makey Makey with Box has become a staple in the maker community.
Makey Makey with Box Documentation
Overview
The Makey Makey with Box is a innovative invention kit that allows users to turn everyday objects into touchpads and create custom interfaces. It is a simple, yet powerful tool for makers, educators, and innovators to explore the world of electronics and programming.
Technical Specifications
Microcontroller: ATmega32u4
Operating Voltage: 5V
Input Voltage: 4-9V
Current Consumption: 50mA
Communication: USB
Compatible with: Windows, Mac, Linux, and Chrome OS
Getting Started
Before diving into the code examples, make sure to:
1. Connect the Makey Makey to your computer via USB.
2. Download and install the Makey Makey drivers and software from the official website.
3. Open the Makey Makey software and ensure the device is recognized.
Code Examples
Example 1: Basic Button Interface
In this example, we will create a simple button interface using a banana as a touchpad. We will connect the banana to the Makey Makey and program it to simulate a keyboard key press.
Circuit
Connect the Makey Makey to your computer via USB.
Connect the banana to the Makey Makey's EARTH pin using a alligator clip or a wire.
Connect the other end of the alligator clip or wire to the Makey Makey's KEY pin (e.g., KEY_UP).
Code (Arduino IDE)
```c
void setup() {
pinMode(KEY_UP, INPUT);
}
void loop() {
if (digitalRead(KEY_UP) == LOW) {
Keyboard.press('W'); // Simulate the 'W' key press
delay(100);
Keyboard.release('W');
}
}
```
In this example, when the banana is touched, it simulates a 'W' key press.
Example 2: Game Controller
In this example, we will create a simple game controller using a cardboard box, copper tape, and the Makey Makey. We will program the Makey Makey to simulate keyboard inputs for a popular keyboard-based game.
Circuit
Connect the Makey Makey to your computer via USB.
Create a simple cardboard box with copper tape connections to the Makey Makey's KEY pins (e.g., KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT).
Connect the other end of the copper tape to the Makey Makey's EARTH pin.
Code (Scratch)
```scratch
when space key pressed
broadcast [Arrow Up v]
when down arrow key pressed
broadcast [Arrow Down v]
when left arrow key pressed
broadcast [Arrow Left v]
when right arrow key pressed
broadcast [Arrow Right v]
```
In this example, we use Scratch to program the Makey Makey to simulate keyboard inputs for a game. When the copper tape connections are touched, the corresponding keyboard inputs are sent to the game.
These examples demonstrate the versatility and creativity of the Makey Makey with Box. By using everyday objects and simple programming, users can create innovative interfaces and projects that can be used in various contexts, from education to art installations.