2 axis stepper motor control

This two axis stepper motor control system uses attiny2313 microcontroller. And it utilities the l298 dual h bridge power ic in multiwatt 15 package. The code is easy to write. Dual power supply for the microcontroller and l298 allows for increased isolation. The circuit must use a transformer for the proper galvanic isolation. This is a crude circuit as it needs some filter capacitors to reduce the voltage and current spikes.  

Industrial Automation Using Internet of Things

The system will automatically monitor the industrial applications and generate alerts/alarms or take intelligent decisions using concept of IOT. The monitoring and controlling of the industrial automation is done through atmega32 microcontroller. The communication through the internet is done with the help of ESP8266 module. All the sensor data is collected and sent to the web server which processes and analyzes the data and sends a controlling response to the device for control action. The device receives the response and decodes the response message and control the stepper motor. Automation through IoT can help to get rid of the short distance communication.

Project Image
Project Image

Website is designed in php language. Ascii based data base was created. Graph can be generated from the previously stored values using php.

One Axis Stepper Motor Control

I was thinking of building a CNC machine. But because of lack of fund i can only design. This crude design does the job. 

There is a high heat dissipation from both the voltage regulators. So a big heat sink must be used. Otherwise there is a high probability of thermal runaway.

Test Code

#define F_CPU 1000000
/*
* GccApplication1.c
*
* Created: 8/27/2018 4:18:20 PM
* Author : abhay
*/
#include <avr/io.h>
#include <util/delay.h>
int main(void)
{
DDRB = 0xff;
/* Replace with your application code */
while (1)
{
PORTB = 0x09;
_delay_ms(1000);
PORTB = 0x0c;
_delay_ms(1000);
PORTB = 0x06;
_delay_ms(1000);
PORTB = 0x03;
_delay_ms(1000);
}
}