LIGHT BRUSH. Joseph Xiong. Willie Zeng. Final Report for ECE 445, Senior Design, Fall TA: Henry Duwe. Project No. 34

Size: px
Start display at page:

Download "LIGHT BRUSH. Joseph Xiong. Willie Zeng. Final Report for ECE 445, Senior Design, Fall TA: Henry Duwe. Project No. 34"

Transcription

1 LIGHT BRUSH By Joseph Xiong Willie Zeng Final Report for ECE 445, Senior Design, Fall 2016 TA: Henry Duwe 07 December 2016 Project No. 34

2 Abstract The Light Brush is designed to be a simple tool for anyone to use to draw to a monitor. The user would move a controller in the air and a camera would see the movements and output the corresponding movement to a monitor. The resulting project functions as intended but the detection process behaves a bit finicky as the user s surroundings could affect the performance. This report contains the design, testing, results, and conclusions of the design process. 1

3 Contents 1. Introduction 1.1 Statement of Purpose 1.2 Objectives Goals & Benefits Functions & Features 1.3 Block Diagram 2 Design 2.1 User Interface Output Input Power Supply Circuit Schematic 2.2 Data Analysis Initialization Filtering Functionality Output 3. Design Verification 3.1 User Interface PWM Circuit Power Supply 3.2 Data Analysis 4. Costs 2

4 4.1 Parts 4.2 Labor 5. Conclusion 5.1 Accomplishments 5.2 Uncertainties 5.3 Ethical considerations 5.4 Future work References Appendix A Appendix B Appendix C Appendix D Requirement and Verification Table Calculating Duty Cycles PWM Duty Cycle Results PWM Frequency Results 3

5 1. Introduction 1.1 Statement of Purpose Current digital drawing platforms are quite expensive like digital drawing pads and tablets, a Nintendo Wii system, and the Xbox Kinect. The Light Brush offers artists or aspiring artists the ability to draw digitally with a much cheaper design than the other alternatives. The Light Brush is designed to be a simple tool for the user to draw in the air using a box-shaped controller where the motion of the box would be translated through a camera and microcontroller and outputted to a monitor. The controller will allow the user to control a few features: choosing the color to draw with, changing the brush size, and being able to erase. 1.2 Objectives Goals & Benefits To be as accurate and as configurable as it s expensive counterparts [1][2], while remaining inexpensive Drawing without using paper and a pencil/pen/marker Accurately and quickly updates the color, location, and the brush size of the controller Functions & Features To create an accurate and configurable drawing onto a monitor based on the user s settings on the controller To display and constantly update/obtain the movement of the controller To provide a range of colors for the user to select To display and constantly update the color To provide a range of brush sizes for the user to select To display and update the brush size as needed 4

6 1.3 Block Diagram Figure 1. Block Diagram with the User Interface module on the left and Data Analysis module on the right 5

7 2 Design 2.1 User Interface This first section of design is the User Interface module which contains all components of the controller. The controller is a box-shaped device used by the user which signals to the Data Analysis module information about the movement of the controller, color the user wants to draw with, and if the user wants to change brush sizes Output There are three RGB LEDs used as the output of the controller. The configuration of which LEDs are on will show the Data Analysis module what the user is intending to do. Each LED represents the different information needed to shown to the Data Analysis module: the location of the controller, color to draw with, and if the brush size needs to be changed. The tracking RGB LED shows the location of the controller and is set to emit a white light. When this LED is on, the program should draw. The color of the color RGB LED shows which color the user wants to draw with and can be varied by the user. The brush size LED is set to red and when toggled, indicates a change in brush size is needed. To help the Data Analysis module differentiate which LED shining is which, the tracking LED is set to shine the brightest, the color LED next brightest, and the brush size LED the dimmest. Originally, infrared (IR) LEDs were considered for the tracking LED and brush size LED because the longer wavelength was thought to be interpreted differently by the camera than any color that could be emitted by the RGB LED. But the IR LEDs were not able to emit a consistent light at all angles so tilting this LED would change how bright the LED is seen by the camera. In addition, the IR LED was not seen as different by the camera but appeared as purple. This is most likely because at the wavelength of the IR signal, the red and blue sensors of the camera pick up the signal the most so it is seen as purple [3]. Since the IR LEDs are not seen differently from the camera than an RGB LED and does not emit a constant light, the RGB LED was decided as the better option to be used as the tracking LED and the brush size LED Input There are six input components to control the three RGB LEDs. Two push buttons and one switch control when the LEDs turn on and three variable resistance potentiometers are used to control the color of the color LED. The first button is used to control when the user wants to draw indicated by powering the tracking LED and color LED. The second button controls the brush size LED and this light turning on signals that the brush size needs to be changed. To limit further confusion on the Data Analysis module, the brush size LED will only turn on if both the buttons are pressed. Then two LEDs shining indicates that drawing should occur so the location of the tracking LED and the color from the color LED should be used to draw. But, if both buttons are pressed, three LEDs will be shining and this indicates the brush size should change and no drawing will occur. With only these two features, the 6

8 user can only change the color of the color LED while pressing the draw button, so to allow the user to change colors without drawing, the switch was implemented. When the switch is turned on, the color LED will shine and the user can see the color they are changing. Since only one LED is shining, the Data Analysis module will know that the color needs to be updated and will not draw. The three potentiometers are used to control the color RGB LED. Each potentiometer corresponds to one color of the RGB LED (red, green, and blue). The potentiometers control the color LED through a pulse width modulation (PWM) circuit. Instead of varying the current through the LED, the PWM circuit varies how often current is flowing through the LED essentially controlling how often the LED is powered. The more time that power is flowing through the LED, the brighter the LED shines. For example, if power is flowing through the LED about 70% of the time, the LED should shine at 70% of its maximum brightness. The circuit is shown in Figure 2. Figure 2. PWM Circuit Table1. 74AC14 Schmitt Inverter [5] Pin Name Description VDD GND (X)A Power Supply Ground Input to inverter 7

9 (X)Y Output to inverter The PWM circuit has four different components: a 74AC14 Schmitt Inverter Chip, a variable resistance potentiometer, two diodes, and a capacitor. The circuit uses the VDD and ground signals from the power supply and outputs the signal sent to the RGB LED. The PWM circuit varies the time the output outputs power versus not outputting power through the time it takes to charge and discharge the capacitor. The capacitor is charged and discharged through the potentiometer and changing the resistance of the potentiometer changes the charging and discharging time of the capacitor. More specifically, the capacitor starts discharged so the voltage at pin 1A is low (below the inverter threshold voltage). The inverter will invert this low signal resulting in the voltage at pin 1Y to be high (above the threshold voltage). This high voltage would then charge the capacitor through the potentiometer and diode until the capacitor is charged high enough that the voltage at pin 1A is now high and the chip inverts the signal to a low voltage at pin 1Y. Then the capacitor will discharge through the upward facing diode and the potentiometer. The capacitor charging indicates a low output signal and the capacitor discharging indicates a high output signal. This cycle of charging and discharging will keep continuing and the time it takes for the capacitor to charge and discharge is how the output signal is controlled. And the time it takes for the capacitor to charge and discharge is controlled by the potentiometer because of the varying resistance so this potentiometer controls the output of the PWM circuit. The time it takes for the capacitor to charge in the PWM circuit is shown in Equation 2.1. V V c RC s = 1 e t (2.1) The time it takes for the capacitor to discharge in the PWM circuit is shown in Equation 2.2. V V c RC s = e t (2.2) In both equations, V c refers to the voltage across the capacitor, V s refers to the supply voltage, t is the time it takes to charge/discharge, R is the resistance that the capacitor is charging/discharging through, and C is the capacitance of the capacitor. With these equations, the time it takes to charge and discharge a capacitor can be calculated and the duty cycle can be calculated as shown in Equation 2.3. D uty Cycle = t high t high + t low (2.3) 8

