Home
User Manual - Dizzy Enterprises
Contents
1. Start Page Compile the project Build gt Build start the USB HID Bootloader application by clicking Tools gt USB HID Bootloader Connect your Breeze board to the computer via a USB cable and check that the power LED on the Breeze board lights When you connect the board there Is a 5 second window during which the USB symbol next to the 1 Wait for USB link text in the bootloader application will turn red click the Connect button within this time period If you miss it don t worry simply press the reset button on the Breeze board and try again Click the Browse for Hex button and locate the Blink hex file in the same directory as the Blink example project Click the Begin uploading button That s it The LED connected to PortC 2 of the PIC on your Breeze board should now be flashing at 1 second intervals Note You can still use the mikroBootloader application even if you dont wish to use one of mikroElektronika s compilers simply download it from our website WWW dizzy co za Page 6 of 14 Power Circuitry The schematic for the Breeze s power circuitry is detailed below VSYS JUMPER2 1117 50 JP7 L d 3 vi 2 The main points are JUMPER MBRS140T3 LED BLUE Power JP1 erie JUMPER Bypass JP2 erie JUMPER Bypass JP5 U2 lt O lt O JUMPER GND ADJ GND ADJ C3 C6 10uF 100nF 1 3V3
2. SDO mBTX RP18 1 Only applicable if an SD card is inserted SD Card Detect switch is normally open R3 can be used to pull up the input if the PIC s internal weak pull up is not used 2 JP17 can be used to switch SDO to RB6 The Breeze B board Is designed by Dizzy Enterprises www dizzy co za ls designed in the Proteus Design Suite www labcenter com Features a mikroBus socket www mikroe com Is compatible with most shields and draws inspiration from the Arduino www arduino cc Draws inspiration from the Amicus www myamicus co uk Wwww dizzy co za Page 13 of 14 lieibifeefie This part says that you cannot sue us because we accept no responsibility for any damages whatsoever that may be caused In connection with our products We ve designed them the best we can but please use your common sense 32 7 68kKHz Crystal Pads Due to an error in production the 32 768kHz crystal connection pads have been covered in solder resist and will not solder easily This problem is however easily solvable by gently scraping the solder resist from the pads with a knife or similar sharp object Note that the colour of the pads once the solder resist has been removed will be copper and not silver Wwww dizzy co za Page 14 of 14
3. VSYS USB_VCC MBRS140T3 JP6 JUMPER2 DC socket or terminal block power input connectors Reverse polarity protection diode Fuse OV and 3 3V regulators USB power source option with fuse DC socket Terminal Block and reverse current protection diode VSYS selection jumper between 3 3V and 5V change this to SV If you plan to use a OV PIC with the system Power LED For advanced users the power circuitry can be reconfigured Www dizzy co za Page 7 of 14 JH can be used to bypass the polarity protection diode thus eliminating the volt drop caused by the diode JP2 can be used to bypass the SV regulator if for example a 5V power supply is used JP5 can be used to bypass both regulators This is intended to be used when the system is powered by a 3 6V lithium battery Either JH or JP6 should also be disconnected if this is used For more information on the power socket please see the Inputs and Outputs section of this manual The Breeze comes with a miniUSB connector and has the option to install a USB B or USB A connector as well miniUSB Connector USB B Connector USB A Connector The USB connector s D line is connected to PortC 4of the PIC and it s D line is connected to PortC 5 Vilfeleeleileleisgieellfie The microcontroller used in the Breeze B is the PIC1 8F25J50 The PIC1 8F25J20 features Operating voltage range from d UV to 3 6V 32KB of pro
4. the following diagram Legend Input Output Function Alternate Function mikroBus Function Power Function microSD Socket SE S A sck RB4 G OF Ae MISO SDI RB5 E r pen T7 at ENRE MOSI SDO RC7 ts s ban Cf VSYS CS RB en de 232R ZK RES MCLR CD AB1 ok ke 3 3V GE 5V STNG RIAN At RB3 PWM GND RA1 RST PSI RBO INT GND RAS CS DS g RC7 RX VIN RB4 SCK Sa RC6 TX RB5 SDI Gei RB4 SCL RAO ANO RC7 500 AX RB5 SDA RA1 AN1 3 3V Ia 5V RA2 AN2 ENB ch ENB RA5 AN4 L ege ei RBO AN 1c PEATE A ard Gd RB1 AN10 l RES MCLR 49 8 F RBS SDI GC bh Bi on zaner Lo ees C7 SDO me Page 10 of 14 Can be disconnected using jumper JP1 1 Can be connected to ground instead using Jumper JP10 zo Please see the USB section of this manual for more information mikroBus Socket The mikroBus socket allows a huge variety of mikroElektkronika www mikroe com click add on accessory boards to be connected to the system There are currently over 30 click boards and counting performing a vast variety of functions such as communication storage audio etc ETH click Ethernet board connected WiFi PLUS click WiFi board connected The mikroBus connections are explained in greater detail below AN Analogue Pulse Width Modulation PWM RST Reset different from the PIC s reset Interrupt INT CS SPI Chip Se
5. C_RCO RA1 AN1 C2INA RP1 RC1 T10SI UOE RP12 PIC_RC1 RA2 AN2 VREF CVREF C2INB RC2 AN11 CTPLS RP13 PIC_RC2 RA3 AN3 VREF C1INB RC4 D VM PIC_RC4 RA5 AN4 SS1 HLVDIN RCV RP2 RC5 D VP PIC_RC5 RA6 CLKO OSC2 RC6 TX1 CK1 RP17 PIC_RC6 RA7 CLKI OSC1 RC7 RX1 DT1 SDO1 RP18 PIC_RC7 PIC_MCLR PIC_RBO RBO AN12 INTO RP3 RB1 AN10 RTCC RP4 VDDCORE VCAP PIC_VCAP RB2 AN8 CTEDG1 VMO REFO RP5 RB3 AN9 CTEDG2 VPO RP6 RB4 KBI0 SCK1 SCL1 RP7 VUSB PIC_VUSB RB5 KBI1 SDI1 SDA1 RP8 RB6 KBI2 PGC RP9 RB7 KBI3 PGD RP10 MCLR PIC_MCLR PIC18F25J50 VDD VSYS B Programming PIC_RB1 PIC_RB2 PIC_RB3 PIC_RB4 PIC_RB5 PIC_RB6 PIC_RB7 The Breeze B comes pre loaded with a USB HID bootloader meaning that no external programmer is needed in order to use the board It is however possible to use an external programmer if desired with connectors provided for both the mikroProg and PICkit programmers d e lt ah Right Angle Connector Straight Connector in PICkit socket in PICkit socket WWW dizzy co za Page 9 of 14 VCC Power VSYS SS Ms a GND Ground OV F PGD PGG PGC Program Clock RB6 O GND PGD L PGD Program Data RB7 o C O VCC VPP Y VPP Programming Voltage E The VPP pin on the PIC is also VPP GND its MCLR reset pin For a quick guide on how to program the board using the bootloader please see the Getting Started section of this manual The inputs and outputs of the Breeze B board are detailed in
6. b reeze B User Manual DIZZY enterprises www dizzy co za alegre le ter del DEE 3 BUET E 4 Giclee eege a ee ee ee E E E 5 Getting Started USB Bootloader E 6 BO CrO e a eee ee ee 7 TEE 8 FM FAN OUI OUI anc aceegeetecesett c anche E E EEE E E E E E E E E O Beeler oe EE g PESEL Button seasan E E S RRR g AY 1 S Le g Egeter N D g FpUs ond RRE 10 MIKPOBUS Gocket KENEEN R EENren Eeee EE 11 MICOS RE ele 12 TOP ee ee E R 12 PORCA CE D eee cana E E edna cba sasededcec ates aseacdedadecadedeasdetedesededaneeeeescasiig 12 Been e Gh B Fe eee ee ee 12 RTCC Real Time Calendar and Clock ce cccessssssesscsssssssssssssesnsecssssscsessssssssesesssssensesasenenseeasensesneaeesees 12 EIN OU Te 13 Microcontroller O Map 13 Bi Ce ee 13 DisclaiMer esesececscsssesesescscscscscscscscsceeusscscscscacacaesesesescscacacasaesesesesescacasacauaeseusscacasacasacacenensueasasasasanenenenseseesatatens 14 Eech EE 14 E e i Sal Fe IIS aera epics eee ee erin ee 14 Www dizzy co za Page 2 of 14 Introduction The Breeze is a compact and cost effective microcontroller platform drawing inspiration from the Arduino www arduino cc and Amicus www myamicus co uk microcontroller platforms It also features a mikroElektronika www mikroe com mikroBus socket At the most basic level the Breeze board takes care of providing power to the microcontroller and conveniently exposing its I O input output pins lt also prov
7. gram memory and 3 7 76B of SRAM Approximately 6800B of program memory are used by the USB HID bootloader Operating frequency up to 48MHz 12MIPS For more information on the PIC18F25J50 please download its datasheet from http 7 www microchip com wwwproducts Devices aspx dDocName ens304040 Www dizzy co za Page 8 of 14 It is of course possible to replace the PIC18F25J50 with almost any other 26 pin 8 bit PIC microcontroller adjustment of some jumpers on the board may be necessary Oscillator Socket The Breeze comes programmed to run from the PIC s internal oscillator An oscillator socket X1 with 22pF capacitors is however provided should you wish to connect an external oscillator The oscillator socket is connected the PIC s PortA 6 CLKQ and PortA 7 CLK pins Reset Button A tactile switch SW1 is connected to the MCLR pin of the microcontroller Depressing this button will pull the MCLR pin low and place the microcontroller in a state of reset Releasing the button will allow the R1 resistor to pull the MCLR pin high again and program execution will restart from the beginning Note The reset button will not work if the MCLR function has been disabled on the PIC by programming it with the relevant configuration setting Schematic The schematic for the microcontroller and reset button is detailed below PIC_RAO PIC_RA1 PIC_RA2 PIC_RA3 PIC_RA5 PIC_RA6 PIC_RA7 RAO ANO C1INA ULPWU RPO RCO T10SO T1CKI RP11 PI
8. ides a socket for connecting an external crystal oscillator includes a convenient reset button and provides connections for two different types of external programmers the mikroProg and the PICkit programmers are not needed to use the board however as the microcontroller comes pre loaded with a bootloader more on that later The board also includes a power LED so that you can easily see when the board Is powered or not Besides for the above mentioned basic features the Breeze also includes a USB connection a microsD socket for storing data a mikroBus socket for easily connecting a variety of accessory boards and a LED connected to one of the PIC s I O pins The Breeze is also the same size and shape as the Arduino and every effort has been made to match the pinout of the Arduino as closely as possible which means that the board is compatible with most Arduino shields enclosures etc The microcontroller used on the Breeze B is the PIC18F25J50 which features full speed USB The mikroBus socket allows click boards from mikroElektronika to be easily plugged into the system This means that the functionality of the system can be easily extended with features such as Ethernet WiFi an MP3 decoder GPS and much much more There are currently over 30 click boards and counting The LED connected to PortC 2 of the PIC is extremely useful for debugging or whatever else you may need it for Finally the PIC microcon
9. lect UART Serial Receive RX SCK SPI Serial Clock UART Serial Transmit TX MISO SPI Master Out Slave In SDI on the PIC l C Serial Clock SCL MOSI SPI Master In Slave Out SDO on the PIC l C Serial Data SDA 3 3V 3 3V Power Supply OV Power Supply 5V GND Ground QV Power Supply Ground QV Power Supply GND Serial Peripheral Interface Communication interface Inter Integrated Circuit communication interface WWW dizzy co za Page 11 of 14 microSD Socket A microSD socket is included on the Breeze board It is connected to the standard SPI pins on the board with the CS chip select pin being connected to PortB 7 and the CD card detect pin being connected to PortB 1 The card detect function Is intended to be used with the internal weak pull up available on the PIC s PortB 1 pin however an external pull up resistor R3 can also be connected if desired SP Header ISP connections are included on the Breeze board for maximum compatibility with Arduino shields ISP is the programming standard for Atmel AVR ATmega microcontrollers which the Arduino uses Note that soldering this header onto the board will block access to the microSD socket Port 2 LED An LED is connected to PortC 2 of the PIC and is very useful for debugging or whatever other purpose you may find for it It can be easily disconnected if desired using jumper JP24 Offset PortB Socket An offset PortB socket Is p
10. rovided on the Breeze board This was done so that all connections on the board are exposed in a 2 54mm 0 1 in grid format making the board compatible with various prototyping tools such as veroboard RTCC Real Time Calendar and Clock The PIC18F25U50 features a built in RTCC realtime calendar and clock The Breeze board has a facility for connecting a 32 68kHz crystal X2 to the PIC s PortC O T710SCO and PortC 1 T10SCI pins in order to run the RTCC Two 12pF Capacitors are also connected between ground and these lines in order to facilitate proper operation of the oscillator Www dizzy co za Page 12 of 14 For more information WW er eS Breeze eng a oe v1 2 please see the Arduino 0 00 o e izzy co el Template file available Www arduino cc from the Breeze o e on eco wat Our website 83 puaa e deg RSTO e 3V3 ER A4meHeH AEB AN o DL e JP 13 JRI C3meHeHA7Z RSTO Hel GND ain Ces ec e Ge GNe Ei wemen SCK 21 Se VINe E o Bes BE Beien MOSIOe vu V3 m8 0e A10 e cn ek eAee 3mo D ES H e e I ease r Hen JP24 sg Ve Microcontroller 0O Map RAO mBAN RPO RBO mBINT RP3 RCO T1OSCO RP11 RAI mBRST RP1 RB1 SDCD RP4 BCL T10SCI RP12 RA2 RB2 RP5 RC2 LED RP13 RA3 RB3 mBPWM RP6 RB4 SCK SCL RP7 RC4 USBD RAS mBCS RP2 RB5 SDI SDA RP8 BCS USB D RA6 OSC2 RB6 Alt SDO PGC RP9 RC6 mBRX RP17 RAZ OSC1 RB7 SDCS PGD RP10 BC
11. shields this jumper can be placed in the GND position 4 VSYS jumper This jumper is used to select whether VSYS which is used to power the microcontroller is connected to 3 3V or SV l e if you wish to use a OV microcontroller with the system then place this jumper in the SV position also make sure that the 3 3V jumper has been disconnected 5 For maximum compatibility with Arduino shields this jumper can be disconnected this connection is currently unused on the Arduino Page 95 of 14 1 1 Alternative SDO connection jumper This jumper can be used to connect the board s SDO line to PortB 6 instead of PortC 7 PortC 7 is also the board s RX line 12 LED disconnect jumpers These jumpers can be used to easily disconnect the LEDs Getting Started USB Bootloader This quick start guide is designed to get you up and running with your Breeze board as quickly as possible 1 g Download and install your preference of one of mikroElektronika s PIC compilers mikroC mikroBasic or mikroPascal from www mikroe com If youre not sure which one to use then wed say that BASIC is easier to understand but we would recommend that you go with C These compilers are free up to a 4KB of code Download the Breeze B example projects from www dizzy co za Start up your compiler and open our Blink example project click Open Project on the Start Page if the Start Page is not visible then click View gt
12. troller comes pre programmed with a USB HID bootloader meaning that no external programmer is needed to program the board Whether youre a beginner who is just getting started with microcontrollers or a pro that has been using them for ages we hope that the Breeze will be exactly what you need to continue your journey WWW dizzy co za Page 3 of 14 1 2 3 4 sl D K O g 10 microSD socket 11 PortA analogue socket inputs and outputs 12 PortC socket inputs and outputs Power supply circuitry USB Reset button Power socket 3 3V 5V Ground VIN VSYS Oscillator socket PortB socket inputs and outputs PIC18F25J50 microcontroller mikroBus socket Connections for 32 68kHz oscillator 13 Programmer connectors mikroProg PICkit 14 Arduino compatibility ISP connections 19 Power and PortC 2 LEDs WWW dizzy co za Revision 1 4 Page 4 of 14 s amp d Gab A KR gt Although there are many jumpers on the Breeze most if not all of them can be ignored so if youre a beginner then dont feel overwhelmed you really don t need to pay any attention to any of these The most relevant jumpers are the VSYS jumper 4 which is necessary if you wish to use a OV microcontroller with the system and the Arduino compatibility jumpers 3 and 5 which may be necessary if you wish to use an Arduino shield with the system 3 PortA 4 Ground jumper For compatibility with Arduino
Download Pdf Manuals
Related Search
Related Contents
de_SmartView_2.1_Help DS Windows Vista bl600 setup - Alpha Micro Components LG LBN10551PV Energy Guide Copyright © All rights reserved.
Failed to retrieve file