Table of Contents. 2 P a g e

Size: px
Start display at page:

Download "Table of Contents. 2 P a g e"

Transcription

1 1 P a g e

2 Table of Contents Preface... 4 This document Scope... 4 Important Safety Rules - MUST READ FIRST... 4 Section I The Basics... 6 I.1 - Basics Parts... 6 I.2 - About Resistors... 7 Resistor - Ohm s Law... 7 I.3 - Pull-up vs. Pull-down resistor... 8 How it affects the flow of current... 8 I.4 Others... 9 Potentiometer... 9 Vin vs. Vout... 9 About LED:... 9 About Diode:... 9 About Capacitor:... 9 About inductor:... 9 Section II Using HiTechnic Prototype board II.1 - Digital Input /output The Pins Map APIs II.2 - Analog Input/Output The Pins Map APIs Section III - Experiments Exp1 = Turn on LED Exp 2 = Turn on/off LED with potentiometer Exp 3 : Dim/Brighten LED with potentiometer Exp 4 : Light up 2 LEDs (connected in Parallel) Exp 5 - Control 2 LEDs with ultrasonic sensor Exp 6 Build a working light sensor Exp 7 Stabilizing light value by canceling ambient light Exp 8 - Build a working temperature sensor Exp 9 Reaction Time Measurement Challenge Create your own RGB sensor P a g e

3 Section IV - Learning I2C interface Section V More in-depth circuit concepts V.1 About Voltage Divider V.2 - Loaded vs. unloaded Voltage Divider Voltage Divider Warm-up Exercises for Review V.3 - Debouncing Software debouncing: Hardware debouncing: Section 6 - About Fritzing Electronic Design Automation Software Reference -- HiTechnic Prototype board Specification I2C Interface P a g e

4 Preface This document Scope This document Is not meant to be circuitry learning do cument! This is meant to cover the most basics in order to prepare yourself for working with 3 rd parties devices. You will use Mindstorms platform as your main controller interfacing with a prototype board on a solderless breadboard. You create create a few sensors on the breadboard and later incorporated with the mindstorms platform. You will be using RobotC as your development environment. Important Safety Rules - MUST READ FIRST Main Keys: Never wire up or hook up electronics while it is receiving power. Unplug Arduino from the computer and make sure any attached battery power is turned off or unplugged. You can hurt yourself and damage/destroy the board! Never put the Arduino down on a metal surface! Never short circuit the connection! - Watch out for conductors around you, o You are the conductors, any metallic stuff are conductors. Your fingers touch any open circuits will short the connection, that simple. o Must remove away from your circuit all possible conductors which are foreign to your system. o Especially watch out for small pins, small snails, screws, small metallic clips off, etc. o Have a specific container for all your loose pins, etc. to keep them away from your bot. - Use shortest distance and consistent color. - Modularized and Systematic testing and design. Yes, even for your wiring. o I cannot emphasize enough how important it is to practice the same principle like software development in wring. The same principal such as modularization and clear and clean organization not only also goes true with the circuit wiring, but supremely important. o Do some load/stress test for a completed sub-module, before you put in another sub-module. o Modularize to allow removal and assembling easy, to allow isolation of problematic connection. o Modularize you assembling, test each as it goes. Just like software development. - Must have clear pin maps diagram. - Use anti-static bag for storage generously - MUST keep any foreign object from the bot, even when in storage. - Remove power source when not in use, even batteries. That means, even when button is off, you should remove the physical connection to any power source. In the case of power pack, I am not saying removing the wire to the power pack, but just completely remove at least one battery. - Make sure the power supply is disconnected when wiring your circuits, especially the DC Motor or Servo Controllers. - Keep your robot in an insulted container - Must leave an easy path way to remove the power source, i.e. the battery pack. I mean something you can do within a couple of seconds max.. I mean it seriously not like the old days with the protected circuits. - Keep out moisture.. including your drink or even a sneeze 4 P a g e

5 - The battery should be positioned so it will not rub against sharp edges. A damaged, leaking battery is a safety hazard ABSOLUTELY NO spaghetti wiring. 2. Do not leave loose batteries seating in the battery pack. 3. Do not attempt to remove and put in new wire while there is power supply to it including connection to your computer, or full set of batteries in the power pack. 4. Do not keep the robot with any other foreign object in the container. 5. Do NOT stack conductors, including wires which may have non-insulated area, in-between layers of boards. 6. Avoid stacking up the tight pre-bent wires against each other. 7. Avoid running wires along pinch points. Sharp metal pieces and gears can damage the wires and their insulation. When possible, run wires through metal tubing and wire-tie them to structural components. 8. Do not throw your electronic device everywhere e.g. do not just throw your sensor in your pocket without an anti-static bag. (I know this is pretty obvious. But unfortunately, just simply saw that too many times!) 5 P a g e

6 Resistor Section I The Basics I.1 - Basics Parts HiTechnic SuperPro board for MINDSTORMS NXT Ohm resistor 3 push buttons 2 4.7k ohm resistor 2 10K ohm resistor 4 photo-resistor 2N390 transistor 1 10K ohm potentiometer 1 temperature sensor microfarad (μf) capacitor Battery Various Color and clear LED Long end = + Short end = - - The three most basic units in electricity are: - voltage (V == volts) - current (I == amps; I = V / R) - resistance (R == ohms). - Voltage is measured in volts, current is measured in amps and resistance is measured in ohms. Voltag e (Volt) Current (Amp) 6 P a g e

7 I.2 - About Resistors Black Brown Red Orange Yellow Green Blue Purple Grey White Mnemonic : Big Bad Robots On our Gearbox lunders Pass reat all Resistor - Ohm s Law In Series: R total = R 1 + R R n V = I * R total Current remains the same at each Resistor even when each resister measures different. The amount of current (think about amount of water) going through each resistor (think about various sizes or same size of pipes) will remain the same. I R1 == I R2 == == I Rn even if all R n measure different. In Parallel: R total = Current will be different at various Resistor if these resistors measure different. The amount of current going through each resistor may be the different. I R1!= I R2!=!= I Rn if all R n measure different ohms. 7 P a g e

8 I.3 - Pull-up vs. Pull-down resistor The Basic use of a pull-up or pull-down resistor is to prevent a 'floating' input to a digital circuit. A Pull-up connected from the input pin to +Vdd A Pull-down connected from the input pin to Gnd or 0V. Both have the same key function: to remove noise. How: To create a default value for a circuit to ensure that the wire is at a defined logic level even if no active devices are connected to it. The difference is that one pulls the line high, the other pulls it low. See the following diagrams: Not good. Allow floating Really BAD! Pull Up Resistor Pull Down Resistor V V V V When switch S1 is open (off), then input pin 1 is susceptible to a wide array of electrical problems. When Switch S1 is closed, it shorts the circuit. Let say there is a LED on pin1. S1 opens: LED is on S1 closes: LED is off Let say there is a LED on pin1. S1 opens: LED is off S1 closes: LED is on How it affects the flow of current Electricity behaves a bit like water, i.e. flow to where it encounters the least resistance. Electricity takes the path of least resistance and moves between 5V and input pin. Pull-down resistor Pull-up resistor e.g. switch == a push button Button not pushed, digitalread(vout) == LOW Button pushed, digitalread(vout) == HIGH e.g. switch == a push button Button not pushed, digitalread(vout) == HIGH Button pushed, digitalread(vout) == LOW 8 P a g e