10 A few calculations of charging and discharging times have been done and are shown in Table 5 in Appendix B. Besides calculating duty cycles, frequency is another important variable to be calculated. f = 1 T (2.4) Where f is frequency and T is the period of the signal Power Supply The power supply to the controller is a 9V battery along with a 5V voltage regulator (LM7805). The voltage regulator uses a couple capacitors and with an input voltage of 5V to 18V [4] and will output a steady 5V signal which will be used for the rest of the circuit Circuit Schematic Figure 3. Circuit Schematic This circuit shows the power supply towards the left, push buttons that control the tracking LED and brush size LED in the center, and the PWM circuits and color LED on the right. 9

11 2.2 Data Analysis Figure 4. Software Logic Flowchart The flowchart (in Figure 4) shows the logic implemented in the Raspberry Pi, which utilized Python as its language. Note that the large FOR loop is necessary so that each frame can be analyzed within the video input. The logic can be split into 4 sections. The Initialization phase primarily sets up variables, that will be used later in the code, as well as setting up the frame/image for filtering. Next is the Filtering phase, which filters out the brighter objects, such as our LED s on our controller. The filtering process outputs these bright objects as contours (Figure 5). Once the area of the contours are obtained, we proceed to the Functionality process. This process contains all of our functions such as, 10

12 obtaining the location of the tracking LED, obtaining the color from the color LED, obtaining the brush size LED (if it is on), and drawing on an array. Finally, we output this array onto a monitor Initialization While the frames are being rapidly analyzed and processed, certain variables must be declared outside the large FOR loop, so that they may remain constant. One example is the color, if a color from the LED is detected, the color cannot change until further updated and therefore it must be saved outside the FOR loop. Furthermore, we must create an array for the input as well as an equivalent array for the output. We chose our input and output to have an array size of 640 x 480 pixels (X,Y). A larger array size will negatively affect the fluidity of drawing because the frames per second (FPS) will decrease Filtering This is the most important part of our project as well as the most problematic. We filter the inputted frame using the YUV color space. The definition of YUV is a color space in terms of one luma (Y ) and two chrominance (UV) components [6]. Simply put, the Y measures the brightness in the frame, while the UV measures the color. In comparison, all three components in the RGB (Red, Green, Blue) color space measures the color. Therefore, the importance of utilizing YUV is quite clear; the LEDs must be filtered out from the input by brightness. In addition, this allows us to differentiate the three LEDs by brightness. The tracking LED is the brightest, while the other two are dimmer. The tracking LED must be the brightest of the three LEDs so that there would be no confusion in which x,y coordinate to obtain from the three LEDs. Because the LEDs are assumed to be considerably brighter than anything else in the input frame, we set a high-end brightness filter. The output of which is shown in Figure 5. Figure 5. The Top image shows the frame before it is filtered. The bottom image is the output of the YUV filtering process. The white objects resemble the LEDs. From the outputted black and white image, the code is able to deduce which objects are LEDs. To recognize that the largest white object is the tracking LED, the code must first find the area of all three 11

13 white objects. The code obtains the area by recognizing each white pixel as a one and each black pixel as a zero. The white pixels (represented by one) are considered as contours. By adding all the ones that are connected (without any zeroes in between neighboring ones), we are left with the area of each white object. The function, cv2.findcontours outputs the (X,Y) coordinate location of the contours while cv2.contourarea outputs the area of all the contours. Fortunately, findcontours groups contours that are neighboring each other. For example, in Figure 5. it would group all the white pixels in the middle circle as one contour. Therefore as a result, the code finds the contourarea for three contours Functionality Each area is sorted. The largest area is the tracking LED, because it is the brightest. The X,Y coordinates are obtained so that the user can draw at the corresponding location. The second largest area is obtained so that we can find the RGB values from the second LED. The X,Y coordinates of the second largest area is taken from the second largest contour area, so the RGB values can be retrieved at the corresponding array point. For brush size to increase, all the user needs to do is press a button to turn on the third LED. Therefore, it is not necessary to calculate the area of the third white object. Instead, the code just needs to recognize a third white object. If the third white object is recognized (shown in Figure 5), the brush size can be incremented. Finally, the code can draw with the user specified brush size and color at the X,Y coordinate that has been obtained. It draws by editing the color values of the 640x480 output array Output This 640x480 output array is then ready to be displayed through a monitor. Of course, this is the process of analyzing, processing, and outputting only one frame that has been captured within milliseconds. Alas, the large FOR loop is necessary to display the next frame, and the next; this compilation of frames gives the viewers a steady stream of video output. Therefore, once it outputs the array, it goes back to the beginning of the loop to obtain the next frame. However, if the save button is pressed, the program saves the image and closes the program. 12

14 3. Design Verification 3.1 User Interface PWM Circuit There are a few requirements that needed to be tested for the PWM circuit. The first is for the PWM circuit to output a signal with a duty cycle from 0% to 100%. This was tested by using an oscilloscope and measuring between the output of the PWM circuit and ground. Since the potentiometer has a range of motion of about 315, the circuit was tested at various degrees: 0, 90, 180, and 315. The results are shown in Table 6 of Appendix C but the circuit was able to provide a duty cycle from 0% to 100% Since the color LED will be cycling between on and off, the requirement is for the frequency being over 70 Hz [7]. This was calculated using the waveforms from the PWM duty cycle test and requirement. The Red, Blue, and Green LEDs of the RGB LED was tested. The results are shown in Table 7 of Appendix D. The Blue and Green LEDs were able to pass the requirement of 70 Hz but the Red LED had instances of being under 70 Hz Power Supply Since the circuit works best when a steady power source is supplying the components, we made requirements for the power supply namely the output of the LM7805 voltage regulator should stay at a voltage of 5 V ± 0.2 V. Figure 6 shows the waveform of this output from an oscilloscope. 13

15 Figure 6. Output of Voltage Regulator. Max Voltage = V, Min Voltage = V Although the minimum voltage was a bit lower than was required, the power supply was still able to power the rest of the circuit. The lower voltage was most likely the cause of the load of many components on the power supply. 3.2 Data Analysis For the software end, pre-processing the inputted frame array is crucial for accuracy at a longer distance of usage (beyond 5 feet). Image flipping and image dilation are two examples of frame processing. Although crucial, flipping and dilating drastically lowers the frames per second (FPS) [8]. The frames per second standard (35 FPS) that we have set is important for the fluidity of drawing the brush size. The purpose of dilation is so that the LEDs are more accurate at a distance greater than five feet. At a distance greater than five feet, the camera s input of the LED becomes unreliable with specks of light, which is caused by outside light factors and angle changes. If we have chose not to implement dilation, we would see the benefit of a ten FPS increase, but the controller would then have to be limited to less than five feet. Figure 7 shows the after effect of dilation at a distance of five feet. The image flipping technique is explained in the Conclusion. 14

16 Figure 7. The before and after effect of dilation Fortunately, even with dilation we achieved 35 Frames per second. Frames per second is inversely proportional to the time it takes to complete the entire code. Thus, to obtain the frames per second, the code takes each evaluated frame and divides it by the time it takes to perform all of the code s calculations and functionalities (this is done consistently for all frames obtained by the large FOR loop). 1 f rame per second = t (2.5) Another crucial software implementation is obtaining a pure red, green, blue (RGB) value from our second LED in our array. The RGB color scale ranges from bland, washed out colors with a small red value to dark, too-close-to-black colors with too large of a green and blue value. Therefore, if we were to display red, such as the example shown in Figure 8, we would check if the red value is larger than the green, blue values, and set a filter to only display the red if the red value is greater than a value of 120, and the green and blue values are less than 100, which eliminates a bland red, or a red that is too dark. 15

