week_11

Output Devices

Assignments


Propose a final project masterpiece that integrates the range of units covered, answering:


Stepping Motor


At first, I used the Arudino UNO to control the stepping motor to practice the output drivers. Connection line as shown:

...


The pin 8 in UNO board connection the IN1 in ULN2003, the pin 9 in UNO board connection the IN2 ULN2003, the pin 10 in UNO board connection the IN3 ULN2003, the pin 11 in UNO board connection the IN4 ULN2003. Then I programed in the Ardino.


Hello.RGB.45


Schematic Diagram

This week we’re exploring output devices. So, this week the first I decided to put an RGB LED output devices. To create the schematics, I needed the list of components that I needed for the board. Once I secured the components needed, I could easily choose the correct component from the fab.lib in Eagle to create the schematic. The components I needed were:

I started by entering Eagle and worked through the schematic. It was much faster as I was more comfortable creating labels, wires and using the Fab Library. I quickly populated the board based upon the RGB files on the Fab Academy page. I was confident I had created the and labelled everything correctly. It was time to consult the drawings to make sure it was populated correctly. I felt confident it was correct.

...


...


Then I proceeded to convert the schematic to a board file. So, the next phase was to place all the above-mentioned components on the board. I consulted Neil's board to see how he populated his board and tried to line mine up in a similar fashion. I moved over to board view and started dragging the components over and placing them. The RGB Led board is fairly straightforward in its layout. It was a simple task to drag it over.

...


PCB Production

This week I did some small mistake, so it took me a lot of times. The first time I laid out the plates and processed them, I found that some parts were not cut in place.

...


...


After that, line correction was carried out through GIMP, as shown in the following figure.

...


...


When welding to the RGB lamp, I found that the order of the RGB pins I purchased was different from that in the fablab module, which was rotated 90 degrees clockwise. RGB LED VCC pin in my board is pin A. But the RGB LED has the wrong aspect ratio

...


...


I used GIMP to modify my PCB board. I increased the area of the RGB part.

...


...


Then I soldered the necessary components on my board.

...


Programming

I used the USBtiny board to program my board and I used the Arudino UNO to provide the power of 5V. I used Neil's c code and made file to program the board and saved them in a specific directory inside the Desktop. I opened Git Bash and went inside the directory where the c code and the make file where located. Then, I ran the following commands:

make -f hello.RGB.45. make program-usbatiny

...


The RGB show

...

File Download


Hello.World.RGB.45

Stepping_Motor

contact Me


Address: No.10, Kehua street, Wuhou District, Chengdu, Sichuan Province, China
TEL: (028) 85406538 (+86)18981085882
E-mail: linzihao@scuspark.com
QQ: 386866966