Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added readme and partslist.

Also added a 5 second flash of time logged every 15 minutes.
  • Loading branch information...
commit e0534df78e69c6999377d2de4d72601c932a2c69 1 parent fc40409
Raphael Abrams authored October 23, 2011
43  eagle/partlist.txt
... ...
@@ -0,0 +1,43 @@
  1
+Partlist
  2
+
  3
+BAT1                    BATTCON_245MM      Keystone Electronics # 3008 RETAINER COIN CELL 24MM SMD     
  4
+
  5
+C1                      1206               22pf      
  6
+C2                      1206               22pf      
  7
+C3                      EIA7343     part# T495C337K004ATE700  tantalum 330uF 4V or equivalent
  8
+C4                      EIA7343     part# T495C337K004ATE700  tantalum 330uF 4V or equivalent
  9
+
  10
+CLEAR                   TACTILE_SWITCH_SMD (something small and out of the way)
  11
+
  12
+D_BAT                   SMB                Shotky diode B140HB-13-F or similar (This one is overkill!) 
  13
+D_RESET                 SMB                Shotky diode B140HB-13-F or similar
  14
+
  15
+IC1      PIC16LF1827    SO-18W  (make sure to get the smt package)             
  16
+
  17
+
  18
+LED2                    CHIPLED_1206       led  (red is probably best)
  19
+LED3                    CHIPLED_1206       led  (red is probably best)
  20
+LED4                    CHIPLED_1206       led  (red is probably best)
  21
+LED5                    CHIPLED_1206       led  (red is probably best)
  22
+LED6                    CHIPLED_1206       led  (red is probably best)
  23
+LED7                    CHIPLED_1206       led  (red is probably best)
  24
+LED8                    CHIPLED_1206       led  (red is probably best)
  25
+
  26
+POWER                   REKN               switch  (watever you can find)
  27
+
  28
+Q1                      TC26V              crystal 32768 Hz
  29
+
  30
+RN1      CTS 742C083101JP 0603 x4 resistor array         resistors are 100 Ohm
  31
+RN2      CTS 742C083101JP 0603 x4 resistor array         resistors are 100 Ohm
  32
+
  33
+R_PULLUP                1206              10K
  34
+R_RESET                 1206              10K
  35
+R_SENSE                 1206              10K
  36
+
  37
+U$1      7SEG_SMTSMT    7-SEG_SMT          Kingbright   # ACSA03-41SRWA-F01  
  38
+U$2      7SEG_SMTSMT    7-SEG_SMT          Kingbright   # ACSA03-41SRWA-F01  
  39
+
  40
+
  41
+
  42
+
  43
+2x   Kingbright   # ACSA03-41SRWA-F01  
158  freelance_puncher.X/dist/default/production/freelance_puncher.X.production.hex
... ...
@@ -1,86 +1,90 @@
1  
-:040000008031F22831
  1
+:040000008131102911
2 2
 :10000800803120007F08FC000130F9007908AA0738
3 3
 :1000180022008C0120008C19122813281E28A60102
4 4
 :10002800A801FD01AA01A901063022008C00FD30BB
5 5
 :100038008D001E2820000C1A222823285E28210063
6 6
 :10004800910120002A08F9007908F0000030823177
7  
-:10005800312280317D08F9007908F00001308231C1
8  
-:100068003122803120002908F9007908F000023097
9  
-:1000780082313122803120002808F9007908F00007
10  
-:10008800033082313122803120002608F9007908B6
11  
-:10009800F0000430823131228031063022008C0099
  7
+:100058004F2280317D08F9007908F00001308231A3
  8
+:100068004F22803120002908F9007908F000023079
  9
+:1000780082314F22803120002808F9007908F000E9
  10
+:10008800033082314F22803120002608F900790898
  11
+:10009800F000043082314F228031063022008C007B
12 12
 :1000A800FD308D00572820000C1E5B285C2857283F
