Hardware in the debugging process, most of the hardware working principle is done on the microcontroller board. Because the development board integrates most of the commonly used modules of the microcontroller, when enabled, the module can be called into the microcontroller system by simply connecting or plugging in the corresponding short-circuit cap.<br>The preliminary software program only realizes the control of the single-chip system on the timing module, realizes the display of LCD1602 clock, gradually improves the function of the program, gradually adds the key input function and the dispensing function of the drug dose, adds the function of time timing and dosage recording after completion, then adds the timed display reminder function, and finally completes the alarm alarm function of the buzzer.<br>The verification process of system hardware can be divided into the following stages with the improvement of system software:<br>1, connect LCD1602 module to the smallest microcontroller system, burning program, verify the display function of LCD1602, and with the modification of the software, LCD1602 finally normal display.<br>2, connect the keyboard to the system, with the continuous improvement of the software. Step through the 8 keys.<br>3, connect the voice light-emitting diode to the system, and instead of the buzzer to verify the timing and alarm function.<br>4, connect SIM800 to the system, and add the corresponding drivers in the system to verify the system's sound alarm function.
正在翻译中..