(9 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
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 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.
  
[[FILE:Ultra one.PNG]]
+
[[File:0Ultra one.PNG]]
  
 
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 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.
Line 38: Line 38:
 
*Compiler Installation: Download and Install the MPlabx IDE and x8 compiler.
 
*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 [[PIC Software Setup|this tutorial]] for setting up the project to generate the .hex file.
* [[Flashing Hex File Using Pickit2|Uploading Hex File Using Pickit2.]]
+
*Check this tutorial for [[Flashing Hex File Using Pickit2|Uploading Hex File Using Pickit2.]]
* [[Uploading Hex File Using Ds30 Bootloader|Uploading Hex File Using Ds30 Bootloader.]]
+
*Check this tutorial for [[Uploading Hex File Using Ds30 Bootloader|Uploading Hex File Using Ds30 Bootloader.]]
  
 
=Complete Board Test=
 
=Complete Board Test=
The board is shipped with test software loaded in the controller, follow the below procedure to test all the peripherals.
+
The board is shipped with test software loaded in the controller. Connect the board to the System, Open the [https://github.com/ExploreEmbedded/terminalSoftware/archive/master.zip Serial Terminal] and reset the Controller. Follow the below procedure to test all the peripherals.
  
 
===GPIO Test===
 
===GPIO Test===
 +
Connect the LED's, Buzzer and Relays to any of the port pins and observe the Led Blink, Buzzer-Beep and Relay-Chattering .
 +
<b>*Note:</b>The Rx,Tx pins will not blink as they are controlled by CP2102(Usb2Serial).
 +
[[File:PIC GPIO Testing.png]]<br><br>
 +
  
 
===LCD 8-bit Test===
 
===LCD 8-bit Test===
 +
Below table shows the LCD 8-bit pin connection.
 +
{| class="table table-striped table-hover table-condensed table-bordered"
 +
|-class="info"
 +
!RS || RW || EN || D0  || D1  || D2  || D3  || D4 || D5 || D6 || D7
 +
|-
 +
|PB_0  || PB_1  || PB_2  || PD_0 || PD_1 || PD_2 || PD_3 || PD_4 || PD_5 || PD_6 || PD_7
 +
|}
 +
<br>
 +
[[File:PIC LCD 8-bit Test.png]]<br><br>
 +
  
 
===LCD 4-bit Test===
 
===LCD 4-bit 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 || D0  || D1  || D2  || D3  || D4 || D5 || D6 || D7
 +
|-
 +
|PB_0  || PB_1  || PB_2  || P_NC || P_NC || P_NC || P_NC || PD_4 || PD_5 || PD_6 || PD_7
 +
|}
 +
*P_NC: Pin Not Connected
 +
<br>
 +
[[File:PIC LCD 4-bit Test.png]]<br><br>
  
 
===Seven Segment Test===
 
===Seven Segment Test===
 +
Below table shows the Seven Segment Connection.
 +
{| class="table table-striped table-hover table-condensed table-bordered"
 +
|-class="info"
 +
!Seg1|| Seg2 || Seg3 || Seg4 || a  || b  || c || d || e || f || g || h
 +
|-
 +
|PB_0  || PB_1  || PB_2  || PB_3 || PD_0 || PD_1 || PD_2 || PD_3 || PD_4 || PD_5 || PD_6 || PD_7
 +
|}
 +
<br>
 +
[[File:PIC SevenSegment.png]]<br><br>
  
 
===RTC Test===
 
===RTC Test===
 +
The DS1307 RTC module will be connected I2C(SCL-RC.3,SDA-RC.4) pins as shown in below image.
 +
[[File:PIC RTC Testing.png]]<br><br>
  
 
===EEprom Test===
 
===EEprom Test===
 +
(A-Z) is wriiten to eeprom and then read it back. Same is transmitted on UART.
 +
[[File:PIC Eeprom Testing.png]]<br><br>
  
 
===Adc Test===
 
===Adc Test===
 +
Ultra Board has a Pot, LDR and a temperature sensor. ADC values from these sensors is read and transmtted on UART. Below table shows the sensor pin connection.
 +
{| class="table table-striped table-hover table-condensed table-bordered"
 +
|-class="info"
 +
!Sensor || Adc Channel || Port Pin
 +
|-
 +
|Temperature || AN0 || RA0
 +
|-       
 +
|POT || AN1|| RA1
 +
|-       
 +
|LDR || AN2|| RA2
 +
|}
 +
[[File:PIC ADC Testing.png]]<br><br>
  
 
===Keypad Test===
 
===Keypad Test===
 +
Below table shows the hex keypad Row-Col pin connection.
 +
{| class="table table-striped table-hover table-condensed table-bordered"
 +
|-class="info"
 +
!R1  || R2  || R3  || R4  || C1  || C2  || C3  || C4
 +
|-
 +
|PD_0 || PD_1 || PD_2 || PD_3 || PD_4 || PD_5 || PD_6 || PD_7
 +
|}
 +
[[File:PIC Hex Keypad.png]]<br><br>
 +
 +
 +
 +
=Downloads=
 +
Download the complete project folder from the below link:<br>
 +
[https://github.com/ExploreEmbedded/Pic16f877a_ExploreUltraPicDevKit/archive/master.zip Hardware design Files and Code Library]
 +
 +
 +
Have an opinion, suggestion , question or feedback about the article let it out here!
 +
{{DISQUS}}

Latest revision as of 09:53, 29 March 2017


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.

0Ultra one.PNG

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 16F877A, however you may use any other 40 pin PIC MCUs like the 18F4550. The 16F877A 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: Explore ULTRA PIC Development Board with following Modules, ICs and Interfaces:

  1. DS1307 RTC.
  2. 24C16 EEPROM
  3. Micro SD
  4. Four Seven Segment Displays
  5. Eight LEDs
  6. 4 x 4 Keypad
  7. Temperature Sensor LM35
  8. LDR
  9. Buzzer
  10. L293D Motor Driver.
  11. Two Relays.
  12. Eight DIP switches.
  13. Breakout for 20X4 character LCD.
  14. Breakout for 128X64 LCD.
  15. Breakout for OLED.
  16. Breakout for Zigbee.

Driver Installation

Software Setup

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

Connect the LED's, Buzzer and Relays to any of the port pins and observe the Led Blink, Buzzer-Beep and Relay-Chattering . *Note:The Rx,Tx pins will not blink as they are controlled by CP2102(Usb2Serial). PIC GPIO Testing.png


LCD 8-bit Test

Below table shows the LCD 8-bit pin connection.

RS RW EN D0 D1 D2 D3 D4 D5 D6 D7
PB_0 PB_1 PB_2 PD_0 PD_1 PD_2 PD_3 PD_4 PD_5 PD_6 PD_7


PIC LCD 8-bit Test.png


LCD 4-bit Test

Below table shows the LCD 4-bit pin connection.

RS RW EN D0 D1 D2 D3 D4 D5 D6 D7
PB_0 PB_1 PB_2 P_NC P_NC P_NC P_NC PD_4 PD_5 PD_6 PD_7
  • P_NC: Pin Not Connected


PIC LCD 4-bit Test.png

Seven Segment Test

Below table shows the Seven Segment Connection.

Seg1 Seg2 Seg3 Seg4 a b c d e f g h
PB_0 PB_1 PB_2 PB_3 PD_0 PD_1 PD_2 PD_3 PD_4 PD_5 PD_6 PD_7


PIC SevenSegment.png

RTC Test

The DS1307 RTC module will be connected I2C(SCL-RC.3,SDA-RC.4) pins as shown in below image. PIC RTC Testing.png

EEprom Test

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

Adc Test

Ultra Board has a Pot, LDR and a temperature sensor. ADC values from these sensors is read and transmtted on UART. Below table shows the sensor pin connection.

Sensor Adc Channel Port Pin
Temperature AN0 RA0
POT AN1 RA1
LDR AN2 RA2

PIC ADC Testing.png

Keypad Test

Below table shows the hex keypad Row-Col pin connection.

R1 R2 R3 R4 C1 C2 C3 C4
PD_0 PD_1 PD_2 PD_3 PD_4 PD_5 PD_6 PD_7

PIC Hex Keypad.png


Downloads

Download the complete project folder from the below link:
Hardware design Files and Code Library


Have an opinion, suggestion , question or feedback about the article let it out here!