Picture of author and project on the road.
Table of Contents
SECTION 1 Hardware Tools...
-
Introduction.
-
Our Goal
-
The Master plan.
-
Getting the Act together
-
What is a microcontroller ? and Which microcontroller?.
-
Which PIC language?.
-
The Software Shopping List
-
The Tutor
-
Text Editor
-
MicroChips MPLAB.
-
The program to get our program into the PIC..
-
Starter Kit
-
Defining the Computer
-
Sensors
-
The PICs 18 pins
-
Where to find the Starter Kit
-
The PCB.
-
The PCB Shopping List
-
The Theoretical Circuit
-
Component List
-
The Electrical circuit Diagram..
-
The PCB track Layout process
-
I Boob
No, two boobs
-
The Print process.
-
Calibrating the Scale.
-
Other print problems
-
More Boobs
ExpressPCB was right !
-
Other print process problems?.
-
WARNING Chemicals WARNING..
-
Waste elimination.
-
Photographic Stuff
-
Photographic shopping list
-
The Photo frame.
-
The Chemicals
-
Mixing the Chemicals
-
The Test strip.
-
Exposing the PCB Tracks
-
Here we go this is real
-
Drilling the board.
-
Inserting and Soldering the Components
-
Colour code.
-
The PIC programmer
-
Final shopping List
-
Component List
SECTION 2 Writing Code for the PIC....
-
Introduction.
-
The First attempt to define the bike computer
-
Start of my original notes
-
End of my original notes
-
The First Steps after pseudo code.
-
Making Firstest Work.
-
What to do with the HEX file.
-
Setting up ICPROG..
-
Summing up.
-
A simple Hex to Decimal routine.
-
Debugging myh2dec.asm with MPASM..
-
The Watch Window.
-
The F5, F6, F7 and ( control + F9 ) keys
-
The StopWatch Window.
-
Debug Break settings
-
The Stack window.
-
Summing up using MPASM..
-
The Basic Windows
-
The Menus we have used till now..
-
MPLAB Number Formats
-
Letter Case conventions
-
More on generating code.
-
The hex2dec Time problem with Big numbers
-
The Bike Computer Flow diagram, simple version.
-
The Flow-Chart
-
Resolution Available.
-
Back to the Flow Chart
-
The Automatic menu.
-
The Complete Loop Execution Time.
-
Compromises
-
Nuts and Bolts
-
Math routines
-
LOGIC routines
-
Conversion routines
-
HEX to DECIMAL.
-
HEX FRACTIONS to DECIMAL FRACTIONS.
-
NUMBER SCALING..
-
LCD Setup, Signalling and data transfer routines
-
Automatic menu (2)
-
Bike3.asm..
-
The END Product the HEX file.
-
CONCLUSION..
SECTION 3 Putting it together....
-
Construction Notes.
-
The Wheel rotation Sensor
-
What is the Hall effect?.
-
There are two main types of Hall device.
-
The Bike mounted PCB.
-
Bike only Theoretical diagram..
-
The Box.
-
Appendix 1 Revised diagrams for *development System..
-
PCB of Bike computer and test accessories.
-
The Theoretical diag. +component layout
Comments:
-
mf_piclist@indirection.com
http://home.swipnet.se/~w-51358/pilot/default.htm
Nice work (big documentation effort)!! I'm looking for a way to collect a detailed record of my ride. For example: “http://home.swipnet.se/~w-51358/pilot/default.htm” -- BUT I want a simple way to collect this detail data then download to my computer using a PIC or something else. Suggestions?
-
I found your page most interesting and would
like to send my congratulations to Fred Maher on his excellent
work
Questions:
-
redzuan@c4.com asks:
Hi Fred,
I found your effort very surprising. It was very detailed to the level of unbelievable (making your own PCB!!??). I have a suggestion. As a Muslim, I know that getting to know the right prayer time (5 times a day) is quite hard. If you can program something to accurately detect prayer times all around the world (you have to play around with time, latitude and longitude but I can send you the details of the programming). The idea is to have something small, for example, a key chain to announce the prayer times accurately wherever you are in the world. Rather than shopping around for big companies, I found your effort to be very interesting. So, please do update me on whether you can accept the challenge. Thanks in advance.
regards,
Redzuan