9 I.4 Others Potentiometer Potentiometer, an electrical device that measures potential difference between two points in a circuit by comparison with a standard battery of known potential difference. Vin vs. Vout Vin == the power source Vout == voltage output, usually the feedback value from sensors Vin vs. Vout Vin == the power source Vout == voltage output, usually the feedback value from sensors About LED: Like resistor, LED can be used to limit amount and direction of current. Resistor and LED may be interchanged (but polarity of LED is important). About Diode: Restrict current to flow one direction only. Mainly for creating your own power source Convert AC to DC and vice versa About Capacitor: Energy storage device to smooth out voltages. Capacitance rating : How much energy it can hold for a given voltage F (micro Farads) Voltage rating : max voltage the capacity should be exposed to. Never use anything over 20V. 30V+ can be dangerous to human. Polarity is important it will blow up if it is put in a wrong direction. Total capacitance in a parallel circuit : C T =C 1 +C 2...+C n Total capacitance in a series circuit: C T =. About inductor: - Device temporarily store energy as a form of magnetic field - Coil of wire creating magnetic field To smooth out voltage 9 P a g e

10 Section II Using HiTechnic Prototype board Digital Input : B0 to B7 Digital Output : B0 to B7 Analog Input : A0 to A3 Analog Output : O0 to O1 See the complete reference. Before you program, you need to download a couple header files from BotBench.com.. For your convenienec, here are the files: common.h Hitechnic-superpro.h II.1 - Digital Input /output The Pins Map 8 digital input/output pins. MSB LSB e.g e.g. 0x40 or = or = Note: binary expression such as 0b is specific to RobotC, not ANSI-C e.g. LED connected to B4, write value 0x10 == == 0b or Recommendation: - Create Macros or enumerated types for all digital Pin Constants,eg. o #define B0 0x1 o #define B1 0x2 o o #define B7 0x80. APIs bool HTSPBsetupIO(tSensors link, ubyte mask); // to setup digital pin to output link: the sensor port; umask = the pins mask return true if successful, false otherwise ubyte HTSPBreadIO(tSensors link, ubyte mask); // to read value from digital pin the sensor port, the pins mask return the feedback value bool HTSPBwriteIO(tSensors link, ubyte mask); // to write high or low to digital pin link: the sensor port; umask = the pins mask return true if successful, false otherwise 10 P a g e

11 II.2 - Analog Input/Output Analog inputs read a voltage and returns a digital value that compares the signal to a known voltage - in this case 5V. The Hitechnic Prototype Board uses 10 bit analog to digital converters, so the value returned is between 0 and 2^10 (1023), representing voltages from 0V to 5V. The Pins Map APIs int HTSPBreadADC(tSensors link, byte channel, byte width) link: the sensor port channel : 0 or 1 (i.e. A0 or A1) width : 10 return feedback value (0 to 1023 if width=10; 0 to 255 if width=8) bool HTSPBwriteAnalog(tSensors link, byte dac, byte mode, int freq, int volt) link: the sensor port dac : HTSPB_DACO0 or HTSPB_DACO1 ( ie. O0 or O1 ) mode : waveform, such as DAC_MODE_DCOUT ( see below or the HTSPB-driver.h) freq : Hz volt : 0 to 1023 ( usually is the variable voltage read from an input port) return true if successful, false otherwise Analog output modes: - defined in Waveforms which are patterns of electrical energy over time. DAC_MODE_DCOUT Steady (DC) voltage output. * DAC_MODE_SINEWAVE Sine wave output. * these waveforms are also called alternating waveforms as they alternate from a positive direction to a negative direction constantly crossing the zero axis point. DAC_MODE_SQUAREWAVE Square wave output. * Symmetrical" waveforms timing signals, Clock pulses and Trigger pulses. DAC_MODE_SAWPOSWAVE 11 P a g e

12 Positive going sawtooth output. * DAC_MODE_SAWNEGWAVE rich in harmonics and for music synthesizers and musicians gives the quality of the sound or tonal color to their music without any distortion. Negative going sawtooth output. * DAC_MODE_TRIANGLEWAVE Triangle wave output. symmetri cal linear ramp waveform charging and discharging a capacito DAC_MODE_PWMVOLTAGE PWM square wave output. * For motors Whether the waveform is uni-directional, bi-directional, periodic, non-periodic, symmetrical, non-symmetrical, simple or complex, all electrical waveforms include the following three common characteristics: - Period (s): This is the length of time in seconds that the waveform takes to repeat itself from start to finish. - Frequency Hertz, (Hz).: This is the number of times the waveform repeats itself within a one second time period. - Amplitude (V or A): This is the magnitude or intensity of the signal waveform. 12 P a g e

13 Section III - Experiments Exp1 = Turn on LED - To Do: - And Create a circuit diagram with Fritzing Exp1.A - turns the LED on if this voltage when button is pushed. If it is a resistor, draw a resistor with the indicated color bands. Either color it, or simply mark it with 1 st letter of the color, such as R as red, Br as brown, etc. or Red Red Yellow. For the tolerance band, we will stick with gold for now. The parts needed Quantity for this circuit 220 Ohm resistor 2 10K Ohm resistor 1 Fill in or LED 1 Button Switch 1 Important: Notice that you have just done a pull-down resistor circuit. 13 P a g e

14 Exp1.B Notice that Exp1.A s circuit is a pull-down resistor circuit. Now change it to Pull-up resistor. Try that, and see what happens. Review: Pull up == the input line needs pull up i.e. high by default.. i.e input line with the resister connects to power. Pull down == the input line needs pull down i.e. low by default.... i.e input line with the resister connects to Ground. Exp1.C: Try this and see what happen. Still work as expected? Special Note: You may or may not see fluctuation in the input signal, depending on the push button. But with the pull-down or pull-down setup, you will definitely get perfectly stable high or low signal. 14 P a g e

15 Exp 2 = Turn on/off LED with potentiometer - The parts needed Qty Fill in the bands order for the resistor below, if applied. 220 Ohm resistor 1 10K potentiometer 1 LED 1 Exp 3 : Dim/Brighten LED with potentiometer Hint: HTSPBwriteAnalog(Bd, HTSPB_DACO0, DAC_MODE_DCOUT, 0, pot); 15 P a g e

16 Exp 4 : Light up 2 LEDs (connected in Parallel) Note that the LEDs are connected in parallel circuit. To each of the LED itself, the circuit to it is not in Parallel. However the circuit system as a whole is connected in Parallel. Program: Turn on led on B7 when the analog value of the potentiometer > 2 8 Turn on led on B6 when the analog value of the potentiometer > 2 7 Exp 5 - Control 2 LEDs with ultrasonic sensor When dist <=20 cm, LED on B6 is on, off otherwise When dist <=5 cm, LEG on B7 is on, off otherwise Exp 6 Build a working light sensor The parts needed Qty Fill in the bands order for the resistor below, if applied. 4.7K Ohm resistor 1 Photoresister 1 LED 1 Design your circuit by either drawing on paper or using Fritzing. Complete the circuits and program it to turn on LED when it is dark. Turn off LED when it detects bright. Your program must display the analog value of the variable resistor Photoresister, and the current going thru the LED light as well. Yes, you need to write your program to do the math. 16 P a g e

