The USELESS BOX. Procedure:

Similar documents
LED + Servo 2 devices, 1 Arduino

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads:

Electronics Merit Badge Class 4. 12/30/2010 Electronics Merit Badge Class 4 1

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink

Programming 2 Servos. Learn to connect and write code to control two servos.

Programming a Servo. Servo. Red Wire. Black Wire. White Wire

Lesson 3: Arduino. Goals

Battle Crab. Build Instructions. ALPHA Version

Frivolous Engineering Useless Machine Soldering Instructions

Introduction. Circuit diagram

01. Parts. Blink v1.1. Battery Holder x1. Red LED x1 Green LED x1 Blue LED x1. Resistors x3. Battery x1. Blink PCB x1. Push Button Switchers x3

Servo Sweep. Learn to make a regular Servo move in a sweeping motion.

Digital Electronics & Chip Design

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Switcher Assembly guide. Switcher Assembly guide 1. Soldering. 2. Switcher3 vs Switcher2. 3. PCB split.

EAGLE: Using the computer for circuit layout

ELECTRICAL CONNECTIONS

Circuit Board Assembly Instructions for Babuinobot 1.0

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

Acknowledgments...xvii. Introduction... Chapter 0: Setting Up and Useful Skills Chapter 1: The Reaction-Time Machine... 25

Lighthouse Beginner s soldering kit

Never power this piano with anything other than a standard 9V battery!

555 Morse Code Practice Oscillator Kit (draft 1.1)

Rodni What will yours be?

S&T GeoTronics LLC Open DSKY with AGC Assembly Instructions

ENGR 40M Project 2a: Useless box

DIY PCB TUTORIAL. What you will need:

Line-Following Robot

Cir cuit s 212 Lab. Lab #7 Filter Design. Introductions:

// Parts of a Multimeter

Getting Started in Eagle Professional Schematic Software. Tyler Borysiak Team 9 Manager

Name My end of year 8 Target = Teacher. OLSJ Design & Technology Electronic Products. Overall Progress Effort Rating ABCDEFG.

Activity 3: Wireless Communication Student Handout. Parts Descriptions. Wireless Communications: Wireless Burglar Alarm

IR add-on module circuit board assembly - Jeffrey La Favre January 27, 2015

IEEE #: March 24, Rev. A

Pi-Cars Factory Tool Kit

INA169 Breakout Board Hookup Guide

Objective of the lesson

Coding with Arduino to operate the prosthetic arm

STEADY HAND GAME WITH LATCHING LED

Arduino An Introduction

tinycylon Assembly Instructions Contents Written by Dale Wheat Version August 2016 Visit dalewheat.com for the latest update!

Two Hour Robot. Lets build a Robot.

Attribution Thank you to Arduino and SparkFun for open source access to reference materials.

Warning: CHOKING HAZARD -Small Parts. Not for Children Under 9 yrs. Kit Recommended for Ages 12 and up.

Lesson 2: Soldering. Goals

Bill of Materials: General Purpose Alarm, Pulsed PART NO

The Centimani Servo Power Board

Warm Tube Clock. Before we start, please make sure that you have all required parts that come for the IN-16 Nixie shield :

Demon Pumpkin APPROXIMATE TIME (EXCLUDING PREPARATION WORK): 1 HOUR PREREQUISITES: PART LIST:

BrewsBySmith.com STC DIY Kit

Arduino Setup & Flexing the ExBow

INTRODUCTION TO WEARABLES

Intelligent Systems Design in a Non Engineering Curriculum. Embedded Systems Without Major Hardware Engineering

1 Fit an eyelet through the loop you have made, adjusting the LED leg as necessary, so it fits closely to the loop

Introduction 1. Download socket (the cable plugs in here so that the GENIE microcontroller can talk to the computer)

Tek-Bot Remote Control Transmitter Board Construction

Name & SID 1 : Name & SID 2:

Setup Download the Arduino library (link) for Processing and the Lab 12 sketches (link).

The µbotino Microcontroller Board

The Useless Machine. DIY Soldering Edition. Instruction Guide v0004

Cornerstone Electronics Technology and Robotics I Week 19 Soldering Tutorial

Exam Practice Problems (3 Point Questions)

INSTALLATION INSTRUCTIONS

EECS40 Lab Introduction to Lab: Guide

Lesson 2: Soldering. Goals

RC Interface Controller Board Assembly and Operation

Group: Names: Resistor Band Colors Measured Value ( ) R 1 : 1k R 2 : 1k R 3 : 2k R 4 : 1M R 5 : 1M

Parts to be supplied by the student: Breadboard and wires IRLZ34N N-channel enhancement-mode power MOSFET transistor

Pacific Antenna Code Practice Oscillator Kit

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

