Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

technology workshop craft home food play outside costumes

Digital Object Counter using LDR interfacing with Mediatek LinkIt One
by ParthP23 on December 10, 2015

Table of Contents

Digital Object Counter using LDR interfacing with Mediatek LinkIt One . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Intro: Digital Object Counter using LDR interfacing with Mediatek LinkIt One . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 1: Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 2: Assembly and Connections For Digital Object Counter: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Step 3: Connection Of LDR with LinkIt One . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Step 4: Upload The Code,Compile And Run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

http://www.instructables.com/id/Digital-Object-Counter-Using-LDR-Interfacing-With-/
Intro: Digital Object Counter using LDR interfacing with Mediatek LinkIt One
In this Instructable,You will be able To Interface Mediatek Linkit One Board using LDR and Digital Object Counter which Can Count Objects upto 9999.

Step 1: Requirements
General Purpose PCB Board
4 CD 4026 Johnson Decade Counter.
4 Common Cathode 7 Segment Display (LT543).
1 BC 547 NPN Transistor.
1 10k? Potentiometer , 1 1K? Resistor(0.5 W) ,2 100? Resistor(0.5W).
LDR (Light Dependent Resistor)
LinkIt One Board.
USB Cable for LinkIt One .
9V Battery
Push To On Switch.
Jumper Wires.
1 Rectangle Box.

http://www.instructables.com/id/Digital-Object-Counter-Using-LDR-Interfacing-With-/
Step 2: Assembly and Connections For Digital Object Counter:
Take a General Purpose PCB Board and assemble the circuit of digital object Counter using the above circuit diagram Except the LDR.
Solder The Components Or else U can also Etch The above Circuit using Eagle.
Your Digital Object Counter Is Ready
Now Interfacing LDR with LinkIt One To Get Analog Values on Serial Monitor And Use This Analog Value which Is Explained In The Next Step.

http://www.instructables.com/id/Digital-Object-Counter-Using-LDR-Interfacing-With-/
Step 3: Connection Of LDR with LinkIt One
Now Connect one teminal of LDR To Analog Pin (A0) of LinkitOne Board and The other terminal To +5V of The Board.
Thus, Analog Values From The LDR is Obtained From the Serial Monitor Of Arduino IDE.
When LDR is In Dark You will Get One Constant analog Value and When it is In Light U will get Another Constant Analog value.
Now,Connect One Pin Of LDR to The Ground Terminal Of The Counter Circuit and Pin 13 Of Linkit One Goes To The Base Terminal Of NPN Transistor.
Digital Output of Pin 13 is used as a Clock Pulse to The Digital Object Counter.
When Light Falls On The LDR and as soon an Obstacle passes by the Counter Advances By 1.
Congratulations, Your Digital Object Counter Interfacing LDR with LinkIt One board is Ready.

Step 4: Upload The Code,Compile And Run


Thanks for Watching this Instructable.

Hope you will have fun!!!

http://www.instructables.com/id/Digital-Object-Counter-Using-LDR-Interfacing-With-/
File Downloads

linkit.ino (1021 bytes)


[NOTE: When saving, if you see .tmp as the file ext, rename it to 'linkit.ino']

Related Instructables

Servo Control MediaTek LinkIt LinkIt One - Linkit One IoT: LinkIt One Secret Silent
using the LinkIt One - Build a Shift Register connected to Texting Door SMS Alarm by
One by PipBoy Part 1: by ThisIsSteve Thingspeak by Alarm by jckelley jckelley
Jonathan0903 Intro and set up chalei
by K.Crankshaw

Advertisements

Comments
1 comments Add Comment

DIY Hacks and How Tos says: Dec 10, 2015. 9:12 AM REPLY
Nice tracking system

http://www.instructables.com/id/Digital-Object-Counter-Using-LDR-Interfacing-With-/

You might also like