17 Exp 7 Stabilizing light value by canceling ambient light - Qty Fill in the bands order for the resistor below, if applied. 220 Ohm resistor 1 4.7K Ohm resistor 2 - to B0 LED 1 Use a clear one. Transistor 1 2N3904 Photoresistor 1 o o The program should turn the LED on and off based on the light level for both conditions. It then subtracts the reading obtained with the LED off from the reading obtained with the LED on and displays that value. Note: If there is nothing placed above the LED photocell sensor head, these readings will be very similar. However, if a white object or surface is placed a few centimeters above the sensor head, the two readings will start to differ because the white surface reflects the light from the LED when it is on. This provides a good way to detect the presence or absence of an object. You can experiment to see how different colored and different sized objects affect the results Exp 8 - Build a working temperature sensor. If it is a resistor, draw a resistor with the indicated color bands. Either color it, or simply mark it with 1 st letter of the color, such as R as red, Br as brown, etc. or Red Red Yellow. For the tolerance band, we will stick with gold for now. Parts Qty Fill in the bands order for the resistor below, if applied. 1.0 μf capacitor Ohm resistor 1 10K Ohm resistor 1 LED 1 Thermistor 1 Given formula for converting the analog signal to an actual temperature value in Celsius : TemperatureC = ((inputdata*3300)/ )/10.0; 17 P a g e

18 Exp 9 Reaction Time Measurement TBD Challenge Create your own RGB sensor Note: You will only need one resistor here connected to Ground for overall protection. Other resistors connected to the RGB pins are optional for adjusting the reflectiveness on various color. Hint: Put the Photoresistor very close to the RGB LED. But beware not to allow the pins to touch each other. To calibrate, you should always test each color with max (with white paper), and min (with black paper ). Try to avoid any Neon color, or too reflective surface. Sequence: (some RGB may be in an opposite order to the following sample) Write to B0.. read A0 ie. blue Write to B1.. read A0 ie. green Write to B2.. read A0 ie. red As each may produce various value, e.g. analog value 942 for red, 910 for green, 890 for blue when it is white. You should create a range map so that they all will be consistent from 255 when sees white. 18 P a g e

19 Section IV - Learning I2C interface In most cases of interfacing Mindstorms with other controllers, they often communicate via I2C interface. Therefore, it is important that you understand how to write a driver to communicate your Mindstorms controller with other controllers, such as Arduino, in the future. To be updated soon 19 P a g e

20 Section V More in-depth circuit concepts V.1 About Voltage Divider (watch this video VDR is to determine the voltage drop across a resistance within a series circuit. Voltage divider is also known as a potential divider. Almost all analog sensors have voltage divider. The feedback value (from Vout) reflects the variable voltage as a result of a voltage divider with at least one variable resistor. Provided: Vin = 5V, R1=2k, R2 = 3k (we know V = I * R) I = Vin / (R1+R2) (amp) I = 5v/(5000ohmz) = amp = 1 milliamp V R2 = I * R2 = 1 ma * 3000 ohmz = 3 V V R1 = I * R1 = 1 ma * 2000 ohmz = 2 V so = V out = V in * Name Math Symbol Unit Unit Symbol voltage V or E volt V current I ampere (amp) A resistance R ohm Ω power P watt W Suggested steps for wiring the left diagram below. R1 directly connected to Vin R2 on the same bus with R1 R3 directly connected to Gnd Vout in-between R2 and R3 or R1 and R1. See the voltage going to Vout changes. Vout = Vin ( ) Vout = Vin ( ) 20 P a g e

21 V.2 - Loaded vs. unloaded Voltage Divider All about whether resistors are connected in a series or parallel pattern. In all Rs are in series : R total = R 1 + R 2 + R 3 In all Rs are in parallel : R total = 1 /( + + ) 5V e.g. R 1 = 10, R 2 = 10, R Load = 10, Vin = In parallel like the diagram on the left: R total = / (1/10 + 1/10) = / 0.2 = 15 Where 1/0.2 or 5 == total R 2+ Rx load I (current for the entire circuit) = 5V / 15 ~= 0.33 Amp V R1 = 0.33Amp * 10 = 3.3V V Rx = 0.33Amp * 5 = 1.65V When Resistors are connected in parallel circuit, the total resistance is actually lower. Thus, resulting current is higher. e.g. if all 3 are in Series: R total = 1 / (1/10 + 1/10 + 1/10) = 1/.3 ~= 3.3 Ex 4: Given this diagram, figure out: - the current and voltage at each resistor - Total current in amp. R T = I = 120V / = 1.02A V (at 100 )= I * R = 1.02A * 100 = 102 V v V (at ) = 120V P a g e

22 I (at 55 ) = 18 V / 55 = 0.32A I (at 35 ) = 18 V / 35 = 0.51A I (at 95 ) = 18 V / 95 = 0.19A Voltage Divider Warm-up Exercises for Review Calculate the output voltages of these two voltage divider circuits (V A and V B ): Now, calculate the voltage between points A (red lead) and B (black lead) (V AB ). Q1) If the two resistors have the same resistance value, what is the voltage drop across one resistor? Q2) What is the voltage drop across each of the resistors if one of the resistors is ten times the value of the other? Q3) What two resistors could be used to decrease the voltage (V out ) to one quarter of its original value (V in )? Can you do the same thing with multiple copies of one type of resistor (explain how)? Q4) Derive the governing relationship for two-resistor voltage dividers, an equation that gives the voltage drop across a given resistor in terms of the total voltage drop (Vin) and the resistance values used. Hands-on Circuit Exercise 1 Using the breadboard and 5V power supply on the trainer, set up the three circuits (R1 = R2, R1 = 10 * R2, etc.) described in the Concept Question above. Use the DMM for measurements. {If this is the first time you have used a breadboard and a DMM you may want to read over the mini-modules on their use.} Fill in the chart below, including the actual measured value of the resistances, voltage drops, and currents. (You don t have to measure all of the currents; they can be calculated from the measured voltage drops and resistance values, but try to measure at least one). Voltage Divider 1: R1=R2 Voltage Divider 2: R1= 10 * R2 Voltage Divider 3: Vout = 1/4 Vin R1 (theory) R1 (theory) R1 (theory) R2 (theory) R2 (theory) R2 (theory) R1 (actual) R1 (actual) R1 (actual) R2 (actual) R2 (actual) R2 (actual) Vout (theory) Vout (theory) Vout (theory) Vout (actual) Vout (actual) Vout (actual) Current Current Current 22 P a g e

23 V.3 - Debouncing Debouncing is a provision in electronic/electrical devices having switches to prevent the spikes in output. Details: When we press any switch manually and release it, it bounces due to inherent elasticity, this causes multiple make and break of electrical contact. If the response time is very large then it won't create any problem, but if it is small then we get multiple responses for a single keypress. Software debouncing: nt ledpin = 13; int inputpin = 2; int val = 0; int bouncecheck = 0; void setup() { pinmode(ledpin, OUTPUT); pinmode(inputpin, INPUT); } // choose the pin for the LED // choose the input pin (for a pushbutton) // variable for reading the pin status // variable for debouncing // declare LED as output // declare pushbutton as input void loop(){ val = digitalread(inputpin); delay(10); bouncecheck = digitalread(inputpin); if(val == bouncecheck){ if (val == HIGH) { digitalwrite(ledpin, LOW); } else { digitalwrite(ledpin, HIGH); } } } //read input value //wait 10ms //check again //if val is the same then not a bounce //check if the input is HIGH //turn LED OFF //turn LED ON Hardware debouncing: Capacitor C1 between the digital input and ground stores a small charge when the switch opens that is released when the switch closes. This filters out the switch bounce. 23 P a g e

