Published:2011/3/22 22:45:00 Author:Joan | Keyword: Infrared micro-computer , automatic pump fluid, Infrared pump fluid | From:SeekIC
The circuit controls circuitry of each unit to save energy in hardware design, and uses PIC MCU sleep, WDT wake-up features and control of the number of transmit pulse to further reduce energy consumption in software design, which make the standby current less than 100μA, 4 section 4 alkaline batteries can provide more than 15 000 times or more than 200 days use time. The program flow is shown below.
The program first initializes each port on the microcontroller, and sets the watchdog timeout time. After a cycle of work procedures, it automatically enters in sleep mode, and will be woke-up by the microcontroller watchdog overflow into the next cycle.before entering into a working cycle, it first determines whether the battery power is the first on and works, or is woke up for microcontroller watchdog overflow.If the battery power is the first on and works, the light gives instruction and set the amount of pump fluid.When entering into the work cycle, it needs to determine whether the button is pressed. If the button is pressed, it needs to determine a manual pump fluid or suspend its work. Both of which is determined by that the time of the key being pressed is long or short.
Infrared transceiver program plays a key role in improving the interference resistance of pump fluid and reducing the energy consumption of the pump dispenser. Select a firing pulse frequency which is not sensitive to external interference light by experiments. To minimize energy consumption, the program set the number and method of the firing pulse. It starts two test pulses. When the pulses is received, it issues 60 consecutive pulses of the selected frequency, then determine whether the number of pulses received by the receiver is within the allowable range. It will pump fluid if the number is within the range, or will enter sleep mode if the number is not within the range. When the recipient does not receive test pulses, it will directly enter into sleep mode. Everytime the pump dispenser works, it checks the battery voltage. if it founds the battery is low voltage, it will alarm to replace the battery by the indicator.
System Features
Compared to the similar products, the infrared sensor pump dispenser has the following advantages:Compact, precision IC design. Low cost, low power consumption.4 section 4 alkaline batteries can provide more than 15 000 times or more than 200 days use time.High anti-interference ability, and correct operation. With removable magnetic valve, no leakage, easy to clean;Use high technology of paste, convenient and practical, without punching fixed. Plug and play technology of bottle liquid, fluid infusion without irrigation, eliminate the secondary pollution of the liquid.
Reprinted Url Of This Article:
http://www.seekic.com/circuit_diagram/Computer-Related_Circuit/Infrared_micro_computer_automatic_pump_fluid_software_designed_circuit.html
Print this Page | Comments | Reading(3)
Code: