Support Page 50 PIC Microcontroller projects, for beginners and experts!
Support Page 50 PIC Microcontroller Projects
On this page you'll find all the software which is discussed in the 50 PIC microcontroller projects for beginner and experts book. All software is free of charge, you do not have to pay anything to download and use it.
Reselling of the software is prohibited, check the license agreements for more information.
The software is intended for Windows XP, or similar Microsoft(TM) operating systems. Follow the instructions with care! Especially if this is new to you it is important to follow the steps exactly.
- Download the complete package here (click with the right mouse button, choose 'save as', the file is approximately 11 Mb).
- Save the package to your c drive in the root directory c:\ (Once you have verified that everything works as it should, you could move the package anywhere you want. By starting out in c:\ on the c-drive you do not need to change configuration files, everything is pre-configured).
- Unzip while maintaining the directory structure, (use "extract to here") you will need about 18 Mb of free space available (If you don't own an unzip program you can download one here for free. You can also go to the official website of Winzip and download a paid version).
- Run the setup program in the c:\picdev2\tools\VB50 setup\ directory (This will install some dll and ocx files required by some of the additional programs. You can accept the default directory or choose one yourself. Verify that the path is indeed c:\picdev2\tools\VB50 setup\. If it isn't you have performed either step two or three incorrectly. If you continue anyway the software will not work!)
- If you intend to connect the de Wisp648 programmer to another port than port 1 please read the "Frequently asked questions" section for instructions (if you use port 1 you do not need to take any action, so you're done with the installation).
- Now read the tutorial in the book (and discover the fascinating world of PIC microcontrollers!).
The directory c:\picdev2\project\lopend is empty, this is normal.
Figure 47 shows a text in Dutch. The English translation is "wait after zero crossing".
As of July 1st 2010 the download contains a new version of JALedit. On page 39 this text:
jal 2.4j (compiled Mar 12 2009)
0 errors, 0 warnings
Code area: 153 of 8192 used (words)
Data area: 18 of 368 used
Software stack available: 96 bytes
Hardware stack depth 2 of 8
Should be replaced by this:
jal 2.4j (compiled Mar 12 2009)
Errors :0 Warnings :0
Code :153/8192 Data:18/368 Hardware Stack : 2/8 Software Stack :96.
Links to manufacturers (for datasheeets parts and other information):
Please note that all links open in a new window.
- Thee Wisp648 programmer, PICs and other components can be ordered from Voti for world-wide shipping (recommended).
- Microchip Technology Inc (manufacturer of PIC microcontrollers and other chips).
- Emerging Display Technologies Corporation (manufacturer of LCD displays).
- Dallas Semiconductors (manufacturer of of for example RS232 and memory chips).
- Daventech (manufacturer of ultrasonic sensors)
- ON Semiconductors (manufacturer of for example mosfets)
Frequently asked questions (FAQ)
1. I own Visual Basic 5.0 but some of the sources give a loading error on gauge.ocx
This is the control that takes care of the gauge in for example the voltmeter. Gauge.ocx is on the Visual Basic CD but it is not automatically installed. Download this package, unzip it, and follow these instructions:
1. Copy gauge32.ocx to a suitable directory, for example
2. Add gauge32.ocx to the registry by executing this command (in "run" under the start button)
3. Add the development license by executing this command (in "run" under the start button)
The sources in the download package will now work. If you want to use gauges in your own programs add the ocx to your projects using 'add components'
2. I moved JALedit to another directory and now it doesn't work anymore. The program hangs and gives strange errors. I did adapt the directories in the settings of JALedit.
JALedit can't handle long directory names or names with a space. Keep the names short and make sure they contain no spaces. This applies to the directory of JALedit itself, but also to the ones it uses, such as the directory of the libraries, JALv2, the support files, your sources.
3. Where can I get the most recent version of JAL.
The easiest way is to download the starterpack. In it you will find the latest version of JAL, JALedit, the _bert libraries and all supporting libraries for use with my books. Sometimes a newer version of JAL also needs upgraded libraries. If you use the starterpack you can be certain that all libraries and supporting files work together.
1. Download the most recent version of the starterpack here (the download package is at the top of the page).
2. Follow the instructions included in this package.
4. My program doesn't compile, and I get Windows error messages.
There is a space in the name of your program, or in the path. Keep the names short and make sure they contain no spaces. This applies to the directory of JALedit itself, but also to the ones it uses, such as the directory of the libraries, JALv2, the support files, your sources.
5. I don't want to connect the Wisp programmer to com port 1 but to another port.
Open JALedit and select the menu options "Compile", "Environment Options","Programmer". The bottom line in this window is currently:
port com1 wait err go %F
Change this to:
port comX wait err go %F
where X is the number of the port you use. For example: if you connected the Wisp programmer to com port 4 the bottom line would read port com4 wait err go %F (note that there is NO space between com and 4).
6. Which file do I need to use in the tools directory.
If you want to use the program you can double click on the file that ends with .exe If you own Visual Basic 5.0 you can modify several programs yourself if you want, in that case you need to double click on the file that ends with .vbp
PIC microcontroller links
Many JAL users are a member of the Yahoo JAL group. This is the ideal place to discuss JAL programming, and pose questions you might have. There is a friendly and open atmosphere, also towards beginners. Please note: the group is international, the mandatory language is English!
User with a website can become a member of the JAL webring
For microcontrollers in general you can find a lot of information on the piclist. It comes with an extremely active mailing list so beware.
The latest version of JAL can be obtained at the JAL homepage. The easiest - and safest - way to download the latest version of JAL however is by downloading a starterpack This contains the latest versions of JAL, JALedit, the _bert libraries and all support files. If you use a new version make sure to use all files in the starterpack, not just upgrade an individual file. By using all files you can be sure you have a fitting and working combination of files.
<-- Back to the Book