24 Section 6 - About Fritzing Electronic Design Automation Software Fritzing is an Electronic Design Automation (EDA) software which allows users to design and document their circuits particularly with Arduino and other electronic-based prototypes. This allows you to create printed circuit board (PCB) layouts for turning it into a robust PCB yourself or by help of a manufacturer. Download here: Try to create the following diagrams: R1 Draw another circuit for : - Replace R1 with a photoresistor. - Replace R1 with potentiometer (A0 to A3) R2 Switch This is a pull down resistor circuit. (B0 to B7) Draw one with pull up resistor circuit. R2 Sharp Analog IR distance sensor. Sharp Digital IR Switch. 24 P a g e

25 Reference -- HiTechnic Prototype board Specification Note: This section is extracted from Hitechnic.com. Should consult for any clarification and update. 3 Power Outputs o 3.3 volts regulated at 15mA from NXT o 5.0 volts regulated at 8mA from NXT o 9v volts unregulated at 8mA from NXT o 3.3 volts, 5.0 volts and 9 volts from external battery connection if applied 4 Analog Inputs (A0 A3) o volt range o 10 bit A/D conversion 8 Digital I/O (B0 B7) o Individually configurable as inputs or outputs, 0 or 3.3 volts o 220 ohm output series resistor 2 Analog Outputs (O0, O1) o volts via 10 bit D/A conversion o 7 analog modes: 1. DC voltage level 2. Sine wave 3. Square wave 4. Positive going sawtooth 5. Negative going sawtooth 6. Triangle wave 7. PWM voltage o 220 ohm output series resistor 6 Digital Strobe Outputs (S0 S3, RD, WR) o 4 can be set to logic 0 or 1 (0 or 3.3v) 1 pre-configured read strobe 1 pre-configured write strobe o 220 ohm output series resistor Onboard memory o 12k user RAM 25 P a g e

26 o 56k user program FLASH o 1Mb external storage FLASH Onboard Firmware Features o NXT I/O data and command connection o USB I/O o Onboard program execution o Multiple simultaneous user processes o Onboard datalogging Note that the digital, strobe, and analog outputs all have 220 ohm series resistors. This resistor effectivly limits the current that is availble from each output. The total current output at the 3.3v level (sourced current) should be 50mA from all outputs (D, A and 3.3v output). In the sink case, the total current can be 80mA total max. I2C Interface The SuperPro uses I2C device address of 0x10. Address Type Field 00 07H chars Sensor version number 08 0FH chars Manufacturer 10 17H chars Sensor type 42-43H byte Analog input A0; upper 8 bits, lower 2 bits 44-45H byte Analog input A1; upper 8 bits, lower 2 bits 46-47H byte Analog input A2; upper 8 bits, lower 2 bits 48-49H byte Analog input A3; upper 8 bits, lower 2 bits 4CH byte Digital inputs (bits B0 B7) 4DH byte Digital outputs (bits B0 B7) 4EH byte Digital input/output control (bits B0 B7) 50H byte Strobe output (bits S0 - S3) 51H 52H byte LED control(0=none, 1=Red, 2=Blue, 3=Red and Blue) byte Analog output O0 mode 53-54H byte Analog output O0 frequency; msb, lsb 55-56H byte Analog output O0 voltage; upper 8 bits, lower 2 bits 57H byte Analog output O1 mode 58-59H byte Analog output O1 frequency; msb, lsb 5A-5BH byte Analog output O1 voltage; upper 8 bits, lower 2 bits - The Sensor version number field returns the revision number in the format Vn.m where n is the major version number andm is the revision level. - The Manufacturer field contains HiTechnc. - The Sensor type field contains Proto. - The A0 A3 analog inputs contain the upper 8 bits in the first byte and the lower 2 bits in the second byte. - The Digital inputs field returns the state of the eight digital signals in bits P a g e

27 - The Digital outputs field sets the state of the six digital signals which have been configured as outputs. - The Digital input/output control field configures the direction of the eight digital pins B0-B7. Set the corresponding bit to 0 for input and 1 for output. - The Strong output field sets the state of the 4 general purpose strobe outputs, pins S0-S3. - The LED control field sets the state of the two on-board LEDs. Bit 0 for red LED and Bit 1 for blue LED. - The Analog mode field sets the analog mode of the analog output O0 or O1. - The Analog frequency field sets the analog freqiuency, msb, lsb. - The Analog Voltage field sets the voltage level of the analog outpuit O0 or O1. upper 8 bits, then lower 2 bits. 10 bit value corresponds to the range 0-3.3v. - The prototyping sensor board electronics derives a stabilized 3.3v internal supply from either the NXT supplied 4.3v source or an internal 4.3v source derived from an external 9v supply. Use of a low dropout regulator will permit continued operation with supply input down to 3.6v. Operation below 3.6v input will be unreliable. The board electronics also derives a stabilized 5.0v from the supplied 9v source. The 9v may be either obtained from the NXT or an external 9v source connected between the 9v and GD connections. 27 P a g e

Written by : Elizabeth Mabrey, Director of Storming Robots

Written by : Elizabeth Mabrey, Director of Storming Robots Written by : Elizabeth Mabrey, Director of Before you use this document: Unless otherwise noted, retains an All Rights Reserved copyright, pursuant from the day this document was published by. This means

More information

Basics before Migtrating to Arduino

Basics before Migtrating to Arduino Basics before Migtrating to Arduino Who is this for? Written by Storming Robots Last update: Oct 11 th, 2013 This document is meant for preparing students who have already good amount of programming knowledge,

More information

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

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1 HAW-Arduino Sensors and Arduino 14.10.2010 F. Schubert HAW - Arduino 1 Content of the USB-Stick PDF-File of this script Arduino-software Source-codes Helpful links 14.10.2010 HAW - Arduino 2 Report for

More information

Electronic designs and experiments for LEGO NXT and the HiTechnic Prototype Board Experimenter s Kit A

Electronic designs and experiments for LEGO NXT and the HiTechnic Prototype Board Experimenter s Kit A HiTechnic Experimenter s Kit Handbook Electronic designs and experiments for LEGO NXT and the HiTechnic Prototype Board Experimenter s Kit A Page intentionally left blank HiTechnic Experimenters Kit A

More information

CONSTRUCTION GUIDE IR Alarm. Robobox. Level I

CONSTRUCTION GUIDE IR Alarm. Robobox. Level I CONSTRUCTION GUIDE Robobox Level I This month s montage is an that will allow you to detect any intruder. When a movement is detected, the alarm will turn its LEDs on and buzz to a personalized tune. 1X

More information

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino Lecture 4: Basic Electronics Lecture 4 Page: 1 Brief Introduction to Electronics and the Arduino colintan@nus.edu.sg Lecture 4: Basic Electronics Page: 2 Objectives of this Lecture By the end of today

More information

Data Conversion and Lab Lab 4 Fall Digital to Analog Conversions

Data Conversion and Lab Lab 4 Fall Digital to Analog Conversions Digital to Analog Conversions Objective o o o o o To construct and operate a binary-weighted DAC To construct and operate a Digital to Analog Converters Testing the ADC and DAC With DC Input Testing the