17 Figure 8. The blue box represents the type and values of pure color we want for each of the RGB values. In this example, we are viewing the acceptable colors for red. To further confirm that the displayed or drawn color is accurate and pure, we draw on an equivalent colored background. For example, we would test if it was able to draw a pure red by drawing on a red background and we would compare the differences between the background and our marks. 16

18 4. Costs 4.1 Parts Table 2. Parts Costs Part Manufacturer Retail Cost ($) Bulk Purchase Cost ($) Actual Cost ($) 9V Battery(4 pack) Duracell LM7805 Voltage Fairchild Regulator Semiconductor Push Button x2 Sparkfun SPDT Switch ECE Services Shop RGB LED x3 Lucky Light Potentiometer ECE Services Shop (100kΩ) x3 1N5818 Diodes x8 ECE Services Shop kΩ Resistor x4 ECE Services Shop kΩ Resistor 2 ECE Services Shop kΩ Resistor x4 ECE Services Shop nF Capacitor x8 ECE Services Shop AC14 Schmitt Texas Instruments Trigger Inverter x3 Raspberry Pi 3 Raspberry Pi Model B Raspberry Pi Raspberry Pi Camera Module 32GB microsd SanDisk Total Labor Table 3. Labor Costs Name Hourly Rate Total Hours Invested Total Cost (Rate*2.5*Hours) Willie Zeng $ $17,

19 Joseph Xiong $ $17, TOTAL $35,

20 5. Conclusion 5.1 Accomplishments Our final product was working as expected with a few minor bugs. These bugs will be introduced in Future Work as well as their possible solutions. As for achievements in functionality, the Light Brush was able to draw accurately up to six feet. However, the color accuracy was limited to five feet. We were able to display a rich color of red, green, blue at the optimum range from two to five feet. If the user decides to draw beyond five feet, the color would become more bland and dull. The drawings however, were very smooth. We had an average of forty-five frames per second (FPS), which is ten FPS more than our proposed thirty-five FPS and fifteen FPS more than the standard for a television or movie. At first we struggled to get above twenty FPS, but with the assistance of our TA, Henry Duwe, we realized we could implement our functionalities in a more efficient manner. For example, originally, the software outputted a video that was flipped across the Y-axis in the user s perspective. The reason for this is because the camera is capturing everything in the perspective of the camera, which is facing the viewer. Hence, if the user moves the remote left, in the camera s perspective, the remote is moved to the right. Therefore, flipping the input image or output image was necessary to display the drawing. Although fixing the initial problem, the FPS problem arose. Using the flip image function was too costly because all the data originally stored in the array needed to be moved to the other side of the Y-axis. Also, we only needed to flip a single x coordinate of the tracking LED across the Y axis, not the entire image. We solved this issue by subtracting the x coordinate of the tracking LED from the max X value (640). The distance between these two points is then added to the minimum x value (0). An example is shown in Figure 6. By using this algorithmic method, we did not need to flip the entire image, which boosted our program by ten FPS. 19

21 Figure 9. The method in flipping the tracking coordinates without flipping the entire Image. The physical LED controller was constructed with enough distance between the three LEDs so that each brightness would not affect one another. Furthermore, the electrical components of the LEDs and their corresponding control worked exactly as planned. All red, green, and blue colors could be configured and mixed when the user configured the potentiometers. The buttons and switches were fully functional. 5.2 Uncertainties As electrical engineers, this project allowed us to explore the software frontier. This was a field that we were limited in knowledge on and wanted to use this opportunity to learn more. The coding aspect in our project was difficult as none of us had experience in Python and OpenCV. Trial and error was done multiple times to filter the LEDs correctly. We had difficulties obtaining only the brightness of the LEDs. Because our filter accepted a range of brightnesses, we sometimes mistakenly obtained the coordinates of a bright metallic object rather than our tracking LED. Calibrating the colors from the remote control with the software on the Raspberry Pi also involved the process of trial and error. Although we were able to obtain the colors accurately, we were only able to do so at a certain distance. Beyond 5 feet, the colors would be inaccurate and bland. Furthermore, the colors would update rapidly when the user draws. This is because the program is constantly searching for a different color to update its previous color. Moreover, the software relies on a camera and light, even the slightest angle change from the controller can be enough to alter what color the camera initially perceived from the LED. 5.3 Ethical considerations Our main ethical statement is, We will communicate honestly and with interest to improve our project, while following and properly citing guidelines, standard operating procedures, and datasheets. This is because our project uses a large amount of outside sources such as guides in the OpenCV library as well as LED datasheets. It is our duty to produce a completely original code and credit references when used. This statements goes hand in hand with numbers three and seven in the IEEE Code of Ethics [9]. 3. To be honest and realistic in stating claims or estimates based on available data. 7. To seek, accept, and offer honest criticism of technical work, to acknowledge and correct errors, and to credit properly the contributions of others. We adhere to statements three and seven by updating our notebooks frequently to indicated design changes and show our process of thinking. Furthermore, when we do not understand components or functionalities, we ask our TA, Henry Duwe for his honest technical opinion. We have come a long way 20

22 from the beginning of the project to our completed project. Ever since the first day we started on this project we have improved our project by abiding numbers five and six of the code of ethics. 5. To improve the understanding of technology; its appropriate application, and potential consequences. 6. To maintain and improve our technical competence and to undertake technological tasks for others only if qualified by training or experience, or after full disclosure of pertinent limitations. Originally, without any configuration in the resistor values, the LEDs shined too bright. Looking at the LED directly at a close range would damage the human eye. Fortunately, we changed the brightness of the LEDs so looking at the LEDs directly would not pose a health issue, which follows the ninth code in the IEEE code of ethics. 9. To avoid injuring others, their property, reputation, or employment by false or malicious action. 5.4 Future work On the LED controller end, the only improvement would be adding an ON/OFF button for the power supply, which would save battery power when the controller is not in use. Through our demonstrations, we have witnessed that the detection of color as well as the dependency on light buggy. For example, the color would become increasingly more bland as the distance increased between the camera and the remote. Also, because the filtering process on the software is so dependent on light, any object with a brightness high enough can be mistaken for an LED. This includes sunlight reflections off metallic or white objects creating glare as well as other LEDs or lights. Because the software relies so heavily on bright objects, it would often get confused between a shiny metallic object and the actual LED which it needs to detect. A better filter on the software end can be implemented to improve differentiating the two objects. An improved filter can be made for the color detection as well, especially for making the colors more pure. For example, when a color is detected at a distance of greater than five feet, and if the red values are greater than the blue and green, proportionally boost the red value. However, both these implementations will not completely remove the bugs. Therefore, to completely improve the accuracy of (wireless) signalling between the remote controller and the software on the Raspberry Pi, it would be best to use a gyroscope, accelerometer, and a bluetooth transmitter and avoid using any LEDs so the software would no longer be dependent on bright objects.. 21

23 22

24 References [1] Cintiq 27QHD Touch, Wacom. N.p., Available at: [2] Wii U Console, Nintendo. N.p., Available at: [3] CMOS Cameras, Thorlabs, Inc., Newton, NJ. Available at: [4] 3-Terminal 1A Positive Voltage Regulator, Fairchild Semiconductor Available at: [5] 74AC14 Hex Inverter with Schmitt Trigger Input, Fairchild Semiconductor Available at: [6] YUV, Wikipedia. Wikimedia Foundation. Available at: [7] Flicker Fusion Threshold, Wikipedia. Wikimedia Foundation. Available at: d [8] Frame Rate, Wikipedia. Wikimedia Foundation. Available at: [9] IEEE IEEE Code of Ethics, IEEE. N.p., Available at: [10] 7414 Data sheet, Texas Instruments Available at: 23

