Assignments 10

Output Devices

 

For this assignments I will orient myself from the board of my instructor, of which I will focus on the programming of two DC motors.

1

First design the board in the Eagle software, mainly considering the A4953.

2

 

Then I visualize the schematic and board.

3

 

Then I open the SUDO FAB terminal, and the board is inserted into the system to be milled.

8

4

This is a board for 2 DC.

5

Then I perform my BOM of the components involved in the board.

6

 

7

 

Soldering is carried out with cautin

8

13

15

 

Then according to the data sheet of the plate, the pins are connected, just like the source that in this case would be a battery of 5v

10

 

11

For programming in Arduino, it is important to indicate that on one pin high signal is sent on the other it is mandatory in Low to merit the rotation of the motor and vice versa.

16

17

 

Click here for watch the video

4566

 

Click here for Download the files of BOARD AND ARDUINO

4556

 

 

Improving my assignment.

To improve my assignment, I manufacture a Board that has in its design a controller (ATMEGA) two Bridges H for DC motors, a Temperature sensor, and a Light sensor.
This board was designed in order to be able to use it as a mini robot that would have many functions.
The idea is to be able to use it as a roboto that is didactic for the user, so that the robot allows to move during the darkness and when the light comes on it stops.
Then to achieve these functions the plate will be divided into three parts:
- The first part:

Embedded Programming (in this Assignment upload the files and showned the codes of programming of the controller, Budloader)

will be the manufacture of the plate in general and the programming of the controller as task of this assignment.
- THE SECOND PART: Output Devices

(IN THIS ASSIGNMENT : I upload the files and showned the codes of the programming the Output devices as H-bridge ).

will be the programming of the two H-bridge with DC motors, which will be Outputs, this will be documented in the week of the Output assignment.
- The third part :Input Devices

will be programming the temperature and light sensors as assignment task of INPUT. This will be documented in that week.

 

In this assignment, as noted above, the Embedded programming board will be used since it has H-BRIDGES for DC motors.

aa

 

as

 

aaa

As I said previously, the board was designed and milled on a PCB.

azx

 

 

aaa

 

azx

 

azx

 

As you can see, this is the plate, which has on the left side of. Image the 2 H-BRIDGES to control the DC motors through the ATMEGA328.

qw

 

Programming with my ISP.

qwert

Finally, the BOARD is programmed in ARDUINO. For this it is indicated in the code that when a signal arrives in an "X" PIN that can be analog or digital the pins of the h-Bridges emit a signal HIGH; Move the engines, achieved the movement of the cart.
This condition to emit the signal will be changed in the ASSIGNMENT OF INPUT DEVICES, as it will complement the BOARD, with a Phototransistor sensor and a Thermistor.

aa

 

we

 

CLICK HERE FOR DOWNLOAD THE BOARD FILES

ass

 

CLICK HERE FOR DOWNLOAD THE PROGRAMMING FILES.

aa