Design circuit diagram of DICM system by using ISIS 7 Professional

Making the circuit diagram is important to know the combination of various components that are used in this DICM system by using ISIS 7 Professional software. This is first step before making the real or hardware of this DICM system.  By using ISIS 7 Professional software, it is easy to design the circuit and the components that are used in this DICM system. The main components for this DICM system are IR sensor, Atmega 328, Solenoid motor, DC gear motor and buzzer. The design of this Dicm system is shown in the figure below. 


By doing this this circuit diagram, we know the components that are used and the value of the components before interface with programming language.   

Project sketching

Hardware and development contains on how the project or this DICM system looks like. It is important to design the suitable hardware for the project and the mechanical design is a part of this hardware development. Generally mechanical design is one of the major phases in the development of integrated crops management system. The skeleton of this system is designed and constructed in this phase. Few sketches have developed and one of the best had been chosen. The purpose of the skeleton is to provide a place to mount the electronics components and shows how this system moves on the rod of iron. Figure below shows the sketch design of DICM system. 



Sensor pin selection

As we know the comparison between microprocessor and the pin mapping have explained before this, the selection types of pin is important to ensure that unexpected things happens during the construction of DICM system. In the Atmega 328 microprocessor, there have two types of pin which are analog or digital. The analog  pin will detect at any types of voltage from 0-5V either 0V, 0.1V, 3.2V, 4.5V or 5V. The digital pin will detect fix value of voltage which are 0V or 5V only. Figure below shows the sensor information. 

Figure: IR distance sensor


For IR distance sensor, the analog pin was chosen as input pin. Figure bellow will explain the distance of the sensor to detect an object in front of this sensor.
By using analog pin as a input, this analog pins can detect at any changes of voltage from 0V until 5V. For example if the distance between this sensor and the object is 2ms, the output voltage that has produce around 1.2V and another example when the distance is 1ms, the output voltage that was produce around 1.7V. This analog pin is suitable for this DICM system because this IR distance sensor can detect at any range of distance between the crops and sensor to give the fertilizer or pesticide to the crops.  

Learn about Atmega 328 pin mapping

As we know, this Development of Integrated Crops Management System (DICM system) is using Atmega 328 as the microprocessor for this system. Why we choose this Atmega 328 as microprocessor in this DICM system compare to other microprocessor such as PIC16F873?. The comparison between Atmega 328 and PIC16F873 are shown in the table bellow. 


Comparison between Atmega 328 and PIC16F873


                                               Atmega 328                               PIC16F873
                                                * 28 pins                                     * 28 pins
                                                * 8 bit processor                         * 8 bit processor 
                                                * 10 bit ADC                              * 8 bit ADC
                                                * Resolution                                * Resolution
                                                      : 5 / 210                                                    :5 / 28
                                                                        : 4.88mV                                     : 19.53mV

*From comparison between both microprocessor, Atmega 328 was chosen. It is because this microprocessor can detect any small range of changes with resolution 4.88mV. By using PIC16F873 microprocessor, it will detect at the changes around 19.53mV only compare with Atmega 328 which is 4.88mV.  Figure bellow shows the Atmega 328 pin mapping. 



From the figure above, the Atmega 328 microprocessor have 28 pins, 5 volt and ground pins (basic), 6 analog pins and 14 digital pins. The selection of input and out pins will find out to make this DICM system.