C14 MICROCONTROLLER circuit (steady hand game) - Page 1
Forum section: electronics / general

author: sul@k
author_rank: Newbie
timestamp: December 31, 2016, 03:51:46 pm
content: Can anyone please help me to develop this Genie C14 microcontroller circuit?This is because when I ''hold'' the push to make, the sequence of 5 LEDs glow one after the other until the final red LED is on and when I release the push to make switch ,the whole circuit is disconnected and so the outputs LED/buzzer turn off instantly. I DON'T want this to happen!But I need this circuit to function as a STEADY HAND GAME. Therefore, each LED should turn on one at a time when the push to make switch is ''quickly pressed''.If the push to make switch is pressed 5 times, then the next LED in the sequence glows individually, causing the last LED to glow(red).Also, any LED in the sequence should stay on for a number of seconds even if the push to make switch is released, depending on my chosen time delay.When the 5th LED(red) is on, the transistor should amplify current/voltage so that the buzzer pulses continuously. At this stage, all LEDs must flash alongisde the buzzer.If possible, please can you draw the new GENIE 14 circuit as this make it easier for me to understand it, but if you cannot do this, you can type about how I should change it so that it works the way I want it to?Thanks for this help.I really need it!

author: stj
author_rank: Super Contributor
timestamp: January 01, 2017, 02:21:50 am
content: i dont really know what your after, but if you want a counter that advances through 5 leds and then the buzzer with a seperate reset input, use a 4017 cmos decimal counter i.c.

author: rrinker
author_rank: Super Contributor
timestamp: January 01, 2017, 09:54:26 pm
content: I don't quite get what you are trying to say either, but the pushbutton switch appears to actually turn the power to the whole circuit on and off. If the object is to hold the button while the LEDs light up in sequence and attempt to let go of the switch ideally when the last LED lights but before it spills over and the buzzer sounds, you need to make the control button an input on the micro, not power the whole thing, power needs to be maintained. You would want a timing loop that counts only if the button is pressed, and after so many seconds lights the second LED, then the third, and so forth. And stops counting when the button is released.But really, as stj said, this is fairly easy to implement with a counter and a flip flop for a clock with some simple 4000 series components. That is if we both have the object of this game right - hold down the button as long as you dare without allowing the buzzer to sound.

author: FreddyVictor
author_rank: Regular Contributor
timestamp: January 02, 2017, 12:04:49 pm
content: Quote from: sul@k on December 31, 2016, 03:51:46 pmI think you need to change the circuit a bitCurrently SW2 (the push-to-make switch) is the main power switch but this needs to be changed to a normal on/off type (slide or toggle)Then you need to reuse what was SW2 switch as the user input switch. It needs to be connected as a pull-up (or pull-down, doesn't matter other than the code will be slightly different) and connected to IC6 chip (chose one of the digital inputs)The code in the IC6 then needs to be modded to check this switch input and recognize the different presses - how to identify different presses is down to your codingCan't say I've come across Genie chip before !

author: Ian.M
author_rank: Super Contributor
timestamp: January 02, 2017, 01:01:52 pm
content: It looks like Genie target the educational market and do a range of custom programmed Microchip PICs running BASIC. The O.P's idea of resetting the circuit by shorting the regulator output is crazy. Enable Reset on pn 4 and connect it as shown on page 2 of the Genie 14 datasheet (4K7 pullup, switch to ground).