Week 7. Embedded Programming.

This week I work with Arduino Uno. At first I set the program Arduino 1.6.5. The interface of the program is rather friendly.

I decided to write code for step-drivers for my final project.

Program motor control via a driver L298


Connected through ports corresponding numbers to the board with the driver L298

L298 Dual H-Bridge Motor Driver Integrated Circuit. The circuit will allow you to easily and independently control two motors of up to 2A each in both directions. It is ideal for robotic applications and well suited for connection to a microcontroller requiring just a couple of control lines per motor. It can also be interfaced with simple manual switches. The circuit incorporates 4 direction LEDs (2 per motor), a heat sink, screw-terminals, as well as eight Schottky EMF-protection diodes. Two high-power current sense resistors are also incorporated which allow monitoring of the current drawn on each motor through your microcontroller. An on-board user-accessible 5V regulator is also incorporated which can also be used to supply any additional circuits requiring a regulated 5V DC supply of up to about 1A.



Week 7. Embedded Programming. Additions

For programming my my own circuit board I use Attiny 2313A-SU. data sheets