The Pic18f26j11 works suing the configuration bits shown in earlier post, using the internal oscillator and C18 compiler from MPLAB IDE 8.90, which aloud us to write in C lenguage.
The pic used for this test was given by university lecture Panos Loakin the pin configuration is:
- Unuse in this test but all set to be outputs
- All outputs for testing, in this board we only use 3 outputs.
- RB7; Green LED.
- RB6; Green LED.
- RB5; Green LED.
- RC4 &RC5 not use at this point.
- RC7; RX1 Connected to R232 TX
- RC6; TX1 Connected to R232 RX
- RC3; Green LED.
- RC2; Green LED.
- RC1; Red LED.
- RC0; Green LED.
The board is power it with a 9v battery and programmed with a PICkit two also provided by university.
In this image you can see the pic18f26j11 in a PCB board and with the connector for the PIckit2 this board was provided by my tutor.
There is also the 9v battery connector ground connection coming from the VSS pin 8 of the pic18f26j11. The image below show the pic18f26j11 connected to the R232 and using a 9v battery.
The board in the image above show the pic18 working with different combination of LED’s. Each combination for a command key from the keyboard. The interface in vb.net use either 4 arrow keys from a keyboard or the numpad using up to 8 keys. It should also work with mousepad or a normal mouse but at this point this has not been implemented in the program.
The video demosntrate the funcionality of the chip uisng the control interface.