Summary of Contents for mikroElektronika Clicker 2
Page 1
A compact starter kit with your favorite microcontroller and two mikroBUS sockets ™...
Page 2
TO OUR VALUED CUSTOMERS I want to express my thanks to you for being interested in our products and for having confidence in MikroElektronika. The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs.
1x8 female headers with SPI, I C, UART, RST, PWM, Analog and Interrupt lines as well as 3.3V, 5V and GND power lines. clicker 2 for PIC18FJ board can be powered over a USB cable. Page 4...
Key features ON/OFF switch Pads for connecting external ON/OFF switch 8 MHz crystal oscillator two 1x26 connection pads mikroBUS sockets 1 and 2 ™ Pushbuttons Additional LEDs LTC3586 USB power manager IC Power and Charge indication LEDs RESET button USB mini-B connector PIC18F87J50 PWM selection jumper Li-Polymer battery connector...
1. Power supply Battery power supply Figure 1-1: Connecting USB power supply You can also power the board using a Li-Polymer battery, via on- board battery connector. On-board battery charger circuit enables you to charge the battery over USB connection. LED diode (RED) will indicate when battery is charging.
2. PIC18F87J50 microcontroller The clicker 2 for PIC18FJ development tool comes with the PIC18F87J50 device. This 8-bit low power high performance microcontroller is rich with on-chip peripherals and features 128 KB of program memory and 3094 bytes of RAM. It has integrated full speed USB 2.0.
3. Programming the microcontroller Figure 3-1: PIC18F87J50 microcontroller The microcontroller can be programmed in three ways: Using USB HID mikroBootloader, Using external mikroProg for PIC18FJ programmer ™ Using external ICD2/3® programmer Page 10...
To start, connect the USB cable, or if already connected press the Firmware File folder Reset button on your clicker 2 for PIC18FJ. Click the Connect button within 5s to enter the bootloader mode, otherwise clicker 2 for PIC18FJ P18F87J50 USB HID Bootloader v1.300.hex...
step 2 – Browsing for .HEX file step 3 – Selecting .HEX file Figure 3-4: Selecting HEX Figure 3-3: Browse for HEX Click the Browse for HEX button and from a Select .HEX file using open dialog window. pop-up window (Figure 3.4) choose the .HEX file Click the Open button.
step 4 – Uploading .HEX file Figure 3-5: Begin uploading Figure 3-6: Progress bar To start .HEX file bootloading click the Progress bar enables you to monitor .HEX file uploading. Begin uploading button. Page 13...
Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready for next job Click OK button after the uploading process is finished. Press Reset button on clicker 2 for PIC18FJ board and wait for 5 seconds. Your program will run automatically. Page 14...
570 microcontrollers from Microchip®. Outstanding performance, easy operation and elegant design are its key features. You can also ICD2/3 program it programmer with ICD2® or ICD3® if clicker 2 for you reroute Figure 3-9: PIC18FJ 1x5 the wires like mikroProg ™ programming headers shown here.
mikroProg Suite for PIC software ™ ® mikroProg programmer requires ™ special programming software called mikroProg Suite for PIC . This ™ ® software is used for programming of ALL Microchip microcontroller ® families, including PIC10 , PIC12 ® ® PIC16 , PIC18 , dsPIC30/33...
Page 17
VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V 10uF 100nF 100nF 100nF 100nF 100nF 10uF VCC-3.3V AVCC VCC-3.3V PIC18F87J50 100nF 2.2uF RESET# RB6-PGC MCLR PIC18F87J50 OSC2 CLKO/RA6/OSC2 OSC1 VCCcore/Vcap CLKI/RA7/OSC1 RB7-PGD 8MHz RF4/D+ 22pF 22pF 10uF RF3/D- NOTE Before attaching the programming connector, you have VCC-3.3V to solder the provided...
4. Buttons and LEDs The board also contains a reset button buttons and and a pair of LEDs, as well as an ON/ OFF switch. The Re- set button is used to manually reset the microcontroller—it generates a low voltage level on the microcontrol- ler’s reset pin.
5. Power management and battery charger clicker 2 for PIC18FJ features LTC®3586-2, a highly integrated power management and battery charger IC that includes a current limited switching PowerPath manager. LTC®3586 also enables battery charging over a USB connection. Figure 5-1:...
6. Oscillators Board is equipped with 8MHz crystal oscillator (X1) circuit that provides external clock waveform to the microcontroller CLKO and CLKI pins. This base Figure 6-1: frequency is suitable for further clock 8MHz crystal multipliers and ideal for generation of oscillator necessary USB clock, which ensures proper module (X1)
Page 22
VCC-3.3V PIC18F87J50 VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V 100nF 100nF 10uF 100nF MCLR PIC18F87J50 OSC2 CLKO/RA6/OSC2 AVCC VCC-3.3V OSC1 VCCcore/Vcap CLKI/RA7/OSC1 8MHz RF4/D+ 22pF 22pF 100nF 2.2uF RF3/D- VCC-3.3V VCC-3.3V VCC-3.3V 100nF 100nF 10uF AVCC Figure 6-2: Crystal oscillator NOTE The use of crystal in all other schematics is implied even if schematic it is purposely left out, because of the schematics clarity.
7. USB connection PIC18F87J50 microcontrollers has an integrated USB module, which enables you to implement USB communication functionality to your clicker 2 board. Connection with target USB host is done over a Mini-B USB connector which is positioned next to the battery connector.
Most microcontroller pins are available for further connectivity via two 1x26 rows of connection pads on both sides of the clicker 2 for PIC18FJ board. They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and others.
9.1 mikroBUS pinouts ™ clicker 2 for PIC18FJ employs a solution to optimize Analog line PWM line Interrupt line the use of available pins and MCU I/Os. The PWM Digital lines* UART2 lines SEL jumper (Figure 9-2) enables two modes of...
10. click boards are plug and play! ™ Up to now, MikroElektronika has released more than 90 mikroBUS ™ compatible click boards ™ average, click board is released per week. It is our intention to provide you with as many add-on boards as possible,...
Page 31
No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika. The manual PDF edition can be printed for private or local use, but not for distribution.
Page 32
If you want to learn more about our products, please visit our web site at www.mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/support If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com ver.
Need help?
Do you have a question about the Clicker 2 and is the answer not in the manual?
Questions and answers