(Created page with "Category:Starter PIC18F4520")
 
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:Starter PIC18F4520]]
 
[[Category:Starter PIC18F4520]]
 +
 +
 +
[[File:0Pic18f4520.PNG]]
 +
 +
 +
 +
Kit Contents:
 +
PIC18F4520 Starter Board comes with the following features:
 +
#PIC18F4520 MCU with ds30 bootloader
 +
#LCD 16x2 breakout.
 +
#On Board Usb-To-Serial.
 +
#Test switches (2) and LEDs(2).
 +
#All Port pins available for peripheral interfacing.
 +
#Dimensions: 90mm X 70mm.
 +
#1.6mm Glass Epoxy, FR4 PCB.
 +
#Wave Soldered.
 +
 +
=Driver Installation=
 +
*Check [[Cp2102 Usb-to-Serial Driver Installation|this tutorial]] for Usb2Serial Driver Installation.
 +
 +
=Software Setup=
 +
*Compiler Installation: Download and Install the MPlabx IDE and x8 compiler.
 +
*Check [[PIC Software Setup|this tutorial]] for setting up the project to generate the .hex file.
 +
*Check this tutorial for [[Flashing Hex File Using Pickit2|Uploading Hex File Using Pickit2.]]
 +
*Check this tutorial for [[Uploading Hex File Using Ds30 Bootloader|Uploading Hex File Using Ds30 Bootloader.]]
 +
 +
=Complete Board Test=
 +
The board is shipped with test software loaded in the controller.  Connect the board to the System,  '''LED1''' and '''LED2''' blinks contineoulsy. Open the https://github.com/ExploreEmbedded/terminalSoftware/archive/master.zip Serial Terminal] press and hold the '''SW1''',  and Reset the board with '''RESET''' switch then release the '''SW1''' switch . Follow the below procedure to test all the peripherals.
 +
 +
===GPIO Test===
 +
This Board will comes with Two on board LEDs Connected to PD0 and PD1.
 +
[[File:PIC18f4520 LED.png]]<br><br>
 +
===LCD  Test===
 +
Below table shows the LCD 4-bit pin connection.
 +
{| class="table table-striped table-hover table-condensed table-bordered"
 +
|-class="info"
 +
!RS || RW || EN || D4 || D5 || D6 || D7
 +
|-
 +
|PB_0  || PB_1  || PB_2  || PB_4 || PB_5 || PB_6 ||  PB_7
 +
|}
 +
<br>
 +
[[File:PIC18f4520 LCD.png]]<br><br>
 +
===Switch Test===
 +
The Board comes with two on Board Switches, Connected to PD2 and PD3.
 +
[[File:PIC18f4520 Switch.png]]<br><br>
 +
===Adc Test===
 +
The Board has a Pot Connected to AN0/RA0. ADC values from the Pot  is read and transmtted on UART.
 +
[[File:PIC18f4520 ADC.png]]<br><br>
 +
===EEprom Test===
 +
(A-Z) is wriiten to eeprom and then read it back. Same is transmitted on UART.
 +
[[File:PIC18f4520 EEPROM.png]]<br><br>

Latest revision as of 09:54, 21 February 2017

0Pic18f4520.PNG


Kit Contents: PIC18F4520 Starter Board comes with the following features:

  1. PIC18F4520 MCU with ds30 bootloader
  2. LCD 16x2 breakout.
  3. On Board Usb-To-Serial.
  4. Test switches (2) and LEDs(2).
  5. All Port pins available for peripheral interfacing.
  6. Dimensions: 90mm X 70mm.
  7. 1.6mm Glass Epoxy, FR4 PCB.
  8. Wave Soldered.

Driver Installation

Software Setup

Complete Board Test

The board is shipped with test software loaded in the controller. Connect the board to the System, LED1 and LED2 blinks contineoulsy. Open the https://github.com/ExploreEmbedded/terminalSoftware/archive/master.zip Serial Terminal] press and hold the SW1, and Reset the board with RESET switch then release the SW1 switch . Follow the below procedure to test all the peripherals.

GPIO Test

This Board will comes with Two on board LEDs Connected to PD0 and PD1. PIC18f4520 LED.png

LCD Test

Below table shows the LCD 4-bit pin connection.

RS RW EN D4 D5 D6 D7
PB_0 PB_1 PB_2 PB_4 PB_5 PB_6 PB_7


PIC18f4520 LCD.png

Switch Test

The Board comes with two on Board Switches, Connected to PD2 and PD3. PIC18f4520 Switch.png

Adc Test

The Board has a Pot Connected to AN0/RA0. ADC values from the Pot is read and transmtted on UART. PIC18f4520 ADC.png

EEprom Test

(A-Z) is wriiten to eeprom and then read it back. Same is transmitted on UART. PIC18f4520 EEPROM.png