|
Syllabus ME374 SP 17 012317 |
|
|
Day 1: Introduction to Mechatronics Course |
0 Overview of Course by Matt Bilsky |
|
|
Thermal Chamber System Architecture Block Diagram |
This is an overview of the system you are building for your first project. From day to day, you will be building each of the small components shown in the block diagram. |
|
Day 1: Digital vs. Analog and AC vs. DC |
Electricity 101 and AC vs DC |
|
|
AC vs DC - 3 Phase |
|
|
Single, Dual/Split and Three Phase Power |
|
|
Analog vs Digital Part 1 |
|
|
Analog vs Digital Part 2 |
|
|
Analog vs Digital Part 3 |
|
|
Analog vs Digital Part 4 |
|
|
Helper Files |
|
|
Useful Things |
Pinouts, circuit diagrams, and other visuals that are helpful throughout the thermochamber project. |
|
Day 1: Soldering, Multimeters, Power Supplies, and Breadboards |
Comprehensive Soldering Guide |
|
|
Tinning the Tip - How to protect a soldering iron |
|
|
Soldering Example Video |
Basic Soldering Instructional Video |
|
Desoldering Guide |
|
|
Pictures of a BNC converted to Breadboard Pins |
|
|
pins (not holes) db9 |
|
|
How to use a Multimeter |
|
|
Using the Bench Top Power Supply (24 Volts) |
|
|
Day 2: Bits, Bytes, and Binary |
Fundamentals 3 |
|
|
Number Systems |
|
|
Bits, Bytes, and Lots More |
|
|
Tutorial - Data Lines |
|
|
Tutorial - Data Lines - Answers |
|
|
Day 2: Leds and Buttons, first time--the analog world |
Using a Breadboard |
|
|
Simple Theory of LEDs |
Select desired voltage drop and current of diode based on 1) desired light level (use LED spec sheet) and 2) power/voltage available from source (use sources spec sheet). You can fry both the LED and part of the source by making the desired current larger than the item allows.
|
|
LED Testing Assignment |
|
|
EE device reference sheet |
|
|
Generic LED Datasheet |
|
|
Day 3: Intro to Arduino---Mega and Teensy |
Intro to Microcontrollers - AVR Butterfly |
We are not using this approach for this course.
If you are interested in learning about microcontrollers and coding in Assembly and C, this would be good to look into. |
|
Arduino IDE Download Page |
|
|
Teensy USB Development |
|
|
Pinouts Mega and Teensy |
|
|
Arduino Programing Notebook Version 6 |
|
|
Arduino Digital Output |
Taken from the Arduino Programming Notebook v6 |
|
Demo Arduino Blink |
|
|
Arduino Grounding |
How to properly ground your Arduino in a variety of situations. |
|
Lighting a LED with Arduino |
|
|
Arduino vs Teensy |
|
|
Interrupts for Arduino |
|
|
Serial Monitor to .txt |
|
|
Day 3 and 4: Signal Generators and Oscilloscopes |
Signal Generators and Oscilloscopes |
|
|
Laboscope |
www.tele.pitt.edu/resources/lab_manuals/laboscope.pdf |
|
Putty |
|
|
COM PORTS |
Identify the COM Port your computer uses and how to communicate through the COM port using PuTTY. |
|
ascii Chart |
|
|
How to check COM port for Putty |
|
|
OWON Oscilloscope Tutorial |
This is only an excerpt from the user manual. The complete manual can be found at: http://akizukidenshi.com/download/ds/owon/PDS%20Series%20USER_MANUAL.pdf |
|
All About Serial |
All About Serial |
|
|
Sparkfun Serial Communication |
|
|
MAX3232 Breakout Schematic |
|
|
RS232 vs. TTL |
|
|
Tera Term |
|
|
Programming Micro Controllers (ATMEGA328) |
|
|
Serial Communication Through Arduino |
|
|
Ladyada Serial Tutorial |
|
|
Serial Communication Example Code |
|
|
Day 5: Wall Wart and Power Supplies |
Wall Wart and Filtering |
|
|
A Dummies' Guide to Working with Wall Warts |
|
|
Day 6: Disassembling a Power Supply and Conversion of a Power Supply to a Lab Supply |
chamber disassembly |
|
|
Power Tester Helper Files |
|
|
ATX Power Supply Specification |
|
|
ATX Power Supply Converted to Bench Power Supply |
|
|
Conversion of ATX Power Supply to Lab Power Supply |
|
|
Power Supply Technical Guide |
|
|
Inexpensive atx Power Supply Tester |
|
|
Day 7: Op Amps and Voltage Dividers |
How an Op Amp Works, The Basics |
Very basic explanation of how ideal operational amplifiers work and can be used.
|
|
Op Amps and Voltage Dividers |
Be sure to do mostly everything in this Powerpoint. A common test frequency in the audio world is a 1000 Hz.
|
|
Engineer's Mini Notebook: Op Amps and IC's |
|
|
741 Tutorial |
|
|
LM741 Datasheet |
|
|
Voltage Dividers - Wikipedia |
|
|
Arduino Capacitance Measurement |
A Hack-a-Day tutorial on using the arduino to find the capacitance of a capacitor. |
|
Op Amp Calculator |
|
|
Basic Op Amp Circuit Guide Sheet |
Explains some details about the circuit constructed in the powerpoint. |
|
Comparator Circuit |
|
|
Day 8: Measuring Fan Speed |
Arduino Interrupt Tutorial |
|
|
Fan Speed Arduino Sample Code |
|
|
Reading the Fan Speed |
|
|
Arduino attachInterrupt() Documentation |
|
|
Button Interrupt Code Snippit |
|
|
Measuring Fan Speed |
|
|
IR LED Tachometer |
|
|
TCRT5000 Datasheet |
|
|
QRD1114 Spec Sheet |
|
|
Reflective Sensor |
|
|
TCRT5000 Application Circuits |
|
|
Alternative Omron EE-SB5 |
Do not remove silicon likely will break off resistor. Pictures show how it looks with silicon removed. |
|
RunningAverage |
|
|
Day 8: Controlling fan speed |
Controlling Fan Speed |
|
|
Arduino PWM Tutorial |
|
|
Fan Arduino Example Code |
|
|
PID |
|
|
Day 9: Chamber Construction 1; Wire Harness |
Setting up the thermo chamber - Cabling |
|
|
"Quick Reference" Thermochamber Circuits and Components |
|
|
Day 9: Chamber 2; power, light and relay |
Setting up the thermo chamber - Lamp and Relay |
|
|
Relay Datasheet |
|
|
Relay Datasheet (Omron G5V-1) |
|
|
Pull-Up Resistor Information |
|
|
Relay Data Sheet (ZETTLER AZ942-1CT-12DE) |
|
|
Day 10: Chamber 3; powering circuitry |
Setting up the thermo chamber - Powering the Circuitry |
|
|
Helper Files |
|
|
Day 11: Chamber 4; LED, button |
LED and a Button |
|
|
Arduino Digital Input |
Taken from Arduino Programming Notebook v6 |
|
LED Example Code |
|
|
LED + Button Example Code |
|
|
Day 11 and 12; Chamber 5, controlling relay |
Controlling the Relay |
|
|
MOSFET Datasheet |
|
|
Bildr.org Tutorial |
|
|
Diode Datasheet |
|
|
LED + Button + Relay Example Code |
|
|
Fritzing and Motor/Diode Tutorial |
|
|
Day 13: Chamber 7; temperature sensor |
Temperature Sensor |
|
|
TMP36 Datasheet |
|
|
Ladyada Temperature Sensor Tutorial |
|
|
Temperature Sensor Example Code |
|
|
Day 13 and 14: Chamber 8; graphing with processing |
Graphing in Processing |
|
|
Processing 1.5.1 |
|
|
Graphing Arduino Example Code |
|
|
Graphing Processing Example Code |
|
|
Day 14: Chamber 9; LCD display |
LCD Display |
|
|
Truly LCD Module Datasheet |
|
|
LCD Datasheet |
|
|
Ladyada LCD Tutorial |
|
|
Character Generator |
|
|
LCD Arduino Example Code |
|
|
dmc 16230 optrex display data (14pin) |
|
|
Day 15; Chamber 10; adding set point |
Creating a Set Point |
|
|
Set Point Arduino Example Code 1 |
|
|
Set Point Arduino Example Code 2 |
A simplified code for changing and displaying the temperature set point. |
|
Day 15 and 16; Chamber 11; graphing set point in processing |
Graphing the Set Point |
|
|
Graphing the Set Point Arduino Code Example |
|
|
Graphing the Set Point Arduino Code Example 2 |
Simplified Arduino code for graphing the set point.
This code as a more intelligent output to the LCD, which only occurs when the set point is changed and every 250th cycle for the current temperature. This makes the temperature readable, and decreases the work done by the Arduino each iteration. |
|
Graphing the Set Point Processing Code Example |
|
|
Day 16: Chamber 12; 3 LEDs |
Indicator LEDs |
|
|
Indicator LEDs Arduino Code Example |
|
|
Day 18: Chamber 15; simple temperature control |
Simple Control System |
|
|
Control System Arduino Code |
|
|
Sample Code for Thermochamber Fundamental Components |
This sample code can be used if you're having trouble getting your relay and fan to work together. |
|
Day 19: Chamber 16; additional temperature sensors |
Additional Temperature Sensors |
|
|
3 Temperature Sensors Arduino Code |
|
|
Thermal chamber and Adafruit Huzzah ESP8266 example code and libraries |
arduino and huzzah code with libraries |
After creating an account with Adafruit, you can access facilities on Adafruit.io to control IoT devices from the web and send data to the web. You should have the Arduino send data to the Huzzah via serial communication. This data is what the Huzzah sends over to Adafruit.io. |
|
Heat Box video (Joachim Amoah) |
|
|
Tutorial for NodeMCU 1.0 (ESP-12E Module) AKA: Cheaper Huzzah found on Amazon |
This tutorial uses the cheaper model of the Adafruit Huzzah which has some slightly different settings then the real one. Make sure you select the right board in arduino or else this model will not work. |
|
Huzzah Data Sheet |
|
|
Master & Slave Codes |
|
|
Tips for using ESP 8266 |
|
|
Day 19 and 20: Arduino on web, ethernet shield; Project 2 |
Arduino and the Web |
|
|
Helper Files |
|
|
Arduino To Internet |
|
|
Day 20: Chamber 17; Xively, data to web |
Uploading Data to the Web |
|
|
Cosm Arduino Sample Code |
|
|
Xively Tutorial |
|
|
Day 21: Chamber 18; settings from web, PHP and SQL, Project 3 |
my sql tutorial |
|
|
Getting to cPanel Instructions |
|
|
Downloading from the Web |
|
|
PHP Introduction |
|
|
MySQL Overview |
|
|
Arduino Code |
|
|
Update.php |
|
|
Config.php |
|
|
Day ???: Microcontrollers and AVR Butterfly |
Preping Serial Cable |
|
|
serial wires |
|
|
headers |
|
|
Intro to Micro Controllers - AVR Butterfly |
|
|
Smiley's AVR Butterfly Introduction |
|
|
Programming Butterfly for Idiots Like Me |
Introduction to C programming on the Butterfly including Serial Connection, Terminal Use, Programmers Notepad and Introduction to AVR-Studio. Nice getting started tutorial. |
|
Butterfly FAQ |
|
|
Programming Micro Controllers (ATMEGA328) |
|
|
AVR Studio 4 Installer |
Software
|
|
WinAVR Tools Installer |
|
|
Debugging 101 |
|
|
AVR Butterfly Pinouts |
|
|
PC Serial to Butterfly Made Easy |
|
|
AVR 169 Datasheet |
|
|
Wi-Fi thermostat |
|
|
AVR Butterfly Evaluation Kit |
|
|
Butterfly Beginners Site |
Learn how to could a microcontroller in C. Ideas work on all microcontrollers. |
|
Day ????? Advanced topics, Possibly within Project 2 |
Advanced Topics |
|
|
Arduino Servo Tutorial |
|
|
Wireless Buying Guide |
|
|
Circuit Simulation |
A tutorial for designing and simulating circuits in Altium. |
|
Quick Guide to using H-Bridges |
|
|
More detailed version of H-Bridge Documentation |
|
|
SD Card for Data Logging |
Useful for recording data if Arduino is not connected by serial and WIFI or other over the air options are not available. |