25 Appendix A Requirement and Verification Table Table 4. System Requirements and Verifications Requirement Verification Verificatio n status (Y or N) 1. The output of the PWM has a duty cycle ranging from 0% to 100% 1. Measure between the output of the PWM circuit and ground using an oscilloscope at varying potentiometer resistances. Calculate duty cycle using Equation 2.3 Y 2. At all levels of resistance for the potentiometer, the frequency of the PWM output is never lower than 70 Hz a. Valid for Red LED b. Valid for Green LED c. Valid for Blue LED 3. All seven mixtures of light (Red, Green, Blue, Yellow, Cyan, Magenta, White) are able to be outputted by the RGB LED 4. The power supply with voltage regulator stays at 5 V ± 0.2 V 2. Use the waveform from R&V test 1 and calculate the frequency using Equation For each color, a picture will be taken of the controller outputting that color then a filter will be placed on the image where the mask will have the corresponding color value greater than 150 (out of 255). For example, when testing Yellow, a filter of Red and Green greater than 150 and Blue at 0. If the color LED in the image passes through the filter, the color is verified. 4. Use an oscilloscope to measure the output of the voltage regulator and measure the maximum and minimum voltages. N Y Y Y N (but very close) 24

26 5. The code must run at an average of 35 Frames per second; Each function must be run through (pre-processing, filtering, displaying, etc.) at 35 Frames Per Second +/- 5 FPS 6. The Tracking of LED must be able to be detected at up to 6 feet and if the user can draw at a distance of 6 feet 7. The color LED must have an acceptable color ( acceptable color is defined and discussed in section 3.2 Data Analysis) 5. Set a timer ( time.time()) to time the entire code from start to finish, starting on when it obtains the frame and ending at when it displays the array. F rames per second = 1 must be equal to 35 time 6. Check to see if the (X,Y) coordinates are being constantly updated as the tracking LED is moved at a distance of 6 feet. If this distance does not work, start from 3 feet and work your way up to 6 feet by adding 1 foot at a time. 7. Test by drawing the color onto an equivalent colored background to see if the color drawn is +/- 10 values from the background color. I.e if the color is red, draw on a red background if the drawn red value is 110 and the background red value is 50, the implementation has failed Y Y Y 25

27 Appendix B Calculating Duty Cycles The duty cycle of the PWM circuit was calculated using Equations 2.1, 2.2, and 2.3. First the resistance of the potentiometer was taken at varying degrees (0, 90, 180, 315 ). Note that there are two resistances for the potentiometer at a certain position. Then using the datasheet of the 74AC14 Schmitt Trigger Inverter [10], the threshold voltage was found and is used in the equation as V c. Afterwards, the duty cycle was found. Table 5. Calculating Duty Cycles Degree R charge R discharge t charge (Vt+ = 1.7 V) t discharge (Vt- = 0.9 V) Duty Cycle Ω kω.19 μs 18.3 ms.001% kω kω μs ms 17.1% kω kω 3.67 ms 4.98 ms 42.43% kω 4.2 Ω 4.4 ms.72 μs 99.98% 26

28 Appendix C PWM Duty Cycle Results Note: the signal is inverted so all waveforms will be inverted. Figure 10. Red LED at 0 27

29 Figure 11. Red LED at 90 Figure 12. Red LED at 180 Figure 13. Red LED at

30 Figure 14. Green LED at 0 Figure 15. Green LED at 90 29

31 Figure 16. Green LED at 180 Figure 17. Green LED at

32 Figure 18. Blue LED at 0 Figure 19. Blue LED at 90 31

33 Figure 20. Blue LED at 180 Figure 21. Blue LED at 315 Table 6. PWM Duty Cycle Results Duty Cycle Red LED at 0 100% 32

34 Red LED at % Red LED at % Red LED at 315 0% Green LED at 0 100% Green LED at % Green LED at % Green LED at 315 0% Blue LED at 0 100% Blue LED at % Blue LED at % Blue LED at 315 0% 33

35 Appendix D PWM Frequency Results Using the waveforms taken from Appendix C, the period was found and frequency was calculated using Equation 2.4. Table 7. PWM Frequency Results Frequency Red LED at 0 Red LED at 90 Red LED at 180 Red LED at 315 Green LED at 0 Green LED at 90 Green LED at 180 Green LED at 315 Blue LED at 0 Blue LED at 90 Blue LED at 180 Blue LED at Hz Hz Hz Hz Hz Hz Hz Hz Hz Hz Hz Hz 34

Light Brush. Design Review. Team 34 Joseph Xiong jcxiong2 Willie Zeng wzeng4

Light Brush. Design Review. Team 34 Joseph Xiong jcxiong2 Willie Zeng wzeng4 Light Brush Design Review Team 34 Joseph Xiong jcxiong2 Willie Zeng wzeng4 ECE445 TA: Henry Duwe October 14, 2016 1.0 Introduction 1.1 Statement of Purpose 1.2 Objectives 1.2.1 Goals and Benefits 1.2.2

More information

Wireless Laptop Charging System ECE 445 Mock Design Review

Wireless Laptop Charging System ECE 445 Mock Design Review Wireless Laptop Charging System ECE 445 Mock Design Review Onur Cam, Jason Kao, Enrique Ramirez Group 37 TA: Zhen Qin 2/20/18 1.1 Diagrams The block diagram below shows how the modules will connect to

More information

MUSIC RESPONSIVE LIGHT SYSTEM

MUSIC RESPONSIVE LIGHT SYSTEM MUSIC RESPONSIVE LIGHT SYSTEM By Andrew John Groesch Final Report for ECE 445, Senior Design, Spring 2013 TA: Lydia Majure 1 May 2013 Project 49 Abstract The system takes in a musical signal as an acoustic

More information

ENGR-4300 Fall 2006 Project 3 Project 3 Build a 555-Timer

ENGR-4300 Fall 2006 Project 3 Project 3 Build a 555-Timer ENGR-43 Fall 26 Project 3 Project 3 Build a 555-Timer For this project, each team, (do this as team of 4,) will simulate and build an astable multivibrator. However, instead of using the 555 timer chip,

More information

AUTOMATIC CLOTH FOLDING MACHINE

AUTOMATIC CLOTH FOLDING MACHINE AUTOMATIC CLOTH FOLDING MACHINE. By Xudong Li Anran Su Suicheng Zhan Final Report for ECE 445, Senior Design, Spring 2017 TA: Yuchen He 3 May 2017 Project No. 43 Abstract The purpose of this project is

More information

Cypress Robot Kit Final Report

Cypress Robot Kit Final Report Cypress Robot Kit Final Report Team Members: Alvin Wu Byung Joo Park Todd Nguyen Teaching Assistant: Katherine O Kane ECE 445 Group #5 December 7, 2016 Abstract The Programmable System-on-Chip (PSoC) made

More information

Touchless Control: Hand Motion Triggered Light Timer

Touchless Control: Hand Motion Triggered Light Timer Touchless Control: Hand Motion Triggered Light Timer 6.101 Final Project Report Justin Graves Spring 2018 1 Introduction Often times when you enter a new room you are troubled with finding the light switch

More information

Threshold Noise-Cancelling Headphones

Threshold Noise-Cancelling Headphones 1 Threshold Noise-Cancelling Headphones By: Nicholas Dennis CD Holder David Toft Final Report for ECE 445, Senior Design, Fall 2016 TA: Cara Yang May 4th, 2016 Project No. 57 2 Abstract Our project is

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

As you can see, by varying the turn-on point, the amount of power getting to the bulb is adjustable, and hence the light output can be controlled.

As you can see, by varying the turn-on point, the amount of power getting to the bulb is adjustable, and hence the light output can be controlled. Digital Light Dimming Circuit Some light dimmer history Light dimming is based on adjusting the voltage which gets to the lamp. Light dimming has been possible for many decades by using adjustable power

