Home Hardware 28 pin development board for PICs

28 pin development board for PICs

by shedboy71

RKPK28 Prototype PCB
The next PIC development board is again from RKeducation and is designed for use with 28 pin PICs in this case I used a PIC 18f2685, another PIC microcontroller I didn’t have in my collection

You can find out more about the device at http://www.microchip.com/wwwproducts/Devices.aspx?product=PIC18F2685

Here is a table showing some of the features

Program Memory (KB) 96
CPU Speed (MIPS) 10
RAM Bytes 3,328
Data EEPROM (bytes) 1024
Digital Communication Peripherals 1-UART, 1-A/E/USART, 1-SPI, 1-I2C1-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals 1 CCP
Timers 1 x 8-bit, 3 x 16-bit
ADC 8 ch, 10-bit
CAN 1 CAN
Temperature Range (C) -40 to 125
Operating Voltage Range (V) 2 to 5.5
Pin Count 28
RKPK28

RKPK28

Features

Low cost development board at £7.99
Supports several PICs
Can be used with the Pickit programmers – I tested this with a Pickit3
Prototyping area on board
5v and 3.3v regulators on board
Through hole components
USB connection can be used to power the board

The build is again fairly straightforward and only requires basic soldering skills.

I connected a Pickit3 to the programming header and verified if I could read the device connected. You can see this in the screenshot below.

An easy way of testing is to connect some LEDs to one of the ports and flash them on and off. Here is a simple schematic showing 3 LEDs connected to Port A

18f2685 and leds

18f2685 and leds

 

Code

Again Mikroc for PIC was used and once again we just toggled PORTA low and high, connected LEDs and verified they were working correctly

[codesyntax lang=”cpp”]

int main(void)
{
TRISA = 0x00; // Configure port A as output

while(1)
{
PORTA = 0x00;
delay_ms(1000); // Wait for 1s
PORTA = 0xFF;
delay_ms(1000); // Wait for 1s
}
}

[/codesyntax]
Links

http://rkeducation.co.uk/RKPK28.php

Share

You may also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More