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.
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.
Website is designed in php language. Ascii based data base was created. Graph can be generated from the previously stored values using php.
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.
#define F_CPU 1000000
* Created: 8/27/2018 4:18:20 PM
* Author : abhay
DDRB = 0xff;
/* Replace with your application code */
PORTB = 0x09;
PORTB = 0x0c;
PORTB = 0x06;
PORTB = 0x03;