Test Specification City of Glasgow College HND Electronics Graded Unit Project SARRRO Gavin Hannah N10161454 2012/13
This document provides details on test procedures for SARRRO. It should provide a reference for anyone attempting to diagnose faults. It is split into three parts. These are: + Motherboard + Ultrasonic Emitters + Ultrasonic Receivers Please consult this document before attempting any service or repairs. Further detailed information regarding individual components can be found within the components individual data sheets. 26 May 2013 2
Motherboard Power Supply: Battery Requirements - 7.2V 9V, 2000mAh minimum Test Point Parameter Specified Output 1 VDD ~5V 2 VSS 0V 3 Vsrc 7.2Vmin MCU Nominal Operation Test Point Parameter Specified Output OSC1 / OCS2 freq XTAL Freq, 20MHz 11/32 VDD 5V 12/31 VSS 0V PORT PIN VOH 5V OUTPUT HIGH PORT PIN VOL 0V OUTPUT LOW PORT PIN INPUT VIH 2V - 5V max HIGH PORT PIN INPUT LOW VIL 0V - 0.8Vmax 26 May 2013 3
Bluetooth Connection 1 2 3 4 5 Test Point Parameter Specified Output Parameter Test Point Specified Output CONN-SIL 1 VDD, IDD 3V3, 50mA VH, VL 1 High = 5V, Low = 0V CONN-SIL 2 VSS 0V VH, VL 2 High = 5V, Low = 0V CONN-SIL 3 VH, VL High = 3V3, Low = 0V VH, VL 3 High = 5V, Low = 0V CONN-SIL 4 VH, VL High = 3V3, Low = 0V VH, VL 4 High = 5V, Low = 0V CONN-SIL 5 VH, VL High = 3V3, Low = 0V VH, VL 5 High = 5V, Low = 0V CONN-SIL 6 VH, VL High = 3V3, Low = 0V CONN-SIL 7 VH, VL High = 3V3, Low = 0V CONN-SIL 8 VH, VL High = 3V3, Low = 0V 1 2 3 TEMPERATURE & HUMIDITY SENSORS Test Point Parameter Specified Output 1 VH, VL High = 5V, Low = 0V 2 T, Vo @25 C = 2.5V * 3 T, %RH, freq @25 C & 55%RH = 4.975kHz* * See Graphs At Back For Detailed Data. 26 May 2013 4
H-BRIDGE Test Point Parameter Specified Output PIN 9 VSS 5V PIN 4 VS 7.2V (Vsrc) PIN 5 VH, VL High = 5V, Low = 0V PIN 7 VH, VL High = 5V, Low = 0V PIN 10 VH, VL High = 5V, Low = 0V PIN 12 VH, VL High = 5V, Low = 0V PIN 6 VH, VL High = 5V, Low = 0V PIN 11 VH, VL High = 5V, Low = 0V PIN 1 Vsense 2.3Vmax PIN 15 Vsense 2.3Vmax PIN 2 Io Non-Repetative(100µs) = 3A, Repetative (80% on, 20% off ton = 10ms) 2.5A, DC operation 2A PIN 3 Io Non-Repetative(100µs) = 3A, Repetative (80% on, 20% off ton = 10ms) 2.5A, DC operation 2A PIN 13 Io Non-Repetative(100µs) = 3A, Repetative (80% on, 20% off ton = 10ms) 2.5A, DC operation 2A PIN 14 Io Non-Repetative(100µs) = 3A, Repetative (80% on, 20% off ton = 10ms) 2.5A, DC operation 2A 26 May 2013 5
Ultrasonic Sensors Ultrasonic Emitter Test Point Parameter Specified Output U1:A 2 f 13 14kHz U1:A 1 VoH 11.95V U1:A 1 VoL 0V Q2 B Vb 4.3 5V Q2 C VeH 11.95V Q2 C VeL 0V 26 May 2013 6
Ultrasonic Receiver Test Point Parameter Specified Output Q7 B Vb 3.1V Q7 C Vc 7.2V Q7 E Ve 2.6V Q8 B Vb 3.1V Q8 C Vc 7.2V Q8 E Ve 2.6V All outputs are under quiescent conditions. During Echo Detect( Test signal of 10mV applied to Vb Q7 ) Test Point Parameter Specified Output Q7 Cpeak Vc 7.6V Q8 Cpeak Vc 12V D1 Cathode Vpeak detect 9V Q1 B Vb 9V Q1 E Vout 5V 26 May 2013 7
Input Signal 10mV Peak Vc Peak 7.6V Vc Peak 12V Oscilloscope output of circuit simulation 26 May 2013 8
Voltage HND Graded Unit Project Gavin Hannah SARRRO Test Specification TEMPERATURE & HUMIDITY SENSORS Ideal Temperature Sensor Plot 3.5 Output Voltage vs Temperature 3 2.5 2 1.5 1 0.5 0 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 Temperature 26 May 2013 9
Humidity Sensor ; For SARRRO, C represents a capacitive humidity sensor. ta can be calculated using the following formula. See Data Sheets for in depth description of individual components. 40406B CMOS Schmitt Trigger Astable Setup Vp = Positive Threshold Trigger, TYP = 2.9V Vn = Negative Threshold Trigger, TYP = 1.9V VDD = 5V VSS = GND Capacitive response of Humidity Sensor For HCH-1000-101 26 May 2013 10
SARRRO MOTHERBOARD J1 J2 CONNECTOR TYPE ICSP MOTORS BLUETOOTH ULTRASONICS USINPUT PWRIN / PWROUT J1 / J2 DESCRIPTION PICKit Connector Bi-Directional Motor connection 1 3V3 : 2- GND : 3 Connection status LED : 4 BT Reset : 5 Auto discover : 6 Set 9600 Baud : 7 MCU Rx : 8 MCU TX 1,2 7V2 : 3,4 GND : 5 Left Ultrasonic : 6 Middle Ultrasonic : 7 Right Ultrasonic : 8 Ultrasonics Activate 1 Ultrasonic Sensor Input : 2,3- NC - PIN 1 Must be disconnected during ICSP programming -VE Negative Battery Terminal : +VE Positive Battery Terminal / +5V output : GND Jumpers for ICSP. Must be removed during ICSP programming 26 May 2013 11
SARRRO ULTRASONIC EMITTERS CONNECTOR TYPE J1 LS1 LS2 LS3 DESCRIPTION 1 GND : 2 PWR Supply : 3 Left Emitter Activate : 4 Middle Emitter Activate : 5 Right Emitter Activate : 6 555 Activate 1 Emitter Positive : 2 Emitter GND 1 Emitter Positive : 2 Emitter GND 1 Emitter Positive : 2 Emitter GND 26 May 2013 12
SARRRO ULTRASONIC RECEIVERS CONNECTOR TYPE J1 Left Receiver Center Receiver Right Receiver DESCRIPTION 1 GND : 2 PWR Supply : 3 Receiver Output 1 Receiver Positive : 2 Receiver GND 1 Receiver Positive : 2 Receiver GND 1 Receiver Positive : 2 Receiver GND 26 May 2013 13
Troubleshooting I am unable to program SARRRO using the ICSP. Make sure that the ICSP header pins are connected to the MCU /Chip holder. Test each pin with the corresponding MCU pin to make sure full connectivity is present. If a pin has no connection, inspect solder joints for dry solder joints or missing solder. Nothing happens when I switch SARRRO on. + Check the battery has enough charge. + Check that the on/off switch is functioning. + Check the green on/off LED is fully lit. Step 1 Checks Step 2 Checks - Check the external crystal oscillator is functioning - Check capacitors C1 & C2 are functioning - Inspect MCU chip holder solder joints for signs of deteriorated solder - Check that the on/off LED is functioning - Check that 5-5.3V is present at the cathode of 5.1V Z - Check that the VDD pins of MCU are at 5-5.3V - Inspect MCU chip holder solder joints for signs of deteriorated solder If all above checks are exhausted, try replacing MCU with one that is known to be working. The motors have stopped working. + Ensure MCU is operational. + Check that H-Bridge pin 4 (Vs) = Vsrc. Check that VSS = 5V. + Check that Diodes 2-9 are all functional. Replace any burnt out diodes. + If MCU is operational and Diodes 2-9 are fine, check that the H-Bridge is operational. Replace if burnt out. The Ultrasonics are not working. + Following the test point procedures, check that the 555 and LM386 chips are operational. + Check that all the passive components (Transistors, resistors, capacitors etc) are all functioning. Replace any burnt out parts. 26 May 2013 14
The Humidity and / or Temperature Sensor(s) do not work. + Check for any burnt out passive components (Resistors, capacitors etc). + Check that the 4017 Schmitt Trigger is operational. + Check that the thermistor is not burnt out. + Inspect the humidity sensor for any signs of physical damage. + Replace any burnt out / blown parts. + Check that the MCU pin RB5 is high (+5V) during sensor activation. If pin is not high and MCU is operational, check the MCU code for conflicts. 26 May 2013 15