More information

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

Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Contents Parts Reference... 1 Installing Arduino... 7 Unit 1: LEDs, Resistors, & Buttons... 7 1.1 Blink (Hello

More information

Direct Current Waveforms

Direct Current Waveforms Cornerstone Electronics Technology and Robotics I Week 20 DC and AC Administration: o Prayer o Turn in quiz Direct Current (dc): o Direct current moves in only one direction in a circuit. o Though dc must

More information

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter EE283 Electrical Measurement Laboratory Laboratory Exercise #7: al Counter Objectives: 1. To familiarize students with sequential digital circuits. 2. To show how digital devices can be used for measurement

More information

// Parts of a Multimeter

// Parts of a Multimeter Using a Multimeter // Parts of a Multimeter Often you will have to use a multimeter for troubleshooting a circuit, testing components, materials or the occasional worksheet. This section will cover how

More information

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering EXPERIMENT 2 BASIC CIRCUIT ELEMENTS OBJECTIVES The purpose of this experiment is to familiarize the student with

More information

Introduction to Electronics and Breadboarding Circuits

Introduction to Electronics and Breadboarding Circuits Introduction to Electronics and Breadboarding Circuits What we're going to learn today: What is an electronic circuit? What kind of power is needed for these projects? What are the fundamental principles

More information

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino)

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino) Workshops Elisava 2011 Introduction to programming and electronics (Scratch & Arduino) What is programming? Make an algorithm to do something in a specific language programming. Algorithm: a procedure

More information

AME140 Lab #2 INTRODUCTION TO ELECTRONIC TEST EQUIPMENT AND BASIC ELECTRONICS MEASUREMENTS

AME140 Lab #2 INTRODUCTION TO ELECTRONIC TEST EQUIPMENT AND BASIC ELECTRONICS MEASUREMENTS INTRODUCTION TO ELECTRONIC TEST EQUIPMENT AND BASIC ELECTRONICS MEASUREMENTS The purpose of this document is to guide students through a few simple activities to increase familiarity with basic electronics

More information

Using Circuits, Signals and Instruments

Using Circuits, Signals and Instruments Using Circuits, Signals and Instruments To be ignorant of one s ignorance is the malady of the ignorant. A. B. Alcott (1799-1888) Some knowledge of electrical and electronic technology is essential for

More information

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Ahmed Okasha, Assistant Lecturer okasha1st@gmail.com Objective Have a

More information

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Lab 2: Blinkie Lab. Objectives. Materials. Theory Lab 2: Blinkie Lab Objectives This lab introduces the Arduino Uno as students will need to use the Arduino to control their final robot. Students will build a basic circuit on their prototyping board and

More information

Built-in soft-start feature. Up-Slope and Down-Slope. Power-Up safe start feature. Motor will only start if pulse of 1.5ms is detected.

Built-in soft-start feature. Up-Slope and Down-Slope. Power-Up safe start feature. Motor will only start if pulse of 1.5ms is detected. Thank You for purchasing our TRI-Mode programmable DC Motor Controller. Our DC Motor Controller is the most flexible controller you will find. It is user-programmable and covers most applications. This

More information

Arduino Workshop 01. AD32600 Physical Computing Prof. Fabian Winkler Fall 2014

Arduino Workshop 01. AD32600 Physical Computing Prof. Fabian Winkler Fall 2014 AD32600 Physical Computing Prof. Fabian Winkler Fall 2014 Arduino Workshop 01 This workshop provides an introductory overview of the Arduino board, basic electronic components and closes with a few basic

More information

Lecture 6. Interfacing Digital and Analog Devices to Arduino. Intro to Arduino

Lecture 6. Interfacing Digital and Analog Devices to Arduino. Intro to Arduino Lecture 6 Interfacing Digital and Analog Devices to Arduino. Intro to Arduino PWR IN USB (to Computer) RESET SCL\SDA (I2C Bus) POWER 5V / 3.3V / GND Analog INPUTS Digital I\O PWM(3, 5, 6, 9, 10, 11) Components

More information

Design and Technology

Design and Technology E.M.F, Voltage and P.D E.M F This stands for Electromotive Force (e.m.f) A battery provides Electromotive Force An e.m.f can make an electric current flow around a circuit E.m.f is measured in volts (v).

More information

LABORATORY EXPERIMENT. Infrared Transmitter/Receiver

