Week 10 Assignment:Output Devices



So this week, we are intented to add an output device to the microcontroller in the board which we have designed and to programme it to do something. For this week’s assignment I thought of adding DC motor as my output since it is needed for the final project in which the pump is needed to rotate. For that I used ATTiny44.

Designing the board

Here I thought of recreating hello.H-bridge board to run the DC motor which is avalable in our lab. By using this H-Bridge, we can acyually control the current in the motor and hence the direction of rotation. Here input voltage that used is 5V.

Components needed

Making the Board

Finally my board is ok.

Programming

Now my board didnt work. What happened is that, I've made a mistake in the circuit that connection for LED was given in series rather than in parellel.So a short to get output. Now the motor begins to work. Here I tested with a delay in the programme.

Download the Program file delay.c

design files here

design files here

Go back HOME