Westford MicroSystemsWestford, Vermont, USAProjects using Microchip PICmicro® MCUs
|
"But when the kindness and love of God our Savior appeared, he saved us, not because of righteous things we had done, but because of his mercy. He saved us through the washing of rebirth and renewal by the Holy Spirit, whom he poured out on us generously through Jesus Christ our Savior."     Titus 3:4-6 Soli Deo Gloria!                   About me |
|
....
PIC® Software
.... | ||
| CCS supplies the C compilers that are used to compile my source code. Unabashed and liberal use is made of the many built-in functions provided by these compilers. One statement in C can generate pages of PIC® RISC instructions... instructions you don't have to write by hand! CCS still only charges $125 for their 12-bit and 14-bit command line compilers for Windows and Linux, and offers Windows IDE software as well. These are well worth it in my opinion. You may order the compilers directly from their web site. (CCS also offers engineering and consulting services, their own line of cellular protocol analyzers, and more.) The CCS User Forum is an excellent source of advice for using the C language and compiler with PIC® MCUs. It also has a growing code library. | |
|
.... PIC® Devices .... | ||
| Microchip
makes the PICmicro® microcontrollers. Databooks, application, notes, and much
more are on their web site. Everything is oriented around the PIC's RISC assembly
language, of course. Visit microchipDIRECT to buy PICmicro® devices directly from Microchip Corporation. This is intended both for personal and business orders. | |
|
.... PIC® Device Programmer .... | ||
|
| microEngineering Labs makes the U2 Programmer that I used to program PICs. It connects to a USB port and gets it's power from the USB port. microEngineering Labs also specializes in development tools that make working with PICmicro® MCUs quicker and easier. For those who prefer to program in BASIC instead of C, they offer BASIC compiler software, as well as a wide range of other products such as serial-port and parallel-port device programmers, experimenter and prototyping boards, books, and more. Check out their very nice PICmicro® MCU selection database. These folks are quite responsive and helpful. | |
|
.... Electronic Hardware .... | ||
| Digikey has everything,
plus everything else!
Ordering via web is easy. (I remember when their first catalogs were 1/8" thick...
the most recent catalog now measures 2-3/4" thick!)
| |
| Mouser is also a very thick
catalog! Ordering via web is easy.
| |
| Farnell Microchip is the
leading multi-channel, high service distributor of electronic
components supporting millions of engineers and purchasing professionals
throughout Europe and Asia, and is a global distributor of Microchip
products including microcontrollers, semiconductors, and more.
Farnell values alignment with like mind people
who think Farnell's services could be of benefit.
| |
| Crystalfontz supplies a wide
variety of LCD displays for very reasonable prices. Although my
projects use only the character-based LCD displays, they have much more.
| |
| Saelig
searches the world to bring you unique, easy-to-use control
and instrumentation products. "SAELIG" is an Olde English word meaning
"happy, prosperous, and blessed"...which is what Saelig wishes for its
customers!
| |
| Spark Fun Electronics
A great source for innovative prototyping supplies including the
CP2102 USB-SERIAL and other Breakout Boards for attractive prices.
Their web site includes User Forums and (future) tutorials.
| |
| Saleae makes only a few products, and one of them is an affordable and very credible 8-pin logic analyzer called "Logic". USB interface and great GUI! Only $149! | |
|
.... Printed Circuit Boards .... | ||
| ExpressPCB provides a printed
circuit board prototyping and production service.
Their free ExpressSCH schematic editor and ExpressPCB board layout
CAD software run under Windows and are easy to learn, complete with integrated
Digikey part numbers. After the finished board
file is uploaded through the software, their PC board service manufactures
high quality boards with plated-through holes, from double-sided to four layers,
up to 12"x14" in size.
They are both fast and economical with most orders shipped
the next business day, and for as little as $51 U.S.
I used this process to make PC boards for my
Tank Level Detector and
NiCd/NiMH Battery Characterizer.
| |
|
.... Mechanical Hardware .... | ||
| eMachineShop
is the first internet machine shop - great for making custom parts for research projects.
Download their free software to draw your part.
The software includes commands to evaluate your design,
obtain automated price quotes, and order via internet.
eMachineShop streamlines the entire
process from what you see on your screen to delivery at your door.
| |
| Online Metals
is an online-only supplier of small quantities of metal such as steel, stainless,
copper, bronze, brass, titanim (and even plastic) in
tube, flat, angle, square, hex, round, flat, sheet, and other shapes.
No minimum order!
| |
| Small Parts has been supplying small and large quantities of high quality material components and tools to bright and creative people since 1963. No minimum order! | |
|
.... My favorite surplus stores .... | ||
| HSC Supply (Halted Supply)
in the San Jose, CA area is located at
3500 Ryder Street, Santa Clara, California 95051, 408-732-1573.
You can view their PowerPoint presention to get an idea of their
store, but the one thing inaccurate about the presentation is that they
obviously cleaned the place up before taking the photos! (It's really
much better than the photos!)
| |
| Excess Solutions
in the San Jose, CA area is located at
430 E Brokaw Road, San Jose, CA 95112, 408-573-7045, 15 minutes from
Halted Supply (above.) Mostly electronic components. (Check out the Fry's one
block away from Excess Soutions.)
| |
| Triangle
Machinery & Tool Company
in the San Jose, CA area is located at
1051 Commercial Ct, San Jose, CA 95112, 408-452-8666. Mostly
industrial and mechanical surplus. Five minutes from Excess Solutions.
| |
| Skycraft Surplus
in the Orlando area. In Orlando! I couldn't believe what they had.
It was crowded (with people and stuff.)
| |
| P&T Surplus, 198 Abeel Street, Kingston, N.Y. 12401, 845-338-6191.
Surplus metals, electronics, hardware, and other materials bought
and sold. They are beginning to have a presence on eBay.
Abeel Street is at the north end of the old bridge over the
Esopus Creek. Turn west (inland) and go three blocks, on the left.
Mostly industrial and mechanical surplus.
| |
| Trojan Electronic Supply, 15 Middleburgh Street, Troy, NY 12180,
518-274-4481. Several blocks north of the Route 7 bridge, a few
blocks inland from the Federal Lock on the Hudson River/Champlain Canal.
This is the only supplier I've seen
in years with a working tube tester standing in one corner! They
deal a lot with RPI from what I understand.
| ||
| Electronic surplus stores in Vermont (Are you kidding?) | ||
|
...... Ideas ...... | ||
|
APPLICATION NOTES...
        Practical application of the Hamming code for error detection and correction         Techniques for fault-tolerant coding in embedded systems         Spreadsheet for calculating timer and interrupt values, timing error percentage         About the LCD DISPLAYS used in most of these projects QUESTIONS... If you can't find answers on this site, check:
STUDENTS...if you are searching for ideas for a term project may I humbly suggest that this web site is for creative ideas, not quick and easy term projects? Creativity is why you are in school! Nonetheless, I do have some ideas. HEX CODE...if you are looking for hex code or additional circuits, code, schematics, etc, everything I have is listed above. I don't have hex code listings. | |
|
...... Projects ...... |
NOTE:
All material Westford MicroSystems® 2000-2008 and may not be republished
without permission. Links to these pages are always appreciated.
NOTE:
Although these projects work for me, they are offered as-is,
at-your-own-risk, and are for non-commercial use only.
(Commercial users please contact me if interested.) NOTE:
Some of these projects involve voltages that can kill. It is assumed
that if you are knowlegable enough to experiement, you are also
aware of the risks. NOTE:
EMI/RFI that is sprayed by these circuits is dependent on both electrical
design and mechanical construction. Use careful layout technique where
EMI/RFI is critical to the application, such as in radio-controlled airplane
and marine navagation applications! |
| PROJECT | Processor | Files | |
|---|---|---|---|
| INCLUDE FILE "jonsinc.h" used by most of these projects. | All |
Description Download |
|
|
WIRELESS REMOTE CONTROL for Raymarine ST4000 Autopilot uses
Raytheon's Seatalk® communications protocol. |
16F628 |
Description Transmitter C code Schematic Receiver C code Schematic |
COMBINATION LOCK FOR SAFE puts security into
an old fire safe. |
16F628 |
Description C code Schematic |
|
TIMED DISCHARGE ADAPTER for a Vericom control panel used with
an Advantex wastewater treatment system. |
16F628 |
Description C code Schematic |
|
COFFEE POWER MANAGER or, how to get 27-amps out of a
20-amp outlet for three large coffee pots at church. |
16F628 |
Description C code Schematic |
|
STEAM GENERATOR for residential steam shower. |
16F873 |
Description C code Schematic (CPU) Schematic (Unit) |
|
NETWORK EQUIPMENT RESETTER automatically drops power to routers and satellite internet receiver once every 24 hours. |
16F628 |
Description C code Schematic |
|
DATA LOGGER measures and stores voltage at specified intervals and dumps to RS232. 8192 samples. |
16F876 |
Description C code Schematic |
|
BATTERY CHARACTERIZER loads charged NiCad and NiMH
battery packs and measures milliamp hour capacity. |
18F252 |
Description C code Schematic |
|
Underground locator generator for Radiodetection® RD400 LLTS
Precision Line Trace unit (underground cable locator) |
16F628 |
Description C code Schematic |
|
GPS REPEATER/SYSTEMS MONITOR displays NMEA-0183 data from a GPS, battery voltages, etc. |
16F876 |
Description C code Schematic |
|
TRACK CONTROLLER FOR AWANA® GRAND PRIX (also Pinewood Derby)
measures and displays finish times, sends results to computer.
Works with "GrandPrix Race Manager" from GrandPrix Software Central.
|
16F628 |
Description C code Schematic |
|
PIC® PROGRAMMERI use the microEngineering Labs U2 Programmer in my own lab. This programmer connects to a USB port and gets it power from the USB port. It works well and I highly recommend it! |
All! | Description | |
GPS-based COMPASS DISPLAY uses RS232 data stream from GPS receiver.
|
16F628 |
Description C code Schematic |
|
DARKROOM EXPOSURE SYSTEM controls safelamp and enlarger lamp, measures exposure.
|
16F873 16F876 |
Description C code Schematic |
|
REMOTE CONTROL for Raymarine ST4000 Autopilot uses
Raytheon's Seatalk® communications protocol. |
16F628 |
Description Discrete switch version C code SchematicF628 Keypad version (untested!) C code SchematicF628 |
|
COMBINATION LOCK for home door, 4x4 matrix keyboard, master combination plus four programmable combinations, programmable lamp and solenoid times |
16F84 |
Description C code Schematic |
|
| LIQUID LEVEL TRANSMITTER/RECEIVER SYSTEM designed for marine applications using Raytheon's Seatalk® bus. Includes tachometer transmitter example although the receiver is only for liquid level. | 16F628 |
Description Level Transmitter C code Schematic Tach Transmitter C code Schematic Level Receiver C code Schematic |
|
| TEMPERATURE SENSOR using the DS1820 chip. | 16F876 |
Description C code |
|
| Experimental PELLET STOVE CONTROLLER. | 16F628 |
Description C code Schematic |
|
| DIESEL TACHOMETER uses "tach" signal from alternator. | 16F628 |
Description C code Schematic |
|
| ADC EXAMPLE for 16F87x PICs and similar. | 16F873 16F876 |
Description C code |
|
| ADDRESSABLE ADC and controller receives serial command then 1) returns ADC measurement, and 2) writes output port. Three-byte serial command, three ADC inputs, 8 digital outputs, 5-bit address, 9600-baud. | 16F873 |
Description C code Schematic |
|
| MORSE CODE DISPLAY hears Morse code from shortwave receiver, displays text on LCD display. | 16F84 |
Description C code Schematic |
|
| Rx/Tx pulse stretcher for LED that monitor serial Rx/Tx lines | 12C509 |
Description C code |
|
| COMBINATION LOCK single button, for car liftgate | 12C509 |
Description C code Schematic |
|
| DELAYED-SHUTTER CONTROL for the (now obsolete) Kodak DC-20 digital camera | 12C509 |
Description C code Schematic |
|
CAMERA INTERFACE for the (now obsolete) Kodak DC-20 camera in radio-control aircraft |
12C509 16F84 |
Description 509 version C code Schematic F84 version C code Schematic |
|
| AUDIBLE EMERGENCY LOCATOR ALARM ("lost model alarm") for lost (and possibly "re-kitted") radio-control planes | 12C509 |
Description C code Schematic |
|
| Radio-control SERVO EXAMPLES | 16F84 |
Description Straight function C code With linearizing function C code |
©2000-2009 Westford MicroSystems. All rights reserved.