More information

DANGER DETECTING HEADPHONES

DANGER DETECTING HEADPHONES DANGER DETECTING HEADPHONES By Tae Hun Ahn Daniel Bang Yoon Mo Yang Final Report for ECE 445, Senior Design, Fall 2016 TA: Zipeng Wang 07 December 2016 Project No. 47 Abstract This report describes the

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

Electronic Instrumentation ENGR-4300 Fall 2004 Section Experiment 7 Introduction to the 555 Timer, LEDs and Photodiodes

Electronic Instrumentation ENGR-4300 Fall 2004 Section Experiment 7 Introduction to the 555 Timer, LEDs and Photodiodes Experiment 7 Introduction to the 555 Timer, LEDs and Photodiodes Purpose: In this experiment, we learn a little about some of the new components which we will use in future projects. The first is the 555

More information

Creating an Audio Integrator

Creating an Audio Integrator Creating an Audio Integrator Matt McMahon August 22, 2008 University of Chicago Summer 2008 REU Advisor: Henry Frisch Particle detectors play a very important role in high energy physics. In this paper

More information

PWM LED Color Control

PWM LED Color Control 1 PWM LED Color Control Through the use temperature sensors, accelerometers, and switches to finely control colors. Daniyah Alaswad, Joshua Creech, Gurashish Grewal, & Yang Lu Electrical and Computer Engineering

More information

Photovoltaic Systems I EE 446/646

Photovoltaic Systems I EE 446/646 Photovoltaic Systems I EE 446/646 PV System Types & Goal Types of PV Systems: Grid-tied systems that feed power directly into the utility grid, Residential Systems (1-10kW) Commercial/industrial systems

More information

HIGH LOW Astable multivibrators HIGH LOW 1:1

HIGH LOW Astable multivibrators HIGH LOW 1:1 1. Multivibrators A multivibrator circuit oscillates between a HIGH state and a LOW state producing a continuous output. Astable multivibrators generally have an even 50% duty cycle, that is that 50% of

More information

Project Name: SpyBot

Project Name: SpyBot EEL 4924 Electrical Engineering Design (Senior Design) Final Report April 23, 2013 Project Name: SpyBot Team Members: Name: Josh Kurland Name: Parker Karaus Email: joshkrlnd@gmail.com Email: pbkaraus@ufl.edu

More information

LDOR: Laser Directed Object Retrieving Robot. Final Report

LDOR: Laser Directed Object Retrieving Robot. Final Report University of Florida Department of Electrical and Computer Engineering EEL 5666 Intelligent Machines Design Laboratory LDOR: Laser Directed Object Retrieving Robot Final Report 4/22/08 Mike Arms TA: Mike

More information

Houngninou 2. Abstract

Houngninou 2. Abstract Houngninou 2 Abstract The project consists of designing and building a system that monitors the phase of two pulses A and B. Three colored LEDs are used to identify the phase comparison. When the rising

More information

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G P R O F. S L A C K L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G G B S E E E @ R I T. E D U B L D I N G 9, O F F I C E 0 9-3 1 8 9 ( 5 8 5 ) 4 7 5-5 1 0

More information

). The THRESHOLD works in exactly the opposite way; whenever the THRESHOLD input is above 2/3V CC

). The THRESHOLD works in exactly the opposite way; whenever the THRESHOLD input is above 2/3V CC ENGR 210 Lab 8 RC Oscillators and Measurements Purpose: In the previous lab you measured the exponential response of RC circuits. Typically, the exponential time response of a circuit becomes important

More information

VOICE CONTROLLED HOME AUTOMATION SYSTEM

VOICE CONTROLLED HOME AUTOMATION SYSTEM VOICE CONTROLLED HOME AUTOMATION SYSTEM By Zhe Gong Hongchaun Li Final Report for ECE 445, Senior Design, Fall 2014 TA: Haoyu Wang 10 December 2014 Project No. 13 Abstract This project builds a system

More information

Shock Sensor Module This module is digital shock sensor. It will output a high level signal when it detects a shock event.

Shock Sensor Module This module is digital shock sensor. It will output a high level signal when it detects a shock event. Item Picture Description KY001: Temperature This module measures the temperature and reports it through the 1-wire bus digitally to the Arduino. DS18B20 (https://s3.amazonaws.com/linksprite/arduino_kits/advanced_sensors_kit/ds18b20.pdf)

More information

Class #6: Experiment The 555-Timer & Pulse Width Modulation

Class #6: Experiment The 555-Timer & Pulse Width Modulation Class #6: Experiment The 555-Timer & Pulse Width Modulation Purpose: In this experiment we look at the 555-timer, a device that uses digital devices and other electronic switching elements to generate

More information

Chapter 14. using data wires

Chapter 14. using data wires Chapter 14. using data wires In this fifth part of the book, you ll learn how to use data wires (this chapter), Data Operations blocks (Chapter 15), and variables (Chapter 16) to create more advanced programs

More information

Wireless Bluetooth Controller for DC Motor

Wireless Bluetooth Controller for DC Motor Wireless Bluetooth Controller for DC Motor ECE 445 Final Report May 1, 2007 Team Members: Abhay Jain Reid Vaccari TA: Brian Raczkowski Professor Gary Swenson TABLE OF CONTENTS 1. INTRODUCTION...3 1.1 Motivation...3

More information

Pulse Sensor Individual Progress Report

Pulse Sensor Individual Progress Report Pulse Sensor Individual Progress Report TA: Kevin Chen ECE 445 March 31, 2015 Name: Ying Wang NETID: ywang360 I. Overview 1. Objective This project intends to realize a device that can read the human pulse

More information

Lab 6: Exploring the Servomotor Controller Circuit

Lab 6: Exploring the Servomotor Controller Circuit Lab 6: Exploring the Servomotor Controller Circuit By: Gary A. Ybarra Christopher E. Cramer Duke University Department of Electrical and Computer Engineering Durham, NC 1. Purpose: The purpose of this

More information

Capacitive Touch Sensing Tone Generator. Corey Cleveland and Eric Ponce

Capacitive Touch Sensing Tone Generator. Corey Cleveland and Eric Ponce Capacitive Touch Sensing Tone Generator Corey Cleveland and Eric Ponce Table of Contents Introduction Capacitive Sensing Overview Reference Oscillator Capacitive Grid Phase Detector Signal Transformer

More information

Wireless Laptop Charging System ECE 445 Design Document

Wireless Laptop Charging System ECE 445 Design Document Wireless Laptop Charging System ECE 445 Design Document Onur Cam, Jason Kao, Enrique Ramirez Group 37 TA: Zhen Qin 2/22/18 1 1. Introduction 1.1 Objective Laptops are everywhere in classrooms. Many laptops

More information

EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS

EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS OBJECTIVES In this experiment you will Explore the use of a popular IC chip and its applications. Become more

More information

Wireless Laptop Charging System

Wireless Laptop Charging System Wireless Laptop Charging System 1. Introduction Team 37-Enrique Ramirez, Jason Kao, and Onur Cam ECE 445 Project Proposal-Spring 2018 TA: Zhen Qin 1.1 Objective Laptops are everywhere in classrooms. Many

More information

STATION NUMBER: LAB SECTION: RC Oscillators. LAB 5: RC Oscillators ELECTRICAL ENGINEERING 43/100. University Of California, Berkeley

STATION NUMBER: LAB SECTION: RC Oscillators. LAB 5: RC Oscillators ELECTRICAL ENGINEERING 43/100. University Of California, Berkeley YOUR NAME: YOUR SID: Lab 5: RC Oscillators EE43/100 Spring 2013 Kris Pister YOUR PARTNER S NAME: YOUR PARTNER S SID: STATION NUMBER: LAB SECTION: Pre- Lab GSI Sign- Off: Pre- Lab Score: /40 In- Lab Score:

More information

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK Team Members: Andrew Blanford Matthew Drummond Krishnaveni Das Dheeraj Reddy 1 Abstract: The goal of the project was to build an interactive and mobile

More information

ECE U401/U211-Introduction to Electrical Engineering Lab. Lab 4

ECE U401/U211-Introduction to Electrical Engineering Lab. Lab 4 ECE U401/U211-Introduction to Electrical Engineering Lab Lab 4 Preliminary IR Transmitter/Receiver Development Introduction: In this lab you will design and prototype a simple infrared transmitter and

More information

Project 3 Build a 555-Timer

Project 3 Build a 555-Timer Project 3 Build a 555-Timer For this project, each group will simulate and build an astable multivibrator. However, instead of using the 555 timer chip, you will have to use the devices you learned about

More information

ENGR-2300 Electronic Instrumentation Quiz 3 Spring Name: Solution Please write you name on each page. Section: 1 or 2

ENGR-2300 Electronic Instrumentation Quiz 3 Spring Name: Solution Please write you name on each page. Section: 1 or 2 ENGR-2300 Electronic Instrumentation Quiz 3 Spring 2018 Name: Solution Please write you name on each page Section: 1 or 2 4 Questions Sets, 20 Points Each LMS Portion, 20 Points Question Set 1) Question