LABORATORY EXPERIMENT. Infrared Transmitter/Receiver LABORATORY EXPERIMENT Infrared Transmitter/Receiver (Note to Teaching Assistant: The week before this experiment is performed, place students into groups of two and assign each group a specific frequency

More information

Coding with Arduino to operate the prosthetic arm

Coding with Arduino to operate the prosthetic arm Setup Board Install FTDI Drivers This is so that your RedBoard will be able to communicate with your computer. If you have Windows 8 or above you might already have the drivers. 1. Download the FTDI driver

More information

Electronics. RC Filter, DC Supply, and 555

Electronics. RC Filter, DC Supply, and 555 Electronics RC Filter, DC Supply, and 555 0.1 Lab Ticket Each individual will write up his or her own Lab Report for this two-week experiment. You must also submit Lab Tickets individually. You are expected

More information

SPECIFICATION EP 1000/1500/2000 Series

SPECIFICATION EP 1000/1500/2000 Series UNINTERRUPTIBLE POWER SYSTEM SPECIFICATION EP 1000/1500/2000 Series Page 1 of 28 1.0 Revision Summary REVISION SECTION DESCRIPTION Formal Release Page 2 of 28 Table of Contents 1. Introduction. 4 2. Block

More information

EXAMPLE. Use this jack for the red test lead when measuring. current from 0 to 200mA. Figure P-1

EXAMPLE. Use this jack for the red test lead when measuring. current from 0 to 200mA. Figure P-1 Digital Multimeters ON / OFF power switch Continuity / Diode Test Function Resistance Function Ranges from 200Ω to 200MΩ Transistor Test Function DC Current Function Ranges from 2mA to 20A. AC Current

More information

Lab 4: Analysis of the Stereo Amplifier

Lab 4: Analysis of the Stereo Amplifier ECE 212 Spring 2010 Circuit Analysis II Names: Lab 4: Analysis of the Stereo Amplifier Objectives In this lab exercise you will use the power supply to power the stereo amplifier built in the previous

More information

ECE 203 LAB 6: INVERTED PENDULUM

ECE 203 LAB 6: INVERTED PENDULUM Version 1.1 1 of 15 BEFORE YOU BEGIN EXPECTED KNOWLEDGE Basic Circuit Analysis EQUIPMENT AFG Oscilloscope Programmable Power Supply MATERIALS Three 741 Opamps TIP41 NPN power transistor TIP42 PNP power

More information

Workshop 9: First steps in electronics

Workshop 9: First steps in electronics King s Maths School Robotics Club Workshop 9: First steps in electronics 1 Getting Started Make sure you have everything you need to complete this lab: Arduino for power supply breadboard black, red and

More information

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness PWM CONTROL USING ARDUINO Learn to Control DC Motor Speed and LED Brightness In this article we explain how to do PWM (Pulse Width Modulation) control using arduino. If you are new to electronics, we have

More information

User Interface Engineering FS 2013

User Interface Engineering FS 2013 User Interface Engineering FS 2013 Input Fundamentals 23.09.2013 1 Last Week Brief Overview of HCI as a discipline History of the UI Product perspective Research perspective Overview of own research as

More information

A 11/89. Instruction Manual and Experiment Guide for the PASCO scientific Model SF-8616 and 8617 COILS SET. Copyright November 1989 $15.

A 11/89. Instruction Manual and Experiment Guide for the PASCO scientific Model SF-8616 and 8617 COILS SET. Copyright November 1989 $15. Instruction Manual and Experiment Guide for the PASCO scientific Model SF-8616 and 8617 012-03800A 11/89 COILS SET Copyright November 1989 $15.00 How to Use This Manual The best way to learn to use the

More information

Bill of Materials: PWM Stepper Motor Driver PART NO

Bill of Materials: PWM Stepper Motor Driver PART NO PWM Stepper Motor Driver PART NO. 2183816 Control a stepper motor using this circuit and a servo PWM signal from an R/C controller, arduino, or microcontroller. Onboard circuitry limits winding current,

More information

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS 6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS Laboratory based hardware prototype is developed for the z-source inverter based conversion set up in line with control system designed, simulated and discussed

More information

Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman

Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman Exercise 5-1: Familiarization with Lab Box Contents Objective: To review the items required for working

More information

BEYOND TOYS. Wireless sensor extension pack. Tom Frissen s

BEYOND TOYS. Wireless sensor extension pack. Tom Frissen s LEGO BEYOND TOYS Wireless sensor extension pack Tom Frissen s040915 t.e.l.n.frissen@student.tue.nl December 2008 Faculty of Industrial Design Eindhoven University of Technology 1 2 TABLE OF CONTENT CLASS

More information

Chapter 2: Your Boe-Bot's Servo Motors

Chapter 2: Your Boe-Bot's Servo Motors Chapter 2: Your Boe-Bot's Servo Motors Vocabulary words used in this lesson. Argument in computer science is a value of data that is part of a command. Also data passed to a procedure or function at the

More information

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

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech Computational Crafting with Arduino Christopher Michaud Marist School ECEP Programs, Georgia Tech Introduction What do you want to learn and do today? Goals with Arduino / Computational Crafting Purpose

More information

Embedded Control. Week 1 (6/29/11)

Embedded Control. Week 1 (6/29/11) Embedded Control Week 1 (6/29/11) Week 1 15:00 Lecture Circuit theory, terminology Overview of elementary circuit components Reading circuit diagrams 16:00 Lab NXT GPIO with HiTechnic sensor expansion

More information

Index. n A. n B. n C. Base biasing transistor driver circuit, BCD-to-Decode IC, 44 46

Index. n A. n B. n C. Base biasing transistor driver circuit, BCD-to-Decode IC, 44 46 Index n A Android Droid X smartphone, 165 Arduino-based LCD controller with an improved event trigger, 182 with auto-adjust contrast control, 181 block diagram, 189, 190 circuit diagram, 187, 189 delay()

More information

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device

More information

ELECTRONICS STARTER KIT

ELECTRONICS STARTER KIT ELECTRONICS STARTER KIT (MAP 474 - N02QQ) R These five small self-assembly circuits cover basic principles of electronics and can be adapted for numerous practical application. The five circuits include

More information

INTRODUCTION TO ENGINEERING AND LABORATORY EXPERIENCE Spring, 2015

INTRODUCTION TO ENGINEERING AND LABORATORY EXPERIENCE Spring, 2015 INTRODUCTION TO ENGINEERING AND LABORATORY EXPERIENCE Spring, 2015 Saeid Rahimi, Ph.D. Jack Ou, Ph.D. Engineering Science Sonoma State University A SONOMA STATE UNIVERSITY PUBLICATION CONTENTS 1 Electronic

More information

1.0 Introduction to VirtualBench

1.0 Introduction to VirtualBench Table of Contents 1.0 Introduction to VirtualBench... 3 1. 1 VirtualBench in the Laboratory... 3 1.2 VirtualBench Specifications... 4 1.3 Introduction to VirtualBench Getting Started Guide Lab Exercises...

More information

Process Components. Process component

Process Components. Process component What are PROCESS COMPONENTS? Input Transducer Process component Output Transducer The input transducer circuits are connected to PROCESS COMPONENTS. These components control the action of the OUTPUT components

More information

Physics 323. Experiment # 1 - Oscilloscope and Breadboard

Physics 323. Experiment # 1 - Oscilloscope and Breadboard Physics 323 Experiment # 1 - Oscilloscope and Breadboard Introduction In order to familiarise yourself with the laboratory equipment, a few simple experiments are to be performed. References: XYZ s of

More information

USB Multifunction Arbitrary Waveform Generator AWG2300. User Guide

USB Multifunction Arbitrary Waveform Generator AWG2300. User Guide USB Multifunction Arbitrary Waveform Generator AWG2300 User Guide Contents Safety information... 3 About this guide... 4 AWG2300 specifications... 5 Chapter 1. Product introduction 1 1. Package contents......

More information

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters Lesson Lesson : Infrared Transmitters The Big Idea: In Lesson 12 the ability to detect infrared radiation modulated at 38,000 Hertz was added to the Arduino. This lesson brings the ability to generate

More information

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013 Exercise 1: PWM Modulator University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013 Lab 3: Power-System Components and

More information

GCSE Electronics. Scheme of Work

GCSE Electronics. Scheme of Work GCSE Electronics Scheme of Work Week Topic Detail Notes 1 Practical skills assemble a circuit using a diagram recognize a component from its physical appearance (This is a confidence building/motivating

More information

Electronics 1. Voltage/Current Resistors Capacitors Inductors Transistors

Electronics 1. Voltage/Current Resistors Capacitors Inductors Transistors Electronics 1 Voltage/Current Resistors Capacitors Inductors Transistors Voltage and Current Simple circuit a battery pushes some electrons around the circuit how many per second? Water The easiest way

More information

Introduction to Electronics. Dr. Lynn Fuller

Introduction to Electronics. Dr. Lynn Fuller ROCHESTER INSTITUTE OF TECHNOLOGY MICROELECTRONIC ENGINEERING Introduction to Electronics Dr. Lynn Fuller Webpage: http://www.rit.edu/~lffeee 82 Lomb Memorial Drive Rochester, NY 14623-5604 Tel (585) 475-2035

More information

LumiDax Electronics LLC Bakerboard Analog Trainer. Operator's Guide with Example Projects

LumiDax Electronics LLC Bakerboard Analog Trainer. Operator's Guide with Example Projects LumiDax Electronics LLC Bakerboard Analog Trainer Operator's Guide with Example Projects Written by Jonathan Baumgardner Copyright 2014 Introduction The LumiDax Bakerboard Analog Trainer is an all-in-one

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Name: MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.091 Hands-On Introduction to EE Lab Skills Laboratory No. 1 Oscilloscopes, Multimeter, Function Generator IAP 2008 1 Objective In this laboratory, you will

More information

CT435. PC Board Mount Temperature Controller

CT435. PC Board Mount Temperature Controller CT435 PC Board Mount Temperature Controller Features Two RTD temperature sensor inputs: Pt100 or Pt1000. Wide temperature sensing range: -70 C to 650 C. All controller features are configurable through

More information

1. Introduction to Analog I/O

1. Introduction to Analog I/O EduCake Analog I/O Intro 1. Introduction to Analog I/O In previous chapter, we introduced the 86Duino EduCake, talked about EduCake s I/O features and specification, the development IDE and multiple examples

More information

INSTANT ROBOT SHIELD (AXE408)

INSTANT ROBOT SHIELD (AXE408) INSTANT ROBOT SHIELD (AXE408) 1.0 Introduction Thank you for purchasing this Instant Robot shield. This datasheet is designed to give a brief introduction to how the shield is assembled, used and configured.

More information

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required.

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required. 1 When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required. More frequently, one of the items in this slide will be the case and biasing

More information

LAB #10: Analog Interfacing

LAB #10: Analog Interfacing CS/EE 3720 Handout #10 Spring 2004 Myers LAB #10: Analog Interfacing You must checkoff this lab during your lab section of the week of April 19th. Lab writeup is due in class on April 27th. NO LATE CHECKOFFS

More information

ET 438B Sequential Digital Control and Data Acquisition Laboratory 4 Analog Measurement and Digital Control Integration Using LabVIEW

ET 438B Sequential Digital Control and Data Acquisition Laboratory 4 Analog Measurement and Digital Control Integration Using LabVIEW ET 438B Sequential Digital Control and Data Acquisition Laboratory 4 Analog Measurement and Digital Control Integration Using LabVIEW Laboratory Learning Objectives 1. Identify the data acquisition card

More information

Analog Servo Drive. Peak Current 16 A (11.3 A RMS )

Analog Servo Drive. Peak Current 16 A (11.3 A RMS ) Description The PWM servo drive is designed to drive three phase brushless motors with sine wave current at a high switching frequency. The drive requires two sinusoidal command signals with a 120-degree

More information

Figure 1. Digilent DC Motor

Figure 1. Digilent DC Motor Laboratory 9 - Usage of DC- and servo-motors The current laboratory describes the usage of DC and servomotors 1. DC motors Figure 1. Digilent DC Motor Classical DC motors are converting electrical energy

More information

CHAPTER 7 HARDWARE IMPLEMENTATION

CHAPTER 7 HARDWARE IMPLEMENTATION 168 CHAPTER 7 HARDWARE IMPLEMENTATION 7.1 OVERVIEW In the previous chapters discussed about the design and simulation of Discrete controller for ZVS Buck, Interleaved Boost, Buck-Boost, Double Frequency

More information

Phys Lecture 3. Power circuits how to control your motors Noise and Shielding

Phys Lecture 3. Power circuits how to control your motors Noise and Shielding Phys 253 - Lecture 3 Power circuits how to control your motors Noise and Shielding Digital-to-Analog Conversion PWM 2 D/A Conversion and power circuits When would you like to produce an output signal that

More information

Nano v3 pinout 19 AUG ver 3 rev 1.

Nano v3 pinout 19 AUG ver 3 rev 1. Nano v3 pinout NANO PINOUT www.bq.com 19 AUG 2014 ver 3 rev 1 Nano v3 Schematic Reserved Words Standard Arduino ( C / C++ ) Reserved Words: int byte boolean char void unsigned word long short float double

More information

UNIVERSITY OF CALIFORNIA, BERKELEY. EE40: Introduction to Microelectronic Circuits Lab 1. Introduction to Circuits and Instruments Guide

UNIVERSITY OF CALIFORNIA, BERKELEY. EE40: Introduction to Microelectronic Circuits Lab 1. Introduction to Circuits and Instruments Guide UNERSTY OF CALFORNA, BERKELEY EE40: ntroduction to Microelectronic Circuits Lab 1 ntroduction to Circuits and nstruments Guide 1. Objectives The electronic circuit is the basis for all branches of electrical

More information

T6+ Analog I/O Section. Installation booklet for part numbers: 5/4-80A-115 5/4-90A-115 5/4-80A /4-90A-1224

T6+ Analog I/O Section. Installation booklet for part numbers: 5/4-80A-115 5/4-90A-115 5/4-80A /4-90A-1224 T and T+ are trade names of Trol Systems Inc. TSI reserves the right to make changes to the information contained in this manual without notice. publication /4A115MAN- rev:1 2001 TSI All rights reserved

More information

The silicon controlled rectifier (SCR)

The silicon controlled rectifier (SCR) The silicon controlled rectifier (SCR) Shockley diodes are curious devices, but rather limited in application. Their usefulness may be expanded, however, by equipping them with another means of latching.

More information

ECE3204 D2015 Lab 1. See suggested breadboard configuration on following page!

ECE3204 D2015 Lab 1. See suggested breadboard configuration on following page! ECE3204 D2015 Lab 1 The Operational Amplifier: Inverting and Non-inverting Gain Configurations Gain-Bandwidth Product Relationship Frequency Response Limitation Transfer Function Measurement DC Errors

More information

Lab 06: Ohm s Law and Servo Motor Control

Lab 06: Ohm s Law and Servo Motor Control CS281: Computer Systems Lab 06: Ohm s Law and Servo Motor Control The main purpose of this lab is to build a servo motor control circuit. As with prior labs, there will be some exploratory sections designed

More information

B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics

B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics Sr. No. Date TITLE To From Marks Sign 1 To verify the application of op-amp as an Inverting Amplifier 2 To

More information

hij Teacher Resource Bank GCE Electronics Exemplar Examination Questions ELEC2 Further Electronics

hij Teacher Resource Bank GCE Electronics Exemplar Examination Questions ELEC2 Further Electronics hij Teacher Resource Bank GCE Electronics Exemplar Examination Questions ELEC2 Further Electronics The Assessment and Qualifications Alliance (AQA) is a company limited by guarantee registered in England

More information

MAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide

MAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide MAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide Rev 0; 7/14 For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit

More information

Name: Resistors and Basic Resistive Circuits. Objective: To gain experience with data acquisition proto-boards physical resistors. Table of Contents:

Name: Resistors and Basic Resistive Circuits. Objective: To gain experience with data acquisition proto-boards physical resistors. Table of Contents: Objective: To gain experience with data acquisition proto-boards physical resistors Table of Contents: Name: Resistors and Basic Resistive Circuits Pre-Lab Assignment 1 Background 2 National Instruments

More information

Laboratory #4: Solid-State Switches, Operational Amplifiers Electrical and Computer Engineering EE University of Saskatchewan

Laboratory #4: Solid-State Switches, Operational Amplifiers Electrical and Computer Engineering EE University of Saskatchewan Authors: Denard Lynch Date: Oct 24, 2012 Revised: Oct 21, 2013, D. Lynch Description: This laboratory explores the characteristics of operational amplifiers in a simple voltage gain configuration as well

More information

The Robot Builder's Shield for Arduino

The Robot Builder's Shield for Arduino The Robot Builder's Shield for Arduino by Ro-Bot-X Designs Introduction. The Robot Builder's Shield for Arduino was especially designed to make building robots with Arduino easy. The built in dual motors

More information

Getting Started. 0.1 Breadboard

Getting Started. 0.1 Breadboard Preface This book is meant to serve as the text/lab book for a first course in digital electronics. The object of the course is to help you become familiar with the use of digital electronic circuits.

More information

2 Thermistor + Op-Amp + Relay = Sensor + Actuator

2 Thermistor + Op-Amp + Relay = Sensor + Actuator Physics 221 - Electronics Temple University, Fall 2005-6 C. J. Martoff, Instructor On/Off Temperature Control; Controlling Wall Current with an Op-Amp 1 Objectives Introduce the method of closed loop control

More information

FET Driver, Load, and Switch Circuits

FET Driver, Load, and Switch Circuits Laboratory-4 FET Driver, Load, and Switch Circuits Introduction Precautions The objectives of this experiment are to observe the operating characteristics of inverter circuits which use JFETs and MOSFETs

More information

OSCILLOSCOPES, MULTIMETERS, & STRAIN GAGES

OSCILLOSCOPES, MULTIMETERS, & STRAIN GAGES Community College of Allegheny County Unit 1 Page 1 OSCILLOSCOPES, MULTIMETERS, & STRAIN GAGES The Overweight Sub That Cost Billions: After Spain invested $2.7 billion in a program for diesel-electric

More information

+15 V 10k. !15 V Op amp as a simple comparator.

+15 V 10k. !15 V Op amp as a simple comparator. INDIANA UNIVESITY, DEPT. OF PHYSICS, P400/540 LABOATOY FALL 2008 Laboratory #7: Comparators, Oscillators, and Intro. to Digital Gates Goal: Learn how to use special-purpose op amps as comparators and Schmitt

More information

FACTFILE: GCSE Technology and Design

FACTFILE: GCSE Technology and Design FACTFILE: GCSE Technology and Design OPTION A: ELECTRONIC AND MICROELECTRONIC CONTROL SYSTEMS 2.14 Timers Astable Learning Outcomes You should be able to: demonstrate knowledge and understanding of the

More information

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge L298 Full H-Bridge HEF4071B OR Gate Brushed DC Motor with Optical Encoder & Load Inertia Flyback Diodes Arduino Microcontroller

More information

ECE 454 Homework #1 Due 11/28/2018 This Wednesday In Lab

ECE 454 Homework #1 Due 11/28/2018 This Wednesday In Lab ECE 454 Homework #1 Due 11/28/2018 This Wednesday In Lab Design the Darlington push-pull amplifier specified in Lab 1: You will build this amplifier for Lab 1 so use parts that are available in the lab.

More information

High Current DC Motor Driver Manual

High Current DC Motor Driver Manual High Current DC Motor Driver Manual 1.0 INTRODUCTION AND OVERVIEW This driver is one of the latest smart series motor drivers designed to drive medium to high power brushed DC motor with current capacity

More information

AD557 SPECIFICATIONS. T A = 25 C, V CC = 5 V unless otherwise noted) REV. B

AD557 SPECIFICATIONS. T A = 25 C, V CC = 5 V unless otherwise noted) REV. B SPECIFICATIONS Model Min Typ Max Unit RESOLUTION 8 Bits RELATIVE ACCURACY 0 C to 70 C ± 1/2 1 LSB Ranges 0 to 2.56 V Current Source 5 ma Sink Internal Passive Pull-Down to Ground 2 SETTLING TIME 3 0.8

