background image

connectivity

page 21

CAN SPI click

Buzz click

RS485 click

WiFi click

GPS click

Code Examples

It easy to get your Click

 board 

up  and  running.  We  provided 
the  examples  for  mikroC

mikroBasic

  and  mikroPascal

 

compilers  on  our 

Libstock 

community  website

.  Just 

download  them  and  you  are 
ready to start:

http://www.libstock.com

Summary of Contents for EasyPIC V7 connectivity

Page 1: ...Supports 3 3V and 5V devices Dual Power Supply Easily add extra boards mikroBUS sockets Four connectors for each port Amazing Connectivity microcontrollers supported The ultimate PIC board Fast USB 2...

Page 2: ...ece we had put all of our energy creativity and sense of what s best for an engineer I ve personally assembled hundreds of early EasyPIC boards myself with my home soldering iron Today we present you...

Page 3: ...good to know Piezo Buzzer Input Output Group Programming software ADC inputs On board programmer Dual power supply Supported microcontrollers Touchpanel controller Additional GNDs Introduction Power S...

Page 4: ...new board just as we are EasyPIC development Team EasyPIC v7 is all about connectivity Having four different connectors for each port you can connect accessory boards sensors and your custom electroni...

Page 5: ...al To Analog Converter DAC support for Capacitive Touch Sensing using Charge Time Measurement Unit CTMU three 8 bit timers and four 16 bit timers It also has pair of CCP Comparators and MSSP modules w...

Page 6: ...7 23V AC Use jumper J6 to specify which power source you are using and jumper J5 to specify whether you are using 5V or 3 3V microcontroller Upon providing the power using either external adapter or...

Page 7: ...d using screw terminals place jumper J6 in EXT position and place jumper J5 in 5V or 3 3V position depending on which microcontroller you are using You can then plug in the adapter cable as shown on i...

Page 8: ...RB3 RA6 MCU RA7 MCU RB7 MCU RB6 MCU RB5 RB4 VCC MCU SKT5 DIP SKT 20 SKT6 DIP SKT 14 C13 100nF VCC MCU C42 100nF VCC MCU RB7 RC7 RC6 RC3 RC4 RC5 MCLR RA3 RA4 MCU RA5 MCU RB6 RB5 RB4 RC2 RC1 RC0 RA2 MC...

Page 9: ...orrectly and press the microcontroller until it is completely plugged into the socket as shown in Figure 4 5 Figure 4 6 RA6 and RA7 as I O pins when using internal oscillator Figure 4 3 Place both end...

Page 10: ...line is routed to the correct socket for your microcontroller If you are using the default PIC18F45K22 jumpers are supposed to be set for DIP40 as shown below Jumpers J8 and J9 are used to select PGC...

Page 11: ...ACTIVE R69 6K8 LD40 VCC 5V DATA 1 2 3 4 VCC D D GND CN2 USB VCC BRD CN28 RJ12 MCU PGC MCU PGD MCU VPP 1 2 3 4 5 6 ICD C18 100nF VCC BRD Figure 5 1 mikroProg block schematics EasyPIC v7 is equipped wi...

Page 12: ...ou should be able to locate the driver setup file Double click on setup file to begin installation of the programmer drivers Welcome screen of the installation Just click on Next button to procede Dri...

Page 13: ...re has intuitive interface and SingleClick programming technology To begin first locate the installation archive on the Product DVD After downloading extract the package and double click the executabl...

Page 14: ...s powerful tool with intuitive interface and convenient set of commands will enable you to track down bugs quickly mikroICD is one of the fastest and most reliable debugging tools on the market Suppor...

Page 15: ...within it Step Over F8 Executes the current program line then halts If the executed program line calls another routine the debugger will not step into it The whole routine will be executed and the deb...

Page 16: ...necessary to use a RS 232 Transceiver circuit such as MAX3232 as shown on Figure 6 1 DATA BUS CN37 1 6 5 9 1 6 5 9 Bottom view SUB D 9p R32 100K VCC MCU VCC MCU U4 MAX3232 C1 V C1 C2 C2 V T2 OUT R2 I...