More information

Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage)

Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage) Explore More! Points awarded: Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage) Name: Net ID: Laboratory Outline A voltage comparator considers two voltage waveforms,

More information

Lab #7: Transient Response of a 1 st Order RC Circuit

Lab #7: Transient Response of a 1 st Order RC Circuit Lab #7: Transient Response of a 1 st Order RC Circuit Theory & Introduction Goals for Lab #7 The goal of this lab is to explore the transient response of a 1 st Order circuit. In order to explore the 1

More information

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Laboratory 14 Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Required Components: 1x PIC 16F88 18P-DIP microcontroller 3x 0.1 F capacitors 1x 12-button numeric

More information

Fig Color spectrum seen by passing white light through a prism.

Fig Color spectrum seen by passing white light through a prism. 1. Explain about color fundamentals. Color of an object is determined by the nature of the light reflected from it. When a beam of sunlight passes through a glass prism, the emerging beam of light is not

More information

WIRELESS ELEVATOR REMOTE CONTROL. Patrick Goh Hamed Asghari ECE 445, SENIOR DESIGN PROJECT. Spring TA: Dwayne Hagerman. Project No.

WIRELESS ELEVATOR REMOTE CONTROL. Patrick Goh Hamed Asghari ECE 445, SENIOR DESIGN PROJECT. Spring TA: Dwayne Hagerman. Project No. WIRELESS ELEVATOR REMOTE CONTROL By Patrick Goh Hamed Asghari ECE 445, SENIOR DESIGN PROJECT Spring 2007 TA: Dwayne Hagerman May 1, 2007 Project No. 16 ABSTRACT The Wireless Elevator Remote Control (WERC)

More information

ZSCT1555 PRECISION SINGLE CELL TIMER ISSUE 2 - MAY 1998 DEVICE DESCRIPTION FEATURES APPLICATIONS SCHEMATIC DIAGRAM

ZSCT1555 PRECISION SINGLE CELL TIMER ISSUE 2 - MAY 1998 DEVICE DESCRIPTION FEATURES APPLICATIONS SCHEMATIC DIAGRAM PRECISION SINGLE CELL TIMER ZSCT555 ISSUE 2 - MAY 998 DEVICE DESCRIPTION These devices are precision timing circuits for generation of accurate time delays or oscillation. Advanced circuit design means

More information

Electronic Metronome. Using a 555 Timer

Electronic Metronome. Using a 555 Timer Electronic Metronome Using a 555 Timer LM 555 Timer Chip Used in a wide variety of circuits to generate square wave and triangular shaped single and periodic pulses. High efficiency LED and fluorescence

More information

Lab 2 Revisited Exercise

Lab 2 Revisited Exercise Lab 2 Revisited Exercise +15V 100k 1K 2N2222 Wire up led display Note the ground leads LED orientation 6.091 IAP 2008 Lecture 3 1 Comparator, Oscillator +5 +15 1k 2 V- 7 6 Vin 3 V+ 4 V o Notice that power

More information

Massachusetts Institute of Technology MIT

Massachusetts Institute of Technology MIT Massachusetts Institute of Technology MIT Real Time Wireless Electrocardiogram (ECG) Monitoring System Introductory Analog Electronics Laboratory Guilherme K. Kolotelo, Rogers G. Reichert Cambridge, MA

More information

Persistence of Vision LED Sphere

Persistence of Vision LED Sphere Persistence of Vision LED Sphere Project Proposal ECE 445 February 10, 2016 TA: Vivian Hou Michael Ling Li Quan 1 Table of Contents 1.0 Introduction... 3 1.1 Purpose and Motivation:... 3 1.2 Objectives:...

More information

OBJECTIVE The purpose of this exercise is to design and build a pulse generator.

OBJECTIVE The purpose of this exercise is to design and build a pulse generator. ELEC 4 Experiment 8 Pulse Generators OBJECTIVE The purpose of this exercise is to design and build a pulse generator. EQUIPMENT AND PARTS REQUIRED Protoboard LM555 Timer, AR resistors, rated 5%, /4 W,

More information

LSI/CSI LS7232NT PROXIMITY/TOUCH CONTROL HALOGEN LAMP DIMMER

LSI/CSI LS7232NT PROXIMITY/TOUCH CONTROL HALOGEN LAMP DIMMER LSI/CSI LS7232NT UL LSI Computer Systems, Inc. 1235 Walt Whitman Road, Melville, NY 11747 (631) 271-0400 FAX (631) 271-0405 A00 PROXIMITY/TOUCH CONTROL HALOGEN L DIMMER FEATURES: Control of incandescent

More information

Total Hours Registration through Website or for further details please visit (Refer Upcoming Events Section)

Total Hours Registration through Website or for further details please visit   (Refer Upcoming Events Section) Total Hours 110-150 Registration Q R Code Registration through Website or for further details please visit http://www.rknec.edu/ (Refer Upcoming Events Section) Module 1: Basics of Microprocessor & Microcontroller

More information

Exercise 5: PWM and Control Theory

Exercise 5: PWM and Control Theory Exercise 5: PWM and Control Theory Overview In the previous sessions, we have seen how to use the input capture functionality of a microcontroller to capture external events. This functionality can also

More information

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

IR add-on module circuit board assembly - Jeffrey La Favre January 27, 2015 IR add-on module circuit board assembly - Jeffrey La Favre January 27, 2015 1 2 For the main circuits of the line following robot you soldered electronic components on a printed circuit board (PCB). The

More information

CSE 165: 3D User Interaction. Lecture #7: Input Devices Part 2

CSE 165: 3D User Interaction. Lecture #7: Input Devices Part 2 CSE 165: 3D User Interaction Lecture #7: Input Devices Part 2 2 Announcements Homework Assignment #2 Due tomorrow at 2pm Sony Move check out Homework discussion Monday at 6pm Input Devices CSE 165 -Winter

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

Proximity Sensor SFH 7741 Application note

Proximity Sensor SFH 7741 Application note Proximity Sensor SFH 7741 Application note 1. Introduction The SFH 7741 is a very small reflective optical sensor for short distances with digital output. With dimensions of only 3.7x3.7x1mm 3, and surface-mount

More information

R 2. Out R 3. Ctrl C 2

