Introduction: Self-setting Digital Plate Counter Based on ICStation ATMEGA2560
ICStation Team introduce you this Self-setting Digital Plate Counter with ICStation ATMEGA2560. The digital plate counter works under DC5V. This system makes use of the infrared correlation sensor to collect information of the times that the object passed. The information will display on the 4bit Digital Tube after being analyzed and handled by ICStation Mega. The system can record the times that the object has passed the sensor. What’s more, it has the function of pausing and resetting.
Code for reference:
Step 1: Function
1) When the starting-up system initializes, the infrared correlation sensor stays in an inactive state, while the system is in a suspensive state.
2) Press key 1 to turn on the infrared correlation sensor, the system begins to work at this time that it records the times that object passes the inducing field of the sensor.(Press key 1 again to paause recording.)
3) Press key 2 to reset number that has been recorded.
Step 2: Material List
7. 1 x +5VDC power supply
Step 3: Schematic Diagram
Step 4: Lead to the Power Supply Line and GND
Step 5: The Connection of the 4bit Digetal Tube
Step 6: The Connection of Keys
Plug the keys into icstation board. (Connect key 1 to pin A0, key 2 to pin A1)
Step 7: the Connection of Infrared Correlation Sensor Module
Connect infrared correlation sensor module VCC to icstation board +5V, GND to icstation board pin 11,
OUT to pin 12.