Page 17: ...8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 U2 FT232RL TXD DTR RTS VCCIO RXD RI GND NC DSR DCD CTS CBUS4 CBUS2 CBUS3 OSCO OSCI TEST AGND NC CBUS0 CBUS1 GND VCC RESET GND 3V3OUT USBDM...

Page 18: ...eaders Dedicated USB ON LED signalizesthepresenseofUSBconnection when the USB cable is inserted into the USB connector communication Figure 8 1 USB function disabled Figure 8 2 USB enabled on PORTC Fi...

Page 19: ...ee groups of communication pins SPI UART and I2 C communication There are also single pins for PWM Interrupt Analog input Reset and Chip Select Pinout contains two power groups 5V and GND on one heade...

Page 20: ...tional set of mikroBUS compatible Click Boards Almost each month several new Click boards are released It is our intention to provide the community with as much of these boards as possible so you will...

Page 21: ...WiFi click GPS click Code Examples It easy to get your Click board up and running We provided the examples for mikroC mikroBasic and mikroPascal compilers on our Libstock community website Just downl...

Page 22: ...ull up and pull down feature from the PORT pin 2 up position connects the resistor in pull up state to the selected pin 3 down position connects the resistor in pull down state to the selected PORT pi...

Page 23: ...ith over 70 mikroElektronika accessory boards and enable simple connection There is one more IDC10 header available on the left side of the board next to the section with displays I O PORT group also...

Page 24: ...half of the data byte interface is connected to GND D4 D7 Upper half of the data byte LED Connection with the backlight LED anode LED Connection with the backlight LED cathode We have allowed LCD bac...

Page 25: ...Since PORTB is also used by 2x16 character LCD display you cannot use both displays simoutaneously You can control the display contrast using dedicated potentiometer P3 Full brightness display backli...

Page 26: ...your finger to push it inside Figure 13 3 Now place GLCD with Touch panel into GLCD socket 1 2 3 Figure 13 5 Turn on switches 5 through 8 on SW3 to enable Touch panel controller Touchpanel is enabled...

Page 27: ...for the 4 digit 7 segment display you have to turn on SW4 1 SW4 2 SW4 3 and SW4 4 switches Digit select lines are connected to RA0 RA3 pins on the microcontroller sockets while data lines are connecte...

Page 28: ...ter device to easily identify all devices sharing the same interface EasyPIC v7 provides a separate socket TS1 for the DS1820 Communication line with the microcontroller is selected with jumper J11 Ea...

Page 29: ...sensor in TO 92 plastic packaging Readings are done with microcontroller using single analog input line which is selected with jumper J25 Jumper connects the sensor with either RE2 or RE1 microcontrol...

Page 30: ...ed in maximum number of bits that resulting number occupies Most PIC microcontrollers have 10 bit resolution meaning that maximum value of conversion can be represented with 10 bits which converted to...

Page 31: ...SW4 8 switches as shown on Figure 18 1 1k pull up resistors necessary for I2 C communication are already provided on SDA and SCL lines once switches are turned on Prior to using EEPROM in your applic...

Page 32: ...buzzer driver to either RC2 or RE1 microcontroller pin Buzzerstarts singing whenyouprovide PWM signal from the microcontroller to the buzzer driver The pitch of the sound is determined by the frequen...

Page 33: ...signals of on board modules GND is located between UART module and 4 digit 7 seg display GND is located in the cross section between DIP18 and DIP14 sockets GND is located between PORTD I O group and...

Page 34: ...cts DVD download eng software compilers Development Systems EASYPIC_v7 If you want to find answers to your questions on many interesting topics we invite you to visit our forum at http www mikroe com...

Page 35: ...l 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 n...

Page 36: ...e experiencing some problems with any of our products or just need additional information please place your ticket at www mikroe com esupport If you have any questions comments or business proposals d...

Reviews: