Experiment Guide for the Johnny-Five Inventor's Kit
Introduction to the Johnny-Five Inventor's Kit
The Johnny-Five Inventor's Kit you have in front of you is your toolkit, and this Experiment Guide is your map. We're going to dive into the world of embedded electronics, JavaScript, the internet, and the way they come together as the "Internet of Things" (IoT).
The Johnny-Five JavaScript framework provides a beginner-friendly way to start building things—quickly. This guide contains all the information you need to successfully build the circuits in all 14 experiments. At the center of this guide is one core philosophy: that anyone can (and should) play around with basic electronics and code.
When you're done with this guide, you'll have the know-how to start creating your own projects and experiments. You can build robots, automate your home, or log data about the world around you. The world, in fact, will be your hardware-hacking oyster. Enough inspirational sentiment — let's get building!
Included Materials
Here are all of the parts in the Johnny-Five Inventor's Kit for the Tessel 2 (J5IK):
- Tessel 2 — The Tessel 2 Single-Board Computer (SBC)
- USB-A to USB micro B — for connecting your computer to the Tessel 2
- Wall Charger (5V, 1A) — Gotta power the Tessel 2 somehow! This charger makes it easy to power your projects!
- Breadboard — This perforated grid is the ticket to easy experimentation with circuits.
- Carrying Case — Take your kit anywhere with ease!
- Jumper wires — These multi-colored wires with pins on each end making connecting things together a breeze.
- Rainbow Pack of LEDs — LEDs are indispensable. Here's a whole rainbow of 'em.
- 100 Ohm Resistors — These are just about right for using with LEDs at 3.3V (the voltage we'll be using for the circuits in this guide)
- 10K Ohm Resistors — These make excellent pull-ups, pull-downs and current limiters (don't worry if you haven't seen these terms before)
- Photocell — A sensor that detects ambient light. Also called a photoresistor. Perfect for detecting when a drawer is opened or when nighttime approaches.
- 10KΩ Trimpots — Also known as a variable resistor or a potentiometer, this is a device commonly used to control volume and contrast (it usually has a dial or a slider), and makes a great general user control input.
- Red, Blue, Yellow and Green Tactile Buttons — These fun-to-press buttons give you several colors to choose from.
- RGB LED — Why use an LED that can only be one color when you can have any color?
- SPDT (Single-Pole, Dual Throw) Switch — It's a switch! You slide it back and forth, and it fits into a breadboard just great.
- Magnetic Door Switch — A mountable magnetic switch used in home automation and security. Great for detecting when a door or drawer is opened!
- BME280 Atmospheric Sensor Breakout — A sensor for detecting temperature, pressure and humidity. It communicates using the I2C serial communication protocol. The header pins are soldered on for you, which makes connecting this to your project nice and easy.
- Soil Moisture Sensor — The name describes it pretty well!
- SparkFun Motor Driver — This nifty little board is perfect for controlling the speed and direction of up to two separate motors.
- Hobby Gearmotor Set — A set of hobby level motors (two of 'em) with gearboxes set to 120 RPM.
- 7 Segment Display — It's an LED that lets you display numerals via the combination of lit-up segments, just like an alarm clock from the 1980s!
- 3.3V 16x2 White on Black LCD — This LCD can display 16 characters on two lines with a snazzy white-on-black background appearance. It operates at 3.3 volts (this is the voltage that the Tessel 2 is most comfortable with).
- 74HC595 Shift Register — An integrated circuit (IC) that allows you to increase the number of inputs and outputs you can control from a microcontroller.
Suggested Reading
While you can get through this guide without doing any outside reading, the following tutorials cover the essential core of electronics and circuits and are super useful:
What is a Circuit?
Voltage, Current, Resistance, and Ohm's Law
How to Use a Breadboard
Analog vs. Digital
Open Source!
At SparkFun, our engineers and educators are constantly improving kits such as these and coming up with new experiments. We would like to give attribution to Rick Waldron and Bocoup, as he originally started the development of Johnny-Five many years ago. The contents of this guide are licensed under the Creative Commons Attribution Share-Alike 4.0 Unported License.
To view a copy of this license visit this link, or write: Creative Commons, 171 Second Street, Suite 300, San Francisco, CA 94105, USA.