13  
-:1000B8005E285E283C302A02031C63286428A12895
14  
-:1000C8000130F9007908FD07AA01A9010F307D0266
15  
-:1000D800031C6F28702874280430F9007908A900D7
16  
-:1000E8001E307D02031C79287A287E280630F90004
17  
-:1000F8007908A9002D307D02031C832884288828CC
18  
-:100108000730F9007908A9003C307D02031C8D28CE
19  
-:100118008E28A128FD010130F9007908A80764306C
20  
-:100128002802031C98289928A1280130F900790889
21  
-:10013800A607A801A128A128A1280A30F0000030AC
22  
-:10014800F1002808F900FA017908F2007A08F300AA
23  
-:100158008031F52080317008833E82310A00803179
24  
-:10016800FF3AFB007B082000AB000A30F0000030AB
25  
-:10017800F1002808F900FA017908F2007A08F3007A
26  
-:100188008131612180317008833E82310A008031DB
27  
-:10019800FF3AFB007B082000AD002908F900053074
28  
-:1001A800F935890BD428260809071F397904FF3A3D
29  
-:1001B800FA007A08AC002708031DE328E628013076
30  
-:1001C800A702ED28063022008C00FE308D008C013D
31  
-:1001D800ED28200091107C08FF0009008801823179
32  
-:1001E8008D2AF601F11FF928FA280329F009F109E7
33  
-:1001F800F00A0319F10AF6010314F60D0329F31F97
34  
-:10020800062907291129F209F309F20A0319F30A41
35  
-:100218000130F4007408F6061129F701F801710895
36  
-:1002280070040319182919294F29F5010314F50D2C
37  
-:1002380027290130F035F10D890B1E290130F40012
38  
-:100248007408F5072729F11F2A292B291D292D298B
39  
-:100258002D290130F735F80D890B2E297108730205
40  
-:10026800031D382970087202031C3B293C294229C6
41  
-:100278007008F2027108F33B771442290130F13615
42  
-:10028800F00C890B43290130F502031D4C294D2937
43  
-:100298002D294F294F297608031D53295929F70974
44  
-:1002A800F809F70A0319F80A59297808F101F1073A
45  
-:1002B8007708F001F00760290800F601F31F6529A7
46  
-:1002C80066296F29F209F309F20A0319F30AF601FC
47  
-:1002D8000314F60D6F29F11F722973297929F00982
48  
-:1002E800F109F00A0319F10A792971087004031950
49  
-:1002F8007E297F29AF29F5010314F50D8D290130D9
50  
-:10030800F035F10D890B84290130F4007408F507E4
51  
-:100318008D29F11F902991298329932993297108FF
52  
-:100328007302031D992970087202031C9C299D29D8
53  
-:10033800A2297008F2027108F33BA2290130F136B4
54  
-:10034800F00C890BA3290130F502031DAC29AD2956
55  
-:100358009329AF29AF297608031DB329B929F209D2
56  
-:10036800F309F20A0319F30AB9297308F101F1072D
57  
-:100378007208F001F007C029080021008D01F8304B
58  
-:100388008C0023008C018D0122008C01FF308D0030
59  
-:10039800003082315F2281312000A4002408AA00A5
60  
-:1003A800013082315F2281312000A4002408FD0041
61  
-:1003B800023082315F2281312000A4002408A90084
62  
-:1003C800033082315F2281312000A4002408A80074
63  
-:1003D800043082315F2281312000A4002408A60065
64  
-:1003E800023021009100C0308B007F3020009C003B
65  
-:1003F80007309B000730A4002408A70008008131BB
66  
-:10040800C1218231072A20002708031D0C2A072A48
67  
-:100418002B0822008D0004308C0005302000A50038
68  
-:10042800A50B142A22008C0120002D0822008D0023
69  
-:1004380002308C0005302000A500A50B212A2200DF
70  
-:100448008C0120002C0822008D0001308C008C01CA
71  
-:10045800072A072A072A8031F228F300332A2300C3
72  
-:100468009518372A382A332A392A7308F100F201F5
73  
-:100478007108910072089200700893003F30F100F3
74  
-:1004880071089505200003108B1F4B2A4C2A4D2A12
75  
-:1004980003148B132300151555309600AA309600C7
76  
-:1004A800951415112000031C5A2A5B2A5E2A8B1703
77  
-:1004B8005E2A5E2A08002000A30064002300951825
78  
-:1004C800662A672A612A682A20002308A000A10159
79  
-:1004D80020082300910020002108230092003F30CB
80  
-:1004E8002000A200220823009505151403101518F2
81  
-:1004F80003140030093D1308812A08000034FC3435
82  
-:100508006034DA34F2346634B634BE34E034FE345F
83  
-:0E051800F634AB01AC01AD0120008231032AA4
  13
+:1000B8005E285E283C302A02031C63286428BE2878
  14
+:1000C8000130F9007908FD07AA01A9010F30F000F5
  15
+:1000D8000030F1007D08F900FA017908F2007A0889
  16
+:1000E800F30081317F21803171087004031D7D2860
  17
+:1000F8007E2883280530F90079082000A7000F30F2
  18
+:100108007D02031C882889288E280430F900790884
  19
+:100118002000A9001E307D02031C932894289928EA
  20
+:100128000630F90079082000A9002D307D02031C53
  21
+:100138009E289F28A4280730F90079082000A900E4
  22
+:100148003C307D02031CA928AA28BE28FD010130E5
  23
+:10015800F90079082000A80764302802031CB52894
  24
+:10016800B628BE280130F9007908A607A801BE28DC
  25
+:10017800BE28BE280A30F0000030F1002000280810
  26
+:10018800F900FA017908F2007A08F30081311321A5
  27
+:1001980080317008A13E82310A008031FF3AFB00AD
  28
+:1001A8007B082000AB000A30F0000030F10028087E
  29
+:1001B800F900FA017908F2007A08F30081317F2109
  30
+:1001C80080317008A13E82310A008031FF3AFB007D
  31
+:1001D8007B082000AD002908F9000530F935890BA6
  32
+:1001E800F228260809071F397904FF3AFA007A0825
  33
+:1001F800AC002708031D012904290130A7020B2997
  34
+:10020800063022008C00FE308D008C010B29200066
  35
+:1002180091107C08FF00090088018231AB2AF601A1
  36
+:10022800F11F172918292129F009F109F00A0319E2
  37