More information

DeviceCraft Revision #1 11/29/2010

DeviceCraft Revision #1 11/29/2010 DeviceCraft Revision #1 11/29/2010 DC Wiper Motor H-Bridge Servo / Speed Controller P/N 1020 Features: Dip Switch selectable mode of operation Both PID servo or speed controller Forward/Reverse operation

More information

Arduino. AS220 Workshop. Part II Interactive Design with advanced Transducers Lutz Hamel

Arduino. AS220 Workshop. Part II Interactive Design with advanced Transducers Lutz Hamel AS220 Workshop Part II Interactive Design with advanced Transducers Lutz Hamel hamel@cs.uri.edu www.cs.uri.edu/~hamel/as220 How we see the computer Image source: Considering the Body, Kate Hartman, 2008.

More information

Voltage Compensation of AC Transmission Lines Using a STATCOM

Voltage Compensation of AC Transmission Lines Using a STATCOM Exercise 1 Voltage Compensation of AC Transmission Lines Using a STATCOM EXERCISE OBJECTIVE When you have completed this exercise, you will be familiar with the operating principles of STATCOMs used for

More information

EE320L Electronics I. Laboratory. Laboratory Exercise #4. Diode Rectifiers and Power Supply Circuits. Angsuman Roy

EE320L Electronics I. Laboratory. Laboratory Exercise #4. Diode Rectifiers and Power Supply Circuits. Angsuman Roy EE320L Electronics I Laboratory Laboratory Exercise #4 Diode Rectifiers and Power Supply Circuits By Angsuman Roy Department of Electrical and Computer Engineering University of Nevada, Las Vegas Objective:

