Open18F4520
| ||
| ||
| ||
Introduction
PIC development board designed for PIC18F series, features the PIC18F4520 MCU, and integrates various standard interfaces, pretty easy for peripheral expansions.
More |
Basic Opration
Power Up and Download
- Connect the board to a PIC programmer(PICkit3 recommanded) to download programs. As shown in the following figure:
Getting Started
- The PIC board should be powered and downloaded corresponding demo.
1-WIRE_DS18B20
Demo Description
- Measure the temperature of DS18B20 via 1-WIRE socket.
How to operate
Steps
- Connect a jumper between VCC and 3.3V. Note: if VCC is connected to 5V, LCD1602 will be too bright to display..
- Connect a DS18B20+ to 1-WIRE socket (Warning: Please make sure DS18B20+ is connected correctly to the ONE WIRE port, Arc side of DS18B20+ must match the sign of ONE WIRE port. Do NOT connect it reversely, or it may be burned.).
- Connect an LCD1602[1] to the LCD1602 interface.
- Power up and program the corresponding demo.
Expected Result
- LCD1602 displays temperature
2.2inch LCD
Demo Description
- 2.2inch 320x240 Touch LCD demo
How to operate
Steps
- Connect a 2.2inch 320x240 Touch LCD (A)[2] to LCD22 3.3V interface.
- Power up and program the corresponding demo.
Expected Result
- Display something on the "LCD22", interact with it by touching
8 Push Buttons
Demo Description
- LED status keeps changing according to the 8 Push Buttons.
How to operate
Steps
- Jumper LED JMP ON.
- Connect the 8 Push Buttons to 8I/Os interface (Note: The G pin on the 8 Push Buttons should be connected to the GND pin on the development board.).
- Power up and program the corresponding demo.
Expected Result
- LED status keeps changing according to the 8 Push Buttons
8 SEG LED Board
Demo Description
- Control 8 SEG LED Board by 16I/Os interface.
How to operate
Steps
- Connect an 8 SEG LED Board to 16I/Os interface.
- Power up and program the corresponding demo.
Expected Result
- Display something on the 8 SEG LED Board.
AD Keypad
Demo Description
- Check A/D key voltage value from the AD I/O. AD Keypad module has 16 keys but only occupies one AD I/O, helps you to save limited I/O resources.
How to operate
Steps
- Connect an LCD1602[1] to the LCD1602 interface.
- Connect an AD Keypad to the upper row of 16I/Os interface, i.e. 16I/0s-2 connector. The pins VCC, GND and AD of the AD Keypad should be connected to the socket VCC, GND and DA0 of the 16I/Os interface separately.
- Power up and program the corresponding demo.
Expected Result
- "LCD1602 displays the voltage level of the pressed key.
AD_LCD1602
Demo Description
- Check the voltage level on the pin of AD interface.
How to operate
Steps
- Connect an LCD1602[1] to the LCD1602 interface.
- Power up and program the corresponding demo.
Expected Result
- LCD1602 displays the voltage level on the RA0 pin.
CCP1_Infrared
Demo Description
- Check the data from infrared receiver by RC2 port, and display the decoded number on LEDs.
How to operate
Steps
- Jumpers Infrared JMP and LED JMP are set to ON.
Expected Result
- LED displays decoded number, when infrared remote controller sends data.
FT245
Demo Description
- RD: FT245-read demo
- WR: FT245-write demo
How to operate
Steps
- Remove the jumper VCCIO JMP from the FT245_USB_FIFO_Board_(mini).
- Remove the jumper 1-WIRE JMP from the PIC development board.
- Jumper LED JMP ON.
- Connect the pin side of FT245 USB FIFO Board to 16I/Os interface, the USB side to PC.
- Power up and program the corresponding demo.
- Run the software PuTTY. Choose the corresponding COM port. Baud rate is set to 19200.
Expected Result
- RD: Send data from the PC and L0~L7 LEDs will display a corresponding binary number.
- WR: Serial Port Monitor prints the received data.
Phenomena
Note: This string from the COM port should be shown in hex form. If it is not shown in hex form, you will just see the characters you have just sent.
I2C_AT24CXX
Demo Description
- I2C EEPROM read and write Demo.
How to operate
Steps
- Jumper LED JMP ON.
- Connect an AT24CXX EEPROM Board to the I2C interface.
- Power up and program the corresponding demo.
Expected Result
- First of all, MCU writes data to AT24CXX, and then read the AT24CXX data written before. Finally, LEDs show the data as a binary number.
I2C_PCF8563
Demo Description
- PCF8563 RTC Demo
How to operate
Steps
- Connect a PCF8563 RTC Board to I2C interface.
- Connect an 8 SEG LED Board to 16I/O interface.
- Power up and program the corresponding demo.
Expected Result
- 8 SEG LED Board shows time info.
I2C_PCF8574
Demo Description
- PCF8574 I2C Demo
How to operate
Steps
- Jumper LED JMP ON.
- Connect a PCF8574 IO Expansion Board to I2C interface.
- Connect the P0~P7 on the module to L0~L7 on the mother board.
- Power up and program the corresponding demo.
Expected Result
- Display data on the LEDs.
I2C_PCF8591
Demo Description
- PCF8591 AD Demo
How to operate
Steps
- Connect a PCF8591 AD DA Board to I2C interface.
Expected Result
- AD value is read and increased by 1, and then shown on the LED as a binary number.
Interrupts LED
Demo Description
- External Interrupt Demo
How to operate
Steps
- Remove the jumper 1-WIRE JMP.
- Remove the jumper L0.
- Connect the pin RB0 to the KEY JMP pin S0.
- Power up and program the corresponding demo.
Expected Result
- LED1 will be changed by key S0
JOYSTICK
Demo Description
- Joystick: Press the JOYSTICK buttons to control LEDs.
How to operate
Steps
- Jumpers LED JMP and JOYSTICK are set to ON.
- Power up and program the corresponding demo.
Expected Result
- Press the JOYSTICK buttons to control LEDs.
KEY
Demo Description
- Press the onboard buttons to control LEDs.
How to operate
Steps
- Jumpers LED JMP and KEY JMP are set to ON.
- Power up and program the corresponding demo.
Expected Result
- Press S0 and S1 to control LEDs.
LCD1602
Demo Description
- Control LCD1602 [1] to display.
How to operate
Steps
- Connect an LCD1602 to LCD1602 interface.
- Power up and program the corresponding demo.
Expected Result
- LCD1602 shows "waveshare".
LED
Demo Description
- Control LEDs by I/O interface.
How to operate
Steps
- Jumper LED JMP ON.
- Power up and program the corresponding demo.
Expected Result
- LED keeps blinking
PS2
Demo Description
- PS/2 keyboard demo.
How to operate
Steps
- Jumper PS/2 JMP ON.
- Connect a PS/2 keyboard to PS/2 interface.
- Remove jumper Buzzer JMP.
- Connect an LCD1602 to LCD1602 interface.
- Power up and program the corresponding demo.
Expected Result
- LCD displays corresponding input from a PS/2 keyboard.
PWM_Buzzer
Demo Description
- Buzzer/PWM demo
How to operate
Steps
- Connect the RC2 to the BUZ of Buzzer JMP.
- Power up and program the corresponding demo.
Expected Result
- Buzzer will buzz.
SPI_AT45DBXX
Demo Description
- AT45DB demo
How to operate
Steps
- Connect AT45DBXX DataFlash Board to the lower row of SPI interface.
- Power up and program the corresponding demo.
Expected Result
- The LEDs, as a binary number, will show the data read from AT45DB.
SPI_NRF24L01
Demo Description
- NRF2401 demo
How to operate
Steps
- Prepare two groups of NRF24L01 RF Board (B) and PIC motherboard (one for sender - TX and the other one for receiver - RX).
- Set the power jumper of the two boards to 3.3V.
- LED JMP on the RX board should be fitted.
- Connect two NRF24L01 RF Board (B) to the two PIC boards.
- Connect a PL2303 USB UART Board (mini) to the RX board.
- Power up and program the corresponding demo.
- Run the software PuTTY. Choose the corresponding COM port and set baud rate to 19200.
Expected Result
- Press the S0 button on the TX board, the LEDs on the RX board will be changed and PuTTY will print the received value.
SPI_SD_Card
Demo Description
- SD demo
How to operate
Steps
- Jumper LED JMP ON.
- Connect a 2G SD card into the Micro SD Storage Board.
- Connect a Micro SD Storage Board to SPI interface.
- Power up and program the corresponding demo.
Expected Result
- The LEDs, as a binary number, will display the data, which are written to the SD card and read from it again.
Timer0_LED
Demo Description
- T0 timer demo
How to operate
Steps
- Jumper LED JMP ON.
- Power up and program the corresponding demo.
Expected Result
- LEDs blink.
Timer1_LED
Demo Description
- T1 Timer demo
How to operate
Steps
- Set LED JMP to on.
- Power up and program the corresponding demo.
Expected Result
- LEDs blink.
USART
Demo Description
- USART demo
How to operate
Steps
- Connect the pin side of a PL2303 USB UART Board (mini) to USART interface, the USB side to a PC.
- Power up and program the corresponding demo.
- Run the software PuTTY. Choose the corresponding COM port and set baud rate to 19200.
Expected Result
- Any characters sent by PuTTY will be received and printed on the PuTTY again.
References
- ↑ 1.0 1.1 1.2 1.3 LCD1602: to the LCD1602 interface. Click in for more details.
- ↑ 2.2inch 320x240 Touch LCD (A): Click in Multi Color LCD for more details.
Resources
Technical Support
If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)