Introductory Experiments using 16 Bit Micro Experimenter
These intro demos were created to help the user understand some more simple operations using the Experimenter Board. There demos run standalone and are different then the demos that come with the board ( see board demos) . Kibacorp will be updating this particular web page and adding more introductory demos as time permits.
Three demos are shown here. Code and schematic are supplied. All code was created using
Free Microchip's MPLAB
Free Microchip evaluation version C compiler.
Code debug,download and programming was done using Microchip inexpensive PICKIT2.
An excellent reference for all my PIC24F work, and a good source of code, and associated explanations is
Lucio Di Jasio's book "Programming 16 bit Microcontrollers in C- Learning to Fly the PIC24"
1. Communications Port
This Demo configures works with an off-the-shelf RS-232 converter ( we used the Acronome Serial Interface Module ) and hook this to pin 8 and pin 10 of the Experimenter I/O bus to provide PIC24f UART communication to your PC RS-232 port. You need to open the Hyper terminal application and set it to 38400 Baud, 8 bit not parity and 1 stop bit (8N1) as well as VT100 emulation with line feed insertion after every received line feed. The Demo allows the user to type on the Hyperemia screen and see results echoed both back to the PC and displayed on the Experimenter's 16x3 LCD. When a user presses any of the four buttons on the Experimenter a canned message is displayed on the Hyper terminal indicating the button pushed. When using Comm demo code make sure to invoke CONSOLE.MCP icon for correct project and operation.
Download Communication Demo code

2. ADC operation
The ADC Demo configures pin 10 of I/O expansion bus to be an analog input and then continuously digitizing this input using the PIC24F internal 10 bit ADC. The results are displayed both in decimal count and volts simultaneously. You need to connect a voltage level that can change and the results monitored. In this case I used a pot (10K value) with center position hooked to pin 10 of I/O bus and one end of the POT tied to 3.3VDC and the other to GND as shown.

3. Light Show
The Demo configures pin 1-8 of I/O expansion bus to be digital outputs where only one of the eight outputs is a high level at a time in rapid succession. To actually see the demo you must add eight led’s and eight current limiting resistors (330 ohms each) to the I/O bus pin as shown. Each pin will have a 330 ohm resistor in series with an LED where the LED cathode is tied to ground.. Enjoy the show!