R 2. Out R 3. Ctrl C 2 Design Project: Pulse-Width Modulation (PWM) signal generator This worksheet and all related files are licensed under the Creative Commons Attribution License, version 1.0. To view a copy of this license,

More information

Microcontrollers and Interfacing

Microcontrollers and Interfacing Microcontrollers and Interfacing Week 07 digital input, debouncing, interrupts and concurrency College of Information Science and Engineering Ritsumeikan University 1 this week digital input push-button

More information

High Voltage Waveform Sensor

High Voltage Waveform Sensor High Voltage Waveform Sensor Computer Engineering Senior Project Nathan Stump Spring 2013 Statement of Purpose The purpose of this project was to build a system to measure the voltage waveform of a discharging

More information

ECE 5670/6670 Project. Brushless DC Motor Control with 6-Step Commutation. Objectives

ECE 5670/6670 Project. Brushless DC Motor Control with 6-Step Commutation. Objectives ECE 5670/6670 Project Brushless DC Motor Control with 6-Step Commutation Objectives The objective of the project is to build a circuit for 6-step commutation of a brushless DC motor and to implement control

More information

Class #9: Experiment Diodes Part II: LEDs

Class #9: Experiment Diodes Part II: LEDs Class #9: Experiment Diodes Part II: LEDs Purpose: The objective of this experiment is to become familiar with the properties and uses of LEDs, particularly as a communication device. This is a continuation

More information

Supply Voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

Supply Voltage Supervisor TL77xx Series. Author: Eilhard Haseloff Supply Voltage Supervisor TL77xx Series Author: Eilhard Haseloff Literature Number: SLVAE04 March 1997 i IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to

More information

Physics 309 Lab 3 Bipolar junction transistor

Physics 309 Lab 3 Bipolar junction transistor Physics 39 Lab 3 Bipolar junction transistor The purpose of this third lab is to learn the principles of operation of a bipolar junction transistor, how to characterize its performances, and how to use

More information

ENGN Analogue Electronics Digital PC Oscilloscope

ENGN Analogue Electronics Digital PC Oscilloscope Faculty of Engineering and Information Technology Department of Engineering ENGN3227 - Analogue Electronics Digital PC Oscilloscope David Dries u2543318 Craig Gibbons u2543813 James Moran u4114563 Ranmadhu

More information

Intro To Engineering II for ECE: Lab 7 The Op Amp Erin Webster and Dr. Jay Weitzen, c 2014 All rights reserved.

Intro To Engineering II for ECE: Lab 7 The Op Amp Erin Webster and Dr. Jay Weitzen, c 2014 All rights reserved. Lab 7: The Op Amp Laboratory Objectives: 1) To introduce the operational amplifier or Op Amp 2) To learn the non-inverting mode 3) To learn the inverting mode 4) To learn the differential mode Before You

More information

Figure 1 HDR image fusion example

Figure 1 HDR image fusion example TN-0903 Date: 10/06/09 Using image fusion to capture high-dynamic range (hdr) scenes High dynamic range (HDR) refers to the ability to distinguish details in scenes containing both very bright and relatively

More information

Special Sensor Report

Special Sensor Report Special Sensor Report Jeff Panos University of Florida Department of Electrical and Computer Engineering EEL 5666 Intelligent Machines Design Laboratory Table Of Contents Abstract..3 Description.4 Beacon

More information

Lab Experiments. Boost converter (Experiment 2) Control circuit (Experiment 1) Power diode. + V g. C Power MOSFET. Load.

Lab Experiments. Boost converter (Experiment 2) Control circuit (Experiment 1) Power diode. + V g. C Power MOSFET. Load. Lab Experiments L Power diode V g C Power MOSFET Load Boost converter (Experiment 2) V ref PWM chip UC3525A Gate driver TSC427 Control circuit (Experiment 1) Adjust duty cycle D The UC3525 PWM Control

More information

DATASHEET SMT172. Features and Highlights. Application. Introduction

DATASHEET SMT172. Features and Highlights. Application. Introduction V12 1/9 Features and Highlights World s most energy efficient temperature sensor Wide temperature range: -45 C to 130 C Extreme low noise: less than 0.001 C High accuracy: 0.25 C (-10 C to 100 C) 0.1 C

More information

introduction to Digital Electronics Install the Arduino IDE on your laptop if you haven t already!

introduction to Digital Electronics Install the Arduino IDE on your laptop if you haven t already! introduction to Digital Electronics Install the Arduino IDE 1.8.5 on your laptop if you haven t already! Electronics can add interactivity! Any sufficiently advanced technology is indistinguishable from

More information

SELF-SUSTAINABLE SOLAR STREET LIGHT CHARGING

SELF-SUSTAINABLE SOLAR STREET LIGHT CHARGING SELF-SUSTAINABLE SOLAR STREET LIGHT CHARGING By Anirban Banerjee Priya Mehta Surya Teja Tadigadapa Final Report for ECE 445, Senior Design, Fall 2017 TA: Zipeng Wang December 2017 Project No. 4 Abstract

More information

Electronic Sound Generator

Electronic Sound Generator Electronic Sound Generator Team 44 Kedong Shao, Jeremy Hutnak, and Parikshit Kapadia ECE 445 Project Proposal Spring 2018 TA: Kexin Hui 1. Introduction 1.1 Objective Modern day synthesisers are very expensive

More information

Michael Goldstein (mjgolds2) Team Number 4. Cain Benink (benink2)

Michael Goldstein (mjgolds2) Team Number 4. Cain Benink (benink2) Michael Goldstein (mjgolds2) Team Number 4 Yue Wang (ywang359) TA: Daniel Gardner Cain Benink (benink2) ECE-445 Livestock Temperature Monitor 8 th February 2017 1 Introduction 1.1 OBJECTIVE AND BACKGROUND

More information

ASTABLE MULTIVIBRATOR

ASTABLE MULTIVIBRATOR 555 TIMER ASTABLE MULTIIBRATOR MONOSTABLE MULTIIBRATOR 555 TIMER PHYSICS (LAB MANUAL) PHYSICS (LAB MANUAL) 555 TIMER Introduction The 555 timer is an integrated circuit (chip) implementing a variety of

More information

Lab 12: Timing sequencer (Version 1.3)

Lab 12: Timing sequencer (Version 1.3) Lab 12: Timing sequencer (Version 1.3) WARNING: Use electrical test equipment with care! Always double-check connections before applying power. Look for short circuits, which can quickly destroy expensive

More information

Electronics Design Laboratory Lecture #11. ECEN 2270 Electronics Design Laboratory

Electronics Design Laboratory Lecture #11. ECEN 2270 Electronics Design Laboratory Electronics Design Laboratory Lecture # ECEN 7 Electronics Design Laboratory Project Must rely on fully functional Lab circuits, Lab circuit is optional Can re do wireless or replace it with a different

More information

Diodes This week, we look at switching diodes, LEDs, and diode rectification. Be sure to bring a flash drive for recording oscilloscope traces.

Diodes This week, we look at switching diodes, LEDs, and diode rectification. Be sure to bring a flash drive for recording oscilloscope traces. Diodes This week, we look at switching diodes, LEDs, and diode rectification. Be sure to bring a flash drive for recording oscilloscope traces. 1. Basic diode characteristics Build the circuit shown in

More information

transformer rectifiers

transformer rectifiers Power supply mini-project This week, we finish up 201 lab with a short mini-project. We will build a bipolar power supply and use it to power a simple amplifier circuit. 1. power supply block diagram Figure

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

Construction of a high-voltage Buck-Boost capacitor charger. Transformer and logic

Construction of a high-voltage Buck-Boost capacitor charger. Transformer and logic Construction of a high-voltage Buck-Boost capacitor charger This paper describes the construction of the circuit described in the paper titled A high-voltage Buck- Boost capacitor charger. As described

More information

