So today i made it to all of my classes which is a good thing. The past three days have been a lovely stay in the EE senior design lab. so the project is to make a stopwatch with display. Extra credit for pedometer and cool case. This is how it went......
Day 1 Monday:
The group decides to finally put it together and let me know what pins do what and get me the right data sheets for the LCD. So i go in at 3ish to hammer out this code. I stay there all day and get nothing done as try as I might I cannot get the LCD to do anything. 2AM rolls around, it has gotten cold outside and i call dave and ask for pants as shorts no longer cut it. Dave leaves, I stay at the lab some more. 4 AM rolls around and we are practically no further for 13 hours worth of work. I did ask at a few points if the whole thing was wired correctly and I always got back the same response, oh sure of course it is wired up right........
Day 2 Tuesday (Demo at 430):
I go back into the lab at 1230 start working again. Instructor stops by the lab and says that given so many groups have had problems with the display we can use LED to flash for seconds and minutes. So the group wires it in and I do a rewrite of the code. 430 rolls around circuit still isn't responding correctly and so we go into the demo and she says that given that we have put a lot of work into it and we had a cool case and it seemed like some minor bugs that were holding us back all we had to do was bring it in by 630 on Thursday evening. continue to work on it till 11PM run some small software type tests on the hardware, decide it is NOT wired together properly put the whole thing away for the evening and say fuck it the rest of the group left at 6pm anyway.
Day 3 Wednesday/Thursday:
Go into the lab at 6PM reset the burn counter on the IC software. when group arrives tell them sternly and with threats of violence that they will test every connection on that board and make the whole thing is perfect. 45 min pass..... and then I hear the phrase "Oh maybe we should have wired that to ground...." they are talking about the LCD and low and behold once they wired that in and removed a short that was somewhere else the LCD powers on and I can get it to turn on with the software. First I fix the led lights so that they flash properly and with accuracy down to the millisecond (tested with an oscilloscope) and then for shits and grins I decide to see what I can do with the LCD this is 9PM. I find that wow it works just the way the data sheets said it would and just the way I had tried 2 days before. so going for more points i decide to make the LCD work and make it a real stopwatch. I setup the print functions and retime the delays in the code so that again it is accurate to the millisecond. This is when I find out this 8x2 display is crap and if you try to display stuff in the same column on both rows the display doesn't manage the power well enough to be able to show both lines so I could only use the upper line. So i deal with only showing the clock. Now the extra credit my group and already decided on..... they decided they wanted to put the whole assembly into a 4 D-cell Maglight. Sounds really cool looks really cool but mounting buttons that had to already be soldered to wires coming from the board halfway down the light from the inside was an experience, but we got the start/stop button and the reset button in and screwed down. Coiled up the rest of the wires and crammed it all into the case in the space of about 1 D-cell battery as there were already 3 D-cells in the light to power the circuit board and IC chip. so it all goes together and low and behold the damn thing actually works and works right. This is 530AM this morning. The switch in the pedometer really just measures swings at is a simple mercury switch. so I have thought about it today, as I turned over the code and gave directions on how to present it to the teacher. it is a 4 D-cell Maglight with 3 batteries in it and a stopwatch timer and something that measures swings.......
I don't think i helped designed and build a stopwatch so much as a performance beating stick that measure the time you spent beating someone and how many swings you used......
And now finally the weekend has started........












