Generated 200khz square wave with 50% duty cycle on atmega32.
Code is written in assemble language.
// Created: 9/7/2018 8:24:31 AM
// Author : abhay
BEGIN: RCALL DELAY
// OUT OCR0,128
In this fft, it can be clearly seen that the 200khz pulse is represented by a high but we can also see the harmonic of the pulse.
This development is very basic. It provides the GPIO in the form of header. As i will be using this board for rapid development and learning different coding practices.
I designed this board in KiCad – a open source l tool. From schematics and PCB layout is designed in this software suite.
Here are the schematics and PCB layout.
As i don’t have a laser printer i used the free hand sketching of traces. It is a very long and tedious process. After tracing with permanent marker and letting it dry it for few minutes. I etched this PCB in ferric chloride solution. I use very diluted solution, few grams of ferric chloride in around 200 ml water.
Total Etching time is around 40 minutes, After the board has been etched it needs to be cleaned thoroughly. I used utensil cleaning powder for that. And rinsed the board under water. And then let it air dry for few minutes.
The development is created. But there are few issues that came while testing the board. When i tested the board the chip does not responds. While checking for shorts or no connection on the PCB. I found that capacitor is not blocking the alternating signal. rather it is showing a short. So i had to change the 22pf capacitor with a new one and the board now works perfectly fine.
Scan the LDR reading with the help of atmega32 adc pins. Send the captured data to a computer using ftdi, bluetooth ,wifi or zigbee. Run any free math processing tool and make a image. Increasing the Number of ldr increases the resolution of the image.
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.