Due date: Sunday, November 8 (midnight) Reading: HH sections , (pgs , )

Due date: Sunday, November 8 (midnight) Reading: HH sections , (pgs , ) Logic Gates Due date: Sunday, November 8 (midnight) Reading: HH sections 8.0 8., 8.0 8. (pgs. 7 9, 7 ) The next few labs will deal with digital logic. In practice, you will probably find these circuits

More information

DLVP A OPERATOR S MANUAL

DLVP A OPERATOR S MANUAL DLVP-50-300-3000A OPERATOR S MANUAL DYNALOAD DIVISION 36 NEWBURGH RD. HACKETTSTOWN, NJ 07840 PHONE (908) 850-5088 FAX (908) 908-0679 TABLE OF CONTENTS INTRODUCTION...3 SPECIFICATIONS...5 MODE SELECTOR

More information

CHARGE-COUPLED DEVICE (CCD)

CHARGE-COUPLED DEVICE (CCD) CHARGE-COUPLED DEVICE (CCD) Definition A charge-coupled device (CCD) is an analog shift register, enabling analog signals, usually light, manipulation - for example, conversion into a digital value that

More information

Design Document. Autonomous Tiny Robots. ECE Spring TA: Luke Wendt. Team 64 Timothy Claussen Haoyu Wu Ruiyang Ding

Design Document. Autonomous Tiny Robots. ECE Spring TA: Luke Wendt. Team 64 Timothy Claussen Haoyu Wu Ruiyang Ding 1 Design Document Autonomous Tiny Robots ECE 445 - Spring 2017 TA: Luke Wendt Team 64 Timothy Claussen Haoyu Wu Ruiyang Ding 2 1. Introduction 1.1 Objective Swarm robotics is an emerging field of robotics

More information

Dallastat TM Electronic Digital Rheostat

Dallastat TM Electronic Digital Rheostat DS1668, DS1669, DS1669S Dallastat TM Electronic Digital Rheostat FEATURES Replaces mechanical variable resistors Available as the DS1668 with manual interface or the DS1669 integrated circuit Human engineered

More information

Equipment and materials to be checked out from stockroom: ECE 2210 kit, optional, if available. Analog BK precision multimeter or similar.

Equipment and materials to be checked out from stockroom: ECE 2210 kit, optional, if available. Analog BK precision multimeter or similar. p1 ECE 2210 Capacitors Lab University of Utah Electrical & Computer Engineering Department ECE 2210/2200 Lab 5 Capacitors A. Stolp, 10/4/99 rev 9/23/08 Objectives 1.) Observe charging and discharging of

More information

SPACE WAR GUN KIT MODEL K-10. Assembly and Instruction Manual. Elenco Electronics, Inc.

SPACE WAR GUN KIT MODEL K-10. Assembly and Instruction Manual. Elenco Electronics, Inc. SPACE WAR GUN KIT MODEL K-10 Assembly and Instruction Manual Elenco Electronics, Inc. Copyright 1989 Elenco Electronics, Inc. Revised 2001 REV-H 753210A PARTS LIST Contact Elenco Electronics (address/phone/e-mail

More information

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY Objectives Preparation Tools To see the inner workings of a commercial mechatronic system and to construct a simple manual motor speed controller and current

More information

Single-Phase Grid-Tied Inverter (PWM Rectifier/Inverter)

Single-Phase Grid-Tied Inverter (PWM Rectifier/Inverter) Exercise 2 Single-Phase Grid-Tied Inverter (PWM Rectifier/Inverter) EXERCISE OBJECTIVE When you have completed this exercise, you will be familiar with the singlephase grid-tied inverter. DISCUSSION OUTLINE

More information

Lab #10: Finite State Machine Design

Lab #10: Finite State Machine Design Lab #10: Finite State Machine Design Zack Mattis Lab: 3/2/17 Report: 3/14/17 Partner: Brendan Schuster Purpose In this lab, a finite state machine was designed and fully implemented onto a protoboard utilizing

More information

Design Document. Team 63: Anthony Shvets and Zhe Tang TA: Zipeng Wang ECE 445 Spring 2018

Design Document. Team 63: Anthony Shvets and Zhe Tang TA: Zipeng Wang ECE 445 Spring 2018 Design Document Team 63: Anthony Shvets and Zhe Tang TA: Zipeng Wang ECE 445 Spring 2018 1. Introduction 1.1 Objective Code is everywhere in the world and coding has become an essential skill for not only

More information

ECE 477 Digital Systems Senior Design Project Rev 8/09. Homework 5: Theory of Operation and Hardware Design Narrative

ECE 477 Digital Systems Senior Design Project Rev 8/09. Homework 5: Theory of Operation and Hardware Design Narrative ECE 477 Digital Systems Senior Design Project Rev 8/09 Homework 5: Theory of Operation and Hardware Design Narrative Team Code Name: _ATV Group No. 3 Team Member Completing This Homework: Sebastian Hening

More information

LM13600 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers

LM13600 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers LM13600 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers General Description The LM13600 series consists of two current controlled transconductance amplifiers each with

More information

Bend Sensor Technology Electronic Interface Design Guide

Bend Sensor Technology Electronic Interface Design Guide Technology Electronic Interface Design Guide Copyright 2015 Flexpoint Sensor Systems Page 1 of 15 www.flexpoint.com Contents Page Description.... 3 Voltage Divider... 4 Adjustable Buffers.. 5 LED Display

More information

Chapter 3 : Closed Loop Current Mode DC\DC Boost Converter

Chapter 3 : Closed Loop Current Mode DC\DC Boost Converter Chapter 3 : Closed Loop Current Mode DC\DC Boost Converter 3.1 Introduction DC/DC Converter efficiently converts unregulated DC voltage to a regulated DC voltage with better efficiency and high power density.

More information

RF Antennae Tester Control Circuit EECS 189 A/B Professor Franco De Flaviis

RF Antennae Tester Control Circuit EECS 189 A/B Professor Franco De Flaviis RF Antennae Tester Control Circuit EECS 189 A/B Professor Franco De Flaviis 1 2 Table of Contents Johnny Chen Bobby Singh Thomas Wilson Matthew Yang 1) Introduction.....3-4 2) Design Research 2.1) Serial-to-Parallel

More information

White LED Flash. Andreas Wacker, Texas Instruments

White LED Flash. Andreas Wacker, Texas Instruments White LED Flash Andreas Wacker, Texas Instruments ABSTRACT Today s generation of cellular telephones has included megapixel photographic capabilities. Often, the light available for taking a photograph

More information

TSL260, TSL261, TSL262 IR LIGHT-TO-VOLTAGE OPTICAL SENSORS

TSL260, TSL261, TSL262 IR LIGHT-TO-VOLTAGE OPTICAL SENSORS TSL0, TSL, TSL SOES00A DECEMBER 99 REVISED FEBRUARY 99 Integral Visible Light Cutoff Filter Monolithic Silicon IC Containing Photodiode, Operational Amplifier, and Feedback Components Converts Light Intensity

More information

Class #25: Digital Electronics and Software Python2.7-Based Control and Data Acquisition

Class #25: Digital Electronics and Software Python2.7-Based Control and Data Acquisition Class #25: Digital Electronics and Software Python2.7-Based Control and Data Acquisition Purpose: In this experiment we will learn to use the Python 2.7 Programming Language to provide input signals for

More information

Electronics Design Laboratory Lecture #4. ECEN 2270 Electronics Design Laboratory

Electronics Design Laboratory Lecture #4. ECEN 2270 Electronics Design Laboratory Electronics Design Laboratory Lecture #4 Electronics Design Laboratory 1 Part A Experiment 2 Robot DC Motor Measure DC motor characteristics Develop a Spice circuit model for the DC motor and determine

More information