Hi everyone ..
I'm using micro-controller for the first time , so can you please help me in this circuit
I'm trying to do the wire loop game with using 'PIC18f4550'
the player will try to guide a metal loop to the end of the curved wire without touching it .
now I have this LCD circuit I will use it to show the welcome and the 'game over' message at the end.
how can I connect my wire and loop to this circuit ?
and what algorithm should I use to make 3 attemps ,, so that whenever the loop touch the wire the buzzer ON and the first LED will glow .. then the second .. and when the 3 LEDs glow the LCD will show the message ' game over'
![wire-loop-game.png wire-loop-game.png](https://www.electro-tech-online.com/data/attachments/54/54344-ff3403bc1aa70f767566739930f363da.jpg)
I'm using micro-controller for the first time , so can you please help me in this circuit
I'm trying to do the wire loop game with using 'PIC18f4550'
the player will try to guide a metal loop to the end of the curved wire without touching it .
now I have this LCD circuit I will use it to show the welcome and the 'game over' message at the end.
how can I connect my wire and loop to this circuit ?
and what algorithm should I use to make 3 attemps ,, so that whenever the loop touch the wire the buzzer ON and the first LED will glow .. then the second .. and when the 3 LEDs glow the LCD will show the message ' game over'
![wire-loop-game.png wire-loop-game.png](https://www.electro-tech-online.com/data/attachments/54/54344-ff3403bc1aa70f767566739930f363da.jpg)