MikroElektronika white logo
  • Products
    • Click Boards
      • Wireless Connectivity
        • GPS/GNSS
        • GSM/LTE
        • LTE IoT
        • BT/BLE
        • WiFi
        • RFID/NFC
        • GSM+GPS
        • 6LoWPAN
        • ZigBee
        • UWB
        • SigFox
        • Sub-1 GHz Transceievers
        • 2.4 GHz Trancevers
        • LoRa
        • WiFi+BLE
      • Sensors
        • Biometrics
        • Gas
        • Magnetic
        • Motion
        • Optical
        • Pressure
        • Proximity
        • Temperature & humidity
        • Current sensor
        • Miscellaneous
        • Environmental
        • Force
        • Inductance
        • RF meter
        • Click Shields
        • Click Bundles
      • Interface
        • Adapter
        • CAN
        • Port expander
        • RS485
        • USB
        • 1-Wire
        • RS232
        • Ethernet
        • LIN
        • PWM
        • Current
        • DALI
        • I2C
        • Fiber optics
        • SPI
        • DMX
        • CXPI
        • Click Shields
        • Click Bundles
      • Display & LED
        • LED Drivers
        • LED Matrix
        • LED Segment
        • OLED
        • LCD
        • TFT
        • Click Shields
        • Click Bundles
      • Miscellaneous
        • Relay
        • Optocoupler
        • ID
        • Proto
        • Encryption
        • Click Shields
        • Click Bundles
      • Mixed Signal
        • ADC
        • Measurements
        • DAC
        • Digital potentiometer
        • ADC-DAC
        • Click Shields
        • Click Bundles
      • Storage
        • EEPROM
        • FLASH
        • FRAM
        • microSD
        • MRAM
        • SRAM
        • EERAM
        • ReRAM
        • DRAM
        • Click Shields
        • Click Bundles
      • Motor Control
        • Brushed
        • Brushless
        • Servo
        • Stepper
        • Click Shields
        • Click Bundles
      • Audio & Voice
        • Amplifier
        • Microphone
        • Speakers
        • Signal Processing
        • Speech recognition
        • FM
        • MP3
        • Click Shields
        • Click Bundles
      • HMI
        • Capacitive
        • Pushbutton/Switches
        • Potentiometers
        • Rotary encoder
        • Haptic
        • Fingerprint
        • Click Shields
        • Click Bundles
      • Clock & Timing
        • RTC
        • Clock generator
        • Click Shields
        • Click Bundles
      • Power Management
        • Battery charger
        • Boost
        • Buck
        • Linear
        • Buck-Boost
        • Wireless Charging
        • Power Switch
        • USB-C PD
        • Click Shields
        • Click Bundles
      • Click Bundles
      • Click Shields
    • NECTO
      • NECTO Studio
    • Compilers
      • PIC
        • C
          • NECTO Studio
          • mikroC PRO for PIC
        • Basic
          • mikroBasic PRO for PIC
        • Pascal
          • mikroPascal PRO for PIC
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual TFT AI
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • dsPIC/PIC24
        • C
          • NECTO Studio
          • mikroC PRO for dsPIC
        • Basic
          • mikroBasic PRO for dsPIC
        • Pascal
          • mikroPascal PRO for dsPIC
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • PIC32
        • C
          • NECTO Studio
          • mikroC PRO for PIC32
        • Basic
          • mikroBasic PRO for PIC32
        • Pascal
          • mikroPascal PRO for PIC32
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • ARM
        • C
          • NECTO Studio
          • mikroC PRO for ARM
        • Basic
          • mikroBasic PRO for ARM
        • Pascal
          • mikroPascal PRO for ARM
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual TFT AI
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • AVR
        • C
          • NECTO Studio
          • mikroC PRO for AVR
        • Basic
          • mikroBasic PRO for AVR
        • Pascal
          • mikroPascal PRO for AVR
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • FT90x
        • C
          • mikroC PRO for FT90x
        • Basic
          • mikroBasic PRO for FT90x
        • Pascal
          • mikroPascal PRO for FT90x
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • 8051
        • C
          • mikroC PRO for 8051
        • Basic
          • mikroBasic PRO for 8051
        • Pascal
          • mikroPascal PRO for 8051
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
    • Dev Boards
      • PIC (8-bit)
        • 8th Generation
          • Fusion for PIC v8
          • EasyPIC PRO v8
          • EasyPIC PRO v8 over USB-C
          • EasyPIC v8
          • EasyPIC v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC PRO v7a
          • PICPLC16 v7a
          • EasyPIC v7a
          • EasyPIC PRO v7
          • EasyPIC v7
        • 6th Generation
          • PICPLC16 v6
      • dsPIC/PIC24 (16-bit)
        • 8th Generation
          • EasyPIC v8 PIC24/dsPIC33
          • EasyPIC v8 for dsPIC30
          • EasyPIC v8 for dsPIC30 over USB-C
          • Fusion for PIC v8
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC Fusion v7
          • EasyPIC v7 for dsPIC30
        • 6th Generation
          • Easy24-33 v6
      • PIC32 (32-bit)
        • 8th Generation
          • Fusion for PIC32
          • Fusion for PIC32 over USB-C
          • Fusion for PIC v8
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC Fusion v7
      • ARM (32-bit)
        • 8th Generation
          • Fusion for ARM v8
          • Fusion for ARM v8 over USB-C
          • Fusion for STM32 v8
          • Fusion for STM32 over USB-C
          • Fusion for KINETIS v8
          • Fusion for Kinetis v8 over USB-C
          • Fusion for TIVA v8
          • Fusion for TIVA v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyMx PRO v7a STM32
          • EasyMx PRO v7 STM32
          • EasyMx PRO v7 Tiva
      • AVR (8-bit)
        • 8th Generation
          • EasyAVR v8
          • EasyAVR PRO v8
          • EasyAVR PRO v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyAVR v7
        • 6th Generation
          • AVRPLC16 v6
      • 8051 (8-bit)
        • 7th generation
          • BIG8051
        • 6th Generation
          • Easy8051 v6
      • PSoC (8-bit)
        • 6th Generation
          • UNI-DS6 Development System
      • RISC-V (32bit)
        • 8th Generation
          • UNI-DS v8
          • UNI-DS v8 over USB-C
      • Universal Boards
        • 8th Generation
          • UNI-DS v8
          • UNI-DS v8 over USB-C
          • Fusion for PIC v8
          • Fusion for ARM v8
        • 7th Generation
          • EasyPIC Fusion v7
        • 6th Generation
          • UNI-DS6
          • mikroBoard for PIC 80-pin
          • mikroBoard for AVR
          • mikroBoard for dsPIC
          • mikroBoard for PSoC
          • mikroBoard for 8051
          • mikroBoard for PIC 40-pin
          • mikroBoard for ARM
          • mikroBoard for ARM 144-pin
      • IoT - Wearable
        • Hexiwear
          • Hexiwear
          • Hexiwear Power User Pack
          • Hexiwear Docking Station
          • Hexiwear Battery Pack
          • Hexiwear Color Pack
          • Hexiwear Workstation
      • Analog Boards
        • 7th Generation
          • Analog System Lab Kit PRO
    • Starter Boards
      • PIC (8-bit)
        • Clicker
          • PIC clicker
        • Clicker 2
          • Clicker 2 for PIC18FJ
          • Clicker 2 for PIC18FK
        • Clicker 4
          • Clicker 4 for PIC18F
          • UNI Clicker
        • Ready
          • Ready for PIC Board
          • Ready for PIC (DIP28)
          • PIC-Ready2 Board
          • MMC Ready Board
        • StartUSB
          • StartUSB for PIC
      • dsPIC/PIC24 (16-bit)
        • Clicker 2
          • Clicker 2 for PIC24
          • Clicker 2 for dsPIC33
        • Clicker 4
          • UNI Clicker
        • Ready
          • dsPIC-Ready1 Board
          • dsPIC-Ready2 Board
          • DsPIC-Ready3 Board
          • dsPIC-Ready4 Board
      • PIC32 (32-bit)
        • Clicker
          • PIC32MX clicker
          • 6LoWPAN Clicker
          • PIC32MZ clicker
        • Clicker 2
          • Clicker 2 for PIC32MX
          • Clicker 2 for PIC32MZ
        • Clicker 4
          • UNI Clicker
        • MINI
          • MINI-32 Board
          • MINI-32 for PIC32MZ
        • Flip&Click
          • Flip&Click PIC32MZ
      • ARM (32-bit)
        • Clicker
          • RA4M1 Clicker
          • Kinetis Clicker
          • MSP432 Clicker
          • CEC1702 clicker
          • CEC1302 Clicker
          • STM32 M4 clicker
        • Clicker 2
          • Clicker 2 for STM32
          • Clicker 2 for Kinetis
          • Clicker 2 for CEC1702
          • Clicker 2 for MSP432
          • Clicker 2 for CEC1302
          • Clicker 2 for PSoC 6
        • Clicker 4
          • Clicker 4 for STM32F745VG
          • Clicker 4 for STM32F4
          • Clicker 4 for TMPM3H
          • Clicker 4 for TMPM4K
          • Clicker 4 for STM32
          • UNI Clicker
        • MINI
          • MINI-M4 for STM32
          • MINI-M4 For Kinetis
          • MINI-M4 for Tiva
          • MINI-M4 for Stellaris
          • MINI-M4 for MSP432
          • MINI-M0 for STM32
        • Flip&Click
          • Flip&Click SAM3X
      • AVR (8-bit)
        • Clicker 4
          • UNI Clicker
        • MINI
          • MINI-AT Board - 3.3V
          • MINI-AT Board - 5V
        • Ready
          • Ready for AVR Board
          • Ready For XMEGA
          • mikroXMEGA Board
          • AVR-Ready2 Board
        • StartUSB
          • StartUSB for AVR
      • 8051 (8-bit)
        • Ready
          • 8051-Ready Board
      • FT90x (32-bit)
        • Clicker 2
          • Clicker 2 for FT90x
      • Miscellaneous
        • USB
          • USB Wizard
          • Quail
          • FlowPaw Kit
      • Universal Boards
        • Clicker 4
          • UNI Clicker
    • Prog-Debug
      • PIC (8-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
          • CODEGRIP for PIC USB-C
        • mikroProg
          • mikroProg for PIC
      • dsPIC/PIC24 (16-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
        • mikroProg
          • mikroProg for dsPIC
      • PIC32 (32-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
          • CODEGRIP for PIC USB-C
        • mikroProg
          • mikroProg for PIC32
      • ARM (32-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP USB-C
          • CODEGRIP for ARM
          • CODEGRIP for ARM USB-C
          • CODEGRIP for STM32
          • CODEGRIP for KINETIS
          • CODEGRIP for Tiva
          • CODEGRIP for Tiva USB-C
        • mikroProg
          • mikroProg for STM32
          • mikroProg for Tiva
          • mikroProg for Kinetis
          • mikroProg for CEC
          • mikroProg for MSP432
          • mikroProg for PSoC 5LP
      • AVR (8-bit)
        • CODEGRIP
          • CODEGRIP for AVR
          • CODEGRIP for AVR - USB-C
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
        • mikroProg
          • mikroProg for AVR
      • 8051 (8-bit)
        • mikroProg
          • mikroProg for 8051
      • FT90x (32-bit)
        • mikroProg
          • mikroProg for FT90x
    • Smart Displays
      • 2.8"
        • ARM (32-bit)
        • AVR (8-bit)
        • dsPIC/PIC24 (16-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 3.5"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 4.3"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 5"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC32 (32-bit)
      • 7"
        • ARM (32-bit)
        • FT90x (32-bit)
    • MCU Cards
      • PIC (8-bit)
        • 8th Generation
        • 7th Generation
        • 6th Generation
      • dsPIC/PIC24 (16-bit)
        • 8th Generation
        • 7th Generation
        • 6th Generation
      • PIC32 (32-bit)
        • 8th Generation
        • 7th Generation
      • ARM (32-bit)
        • 8th Generation
        • 7th Generation
      • AVR (8-bit)
        • 8th Generation
      • RISC-V (32bit)
        • 8th Generation
    • Accessories
      • TFT Displays
      • LCD Displays
      • LED Displays
      • E-Paper Displays
      • Sensors
      • Headers and Connectors
      • Wire Jumpers and Cables
      • Antennas
      • Batteries
      • RFID/NFC
      • Proto
      • Motors
      • Storage
      • Power
      • Adapters
      • Interface
      • Input/Output
      • Miscellaneous
      • FANware
      • MCUs
      • Books
    • Kits
      • PIC Kits
      • dsPIC/PIC24 Kits
      • PIC32 Kits
      • ARM Kits
      • AVR Kits
      • FT90x Kits
      • 8051 Kits
  • Shop
  • EmbeddedWiki
  • Support
    • Helpdesk
    • Contact us
    • Forum
    • LibStock
    • Learn
    • Let's make
    • Books
  • Services
    • Planet Debug
    • Design Service
    • Product Customization
    • Contract Manufacturing
    • Premium Technical Support
  • News
  • My profile
  • Privacy settings
  • Activity
  • Sign out

Your shoppingcart is empty.
Continue shopping.

MikroElektronika white logo
  • Products
    • click boards icon Click Boards
      • Wireless Connectivity
        • GPS/GNSS
        • GSM/LTE
        • LTE IoT
        • BT/BLE
        • WiFi
        • RFID/NFC
        • GSM+GPS
        • 6LoWPAN
        • ZigBee
        • UWB
        • SigFox
        • Sub-1 GHz Transceievers
        • 2.4 GHz Trancevers
        • LoRa
        • WiFi+BLE
      • Sensors
        • Biometrics
        • Gas
        • Magnetic
        • Motion
        • Optical
        • Pressure
        • Proximity
        • Temperature & humidity
        • Current sensor
        • Miscellaneous
        • Environmental
        • Force
        • Inductance
        • RF meter
        • Click Shields
        • Click Bundles
      • Interface
        • Adapter
        • CAN
        • Port expander
        • RS485
        • USB
        • 1-Wire
        • RS232
        • Ethernet
        • LIN
        • PWM
        • Current
        • DALI
        • I2C
        • Fiber optics
        • SPI
        • DMX
        • CXPI
        • Click Shields
        • Click Bundles
      • Display & LED
        • LED Drivers
        • LED Matrix
        • LED Segment
        • OLED
        • LCD
        • TFT
        • Click Shields
        • Click Bundles
      • Miscellaneous
        • Relay
        • Optocoupler
        • ID
        • Proto
        • Encryption
        • Click Shields
        • Click Bundles
      • Mixed Signal
        • ADC
        • Measurements
        • DAC
        • Digital potentiometer
        • ADC-DAC
        • Click Shields
        • Click Bundles
      • Storage
        • EEPROM
        • FLASH
        • FRAM
        • microSD
        • MRAM
        • SRAM
        • EERAM
        • ReRAM
        • DRAM
        • Click Shields
        • Click Bundles
      • Motor Control
        • Brushed
        • Brushless
        • Servo
        • Stepper
        • Click Shields
        • Click Bundles
      • Audio & Voice
        • Amplifier
        • Microphone
        • Speakers
        • Signal Processing
        • Speech recognition
        • FM
        • MP3
        • Click Shields
        • Click Bundles
      • HMI
        • Capacitive
        • Pushbutton/Switches
        • Potentiometers
        • Rotary encoder
        • Haptic
        • Fingerprint
        • Click Shields
        • Click Bundles
      • Clock & Timing
        • RTC
        • Clock generator
        • Click Shields
        • Click Bundles
      • Power Management
        • Battery charger
        • Boost
        • Buck
        • Linear
        • Buck-Boost
        • Wireless Charging
        • Power Switch
        • USB-C PD
        • Click Shields
        • Click Bundles
      • Click Bundles
      • Click Shields
    • necto icon NECTO
      • NECTO Studio
    • compilers icon Compilers
      • PIC
        • C
          • NECTO Studio
          • mikroC PRO for PIC
        • Basic
          • mikroBasic PRO for PIC
        • Pascal
          • mikroPascal PRO for PIC
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual TFT AI
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • dsPIC/PIC24
        • C
          • NECTO Studio
          • mikroC PRO for dsPIC
        • Basic
          • mikroBasic PRO for dsPIC
        • Pascal
          • mikroPascal PRO for dsPIC
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • PIC32
        • C
          • NECTO Studio
          • mikroC PRO for PIC32
        • Basic
          • mikroBasic PRO for PIC32
        • Pascal
          • mikroPascal PRO for PIC32
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • ARM
        • C
          • NECTO Studio
          • mikroC PRO for ARM
        • Basic
          • mikroBasic PRO for ARM
        • Pascal
          • mikroPascal PRO for ARM
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual TFT AI
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • AVR
        • C
          • NECTO Studio
          • mikroC PRO for AVR
        • Basic
          • mikroBasic PRO for AVR
        • Pascal
          • mikroPascal PRO for AVR
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • FT90x
        • C
          • mikroC PRO for FT90x
        • Basic
          • mikroBasic PRO for FT90x
        • Pascal
          • mikroPascal PRO for FT90x
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • 8051
        • C
          • mikroC PRO for 8051
        • Basic
          • mikroBasic PRO for 8051
        • Pascal
          • mikroPascal PRO for 8051
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
    • dev boards icon Dev Boards
      • PIC (8-bit)
        • 8th Generation
          • Fusion for PIC v8
          • EasyPIC PRO v8
          • EasyPIC PRO v8 over USB-C
          • EasyPIC v8
          • EasyPIC v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC PRO v7a
          • PICPLC16 v7a
          • EasyPIC v7a
          • EasyPIC PRO v7
          • EasyPIC v7
        • 6th Generation
          • PICPLC16 v6
      • dsPIC/PIC24 (16-bit)
        • 8th Generation
          • EasyPIC v8 PIC24/dsPIC33
          • EasyPIC v8 for dsPIC30
          • EasyPIC v8 for dsPIC30 over USB-C
          • Fusion for PIC v8
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC Fusion v7
          • EasyPIC v7 for dsPIC30
        • 6th Generation
          • Easy24-33 v6
      • PIC32 (32-bit)
        • 8th Generation
          • Fusion for PIC32
          • Fusion for PIC32 over USB-C
          • Fusion for PIC v8
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC Fusion v7
      • ARM (32-bit)
        • 8th Generation
          • Fusion for ARM v8
          • Fusion for ARM v8 over USB-C
          • Fusion for STM32 v8
          • Fusion for STM32 over USB-C
          • Fusion for KINETIS v8
          • Fusion for Kinetis v8 over USB-C
          • Fusion for TIVA v8
          • Fusion for TIVA v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyMx PRO v7a STM32
          • EasyMx PRO v7 STM32
          • EasyMx PRO v7 Tiva
      • AVR (8-bit)
        • 8th Generation
          • EasyAVR v8
          • EasyAVR PRO v8
          • EasyAVR PRO v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyAVR v7
        • 6th Generation
          • AVRPLC16 v6
      • 8051 (8-bit)
        • 7th generation
          • BIG8051
        • 6th Generation
          • Easy8051 v6
      • PSoC (8-bit)
        • 6th Generation
          • UNI-DS6 Development System
      • RISC-V (32bit)
        • 8th Generation
          • UNI-DS v8
          • UNI-DS v8 over USB-C
      • Universal Boards
        • 8th Generation
          • UNI-DS v8
          • UNI-DS v8 over USB-C
          • Fusion for PIC v8
          • Fusion for ARM v8
        • 7th Generation
          • EasyPIC Fusion v7
        • 6th Generation
          • UNI-DS6
          • mikroBoard for PIC 80-pin
          • mikroBoard for AVR
          • mikroBoard for dsPIC
          • mikroBoard for PSoC
          • mikroBoard for 8051
          • mikroBoard for PIC 40-pin
          • mikroBoard for ARM
          • mikroBoard for ARM 144-pin
      • IoT - Wearable
        • Hexiwear
          • Hexiwear
          • Hexiwear Power User Pack
          • Hexiwear Docking Station
          • Hexiwear Battery Pack
          • Hexiwear Color Pack
          • Hexiwear Workstation
      • Analog Boards
        • 7th Generation
          • Analog System Lab Kit PRO
    • starter boards icon Starter Boards
      • PIC (8-bit)
        • Clicker
          • PIC clicker
        • Clicker 2
          • Clicker 2 for PIC18FJ
          • Clicker 2 for PIC18FK
        • Clicker 4
          • Clicker 4 for PIC18F
          • UNI Clicker
        • Ready
          • Ready for PIC Board
          • Ready for PIC (DIP28)
          • PIC-Ready2 Board
          • MMC Ready Board
        • StartUSB
          • StartUSB for PIC
      • dsPIC/PIC24 (16-bit)
        • Clicker 2
          • Clicker 2 for PIC24
          • Clicker 2 for dsPIC33
        • Clicker 4
          • UNI Clicker
        • Ready
          • dsPIC-Ready1 Board
          • dsPIC-Ready2 Board
          • DsPIC-Ready3 Board
          • dsPIC-Ready4 Board
      • PIC32 (32-bit)
        • Clicker
          • PIC32MX clicker
          • 6LoWPAN Clicker
          • PIC32MZ clicker
        • Clicker 2
          • Clicker 2 for PIC32MX
          • Clicker 2 for PIC32MZ
        • Clicker 4
          • UNI Clicker
        • MINI
          • MINI-32 Board
          • MINI-32 for PIC32MZ
        • Flip&Click
          • Flip&Click PIC32MZ
      • ARM (32-bit)
        • Clicker
          • RA4M1 Clicker
          • Kinetis Clicker
          • MSP432 Clicker
          • CEC1702 clicker
          • CEC1302 Clicker
          • STM32 M4 clicker
        • Clicker 2
          • Clicker 2 for STM32
          • Clicker 2 for Kinetis
          • Clicker 2 for CEC1702
          • Clicker 2 for MSP432
          • Clicker 2 for CEC1302
          • Clicker 2 for PSoC 6
        • Clicker 4
          • Clicker 4 for STM32F745VG
          • Clicker 4 for STM32F4
          • Clicker 4 for TMPM3H
          • Clicker 4 for TMPM4K
          • Clicker 4 for STM32
          • UNI Clicker
        • MINI
          • MINI-M4 for STM32
          • MINI-M4 For Kinetis
          • MINI-M4 for Tiva
          • MINI-M4 for Stellaris
          • MINI-M4 for MSP432
          • MINI-M0 for STM32
        • Flip&Click
          • Flip&Click SAM3X
      • AVR (8-bit)
        • Clicker 4
          • UNI Clicker
        • MINI
          • MINI-AT Board - 3.3V
          • MINI-AT Board - 5V
        • Ready
          • Ready for AVR Board
          • Ready For XMEGA
          • mikroXMEGA Board
          • AVR-Ready2 Board
        • StartUSB
          • StartUSB for AVR
      • 8051 (8-bit)
        • Ready
          • 8051-Ready Board
      • FT90x (32-bit)
        • Clicker 2
          • Clicker 2 for FT90x
      • Miscellaneous
        • USB
          • USB Wizard
          • Quail
          • FlowPaw Kit
      • Universal Boards
        • Clicker 4
          • UNI Clicker
    • prog-debug icon Prog-Debug
      • PIC (8-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
          • CODEGRIP for PIC USB-C
        • mikroProg
          • mikroProg for PIC
      • dsPIC/PIC24 (16-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
        • mikroProg
          • mikroProg for dsPIC
      • PIC32 (32-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
          • CODEGRIP for PIC USB-C
        • mikroProg
          • mikroProg for PIC32
      • ARM (32-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP USB-C
          • CODEGRIP for ARM
          • CODEGRIP for ARM USB-C
          • CODEGRIP for STM32
          • CODEGRIP for KINETIS
          • CODEGRIP for Tiva
          • CODEGRIP for Tiva USB-C
        • mikroProg
          • mikroProg for STM32
          • mikroProg for Tiva
          • mikroProg for Kinetis
          • mikroProg for CEC
          • mikroProg for MSP432
          • mikroProg for PSoC 5LP
      • AVR (8-bit)
        • CODEGRIP
          • CODEGRIP for AVR
          • CODEGRIP for AVR - USB-C
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
        • mikroProg
          • mikroProg for AVR
      • 8051 (8-bit)
        • mikroProg
          • mikroProg for 8051
      • FT90x (32-bit)
        • mikroProg
          • mikroProg for FT90x
    • smart displays icon Smart Displays
      • 2.8"
        • ARM (32-bit)
        • AVR (8-bit)
        • dsPIC/PIC24 (16-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 3.5"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 4.3"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 5"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC32 (32-bit)
      • 7"
        • ARM (32-bit)
        • FT90x (32-bit)
    • mcu cards icon MCU Cards
      • PIC (8-bit)
        • 8th Generation
        • 7th Generation
        • 6th Generation
      • dsPIC/PIC24 (16-bit)
        • 8th Generation
        • 7th Generation
        • 6th Generation
      • PIC32 (32-bit)
        • 8th Generation
        • 7th Generation
      • ARM (32-bit)
        • 8th Generation
        • 7th Generation
      • AVR (8-bit)
        • 8th Generation
      • RISC-V (32bit)
        • 8th Generation
    • accessories icon Accessories
      • TFT Displays
      • LCD Displays
      • LED Displays
      • E-Paper Displays
      • Sensors
      • Headers and Connectors
      • Wire Jumpers and Cables
      • Antennas
      • Batteries
      • RFID/NFC
      • Proto
      • Motors
      • Storage
      • Power
      • Adapters
      • Interface
      • Input/Output
      • Miscellaneous
      • FANware
      • MCUs
      • Books
    • kits icon Kits
      • PIC Kits
      • dsPIC/PIC24 Kits
      • PIC32 Kits
      • ARM Kits
      • AVR Kits
      • FT90x Kits
      • 8051 Kits
  • Shop
  • EmbeddedWiki
  • Support
    • Helpdesk
    • Contact us
    • Forum
    • LibStock
    • Learn
    • Let's make
    • Books
  • Services
    • Planet Debug
    • Design Service
    • Product Customization
    • Contract Manufacturing
    • Premium Technical Support
  • News
  • Price :

    More info
Reset filter
  • 0
Authentication
Account

Create account

Forgot your password?

Your cart is empty !
View cart ( )
  1. Home
  2. Blog
  3. Mikromedia 7 for STM32F7 - User Manual

Mikromedia 7 for STM32F7 - User Manual

Published: 08/12/2016 | Post categories: Learn, User Manual

| Views:9886

Mikromedia 7 for STM32F7 - User Manual

Mikromedia 7 for STM32F7

mikromedia 7 for STM32F7 is a compact development system with lots of on-board peripherals which allow development of devices with multimedia contents. The central part of the system is a 32-bit ARM® Cortex™-M7 STM32F746ZG 144-pin microcontroller.

The mikromedia 7 for STM32F7 features integrated modules such as stereo MP3 codec, 7” TFT 800x480 touch screen display. The increased screen size is ideal for displaying larger amounts of data.

The board also contains an accelerometer, microSD card slot, buzzer, IR receiver, RGB LED diode, PIN photodiode, temperature sensor, 2.4GHz RF, WiFi, Ethernet and CAN transceivers, 8 Mbit flash memory, RTC battery, Li-Polimer battery charger, etc.

Additional components include MINI-B USB connector, power screw terminals, 2x5 JTAG connector, two 1x26 connection pads, ON/OFF switch and other. It comes with an onboard mikroProg™ for STM32 programmer and debugger, but can also be programmed with external programmers, such as ST-LINK programmer.

Power Supply

Power supply

The mikromedia 7 for STM32F7 board can be powered in four different ways: via two USB connectors using MINI-B USB cable provided with the board (CN4 or CN11), via battery connector using Li-Polymer battery (CN5) or via adapter connector using adapter power supply (CN3). After you plug in the appropriate power supply turn the power switch ON (SW1). The USB connection can provide up to 500mA of current which is more than enough for the operation of all on-board modules and the microcontroller as well. If you decide to use external power supply via screw terminals, voltage values must be within 5-12V DC range. Power LED ON (GREEN) indicates the presence of power supply. On-board battery charger circuit MCP73832 enables you to charge the battery over USB connection or via screw terminals. LED diode (RED) indicates when battery is charging. Charging current is ~250mA and charging voltage is 4.2V DC.

STM32F746ZG microcontroller

STM32F746ZG microcontroller

The mikromedia 7 for STM32F7 board comes with the STM32F746ZG microcontroller. This 32-bit Cortex®-M7 high performance microcontroller features a dedicated floating-point unit (FPU), a complete set of DSP functions, and a memory protection unit (MPU) for elevated application security.

Key microcontroller features
 

  • 1 MB of Flash memory

  • 320 KB of SRAM

  • Adaptive real-time accelerator (ART Accelerator™)

  • Operating frequency up to 216 MHz

  • 462 DMIPS / 2.14 DMIPS/MHz (Dhrystone 2.1)

  • up to 168 I/O pins

  • 4xUART, 2xSPI, 3xI2C, 2xCAN, 3xADC, 2xDAC etc.

  • Ethernet, USB etc.

Programming the microcontroller

Programming the microcontroller

The microcontroller can be programmed in two ways:

  1. Using onboard mikroProg™ for STM32 programmer
  2. Using external programmers for STM32 (like ST-LINK)

Using mikroProg™ programmer

The microcontroller can be programmed with onboard mikroProg™ for STM programmer and mikroProg Suite™ for ARM® software. Connection with PC is established over an PROG USB connector. For proper insertion of the MINI-B USB cable. Signalization LED (LINK) is also provided on the opposite side of the PROG USB connector. It is also possible to program the microcontroler with external porogrammers, via 2x5 JTAG connector (CN1) with an appropriate adapter.

mikroProg Suite™ for ARM® software

mikroProg™ for STM32 programmer requires special programming software called mikroProg Suite™ for ARM®. This software is used for programming ALL of STM32 ARM® Cortex-M3™ and Cortex-M7™ microcontroller families. It features intuitive interface and SingleClick™ programming technology. Software installation is available on following link:

https://download.mikroe.com/setups/programming-software/mikroprog/arm/mikroprog-suite-arm-programming-software-setup-v150.zip

After downloading, extract the package and double click the executable setup file to start installation.

Software Installation wizard

Software installation wizard

The board is equipped with reset button, which is located on the front side of the board. If you want to reset the circuit, press the reset button. It will generate low voltage level on the microcontroller reset pin (input). A reset can also be externally provided through the pin 26 on the side headers.

RTC Battery and Rest Button

Reset Button

The board is equipped with reset button, which is located on the front side of the board. If you want to reset the circuit, press the reset button. It will generate low voltage level on the microcontroller reset pin (input). A reset can also be externally provided through the pin 26 on the side headers.

RTC Battery

mikromedia 7 for STM32F7 features an RTC battery holder for microcontroller RTC module. Battery is used as alternate source of power, so the RTC module can continue to keep time while the primacy source of power is off or currently unavailable. Three types of coin battery are supported: CR1216, CR1220 and CR1225.

Crystal oscillators and 2.048V reference

Crystal oscillators and 2.048V reference

The board is equipped with 1 25MHz crystal oscillator (X5) circuit that provides external clock waveform to the microcontroller OSCO and OSCI pins. This base frequency is suitable for further clock multipliers and ideal for generation of necessary USB clock, which ensures proper operation of bootloader and your custom USB-based applications. The board also contains 2 32.768 kHz crystal oscillator (X4) which provides external clock for internal RTCC module. Microcontroller ADC requires an accurate source of reference voltage signal. That is why we provide the external 3 voltage reference to the microcontroller VREF pin which is 2.048V.

microSD Card Slot

microSD Card Slot

Board contains 1 microSD card slot for using 2 microSD cards in your projects. It enables you to store large amounts of data externally, thus saving microcontroller memory. microSD cards use Serial Peripheral Interface (SPI) for communication with the microcontroller. Ferrite and capcitor are provided to compensate the voltage and current glitch that can occur when pushing-in and pushing-out microSD card into the socket. Proper insertion of the microSD card is shown in the image above.

This code snippet initializes the FAT32 library for usage with SD card:

 void char Init_FAT(){
   char FAT_cnt = 0;
   if (MMC_Card_Detect == 0){
     if (Fat_Initialized_Flag == 0){
       while ((Fat32_Init() != 0) && (FAT_cnt < 5))
         Fat_cnt ++;
       if (FAT_cnt < 5){
         SDIO_Init(_SDIO_CFG_POWER_SAVE_DISABLE | _SDIO_CFG_4_WIDE_BUS_MODE | _SDIO_CFG_CLOCK_BYPASS_DISABLE
                   | _SDIO_CFG_CLOCK_RISING_EDGE | _SDIO_CFG_HW_FLOW_DISABLE, 1, &_GPIO_MODULE_SDIO_D0_D3);
         Fat_Initialized_Flag = 1;
       }
     }
     if (Ext_res_initialized == 0){
       TFT_Set_Ext_Buffer(MyTFT_Get_Data);
       Ext_fhandle = FAT32_Open("Ext_reso.RES", 1);
       if (Ext_fhandle != 0xFF)
         Ext_res_initialized = 1;
     }
   }
   
   return Ext_res_initialized;
 }

Touch Screen

Touch Screen

The development system features a 7‘‘ TFT 800x480 display covered with a resistive touch panel. Together they form a functional unit called a touch screen. It enables data to be entered and displayed at the same time. The TFT display is capable of showing graphics in 262K different colors.

For example here is how to programm the SSD1963 display driver to trigger the Fade-in effect on the display:

void BLED_Fade_In(){
   int i;
   for (i = 1; i < 255; i++){
     TFT_Set_DBC_SSD1963(i);
     Delay_ms(1);
   }
     TFT_Set_DBC_SSD1963(255);
 }

This is the callibration routine for the touchscreen controller:

 void Calibrate() {
   TFT_Fill_Screen(CL_BLACK);
   TFT_Set_Font(TFT_defaultFont, CL_WHITE, FO_HORIZONTAL);
   STMPE610_ClearInterruptFlagsAndFIFO();
   TFT_Set_Brush(1, CL_WHITE, 0, 0, 0, 0);
   TFT_Circle(0, 0, 3);
   STMPE610_CalibratePoint(STMPE610_FIRST_CORNER);
   Delay_ms(500);
   TFT_Set_Brush(1, CL_BLACK, 0, 0, 0, 0);
   TFT_Circle(0, 0, 3);
   STMPE610_ClearInterruptFlagsAndFIFO();
   TFT_Set_Brush(1, CL_WHITE, 0, 0, 0, 0);
   TFT_Circle(0, TFT_DISP_HEIGHT-1, 3);
   STMPE610_CalibratePoint(STMPE610_SECOND_CORNER);
   Delay_ms(500);
   TFT_Set_Brush(1, CL_BLACK, 0, 0, 0, 0);
   TFT_Circle(0, TFT_DISP_HEIGHT-1, 3);
   STMPE610_ClearInterruptFlagsAndFIFO();
   TFT_Set_Brush(1, CL_WHITE, 0, 0, 0, 0);
   TFT_Circle(TFT_DISP_WIDTH-1, TFT_DISP_HEIGHT-1, 3);
   STMPE610_CalibratePoint(STMPE610_THIRD_CORNER);
   Delay_ms(500);
   TFT_Set_Brush(1, CL_BLACK, 0, 0, 0, 0);
   TFT_Circle(TFT_DISP_WIDTH-1, TFT_DISP_HEIGHT-1, 3);
   STMPE610_ClearInterruptFlagsAndFIFO();
   TFT_Set_Brush(1, CL_WHITE, 0, 0, 0, 0);
   TFT_Circle(TFT_DISP_WIDTH-1, 0, 3);
   STMPE610_CalibratePoint(STMPE610_FOURTH_CORNER);
   TFT_Set_Brush(1, CL_BLACK, 0, 0, 0, 0);
   TFT_Circle(TFT_DISP_WIDTH-1, 0, 3);
   Delay_ms(500);
 }

Audio Module

Audio module

mikromedia 7 for STM32F7 features stereo audio codec 1 VS1053. This module enables audio reproduction and sound recording by using 2 stereo headphones with microphone connected to the system via a 3 3.5mm connector (CN2). All functions of this module are controlled by the microcontroller over Serial Peripheral Interface (SPI). IN and OUT channels are also provided on side headers (HDR2).

This is the function to start playing a chosen MP3 file from the SD card:

 void MP3_play(char *Song_Name, char File_No){
   current_file = File_No;
   Buffer_count = 0;
   current_fhandle = FAT32_Open(Song_Name, FILE_READ);
   FAT32_Size(Song_Name, &file_size);
   Buffer_count = 0;
   Total_Buffers = File_size / BUFFER_SIZE;
   MP3_Reset_Time();
   MP3_Check_Time();
   MP3_Set_Volume(100 - level, 100 - level);
   UpdateVolumeBar( level, 0);
   MP3_Example_State = 2;
 }

USB DEVICE connection

Audio module

ARM® Cortex™-M7 STM32F746ZG microcontroller has integrated USB module, which enables you to implement USB communication functionality to your mikromedia board. Connection with target USB host is establish over 1 MINI-B USB connector. For proper insertion of the 2 MINI-B USB see image above.

USB HOST connection

mikromedia 7 for STM32F7 can also be used as USB HOST which enables microcontroller to establish a connection with the target device (eg. USB keyboard, USB mouse, etc). The board provides necessary power supply to the target via TPS2041B IC. In order to enable the 1 USB HOST cable to be connected to the board, it is necessary to use the appropriate 2 MINI-B USB to USB type A adapter.

Accelerometer

Accelerometer

Onboard ADXL345 accelerometer is used to measure acceleration in three axis: x, y and z. The accelerometer function is defined by the user in the program loaded into the microcontroller. Communication between the accelerometer and the microcontroller is performed via the I 2 C interface. There is an option to select the alternate accel address with jumper J3.

The following function reads 16 measurement samples from the accelerometer and returns the average value:

 static void Accel_Average() {
   int i, sx, sy, sz, xx, yy, zz;
   // sum
   sx = sy = sz = 0;
   // average accelerometer reading over last 16 samples
   for (i=0; i<16; i++) {
     ADXL345_Read(&xx, &yy, &zz);
     sx += xx;
     sy += yy;
     sz += zz;
   }
   // average
   readings[0] = sx / 16;
   readings[1] = sy / 16;
   readings[2] = sz / 16;
 }

Flash Memory

Flash Memory

Since multimedia applications are getting increasingly demanding, it is necessary to provide additional memory space to be used for storing more data. The flash memory module enables the microcontroller to use additional 8Mbit flash memory. It is connected to the microcontroller via the Serial Peripheral Interface (SPI).

RF Transceiver

RF Transceiver

mikromedia 7 for STM32F7 board features RF transceiver chip with 2.4GHz chip antenna. It is suitable for wireless operation in the world wide ISM frequency band at 2.400 - 2.4835 GHz with air data rate up to 2Mbps. RF transceiver module is connected to the microcontroller via the Serial Peripheral Interface (SPI). This RF transceiver module is widely used for wireless PC peripherals, remote controllers, VoIP headsets, game controllers, sensors, home and commercial automation, active RFID, toys and many more.

This function sends a data packet using nRF24L01:

 unsigned char nRF_Send_Packet()
 {
   if ((ucCom_Mode == nRF_RX_MODE) || (ucIRQ_Source != nRF_IDLE))
     return 0;
   nRF_Write_TX_Pload(&TX_pload, nRF_TX_PLOAD_WIDTH); 
   nRF_CE_Pin(nRF_CE_PULSE); 
   ucTry_Ctr = 0;  
   return 1;
 }

Wi-Fi

Wi-Fi

mikromedia 7 for STM32F7 is equipped with SPWF01SA, a WiFi module with an integrated antenna from STMicroelectronics. The module packs a 2.4 GHz IEEE 802.11 b/g/n transceiver and its own STM32 ARM Cortex-M3 MCU that offloads the workload from the main microcontroller on the mikromedia. Full featured TCP/ IP protocol stacks are also integrated. A BOOT jumper (zero ohm resistor) for updating the firmware on the WiFi module is located nearby, between the module itself and the WiFi silkscreen markings.

This function is used to connect to the WiFi access point and start the web server:

 void startServer()
 {
   Net_Wireless_SPWF01S_SetConfig(_NET_WIRELESS_SPWF01S_CFG_WAIT_TIME, socketWaitTime);
   scanForSSID(mySSID, scanBuf, BUFSIZE, &netType, &chNum, &sigStr, &capab, macAddr, &wpa, &wpa2, &wps, 10);
   netReady = 0;
   UpdateDescription("Connecting...");
   if ( ( wifiTest = Net_Wireless_SPWF01S_ConnectToAP(mySSID, myPass) ) == _NET_WIRELESS_SPWF01S_OK )
   {
     while (netReady == 0) {}
     UpdateDescription("Connected!");
     Net_Wireless_SPWF01S_MakeFile("index.html", html);
     Net_Wireless_SPWF01S_MakeFile("led_and_keyb.js", js);
     DrawScreen(&Screen1);
     TFT_Set_Font  (ipLabel.FontName, 0x4229,     FO_HORIZONTAL);
     TFT_Write_Text(ipLabel.Caption,  ipLabel.Left, ipLabel.Top);
     Net_Wireless_SPWF01S_GetCurrentIP(ipAddr);
     strcat( strcpy(ipLabel.Caption, "Type in your browser: "), ip2Str(ipAddr, ipStr) );
     TFT_Set_Font  (ipLabel.FontName, ipLabel.Font_Color, FO_HORIZONTAL);
     TFT_Write_Text(ipLabel.Caption,  ipLabel.Left,       ipLabel.Top);
   }
 }

Ethernet transceiver

Ethernet transceiver

The development board features an Ethernet transceiver module LAN8720A. It is ideal for local area networking (LAN). If you want to establish connection with a computer, router or other devices, the development board also contains a standard RJ-45 connector. Communication over Ethernet is based on data packets called frames. Each frame contains source and destination addresses and error-checking data so that damaged data can be detected and retransmitted. Signalization LEDs (green and yellow) are on the opposite side of the board.

This function queries the DHCP server for an IP address:

 static char Ethernet_DHCP() {
   char text[20], temp_text[7], i, result = SUCCESS;
   unsigned long timeout;
   if (ethDhcp_mark == NOT_SUCCESS) {
     Ethernet_Message("Obtaining IP ...");
     timeout = 0;
     while((ethDhcp_mark == NOT_SUCCESS) && (timeout < 3)) {
       // init DHCP
       ethDhcp_mark = Net_Ethernet_Intern_initDHCP(5) ? SUCCESS : NOT_SUCCESS;
       timeout++;
     }
     if (ethDhcp_mark == SUCCESS){
       // Get obtained IP
       memcpy(myIpAddr, Net_Ethernet_Intern_getIpAddress(), 4);
       text[0] = 0;
       for (i = 0; i < 4; i ++){
         ByteToStr(myIpAddr[i], temp_text);
         strcat(text, temp_text);
         if(i != 3)
           strcat(text, ".");
       }
       // Display it on TFT
       Ethernet_Message(text);
     }
     else {
       Ethernet_Message("DHCP not respond");
       result = NOT_SUCCESS;
     }
     Delay_ms(2000);
   }
   Ethernet_Message("");
   return result;
 }

CAN communication

CAN communication

Controller Area Network (CAN or CAN bus) is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer. CAN is a message-based protocol, designed specifically for automotive applications but now also used in other areas such as industrial automation and medical equipment. mikromedia 7 for STM32F7 is equipped with SN65HVD230 – a 3.3V CAN transceiver and a pair of screw terminals which provide microcontrollers with integrated CAN controller with the necessary physical interface for CAN communication. Make sure to correctly connect negative and positive differential communication lines before using this module.

Node termination jumper

If the board is the first and the last node of the CAN network, then TERMINATION jumper should be placed. If the board is a node in the middle, the jumper should be removed.

This short shippet shows the default initialization routine for the CAN module:

 CAN_init() {
     CAN1InitializeAdvanced(1,5,4,4,1,Can_Init_Flags, &_GPIO_MODULE_CAN1_PD01);
     CAN1SetOperationMode(_CAN_OperatingMode_Initialization);
 }

Buzzer

Buzzer

The board is also equipped with a piezo buzzer. It is an electric component which can be used to create sound waves when provided with electrical signal. Microcontroller can create sound by generating a PWM signal. Frequency of the signal determines the pitch of the sound and duty cycle of the signal can be used to increase or decrease the volume.

This function plays a warning sound on the buzzer (three beeps of 100ms duration each, alternated with a 200ms delay):

 void buzzer_warning( void ) {
   Sound_Play( 1000, 100 );
   Delay_ms( 200 );
   Sound_Play( 1000, 100 );
   Delay_ms( 200 );
   Sound_Play( 1000, 100 );
 }

Other modules

Other modules

The board also contains additional peripherals that can be very useful, such as 1 PIN photodiode, 2 IR receiver, 3 RGB led diode and 4 analog temperature sensor. PIN photodiode is a type of photo detector capable of converting light into the voltage with high sensitivity and speed of response. It is connected to the microcontroller analog pin. IR receiver is used for infrared remote control systems. The demodulated output signal obtained from IR module can be directly decoded by a microcontroller. Many of existing standard data formats are supported. RGB (Red, Green , Blue) diode is suitable for light indication in your design. Each of colour is driven separately by transistor. The analog temperature sensor converts temperature to analog voltage and it is directly connected to the microcontroller analog pin. Temperature measurement range of mikromedia 7 for STM32F7 board is from -20°C to 70°C.

This function reads the current temperature using MCU's 12 bit ADC module:

 static void Get_Temperature(){
   unsigned long temp;
   float temp2;
   temp = ADC3_Get_Sample(6);
   temp = (unsigned long)(VREF * temp) / 4096;
   temp = temp - 500;
   Display_Temp(temp, 0);
   temp2 = (float)(temp) / 10 * 1.8 + 32;
   temp2 = temp2 * 10;
   Display_Temp((unsigned long)temp2, 1);
 }

This function measures intensity of light using the MCU's 12 bit ADC module:

 static unsigned int Get_Light_Intensity(){
   unsigned int Light_Intensity;
   char *ptr1, *ptr2;
   char text[7], temp;
   
   Light_Intensity = ADC3_Get_Sample(7);
   Light_Intensity = Light_Intensity / 4; 
   if (Light_Intensity >= 1000)
     Light_Intensity = 1000;
   WordToStr(Light_Intensity, text);
   ptr1 = text;
   ptr2 = Diagram5_Label4_Caption;
   while (*ptr1){
     if (*ptr1 != ' ')
       *ptr2++ = *ptr1;
     ptr1++;
   }
   ptr2--;
   temp = *ptr2;
   *ptr2++ = '.';
   *ptr2++ = temp;
   *ptr2++ = ' ';
   *ptr2++ = '%';
   *ptr2 = 0;
   RedrawLabel(Diagram5_Box1.Color, &Diagram5_Label4, 240, 90);
   
   return Light_Intensity;
 }

This function displays color provided as an argument on RGB led:

 static void Drive_RGB_Diode(TColors *colors){
   PWM_TIM2_Set_Duty((int)pwm_period2 / 64 * colors->Green, _PWM_NON_INVERTED, _PWM_CHANNEL2);
   PWM_TIM3_Set_Duty((int)pwm_period1 / 32 * colors->Blue, _PWM_NON_INVERTED, _PWM_CHANNEL1);
   SoftPWM_duty = colors->Red;
 }

Pads

Pads

Many microcontroller pins are available for further connectivity via two 1x26 rows of connection pads on both sides of the board. They are designed to match with mikromedia 7 SHIELD for STM32F746ZG.

What’s next?

Compiler and software

You have now completed the journey through each and every feature of mikromedia 7 for STM32F4 board. You got to know its modules and organization. Now you are ready to start using your new board. We are suggesting several steps which are probably the best way to begin. Find useful projects and tutorials on the Libstock website (www.libstock.com). Join our Forum (https://forum.mikroe.com) and get help from a large ecosystem of users.

Compiler

You still don’t have an appropriate compiler? Locate ARM® compiler that suits you best on our website: https://www.mikroe.com. Choose between mikroC™, mikroBasic™ and mikroPascal™ and download a fully functional demo version, so you can start building your first applications.

Visual TFT

Once you have chosen your compiler, and since you already got the board, you are ready to start writing your first projects. Visual TFT software enables you to quickly create your GUI. It will automatically generate code compatible with MikroElektronika compilers. Visual TFT is rich with examples, which are an excellent starting point for your future projects. Download it from https://www.mikroe.com/visual-tft

Share this post

MIKROE

MIKROE is a development tools company dedicated to standardization and time-saving in the embedded industry.

  • About us
  • Success story
  • Contact
  • PressKit
  • Timeline
  • Partners
  • Legal
  • Distributors
  • Legacy Products

SOLUTIONS

  • Click boards™
  • Development boards
  • Mikromedia
  • CODEGRIP
  • NECTO Studio
  • Planet Debug
  • ClickID
  • Click Snap
  • EmbeddedWiki

SUPPORT

  • Helpdesk
  • Forum
  • Libstock
  • Learn
  • Let's Make
  • eBooks
  • Premium TS
  • Design service
  • Product Customization
  • Contract Manufacturing

STANDARD

  • mikroBUS™
  • mikroSDK
  • SiBRAIN
  • DISCON

Prodavnica za inostrano tržište

Nalazite se na prodavnici za inostrano trĹľište. Da li Ĺľelite da Vas odvedemo na prodavnicu koja je namenjena za Srbiju?

Prodavnica za inostrano tržište

Nalazite se na prodavnici za inostrano trĹľište. Da li Ĺľelite da Vas odvedemo na prodavnicu koja je namenjena za Srbiju?

Daily product releases, special offers, and more

  • FOLLOW US:

  • instagram
  • linkedin
  • facebook
  • github
  • newsletter
  • youtube
  • twitter twitter

Join us

PridruĹľi nam se

Careers
Internship
Posao
Napravi Click
Praksa
Copyright© 2025 MikroElektronika d.o.o.

Privacy