A compact starter kit with your favorite … compact starter kit with your favorite microcontroller...
Transcript of A compact starter kit with your favorite … compact starter kit with your favorite microcontroller...
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.
The PIC® and Windows® logos and product names are trademarks of Microchip Technology® and Microsoft® in the U.S.A. and other countries.
TO OUR VALUED CUSTOMERS
Nebojsa Matic
General Manager
Page 3
Table of Contents
1. Key features 4
2. What is 6LoWPAN clicker? 5
2.1. 6LoWPAN clicker schematic 6
3. EEPROM memory 7
4. Power supply 8
5. PIC32MX470 microcontroller 9
6. Programming the microcontroller 10
Programming with mikroBootloader 11
step 1 – Connecting 6LoWPAN clicker 11
step 2 – Browsing for .HEX file 12
step 3 – Selecting .HEX file 12
step 4 – Uploading .HEX file 13
step 5 – Finish upload 14
Programming with mikroProg™ Programmer 15
7. mikroProg Suite™ for PIC® Software 16
7.1. Software Installation Wizard 17
8. click boards™ are plug and play! 18
9. Dimensions 20
Page 4
6LoWPAN clicker
1. Key features 01 Micro USB connector
02 PIC32MX470 MCU
03
Battery slots
09
mikroBUS™ socket05
8 MHz crystal oscillator
08
32.768 KHz crystal oscillator
04
PICkit™ connector
06
mikroProg connector
10
5V voltage regulator
11
12
ON/OFF switch
Power indication LED
13 Additional LEDs
10 11
12
01
0203
05
13
14 CA-8210
14
06
07
16 MHz crystal oscillator
04
08
15
09
07 3.3V voltage regulator
15
EEPROM memory16
16
Page 5
6LoWPAN clicker
2. What is 6LoWPAN clicker?
6LoWPAN clicker is an amazingly compact starter development kit which brings innovative mikroBUSTM host socket to your favorite microcontroller. It features the PIC32MX470 32-bit microcontroller,CA-8210 2.4GHz ISM band transceiver, two indication LEDs, two general purpose buttons, ON/OFF switch, micro USB connector and a single mikroBUSTM host socket. mikroProg connector and pads for interfacing with external electronics are provided as well. mikroBUSTM host connector consists of two 1x8 female headers with SPI, I2C, UART, RST, PWM, Analog and Interrupt lines as well as 3.3V, 5V and GND power lines. The 6LoWPAN clicker board can be powered over two standard AAA batteries, or USB cable.
Page 6
GND GND
R18100K
R6
470
GND
VCC3V3
VCC3V3
PWR
R21
4K7
T1T2
R23
4K7
GND
VCC3V3
X18MHz
C50 22pF
C38 22pF
GND
GND
C23100nF
GND
VCC3V3
C24100nF
GND
VCC3V3
C25100nF
GND
VCC3V3
R2410K
VCC3V3
C55100nF
GND
R26
100
MCLR#
GND
GND
LD2
LD1
R1510K
R1610K
VCC3V3 VCC3V3
GND GND
ANRSTCSSCKMISOMOSI3.3VGND
PWMINTRXTX
SCLSDA
5VGND
C28100nF
VCC3V3
GND
C291uF
VCC3V3
GND
MB_SCK
RB6/PGCRB7/PGD
T1
C26100nF
GND
VCC3V3
C27100nF
GND
VCC3V3
mPR
OG
1098765 4 3 2 1
VIN L2
VO
UT
PGL1EN PS VI
NA
FBGN
D
PGND
U1TPS63000
L1 3uH
GND
R410K
R339K
R216K9
C356pF C9
100nF
C8
1uF
C10
10nF
C11
100pF
C6
10uF
C2
10uF
C1
10uF
VCC3V3
VEXT
1098765 4 3 2 1
VIN L2
VO
UT
PGL1EN PS VI
NA
FBGN
D
PGND
U2TPS63000
L2 3uH
GND
R810K
R710K
R580K6
C1522pF C20
NC
C19
1uF
C21
NC
C22
NC
C18
10uF
C14
10uF
C13
10uF
VCC5V
VEXT
12
AAA
BATT
ERY
HD
1AA
A BA
TT H
OLD
ER
12
AAA
BATT
ERY
HD
2AA
A BA
TT H
OLD
ER
GND
VEXT
M1DMP2305U
VCC-BAT
VCC-USB
R1
1KGND
VCC-BAT
C16
4.7uF
C17
4.7uF
C4
4.7uF
C5
4.7uF
X2
16MHzC5412pF
C3912pF
PLL PLL
A1 Antenna 2.4GHz
MCLR#
D_PD_N
PIC32MX470
RB9
22RB
821
AVSS
20AV
DD
19RB
718
RB6
17
RB016 RB115 RB214
RB313 RB412
RF3 33
RF5
32RF
431
RB15
30RB
1429
RB13
28RB
1227
VDD
26VS
S25
RB11
24RB
1023
VSS9
RB511
RG64 RE73
RG75
RG86
MCLR7
RG98
VDD10
RE51
RE62
VBUS34
D- 36
VUSB3V3 35
RD9 43RD1044
D+ 37VDD 38OSC1
39OSC2 40VSS 41RD8 42
RC13 47RC14 48
RD11 45RD046
RD6
54
RD5
53
RD4
52
RD3
51
RD2
50
RD1
49
RE4
6 4
RE3
63
RE2
62
RE1
61
RE0
60
RF1
59
RF0
58
VDD
57
VCAP
56
RD7
55
U4
VBUS
MB_
SCK
MB_
MIS
OM
B_M
OSI
MB_MISOMB_MOSI
MB_SDAMB_SCL
MB_SDAMB_SCL
MB_
UAR
T-TX
MB_
UAR
T-R
X
MB_UART-TXMB_UART-RX
MB_ANMB_AN
MB_
PWM
MB_PWMRF-MOSIRF-MISORF-SCK
MB_INT
MB_INT
MB_CS
MB_
RST
MB_CSMB_RST
T1
T2
T2LED1LED2
LED1
LED2
FP1FERRITE
VCC3V3
C12
NC
GND
DVCCRF
C31
100nF
GND
C32
100nF
AGND
C30
1uF
DVCCRF
GND
1
2
3
SW1JS202011SAQN
GND
PWR-EN
GND
PWR-EN
PWR-EN
J1A
GND
PS
PS
PS
C401nF
R1927
R13 27
R1727
R14 27
RF_
CSR
F_RS
T#
GND
FP3
FERRITE
C5210nF
R12 27R11 27
D_PD_N
12345
IDD+D-
VBUS
GND
CN1
USB MICROB
VCC-USB
R10 100 VBUS
J2A
GND
RB6
/PG
CR
B7/P
GD
VCC5V
RF_GPIO0RF_GPIO1
RF_GPIO2
RF_
GPI
O3
X332.768KHz
C42 22pF
C43 22pFGND
GND
PICk
it
C44
100nF
R29
47
VINA
C45
100nF
VINA
VINA
VINA
VEXT
VINA
C46100nF
C47
10uFGND
U2TX
U2R
X
R9
1K
1234
U2TXU2RX
GND
VCC3V3
SCL1
GND 2
SDA 3A05
A14
VCC6
U6
24AA025E64
GND
R3010k
R3110k
VCC3V3
MB_SCL
MB_SDA
AVDD 2
AVSS 3
RFP 4
RFN5
AVSS 6
AVDD27
XTA1
6MQ
211
XTA1
6MQ
112
AVSS
13D
VDD
114
DVD
D25
MISO24
MOSI23
SSB22
SCLK21
DIG118
DIG017
DVD
D16
DVS
S15
AVDD1 8
AVDD 1
DIG219
AVD
D9
AVSS
10
NR
ESET
27D
IG3
26
NIRQ20
DVS
S28
DVS
S29
DVD
D2
30
AVSS
31
NC
32
CA8210
U3
RF-MISORF-MOSIRF_CS
DVCCRF AVCCRF
C4110nF
C5310nF
RFGNDPLL
GND
C49
1nF
GNDRF_RST#
RF-SCK
RF_GPIO1RF_GPIO2RF-IRQ
RF_GPIO0
RF_GPIO3
RF-
IRQ
FP2FERRITE
C7
100nF
C48
12pF
AGND AGND
PLL
AVCCRF
DVCCRF AVCCRF
123456
HD6MCLR#
VCC3V3
MCLR#
GND
RB6/PGCRB7/PGD
12345
HD5
RFGND
DIN_NDIN_P
RFGND
AGND
GND
FEED
_LIN
E
PLL
RFGND
AGND
GND
C3627pF
C3427pF
RF1_PRF1_N
C351.0pF
L34.3nH
RFGND
RFGND
C37
27pFC51
1.0pF
L5
4.3nH
D3 PMEG2010AEB,115
D2 PMEG2010AEB,115
D1PMEG2010AEB,115
6LoWPAN clicker schematic
Page 7
3. EEPROM memory
The 24AA025E64 is a a 2 Kbit Electrically ErasablePROM. The device is organized as two blocks of128 x 8-bit memory with a 2-wire serial interface.
Page 8
When the board is powered up the power indication LED will be automatically turned on. The USB connection can provide up to 500mA of current which is more than enough for the operation of all on-board and additional modules.
connecting USB power supply
through CN1 connector
4. Power supply
powered with AAA
batteries
6LoWPAN clicker can be powered with two standard AAA batteries. The TPS63000 Buck-Boost converter onboard the clicker regulates the power supply from the batteries.
Page 9
5. PIC32MX470 microcontroller
The 6LoWPAN clicker development tool comes with the PIC32MX470 microcontroller. This 32-bit MIPS M4K Core high performance microcontroller is rich with on-chip peripherals and features 512KB of Flash and 128KB RAM. It has integrated full speed USB 2.0. support.
Bus Ma trix
Peripherial Bus
PIC 32MIPS M4K 32-bit core- 120MHz, 1.65 DMIPS/MHz- 5 Stage Pipeline, 32-bit ALUTrace 32-bit
HWMul/Div
32 CoreRegisters
Shadow Set
JT AG
Instruction Data
AnalogComparators
(3)RTCC
I2C(5)
48 Ch10-bitADC
UA RT(6)
InputCapture
(5)
I2S/SPI(4)
OutputComparePWM(5)
16-bitTimers
(5)
PrefetchBuffer Cache
512 KBFlash
128 KBSRAM
InterruptController
GPIO(85) VREG
16-bitParallel
Port
CAN 2.0b(2)
10/100Ethernet
MAC
USBOTG
DMA8Ch
2-WireDebug
CapacitiveTouch
2 Ch. DMA 4 Ch. DMA 2 Ch. DMA
RMII/MII
Key microcontroller features- MIPS32® M4K™ Core @ 120 MHz/150 DMIPS
- 512KB of program memory
- 128KB or RAM
- USB device/host/OTG
- 10-bit, 1 Msps, 28-channel
Analog-to-Digital Converter (ADC)
- Max Speed MHz: 120
- Temperature range: −40°C to 105°C
Page 10
PIC32MX470 microcontroller
01
02
Using USB HID mikroBootloader,
Using external mikroProg™ for PIC®, dsPIC®, PIC32® programmer.
The microcontroller can be programmed in two ways:
6. Programming the microcontroller
Page 11
You can program the microcontroller with bootloader which is preprogrammed by default. To transfer .hex file from a PC to MCU you need bootloader software (mikroBootloader USB HID) which can be downloaded from:
Programming with mikroBootloader
USB HID mikroBootloader window
step 1 – Connecting 6LoWPAN clicker
01
01
To start, connect the USB cable, or if already connected press the Reset button on your 6LoWPAN clicker. Click the Connect button within 5s to enter the bootloader mode, otherwise existing microcontroller program will execute.
After the mikroBootloader software is downloaded, unzip it to desired location and start it.
download.mikroe.com/examples/starter-boards/clicker/6lowpan/clicker-6lowpan-bootloader.zip
6LoWPAN clicker BootloaderWinRAR ZIP archive
6LoWPAN clicker BootloaderFile folder
SoftwareFile folder
mikroBootloader USB HID.exeBootloader tool for mikroElektron...mikroElektronika
6LoWPAN Clicker USB HID Bootloader v1.0.hexHEX File
FirmwareFile folder
Page 12
step 3 – Selecting .HEX file step 2 – Browsing for .HEX file
Browse for HEX Selecting HEX
01 01
02
01
01
02
Click the Browse for HEX button and from a pop-up window choose the .HEX file which will be uploaded to MCU memory.
Select .HEX file using open dialog window.
Click the Open button.
Page 13
step 4 – Uploading .HEX file
Begin uploading Progress bar
01
01
01 01To start .HEX file bootloading click the Begin uploading button.
Progress bar enables you to monitor .HEX file uploading.
Page 14
step 5 – Finish upload
Restarting MCU mikroBootloader ready for next job
01
02
01
Click OK button after the uploading process is finished.
Press Reset button on 6LoWPAN clicker board and wait for 5 seconds. Your program will run automatically.
Page 15
The microcontroller can be programmed with external mikroProg™ for PIC®, dsPIC® and PIC32® programmer and mikroProg Suite™ for PIC® software. The external programmer is connected to the development system via 1x5 mikroProg™ connector. mikroProg™ is a fast USB 2.0 programmer with hardware debugger support. It supports PIC10®, PIC12®, PIC16®, PIC18®, dsPIC30/33®, PIC24® and PIC32® devices from Microchip®. Outstanding performance, easy operation and elegant design are its key features.
Programming with mikroProg™ programmer
mikroProg™ connector
Page 16
7. mikroProg Suite™ for PIC® Software
The mikroProg programmer requires special programming software called mikroProg Suite for PIC®. It can be used for programming all Microchip® microcontroller families, including PIC10®, PIC12®, PIC16®, PIC18®, dsPIC30/33®, PIC24® and PIC32®. The software has intuitive interface and SingleClick™ programming technology. Just download the latest version of mikroProg Suite™ and your programmer is ready to program new devices. mikroProg Suite is updated regularly, at least four times a year, so your programmer will be more and more powerful with each new release. Main window of mikroProg Suite™ for PIC® programming software
Page 17
01
04
02
05
03
06
Start Installation
Choose destination folder
Accept EULA and continue
Installation in progress
Install for all users
Finish installation
Software Installation Wizard
Page 18
Up to now, MikroElektronika has released more than 300 mikroBUS™ compatible click™ boards. On the average, we make one click per day. It is our intention to provide you with as many add-on boards as possible, so you will be able to expand your development board with additional functionality. Each board comes with a set of working example codes. Please visit the click™ boards webpage for the complete list of currently available boards:
8. click boards are plug and play!
shop.mikroe.com/click
6LoWPAN clicker driving Smoke click™ board
Page 19
Relay click™
Gyro click™ LightHz click™7seg click™
Bluetooth2 click™
EEPROM click™THERMO click™
RFid click™ Thunder click™
Pressure click™
8x8 click™ FM click™
BarGraph click™
USB SPI click™
Page 20
9. Dimensions
67917.2 25.4 4
1000 159
297975.6
71.6
12.7
2.54
16.7
2819
500
100
659 1.663
8315
Legendmmmils
Mounting hole size2Ø79Ø
6LoWPAN
RS
T
3V
3
GN
D
PG
D
PG
C
NC
Page 21
DISCLAIMER
All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. 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. Any modification of this manual is prohibited.
MikroElektronika provides this manual ‘as is’ without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties or conditions of merchantability or fitness for a particular purpose.
MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MikroElektronika, its directors, officers, employees or distributors be liable for any indirect, specific, incidental or consequential damages (including damages for loss of business profits and business information, business interruption or any other pecuniary loss) arising out of the use of this manual or product, even if MikroElektronika has been advised of the possibility of such damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior notice, if necessary.
HIGH RISK ACTIVITIES
The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or resale as on – line control equipment in hazardous environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental damage (‘High Risk Activities’). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities.
TRADEMARKS
The MikroElektronika name and logo, mikroC™, mikroBasic™, mikroPascal™, Visual TFT™, Visual GLCD™, mikroProg™, Ready™, MINI™, mikroBUS™, EasyPIC™, EasyAVR™, Easy8051™, click™ boards and mikromedia™ are trademarks of MikroElektronika. All other trademarks mentioned herein are property of their respective companies. All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies, and are only used for identification or explanation and to the owners’ benefit, with no intent to infringe.
Copyright © 2017 MikroElektronika. All Rights Reserved.
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 helpdesk.mikroe.
comsupport
If you have any questions, comments or business proposals, do not hesitate to