TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141818 times)
  2. FAT32 Library (74952 times)
  3. Network Ethernet Library (59310 times)
  4. USB Device Library (49305 times)
  5. Network WiFi Library (45103 times)
  6. FT800 Library (44671 times)
  7. GSM click (31285 times)
  8. mikroSDK (30209 times)
  9. microSD click (27657 times)
  10. PID Library (27562 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

FTDI click - Example

Rating:

0

Author: MIKROE

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: USB

Downloaded: 3553 times

Followed by: 1 user

License: MIT license  

This is demonstration project how FTDI click can be used to control slave microcontroller via I2C.
Lower nibble of slave address is masked which enables the master to address slave using eight different addresses.
Currently four addresses are implemented for different functionality.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "FTDI click - Example" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "FTDI click - Example" changes.

Do you want to report abuse regarding "FTDI click - Example".

  • mikroSDK Library 2.0.0.0
  • Comments (1)

Example Blog

FTDI click

FTDI click

Front and back view of FTDI Click Board designed in mikroBUS form factor.

View full image

FTDI click is accessory board in mikroBus form factor which enables you to connect, PC and MCU applications using preferred communication protocol (I2C, SPI, UART).

It features FT2232H chip - dual high speed USB 2.0 to UART/I2C/SPI serial interface converter.

In this example project PC Application is communicating with MCU connected on EasyPIC v7 development system via I2C.

PC is master and MCU is receiving control instructions in I2C(MSSP) interrupt routine.

Currently only few functions are implemented, but they can be easily expanded on more functions.

- Send first/second line of typed text to MCU.
(received text is displayed on LCD located on EasyPIC v7 development system)

- Send command to MCU, which then plays the song on Buzzer.

- Control individual pins on PORTD of microcontroller.


Microcontroller is controller via Windows application which is provided in this package.
(Application is written in Visual Studio 2010 Express and LibMPSSE-I2C dll).
http://www.ftdichip.com/Support/SoftwareExamples/MPSSE/LibMPSSE-I2C.htm

Example is written for :
  - EasyPIC v7 - PIC18F45K22

FTDI click schematic

FTDI click schematic

The schematic of the FTDI click board.

View full image

ALSO FROM THIS AUTHOR

16x12 G click

6

16x12 G click carries a 16x12 LED display and the IS31FL3733 matrix driver. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over I2C interface, and the following pins on the mikroBUS line: INT, RST, CS.

[Learn More]

Dot Matrix R click

5

Dot Matrix R Click is a display device Click board based on a four-digit dot matrix display module, labeled as HCMS-3906. The module holds four 5x7 dot matrices, with very closely spaced, bright red pixel elements. Characters are very clearly displayed as a result.

[Learn More]

3D Hall 10 Click

0

3D Hall 10 Click is a compact add-on board used to detect the strength of a magnetic field in all three dimensions. This board features the TMAG5170, a high-precision linear 3D Hall effect sensor from Texas Instruments. The TMAG5170 features an SPI interface for configuration by MCU. The measurement data is provided in digital format of 12-bits corresponding to the magnetic field measured in each X, Y, and Z axes. It can achieve ultra-high precision at speeds up to 20kSPS for faster and more accurate real-time control and offers multiple diagnostics features to detect and report both system and device-level failures.

[Learn More]