The Useless Machine. Parts Only - Build Guide v0001

Value Location Qty Transistors 2N5485 Q1, Q2, 4 Q3, Q4 2N5087 Q5 1. Trim Pots 250k VTRIM 1. Potentiometers C500k Speed 1. Toggle Switch On/On Vibe 1

Temperature activated switch

Pacific Antenna Field Strength Indicator Kit

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech

FABO ACADEMY X ELECTRONIC DESIGN

GROUND BALANCE & PINPOINT BUTTON MODIFICATION By Sven Stau October 2008

ALX-SSB 5 Band Filter Assembly Manual 19 November 2018

J. La Favre Using Arduino with Raspberry Pi February 7, 2018

HEAT ACTIVATED SWITCH KIT

ScaleRCHelis.com V Light Controller Kit

You'll create a lamp that turns a light on and off when you touch a piece of conductive material

Instructions for Lighting an S Scale Caboose

Assembly instructions for the CS-1 ChemShield

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

Laboratory 2 More Resistor Networks and Potentiometers.

LED Field Strength Indicator Kit

Bill of Materials: Droplet Photo timing machine PART NO

Section 1 WHAT IS HAPPENING IN THE WIRES?

Repairing your Porsche 928 Central Warning System (CWS) controller

TOP SERVO SIGNAL 5 SERVO SIGNAL 3 SERVO SIGNAL 4 SERVO SIGNAL 6 T B T B T B T B T B SERVO TRIGGER 1 BOTTOM

Manual Version July 2007

Physics 323. Experiment # 1 - Oscilloscope and Breadboard

Bill of Materials: PWM Stepper Motor Driver PART NO

Troubleshooting SENET SENET

Internet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker

MICROGRANNY v2.1 - Assembly Guide

Parts List. Robotic Arm segments ¼ inch screws Cable XBEE module or Wifi module

Penrose Quantizer Assembly Guide

Transcription:

The USELESS BOX The useless box is exactly what it implies. A project that is pretty much Useless and is made for pure entertainment. You are going to go through the process of building this project from breadboarding and programming it using Arduino, to making a circuit board and finally designing the case in 3D and printing it out on a 3D printer. In the end, you will have a Useless Box Procedure: 1) Breadboard the schematic to the right. You will need to get a servo motor from the teacher. 2) Once you have breadboarded everything, start the BASIC coding section to make sure the 3 components all work (LED, Switch and Servo). Here are the suggestions to get you started using the Arduino software examples; Open up the Blink example under 01.Basics. Does the LED blink on Pin 13? If so, go to the next step. Open up the DigitalReadSerial example under 01.Basics, change the line; int pushbutton = 2; to int pushbutton = A0; to match the pins you are using in the schematic. Upload the code. Open up the serial monitor and see if you get a 1 or 0 as you change the state of the switch (connect, disconnect wires). If so, go to the next step. Open up the ``Sweep`` example under Servo. Upload the code. The servo should go back and forth from 0 degrees to 180 degrees.

DO NOT CONTINUE UNLESS ALL 3 COMPONENTS ABOVE ARE WORKING WITH CODE!! 3) Now that you have the 3 individual parts working with code you are going to combine them. Start a New blank Sketch. Copy EVERYTHING from all 3 programs (Blink, DigitalReadSerial and Sweep) that is above the void setup() OR in void setup(). It should look like the example to the right once all 3 parts of the programs are combined. Copy in the structure of the DigitalRead Serial as you are going to read the state of the button. See below. Next, using what you learned in Lab 3 of Arduino Breadboarding, bring in 2 IF statements to react to the state of the pushbutton. See below. Upload the code now and test. Does the LED turn ON and OFF as you change the state of the switch? If so, continue on. Now, bring in the Servo Code from the example Sweep. If you look at the code, you will see that there is what is called a For Loop that is being used. This code is simply starting at 0 and advancing 1 pos at a time from 0 to 180 with a 15ms delay between each advancement. The bit of code you are interested in is the myservo.write (pos); If you replace pos with a number between 0 and 180, the servo will go to that position. Copy the line myservo.write (pos); into both IF statements in your program. Change the pos in each IF statement to 0 and 180, respectively.

