I. C. on 24/09/2009 18:15Hi,
I would need more details to enable me to quote on a project that is well within my capabilities:
1. Other than a button press and LEDs, are there any other input or output signals?
2. I'm sure I won't be the only one thinking... What on earth is a "pull"?
Thanks
M. C. on 24/09/2009 18:19 The chip PIC12F683 has 8 pins 1 live, 1 ground, 1 for right trigger, 1 for left trigger, 1 for sync button,3 pins to LED's top right,bottom left,bottom right
it goes number 1 is from the bottom of the chip
4 led UR 8 live 5v
3 led LL 7 sync
2 led LR 6 right trigger
1 ground 5 left trigger
The program should have 6 modes which can be changed through by pressing the sync mode button this flashing which mode it is in on the top right led - mode 5 = 5 flashes . Modes 1-4 should be contious fire at the set rate per second until trigger is depressed. Mode 5 and 6 should be amount of presses then stop after set amount of presses until trigger(triggers) are released , 1 shot every 10th of a second. Using the same led flashes as previous mode's for selecting right trigger or both triggers and current setting.
The Base setting from you should always be 1 press in any of the mode's, Ready to be adjusted.
Each mode should be ajustable for amount of presses per second by pressing sync button and right trigger button at the same time for 3 seconds then all 3 leds flash 2 times to confirm editing mode.
Then It requires the right or left trigger to be pressed to signify which trigger will be active If the right trigger+sync is pressed then only the right trigger will become programmed for that mode the left will remain as 1 press = 1 press until button is released. If the left trigger+sync both triggers will be active in that mode. Then the Upper right led will flash once for right trigger active,twice for both triggers active.
Now the mode selected will flash how many presses per second that mode is currently set to by showing how many presses per second it is set to. Lower left is 10s flash first then, Lower right is 1s. So for 25 it would flash left 2 right 5, Then it will flash top right led once or twice to tell you which mode you selected right trigger or both.
Then editing it is ready to edit pressed per second.
Setting the speed the right(UP) trigger or left(Down) trigger creating a single flash LED top right. Once the amount of presses has been set by pressing to desired amount then leaving a 5 second wait. Then it will show how many presses per second it is set to. Lower left is 10's flash first then, Lower right is 1's. So for 25 it would flash lower left 2 lower right 5. After the flashing for presses per second has completed it will flash all 3 leds 5 times to signify programmed. Then it will be on the mode that was just edited and ready to be used.
The Adjustments made must be stored and not lost if the power source is disconnected.
The triggers must receive the signal knowing they have been pressed and start the presses per second set on that mode. While also waiting to receive a signal that the trigger has been released to stop the presses per second or as mode 5 and 6 presses total.
Think that covers everything Let me know what you think.