v7 for PIC18FJ®, dsPIC33®, PIC24® and PIC32® 6 mikromedia boards supported PIC18FJ®,dsPIC33®/PIC24® and PIC32® Many on-board modules Multimedia peripherals Easy-add extra boards mikroBUS™ sockets Four connectors for each port Amazing Connectivity Fast USB 2.
To our valued customers mikromedia™ has developed into a well-known brand. Not only that we set new standards in design and selection of on-board modules, but we also created an entire ecosystem of users who use our visual tools and compilers to develop TFT applications faster and easier than ever before. The ease of use is our top priority. This is why we wanted to take things to the next level. mikromedia™ workStation v7 is unlike anything you have seen before.
Table of contents Introduction Connectivity Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 04 Input/Output Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 It's good to know . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 05 mikroBUS™ sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Click Boards™ are plug and play . . . . . . . . . . . . . . . . . . . . 27 Power Supply Power supply . .
introduction Introduction After several years of successful production of mikromedia™ boards, we have decided to delight users of our products and make a new development system that expands functionality of all mikromedia™ boards with Microchip® microcontrollers. The idea was to make a development system with as many peripherals as possible to cover multimedia modules. On the other hand we wanted to fit in dimensions of other development systems with 2-layer PCB.
introduction It's good to know System Specifications power consumption ~135 mA (all modules are disconnected) power supply 7–23V AC or 9–32V DC or via USB cable (5V DC) weight 515 g (1.135 lbs) board dimensions 266 x 220 mm (10.47 x 8.66 inch) Package contains 1 Damage resistant protective box 2 mikromedia™ workStation v7 board for PIC® 3 USB cable 4 Wire jumpers 20122011 www.mikroe.com Copyright ©2011 Mikroelektronika. All rights reserved.
power supply Power supply Board contains switching power supply that creates stable voltage and current levels necessary for powering each part of the board. Power supply section contains specialized MC33269DT3.3 power regulator which creates VCC-3.3V power supply, thus making the board capable of supporting 3.3V microcontrollers. Power supply unit can be powered in three different ways: with USB power supply (CN5), using external adapters via adapter connector (CN36) or additional screw terminals (CN35).
Board power supply creates stable 3.3V necessary for operation of the microcontroller and all on-board modules. Power capacity: power supply Power supply: via DC connector or screw terminals (7V to 23V AC or 9V to 32V DC), or via USB cable (5V DC) up to 500mA with USB, and up to 600mA with external power supply How to power the board? 1. With USB cable 1 2 3 4 5 6 Set J1 jumper to USB position To power the board with USB cable, place jumper J1 in USB position.
mikromedia mikromedia board socket ™ mikromedia™ workStation v7 contains four female headers that together form a socket for specialized small development boards with a microcontroller and on-chip modules, called mikromedia™ boards. Two of them are used for general purpose I/O and power pins (1x26). The other two are used for the mikroProg™ programmer (1x5) or ICD2/3 (1x6).
LOUT ROUT G2.4 G2.5 G2.6 G2.7 G3.0 G3.1 G3.2 G3.3 G3.4 G3.5 G3.6 G3.7 G4.0 G4.1 G4.2 G4.3 G4.4 G4.5 G4.6 G4.7 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 5V GND ANALOG PWM RX TX SCL SDA 3.3V GND L R GND RST INT SCK MISO MOSI 3.3V GND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 mikromedia for PICI8FJ, dsPIC33,PIC24 and PIC32 mikromedia A0 A1 G0.0 G0.1 G0.2 G0.3 G0.4 G0.5 G0.6 G0.7 G1.0 G1.1 G1.2 G1.3 G1.4 G1.5 G1.6 G1.7 G2.0 G2.1 G2.
mikromedia How to properly place your mikromedia™ board into the socket? Before you plug the mikromedia™ board into the socket, make sure that the power supply is turned off. Images below show how to correctly plug the board. First make sure that mikromedia™ board orientation matches the silkscreen outline on the 1 Figure 4-3: On-board mikromedia™ socket has silkscreen markings which will help you to correctly orient the mikromedia™ board before inserting.
What is mikromedia board? The mikromedia™ board is a compact development system with lots of on-board peripherals which allow development of devices with multimedia content. The central part of the system is a PIC18FJ®, PIC24®, dsPIC33® or PIC32® microcontroller, depending on mikromedia™ board. The mikromedia™ features integrated modules such as Audio module (with stereo MP3 codec and 3.5mm audio connector for headphones), resistive TFT 320x240 touch screen display (with 262.
mikromedia Which one to use? mikromedia for PIC18FJ mikromedia for PIC24 Architecture: 8-bit CPU speed: 12 MIPS Flash memory: 128 kB RAM memory: 3,904 Bytes Operating MCU Voltage: 2 – 3.6 V USB DEVICE: Yes USB UART: No Consumption (back light is ON): 51.
mikromedia for dsPIC33 Architecture: CPU speed: Flash memory: RAM memory: Operating MCU Voltage: USB DEVICE: USB UART: Consumption (back light is ON): Back light current: Max I2C speed: Max microSD SPI speed: Max Flash memory SPI speed: Max Audio codec SPI speed: 16-bit 40 MIPS 256 kB 30 kB 3 – 3.6 V No Yes 59.
mikromedia BSP makes programming easier « Board Support Package in mikroElektronika compilers What is BSP? In embedded world, BSP or Board Support Package is the common name for all hardware-specific codes which simplifies working with the board. That is why we made a BSP package support for mikromedia™ workStation v7 board, to make programming of mikromedia™ boards much easier. Various mikromedia boards have different connections of microcontroller pins on side pads.
mikromedia Install board support package (BSP) in 3 simple steps: 1. Download package from libstock website RST GND LOUT ROUT G2.4 G2.5 G2.6 G2.7 G3.0 G3.1 G3.2 G3.3 G3.4 G3.5 G3.6 G3.7 G4.0 G4.1 G4.2 G4.3 G4.4 G4.5 G4.6 G4.7 3.3V GND 5V GND A0 A1 G0.0 G0.1 G0.2 G0.3 G0.4 G0.5 G0.6 G0.7 G1.0 G1.1 G1.2 G1.3 G1.4 G1.5 G1.6 G1.7 G2.0 G2.1 G2.2 G2.3 3.3V GND mikromedia for dsPIC33 2. Install it with Package manager software 3. Use it as a library in mikroE compilers RST GND LOUT ROUT G2.4 G2.5 G2.6 G2.
What is the Package manager? Package manager is a free software which enables you to integrate your libraries into all MikroElektronika Compilers for PIC®, dsPIC®, PIC24® and PIC32®. Package manager can also make a redistributive archive with goal to be installed on other computers. Packages can contain other valuable information such as Library files, Help files and Examples. To begin, first locate the installation archive on the Product DVD: Installation wizard - 6 simple steps 20122011 www.mikroe.
3 1. Download libraries from Libstock website ® mikromedia Installing BSP libraries Libstock is a community website created by mikroElektronika where users can share and download projects, libraries and examples for free. In order to install BSP libraries, you need the appropriate .MPKG file which can be downloaded from following address on LibStock website: www.libstock.com/projects/view/368/mikromedia-workstation-v7-bsp 2 2. Open package with Package manager After downloading run the package file (.
programming On-board programmer What is mikroProg™? mikroProg™ is a fast USB 2.0 programmer with mikroICD™ hardware In-Circuit Debugger. Smart engineering allows mikroProg™ to support all PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC30/33, PIC32 MCU families in a single programmer! It supports over 570 microcontrollers from Microchip®. Outstanding performance and easy operation are among it's top features.
programming LINK ACTIVE DATA VCC-3.3V VCC-3.3V VCC-5V LD2 LD3 LD4 R9 2K2 R10 4K7 R11 6K8 LED-DATA LED-ACT LED-USB VCC-USB LED-DATA LED-ACT LED-USB VCC 1 VCC- USB USBDN- CON USBDP -CON VCC-3.3V VCC-3.3V VCC-5V MCL R# VCC- 5V VCC- 3.3V MCU- VP P MCU- PGC MCU- PGD USBDP-CON C5 100nF D- 2 D+ 3 GND 4 USB MCLR# MCU-VPP MCU-PGC MCU-PGD VCC-3.3V CN7 1 2 3 4 5 6 MCU-PGC MCU-PGD VCC-3.
On-board mikroProg™ requires drivers in order to work. Drivers are located on the Product DVD that you received with the mikromedia™ workStation v7 package: DVD://download/eng/software/ development-tools/universal/ mikroprog/mikroprog_for_pic_ drivers_v200.zip 20122011 www.mikroe.com Av ai lab Copyright ©2011 Mikroelektronika. All rights reserved. Mikroelektronika, Mikroelektronika logo and other Mikroelektronika trademarks are the property of Mikroelektronika.
mikroProg Suite™ for PIC® On-board mikroProg™ programmer requires special programming software called mikroProg Suite™ for PIC®. This software is used for programming all of Microchip® microcontroller families, including PIC10, PIC12, PIC16, PIC18, dsPIC30/33, PIC24 and PIC32. Software has intuitive interface and SingleClick™ programming technology. To begin, first locate the installation archive on the Product DVD: 20122011 www.mikroe.com Copyright ©2011 Mikroelektronika. All rights reserved.
programming mikroICD - In Circuit Debugger ™ What is Debugging? Every developer comes to a point where he has to monitor the code execution in order to find errors in the code, or simply to see if everything is going as planed. This hunt for bugs or errors in the code is called debugging.
Here is a short overview of which debugging commands are supported in mikroElektronika compilers. You can see what each command does, and what are their shortcuts when you are in debugging mode. It will give you some general picture of what your debugger can do. Toolbar Icon Command Name Shortcut Description Start Debugger [F9] Starts Debugger. Run/Pause Debugger [F6] Run/Pause Debugger. Stop Debugger [Ctrl + F2] Stops Debugger. Step Into [F7] Executes the current program line, then halts.
connectivity Input/Output Group One of the most distinctive features of mikromedia ™ workStation v7 are it’s Input/Output PORT groups. They add so much to the connectivity potential of the board. Everything is grouped together PORT headers, PORT buttons and PORT LEDs are next to each other and grouped together. It makes development easier, and the entire mikromedia™ workStation v7 cleaner and well organized.
connectivity Headers Buttons Reset Button Figure 6-4: IDC10 male headers enable easy connection with mikroElektronika accessory boards In the far upper right section of the board, there is a RESET button, which can be used to manually reset the microcontroller. There is an additional button at the top of the mikromedia™ board. LED (Light-Emitting Diode) is a highly 5V efficient electronic GND light source.
connectivity mikroBUS sockets ™ Easier connectivity and simple configuration are imperative in modern electronic devices. Success of the USB standard comes from it’s simplicity of usage and high and reliable data transfer rates. As we in mikroElektronika see it, Plug-and-Play devices with minimum settings are the future in embedded world too.
connectivity GPS click™ BEE click™ ETH click™ WiFi PLUS click™ RTC click™ Click Boards are plug-n-play! ™ mikroElektronika portfolio of over 200 accessory boards is now enriched by an additional 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 be able to expand your mikromedia™ workStation v7 board with additional functionality RS485 3.
Enabling RS-232 In order to enable RS-232 communication you must push SW3.6 (G4.4) and SW3.7 (G4.5) to ON position. This connects the RX and TX lines to appropriate mikromedia™ board UART module. The UART (universal asynchronous receiver/ transmitter) is one of the most common ways of exchanging data between the MCU and peripheral components. It is a serial protocol with separate transmit and receive lines, and can be used for fullduplex communication.
Enabling USB-UART Modern PC computers, laptops and notebooks are no longer equipped with RS-232 connectors and UART controllers. They are nowadays replaced with USB connectors and USB controllers. Still, certain technology enables UART communication to be done via USB connection. FT232RL from FTDI® convert UART signals to the appropriate USB standard. In order to use USB-UART module on mikromedia™ workStation v7 board, you must first install FTDI drivers on your computer.
other modules Navigation switch When working with multimedia applications it is far more intuitive to use a single joystick than several different push buttons that are more far apart. This is more natural for users and they can browse through on-screen menus, or even play games much easier. mikromedia™ workStation v7 features navigation switch with five different positions: Up, Down, Left, Right and Push. Each of those acts as a button, and is connected to one of the following microcontroller pins: G0.
VCC-3.3V LOUT 1 2 3 4 C14 ON J8 OFF 100nF C16 R24 22K U3 SHTDWN BYPASS IN+ IN- Vo2 GND Vdd Vo1 8 7 6 5 SP1 1 2 LM4864 R26 100nF E3 10uF C18 100nF 75K E9 100uF/20V VCC-3.3V ROUT 1 2 3 4 C15 ON DATA BUS It's hard to imagine modern multimedia devices without high quality audio reproduction modules. Sound and music are almost important as graphical user interface.
other modules DS1820 - Digital Temperature Sensor DS1820 is a digital temperature sensor that uses 1-wire® interface for it’s operation. It is capable of measuring temperatures within the range of -55 to 128°C, and provides ±0.5°C accuracy for temperatures within the range of -10 to 85°C. It requires 3V to 5.5V power supply for stable operation. It takes maximum of 750ms for the DS1820 to calculate temperature with 9-bit resolution.
The LM35 is a low-cost precision integrated-circuit temperature sensor, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. The LM35 thus has an advantage over linear temperature sensors calibrated in ° Kelvin, as the user is not required to subtract a large constant voltage from its output to obtain convenient Centigrade scaling.
other modules ADC inputs Digital signals have two discrete states, which are decoded as high and low, and interpreted as logic 1 and logic 0. Analog signals, on the other hand, are continuous, and can have any value within defined range. A/D converters are specialized circuits which can convert analog signals (voltages) into a digital representation, usually in form of an integer number. The value of this number is linearly dependent on the input voltage value.
Piezo electricity is the charge which accumulates in certain solid materials in response to mechanical pressure, but also providing the charge to the piezo electric material causes it to physically deform. One of the most widely used applications of piezo electricity is the production of sound generators, called piezo buzzers. Piezo buzzer is an electric component that comes in different shapes and sizes, which can be used to create sound waves when provided with analog electrical signal.
other modules Additional GNDs mikromedia™ workStation v7 board contains two GND pins located in different sections of the board, which allow you to easily connect oscilloscope GND reference when you monitor signals on microcontroller pins, or signals of on-board modules. 1 GND is located below the mikromedia™ board socket on the left side. 2 GND is located below the mikromedia™ board socket on the right side.
other modules Breadboard area mikromedia™ workStation v7 contains Breadboard area as well as additional 1x52 female header, side by side. That allows you to expand your mikromedia™ workStation v7 board with additional functionality. That can be done by placing your additional components (such as resistors, LED diodes, motors, DIP IC's, etc.) on available Breadboard area. There are 63 vertical lines on both halves of the Breadboard area. Each line consists out of 5 female connectors (connected together).
What’s Next? You have now completed the journey through each and every feature of mikromedia™ workStation v7 board. You got to know it’s modules, organization, supported microcontrollers, programmer and debugger. Now you are ready to start using your new board. We are suggesting several steps which are probably the best way to begin. We invite you to join thousands of users of mikromedia™ brand. You will find very useful projects and tutorials and can get help from a large ecosystem of users.
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, must not be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika.
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/esupport If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com mikromedia workStation v7 for PIC® Manual ver. 1.