Changes

Jump to navigation Jump to search

Workshop: Introduction to Microcontrollers with Arduino

912 bytes added, 18:59, 26 February 2020
Added "Set up the Teensy on the breadboard" section w/ pictures
===Set up the Teensy on the breadboard===
[[File:Breadboard and Teensy.jpg|thumb|Note that in this example the green wire is connected to 5V.]][[File:Wired Teensy and Breadboard.jpg|thumb|This Teensy and breadboard are ready to go!]]If it hasn’t already been done for you, carefully insert the Teensy onto the far edge of the breadboard. Make sure the Teensy straddle’s the gap, so that each row of pins sits on either half (add picture and descriptiontop or bottom).
 
If the horizontal power rails on your breadboard are separated (like the breadboard in the picture). We will need to use small wires to connect both sides. This extends the horizontal rails to span the entire length of the breadboard.
 
 
Connect the top upper rail and the top lower rail. Similarly, connect the top lower rail to the bottom lower rail. Finally, connect the top-most wire to power (3.3V) and connect the wire below power to ground (GND). If all is correct we now have both a ground and power rail for each half of the breadboard.
==Software setup==
You're going to need two pieces of software to work with the microcontroller.
<br />
== Workshop Checklist ==
'''Learning Objectives'''
By the end of this Workshop, you should understand:
# What a microcontroller is# How to compile programs for a Teensy# The difference between analog and digital inputs/outputs.# Using the serial monitor for debugging purposes
'''Measurable Outcomes'''
By the end of this Workshop, you should be able to:
# Use the Arduino IDE and Teensyduino# Make an LED blink (Digital Outputs)# Use a button to control an LED (Digital Inputs)# Use a potentiometer (Analog Outputs)# Change the brightness of an LED (Analog Inputs)# Create a device that integrates everything we learned (control an LED's brightness with a potentiometer)
118
edits

Navigation menu