Difference between revisions of "Pic18f4520 Starter Board Introduction"
Line 36: | Line 36: | ||
===GPIO Test=== | ===GPIO Test=== | ||
− | + | This Board will comes with Two on board LEDs Connected to PD0 and PD1. | |
− | + | ||
[[File:PIC18f4520 LED.png]]<br><br> | [[File:PIC18f4520 LED.png]]<br><br> | ||
− | ===LCD 8 | + | ===LCD 8 Test=== |
− | Below table shows the LCD | + | Below table shows the LCD 4-bit pin connection. |
{| class="table table-striped table-hover table-condensed table-bordered" | {| class="table table-striped table-hover table-condensed table-bordered" | ||
|-class="info" | |-class="info" | ||
− | !RS || RW || EN | + | !RS || RW || EN || D4 || D5 || D6 || D7 |
|- | |- | ||
− | |PB_0 || PB_1 || PB_2 | + | |PB_0 || PB_1 || PB_2 || PD_4 || PD_5 || PD_6 || PD_7 |
|} | |} | ||
<br> | <br> | ||
Line 53: | Line 52: | ||
===Switch Test=== | ===Switch Test=== | ||
+ | The Board comes with two on Board Switches, Connected to PD2 and PD3. | ||
[[File:PIC18f4520 Switch.png]]<br><br> | [[File:PIC18f4520 Switch.png]]<br><br> | ||
===Adc Test=== | ===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> | [[File:PIC18f4520 ADC.png]]<br><br> | ||
Revision as of 16:24, 9 August 2016
The Explore Ultra PIC Kit comes with all the things required, not just for this experiment but for the entire series. And even if you think of migrating to PIC or Arduino, you'll have breakout boards that fit on to this, hence we believe it is a great investment for learning hands on Embedded Systems. The kit is fully open source, you may use the schematics, the design files and all of the source code and build something cool on your own. And when you do that do not forget to share with us what you've done. We would be happy to see you building something cool.
The latest version of Ultra PIC dev kit is modular in both hardware and software. The kit comprises of the Ultra One Base Board and PIC breakout board as the main components.
The PIC breakout board comes with 18F4520, however you may use any other 40 pin PIC MCUs like the 16f877A,16F887,18F4550,18f458. The 18F4520 comes with a UART bootloader hence no external programmer is required.
The Ultra One baseboard can additionally be used with several AVR, 8051 and Arduino Microcontrollers, we beleive this kit to is a solid gate way to Embedded Systems. This is not it, even the USB to Serial Convertor on board is moduler, you can take it off and use it any of the other projects. The base board is fully open, no peripheral is directly connected to the MCU breakout board. You may connect any peripheral to any port/pin you wish.
The newer version also supports 128x64 Graphics display as well as 128x64 OLED display. The story of the Ultra Kit does not end here, we have even made the code libraries for all major 8 bit microcontrollers modular. It means you can simple upgrade or even switch your project to a different microcontroller/architecture without changing your application code. The kit ships with all the additional stuff mentioned below to get you started; kickstart you're embedded development. What are you waiting for?
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 (1) and LEDs(3).
- All Port pins pins available for peripheral interfacing.
- Dimensions: 95mm X 70mm.
- 1.6mm Glass Epoxy, FR4 PCB.
- Wave Soldered.
Contents
Driver Installation
- Check this tutorial for Usb2Serial Driver Installation.
Software Setup
- Compiler Installation: Download and Install the MPlabx IDE and x8 compiler.
- Check this tutorial for setting up the project to generate the .hex file.
- Check this tutorial for Uploading Hex File Using Pickit2.
- Check this tutorial for 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, Open the Serial Terminal and reset the Controller. 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.
LCD 8 Test
Below table shows the LCD 4-bit pin connection.
RS | RW | EN | D4 | D5 | D6 | D7 |
---|---|---|---|---|---|---|
PB_0 | PB_1 | PB_2 | PD_4 | PD_5 | PD_6 | PD_7 |
Switch Test
The Board comes with two on Board Switches, Connected to PD2 and PD3.
Adc Test
The Board has a Pot Connected to AN0/RA0. ADC values from the Pot is read and transmtted on UART.
EEprom Test
(A-Z) is wriiten to eeprom and then read it back. Same is transmitted on UART.