More information

MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor

MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To understand and gain insight about how a

More information

This Errata Sheet contains corrections or changes made after the publication of this manual.

This Errata Sheet contains corrections or changes made after the publication of this manual. Errata Sheet This Errata Sheet contains corrections or changes made after the publication of this manual. Product Family: DL4 Date: September 12, 218 Manual Number D4-ANLG-M Revision and Date th Ed., Rev.

More information

Basic Electronics. Jonathan Bachrach. September 20, EECS UC Berkeley

Basic Electronics. Jonathan Bachrach. September 20, EECS UC Berkeley Basic Electronics Jonathan Bachrach EECS UC Berkeley September 20, 2016 Last Time 1 Basic JITPCB Today 2 Basic Electronics Circuit 3 Loop of conductive material Graph of electrical components Edges are

More information

For the filter shown (suitable for bandpass audio use) with bandwidth B and center frequency f, and gain A:

For the filter shown (suitable for bandpass audio use) with bandwidth B and center frequency f, and gain A: Basic Op Amps The operational amplifier (Op Amp) is useful for a wide variety of applications. In the previous part of this article basic theory and a few elementary circuits were discussed. In order to

More information

User Manual Digital Multimeter. model no.: MSR-U1000

User Manual Digital Multimeter. model no.: MSR-U1000 User Manual Digital Multimeter model no.: MSR-U1000 This Operating Manual covers information on safety and cautions. Please read the relevant information carefully and observe all the Warnings and Notes

More information

Two Hour Robot. Lets build a Robot.

Two Hour Robot. Lets build a Robot. Lets build a Robot. Our robot will use an ultrasonic sensor and servos to navigate it s way around a maze. We will be making 2 voltage circuits : A 5 Volt for our ultrasonic sensor, sound and lights powered

More information

HANDS-ON LAB INSTRUCTION SHEET MODULE 3 CAPACITORS, TIME CONSTANTS AND TRANSISTOR GAIN

HANDS-ON LAB INSTRUCTION SHEET MODULE 3 CAPACITORS, TIME CONSTANTS AND TRANSISTOR GAIN HANDS-ON LAB INSTRUCTION SHEET MODULE 3 CAPACITORS, TIME CONSTANTS AND TRANSISTOR GAIN NOTES: 1) To conserve the life of the Multimeter s 9 volt battery, be sure to turn the meter off if not in use for

More information

1 Second Time Base From Crystal Oscillator

1 Second Time Base From Crystal Oscillator 1 Second Time Base From Crystal Oscillator The schematic below illustrates dividing a crystal oscillator signal by the crystal frequency to obtain an accurate (0.01%) 1 second time base. Two cascaded 12

More information

Elements of Electronics and Circuit Analysis

Elements of Electronics and Circuit Analysis and Circuit Analysis ARSLAB - Autonomous and Robotic Systems Laboratory Dipartimento di Matematica e Informatica - Università di Catania, Italy santoro@dmi.unict.it L.A.P. 1 Course Basic Element of Direct

More information