Permalink
Browse files

Added readme and partslist.

Also added a 5 second flash of time logged every 15 minutes.
  • Loading branch information...
1 parent fc40409 commit e0534df78e69c6999377d2de4d72601c932a2c69 @raphaelabrams committed Oct 23, 2011
View
43 eagle/partlist.txt
@@ -0,0 +1,43 @@
+Partlist
+
+BAT1 BATTCON_245MM Keystone Electronics # 3008 RETAINER COIN CELL 24MM SMD
+
+C1 1206 22pf
+C2 1206 22pf
+C3 EIA7343 part# T495C337K004ATE700 tantalum 330uF 4V or equivalent
+C4 EIA7343 part# T495C337K004ATE700 tantalum 330uF 4V or equivalent
+
+CLEAR TACTILE_SWITCH_SMD (something small and out of the way)
+
+D_BAT SMB Shotky diode B140HB-13-F or similar (This one is overkill!)
+D_RESET SMB Shotky diode B140HB-13-F or similar
+
+IC1 PIC16LF1827 SO-18W (make sure to get the smt package)
+
+
+LED2 CHIPLED_1206 led (red is probably best)
+LED3 CHIPLED_1206 led (red is probably best)
+LED4 CHIPLED_1206 led (red is probably best)
+LED5 CHIPLED_1206 led (red is probably best)
+LED6 CHIPLED_1206 led (red is probably best)
+LED7 CHIPLED_1206 led (red is probably best)
+LED8 CHIPLED_1206 led (red is probably best)
+
+POWER REKN switch (watever you can find)
+
+Q1 TC26V crystal 32768 Hz
+
+RN1 CTS 742C083101JP 0603 x4 resistor array resistors are 100 Ohm
+RN2 CTS 742C083101JP 0603 x4 resistor array resistors are 100 Ohm
+
+R_PULLUP 1206 10K
+R_RESET 1206 10K
+R_SENSE 1206 10K
+
+U$1 7SEG_SMTSMT 7-SEG_SMT Kingbright # ACSA03-41SRWA-F01
+U$2 7SEG_SMTSMT 7-SEG_SMT Kingbright # ACSA03-41SRWA-F01
+
+
+
+
+2x Kingbright # ACSA03-41SRWA-F01
View
158 freelance_puncher.X/dist/default/production/freelance_puncher.X.production.hex
@@ -1,86 +1,90 @@
-:040000008031F22831
+:040000008131102911
:10000800803120007F08FC000130F9007908AA0738
:1000180022008C0120008C19122813281E28A60102
:10002800A801FD01AA01A901063022008C00FD30BB
:100038008D001E2820000C1A222823285E28210063
:10004800910120002A08F9007908F0000030823177
-:10005800312280317D08F9007908F00001308231C1
-:100068003122803120002908F9007908F000023097
-:1000780082313122803120002808F9007908F00007
-:10008800033082313122803120002608F9007908B6
-:10009800F0000430823131228031063022008C0099
+:100058004F2280317D08F9007908F00001308231A3
+:100068004F22803120002908F9007908F000023079
+:1000780082314F22803120002808F9007908F000E9
+:10008800033082314F22803120002608F900790898
+:10009800F000043082314F228031063022008C007B
:1000A800FD308D00572820000C1E5B285C2857283F
-:1000B8005E285E283C302A02031C63286428A12895
-:1000C8000130F9007908FD07AA01A9010F307D0266
-:1000D800031C6F28702874280430F9007908A900D7
-:1000E8001E307D02031C79287A287E280630F90004
-:1000F8007908A9002D307D02031C832884288828CC
-:100108000730F9007908A9003C307D02031C8D28CE
-:100118008E28A128FD010130F9007908A80764306C
-:100128002802031C98289928A1280130F900790889
-:10013800A607A801A128A128A1280A30F0000030AC
-:10014800F1002808F900FA017908F2007A08F300AA
-:100158008031F52080317008833E82310A00803179
-:10016800FF3AFB007B082000AB000A30F0000030AB
-:10017800F1002808F900FA017908F2007A08F3007A
-:100188008131612180317008833E82310A008031DB
-:10019800FF3AFB007B082000AD002908F900053074
-:1001A800F935890BD428260809071F397904FF3A3D
-:1001B800FA007A08AC002708031DE328E628013076
-:1001C800A702ED28063022008C00FE308D008C013D
-:1001D800ED28200091107C08FF0009008801823179
-:1001E8008D2AF601F11FF928FA280329F009F109E7
-:1001F800F00A0319F10AF6010314F60D0329F31F97
-:10020800062907291129F209F309F20A0319F30A41
-:100218000130F4007408F6061129F701F801710895
-:1002280070040319182919294F29F5010314F50D2C
-:1002380027290130F035F10D890B1E290130F40012
-:100248007408F5072729F11F2A292B291D292D298B
-:100258002D290130F735F80D890B2E297108730205
-:10026800031D382970087202031C3B293C294229C6
-:100278007008F2027108F33B771442290130F13615
-:10028800F00C890B43290130F502031D4C294D2937
-:100298002D294F294F297608031D53295929F70974
-:1002A800F809F70A0319F80A59297808F101F1073A
-:1002B8007708F001F00760290800F601F31F6529A7
-:1002C80066296F29F209F309F20A0319F30AF601FC
-:1002D8000314F60D6F29F11F722973297929F00982
-:1002E800F109F00A0319F10A792971087004031950
-:1002F8007E297F29AF29F5010314F50D8D290130D9
-:10030800F035F10D890B84290130F4007408F507E4
-:100318008D29F11F902991298329932993297108FF
-:100328007302031D992970087202031C9C299D29D8
-:10033800A2297008F2027108F33BA2290130F136B4
-:10034800F00C890BA3290130F502031DAC29AD2956
-:100358009329AF29AF297608031DB329B929F209D2
-:10036800F309F20A0319F30AB9297308F101F1072D
-:100378007208F001F007C029080021008D01F8304B
-:100388008C0023008C018D0122008C01FF308D0030
-:10039800003082315F2281312000A4002408AA00A5
-:1003A800013082315F2281312000A4002408FD0041
-:1003B800023082315F2281312000A4002408A90084
-:1003C800033082315F2281312000A4002408A80074
-:1003D800043082315F2281312000A4002408A60065
-:1003E800023021009100C0308B007F3020009C003B
-:1003F80007309B000730A4002408A70008008131BB
-:10040800C1218231072A20002708031D0C2A072A48
-:100418002B0822008D0004308C0005302000A50038
-:10042800A50B142A22008C0120002D0822008D0023
-:1004380002308C0005302000A500A50B212A2200DF
-:100448008C0120002C0822008D0001308C008C01CA
-:10045800072A072A072A8031F228F300332A2300C3
-:100468009518372A382A332A392A7308F100F201F5
-:100478007108910072089200700893003F30F100F3
-:1004880071089505200003108B1F4B2A4C2A4D2A12
-:1004980003148B132300151555309600AA309600C7
-:1004A800951415112000031C5A2A5B2A5E2A8B1703
-:1004B8005E2A5E2A08002000A30064002300951825
-:1004C800662A672A612A682A20002308A000A10159
-:1004D80020082300910020002108230092003F30CB
-:1004E8002000A200220823009505151403101518F2
-:1004F80003140030093D1308812A08000034FC3435
-:100508006034DA34F2346634B634BE34E034FE345F
-:0E051800F634AB01AC01AD0120008231032AA4
+:1000B8005E285E283C302A02031C63286428BE2878
+:1000C8000130F9007908FD07AA01A9010F30F000F5
+:1000D8000030F1007D08F900FA017908F2007A0889
+:1000E800F30081317F21803171087004031D7D2860
+:1000F8007E2883280530F90079082000A7000F30F2
+:100108007D02031C882889288E280430F900790884
+:100118002000A9001E307D02031C932894289928EA
+:100128000630F90079082000A9002D307D02031C53
+:100138009E289F28A4280730F90079082000A900E4
+:100148003C307D02031CA928AA28BE28FD010130E5
+:10015800F90079082000A80764302802031CB52894
+:10016800B628BE280130F9007908A607A801BE28DC
+:10017800BE28BE280A30F0000030F1002000280810
+:10018800F900FA017908F2007A08F30081311321A5
+:1001980080317008A13E82310A008031FF3AFB00AD
+:1001A8007B082000AB000A30F0000030F10028087E
+:1001B800F900FA017908F2007A08F30081317F2109
+:1001C80080317008A13E82310A008031FF3AFB007D
+:1001D8007B082000AD002908F9000530F935890BA6
+:1001E800F228260809071F397904FF3AFA007A0825
+:1001F800AC002708031D012904290130A7020B2997
+:10020800063022008C00FE308D008C010B29200066
+:1002180091107C08FF00090088018231AB2AF601A1
+:10022800F11F172918292129F009F109F00A0319E2
+:10023800F10AF6010314F60D2129F31F24292529B3
+:100248002F29F209F309F20A0319F30A0130F4001D
+:100258007408F6062F29F701F801710870040319CC
+:10026800362937296D29F5010314F50D4529013083
+:10027800F035F10D890B3C290130F4007408F507BD
+:100288004529F11F482949293B294B294B29013088
+:10029800F735F80D890B4C2971087302031D56298F
+:1002A80070087202031C59295A2960297008F20241
+:1002B8007108F33B771460290130F136F00C890B93
+:1002C80061290130F502031D6A296B294B296D2923
+:1002D8006D297608031D71297729F709F809F70AA6
+:1002E8000319F80A77297808F101F1077708F0016E
+:1002F800F0077E290800F601F31F832984298D2938
+:10030800F209F309F20A0319F30AF6010314F60DC8
+:100318008D29F11F902991299729F009F109F00AEF
+:100328000319F10A97297108700403199C299D295A
+:10033800CD29F5010314F50DAB290130F035F10D88
+:10034800890BA2290130F4007408F507AB29F11FC5
+:10035800AE29AF29A129B129B12971087302031D5A
+:10036800B72970087202031CBA29BB29C029700872
+:10037800F2027108F33BC0290130F136F00C890B09
+:10038800C1290130F502031DCA29CB29B129CD297C
+:10039800CD297608031DD129D729F209F309F20AD4
+:1003A8000319F30AD7297308F101F1077208F0015C
+:1003B800F007DE29080021008D01F8308C002300A9
+:1003C8008C018D0122008C01FF308D0000308231BC
+:1003D8007D2281312000A4002408AA000130823146
+:1003E8007D2281312000A4002408FD0002308231E2
+:1003F8007D2281312000A4002408A9000330823125
+:100408007D2281312000A4002408A8000430823114
+:100418007D2281312000A4002408A600023021009A
+:100428009100C0308B007F3020009C0007309B007B
+:100438000730A4002408A70008008131DF21823199
+:10044800252A20002708031D2A2A252A2B082200EE
+:100458008D0004308C0005302000A500A50B322A41
+:1004680022008C0120002D0822008D0002308C0013
+:1004780005302000A500A50B3F2A22008C01200092
+:100488002C0822008D0001308C008C01252A252A99
+:10049800252A81311029F300512A23009518552A5D
+:1004A800562A512A572A7308F100F201710891005F
+:1004B80072089200700893003F30F10071089505AA
+:1004C800200003108B1F692A6A2A6B2A03148B13D6
+:1004D8002300151555309600AA309600951415116D
+:1004E8002000031C782A792A7C2A8B177C2A7C2AEC
+:1004F80008002000A300640023009518842A852A98
+:100508007F2A862A20002308A000A10120082300B2
+:10051800910020002108230092003F302000A20013
+:10052800220823009505151403101518031400302C
+:10053800093D13089F2A08000034FC346034DA347B
+:10054800F2346634B634BE34E034FE34F634AB01EB
+:0A055800AC01AD0120008231212A20
:020000040001F9
:04000E00E0DFFFDE52
:00000001FF
View
3 freelance_puncher.X/nbproject/private/private.xml
@@ -1,7 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
- <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">
- <file>file:/home/raphael/eeprojects/freelance_puncher/freelance_puncher.X/puncher.c</file>
- </open-files>
</project-private>
View
1 freelance_puncher.X/puncher.c
@@ -96,6 +96,7 @@ void interrupt isr(void){
minutes++;
seconds = 0;
quarters = 0;
+ if(minutes%15 == 0){displayenable=5;} //show time every 15 minutes
if(minutes >= 15){quarters = 4;}
if(minutes >= 30){quarters = 6;}
if(minutes >= 45){quarters = 7;}
View
23 readme.txt
@@ -0,0 +1,23 @@
+Ha ha!
+I suck at readme files.
+
+
+
+The Freelance Puncher! It's a device that keeps time while it's on, and saves to eeprom when turnd off. There are two 7-segment led displays for hours, and a bank of discreet leds. The bank of three on the bottom is for quarter hours, and the bank of four above is for hundreds of hours. I hope you bill your client before you reach 499 hours!
+
+The interface consists of two buttons: One to clear the timer back to zero, and the other to switch power on/off and show the display.
+
+When powered down, time counting stops completely. Thanks to the large capacitors on the power supply, the PIC has just enough time to write all values to eeprom before power is completely gone. By only writing to eeprom then, the total number of eeprom writes is greatly reduced.
+
+Your total time logged is only displayed on powerup for about 7 seconds. If you want to see your time, just power down then back up. During normal run time the decimal points on the numerals will blink dimly every second.
+
+
+Notes:
+
+Beerware is a little low rent for me. This is Scotchware.
+Clients! FFS, freelancers should get paid promptly and with minimal fuss.
+The Bjork song "Virus" plays at exactly 60bpm.
+I used a Sherline mill with a .02" end mill bit to cut out a prototype. Filling in all the vias was a serious pain!
+
+
+

0 comments on commit e0534df

Please sign in to comment.