Upload the code. The Servo should move when you change the state of the button and the LED should turn ON and OFF as well still. If so, programming is complete. 4) Now that you have CODED the Arduino Nano and PROTOTYPED the circuit, you are going to make a schematic diagram of your circuit and a circuit board. The ONLY difference is that we are going to use an ATTINY85 microprocessor instead of the Adruino Nano as it is smaller and cheaper. The schematic to the right is the final result using the ATTINY85. 5) Open the program DIP TRACE SCHEMATIC on your computer. Once the program is open, go to the Electronics 9/10 website and under Useless Box Project ; Open up the Using Diptrace Library Setup YouTube video and complete the task. Now, open up the Making the Useless Box Schematic YouTube video and complete the task Your schematic in the DipTrace Schematic program will look identical to the one to the right once completed 6) Now you are going to design the Printed Circuit Board (PCB) using DIPTRACE PCB LAYOUT. You do not have to open it right now. Once the program is open, go to the Electronics 9/10 website and under Useless Box Project ; Open up the Setting Up Diptrace PCB YouTube video and complete the task. Open up the Making the PCB Layout for the Useless Box YouTube video and complete the task. Once both Videos are complete, on your computer screen you should have a PCB Layout that looks pretty close to the one to the right. 7) Printing the circuit board. At this point you are either going to print out your own circuit board from the DIPTRACE program or get one from the teacher. If you print out your own, you have to ask the teacher for the special Toner Transfer Paper and load it into the printer with the clay side down. Then print to the GPV-R500- CircuitBoard-P printer. 8) Once you have the circuit board printed on the special paper you will need to get a piece of copper clad board and cut it slightly bigger that the circuit board layout using the sheet metal shear from the metal shop.

9) Next, using steel wool, clean the surface of the coper clad board to remove and grease or dirt. After this process, try to not put your fingers on the copper. 10) You are going to Transfer the PCB layout from the paper to the copper using the Toner Transfer Method Turn on the T-shirt Press and let it heat up to 350 degrees. Also, ensure the timer is set to 20 seconds. Once the T-shirt Press has reached temperature, place the copper clad board in the center of the T- shirt Press with the PCB paper layout on top, with the black facing the copper. Press the lever down until it clicks in place. Wait until the timer beeps. Pop the lever up. YOUR PROJECT IS HOT!! Use pliers to take the board off the bed. Pull the paper off the copper clad board. Carefully check for break in the black traces. If the board is not perfect and there are breaks, ask for the special circuit board pen that can be used to touch up the spots. Also, put your INITALS on the board so you can identify it!! 11) Etching your board. You are going to use the Bubbler tank. It has a chemical in it called Ammonium persulfate that eats copper away. Wherever the black from the toner is on the copper, the Ammonium Persulfate cannot get to and therefore leaves it. HOWEVER, leaving your board in the tank too long will result in ALL the copper being removed!! It should only be in the tank until the unwanted copper is removed. First, drill a hole in one of the corners of your board using a dremel drill. Using a piece of breadboarding wire with the plastic coating on, thread it through the loop and make a loop. This will be used to hang your board in the tank. Go to the etching tank, open up the lid and hang your board. DO NOT DROP YOUR BOARD IN THE TANK Close the lid. When it is done, it will look like the image to the right 12) Remove the black toner transfer from the circuit board with steel wool.

13) Drill holes using the dremel drill. Drill holes in the centre of each pad. 14) Place the components in place and solder as shown in the following pictures 8 Pin DIP Socket 10K Resistor 220 Resistor Solder all three components in place. Make sure the solders do not touch each other Insert the AA battery pack positive and negative wires as shown. DO NOT get these backwards. Also, insert and solder in the wires for the switch and LED Add Heatshrink to the LED leads so that the wires cannot touch each other and short out. Notice the heat shrink is on the wires BEFORE soildering Solder wires to the switch. Notice the heat shrink on the wires first Make sure you do not burn out the swith by holding the solder pencil TOO LONG on the switch legs. Insert the servo wire as shown. Notice the colours and what direction they go.

15) The finished product should look like the following. Wires can easily be shortened. Testing time! FIRST - test the board for short circuits by attaching it to a power supply WITHOUT an ATTINY85 inserted into the 8 pin socket. Connect 5 volts to the battery as shown pack (get the positive and negative correct) and make sure the board does short out by looking at the power supply current needle. If the needle pegs out you have a problem. Did the servo twitch? If so, that is a GOOD thing!! BAD!!! SECOND disconnect the power and insert the ATTINY85 as shown. Note the direction. If you put it in the wrong way..it will short out!!! Reconnect to the power supply that has been set to 5 volts. When you change the switch, does the LED turn on/off and does the servo move? If so, you are done and it work If not..time to trouble shoot. Dot

Troubleshooting Time! STEP #1 (Establishing power) So it doesn t work.start by testing for power. Using the continuity setting on the multi-meter, hold one of the test probes of the multi-meter on the Positive of the battery pack and then touch the other probe to the different spots on the board where Positive should be at. Does the multi-meter BEEP? If not, inspect the solder joints. If so, go to the next step. Next test for Negative using the multi-meter. Move the probe to the Negative of the battery pack. Then test the points shown below. Does the multi-meter BEEP? If not, inspect the solder joints. If so, go to the next step.