+:10023800F10AF6010314F60D2129F31F24292529B3
  38
+:100248002F29F209F309F20A0319F30A0130F4001D
  39
+:100258007408F6062F29F701F801710870040319CC
  40
+:10026800362937296D29F5010314F50D4529013083
  41
+:10027800F035F10D890B3C290130F4007408F507BD
  42
+:100288004529F11F482949293B294B294B29013088
  43
+:10029800F735F80D890B4C2971087302031D56298F
  44
+:1002A80070087202031C59295A2960297008F20241
  45
+:1002B8007108F33B771460290130F136F00C890B93
  46
+:1002C80061290130F502031D6A296B294B296D2923
  47
+:1002D8006D297608031D71297729F709F809F70AA6
  48
+:1002E8000319F80A77297808F101F1077708F0016E
  49
+:1002F800F0077E290800F601F31F832984298D2938
  50
+:10030800F209F309F20A0319F30AF6010314F60DC8
  51
+:100318008D29F11F902991299729F009F109F00AEF
  52
+:100328000319F10A97297108700403199C299D295A
  53
+:10033800CD29F5010314F50DAB290130F035F10D88
  54
+:10034800890BA2290130F4007408F507AB29F11FC5
  55
+:10035800AE29AF29A129B129B12971087302031D5A
  56
+:10036800B72970087202031CBA29BB29C029700872
  57
+:10037800F2027108F33BC0290130F136F00C890B09
  58
+:10038800C1290130F502031DCA29CB29B129CD297C
  59
+:10039800CD297608031DD129D729F209F309F20AD4
  60
+:1003A8000319F30AD7297308F101F1077208F0015C
  61
+:1003B800F007DE29080021008D01F8308C002300A9
  62
+:1003C8008C018D0122008C01FF308D0000308231BC
  63
+:1003D8007D2281312000A4002408AA000130823146
  64
+:1003E8007D2281312000A4002408FD0002308231E2
  65
+:1003F8007D2281312000A4002408A9000330823125
  66
+:100408007D2281312000A4002408A8000430823114
  67
+:100418007D2281312000A4002408A600023021009A
  68
+:100428009100C0308B007F3020009C0007309B007B
  69
+:100438000730A4002408A70008008131DF21823199
  70
+:10044800252A20002708031D2A2A252A2B082200EE
  71
+:100458008D0004308C0005302000A500A50B322A41
  72
+:1004680022008C0120002D0822008D0002308C0013
  73
+:1004780005302000A500A50B3F2A22008C01200092
  74
+:100488002C0822008D0001308C008C01252A252A99
  75
+:10049800252A81311029F300512A23009518552A5D
  76
+:1004A800562A512A572A7308F100F201710891005F
  77
+:1004B80072089200700893003F30F10071089505AA
  78
+:1004C800200003108B1F692A6A2A6B2A03148B13D6
  79
+:1004D8002300151555309600AA309600951415116D
  80
+:1004E8002000031C782A792A7C2A8B177C2A7C2AEC
  81
+:1004F80008002000A300640023009518842A852A98
  82
+:100508007F2A862A20002308A000A10120082300B2
  83
+:10051800910020002108230092003F302000A20013
  84
+:10052800220823009505151403101518031400302C
  85
+:10053800093D13089F2A08000034FC346034DA347B
  86
+:10054800F2346634B634BE34E034FE34F634AB01EB
  87
+:0A055800AC01AD0120008231212A20
84 88
 :020000040001F9
85 89
 :04000E00E0DFFFDE52
86 90
 :00000001FF
3  freelance_puncher.X/nbproject/private/private.xml
... ...
@@ -1,7 +1,4 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <project-private xmlns="http://www.netbeans.org/ns/project-private/1">
3 3
     <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
4  
-    <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">
5  
-        <file>file:/home/raphael/eeprojects/freelance_puncher/freelance_puncher.X/puncher.c</file>
6  
-    </open-files>
7 4
 </project-private>
1  freelance_puncher.X/puncher.c
@@ -96,6 +96,7 @@ void interrupt isr(void){
96 96
         minutes++;
97 97
         seconds = 0;
98 98
         quarters = 0;
  99
+        if(minutes%15 == 0){displayenable=5;} //show time every 15 minutes
99 100
         if(minutes >= 15){quarters = 4;}
100 101
         if(minutes >= 30){quarters = 6;}
101 102
         if(minutes >= 45){quarters = 7;}
23  readme.txt
... ...
@@ -0,0 +1,23 @@
  1
+Ha ha!
  2
+I suck at readme files.
  3
+
  4
+
  5
+
  6
+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!
  7
+
  8
+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. 
  9
+
  10
+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. 
  11
+
  12
+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. 
  13
+
  14
+
  15
+Notes:
  16
+
  17
+Beerware is a little low rent for me. This is Scotchware.
  18
+Clients! FFS, freelancers should get paid promptly and with minimal fuss.
  19
+The Bjork song "Virus" plays at exactly 60bpm. 
  20
+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!
  21
+
  22
+
  23
+

0 notes on commit e0534df

Please sign in to comment.
Something went wrong with that request. Please try again.