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 (142118 times)
  2. FAT32 Library (75407 times)
  3. Network Ethernet Library (59567 times)
  4. USB Device Library (49553 times)
  5. Network WiFi Library (45359 times)
  6. FT800 Library (44994 times)
  7. GSM click (31486 times)
  8. mikroSDK (30567 times)
  9. microSD click (27898 times)
  10. PID Library (27635 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: 3562 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

I2C 1-Wire Click

0

I2C 1-Wire Click carries DS2482-800, a bridge device that performs bidirectional conversions between I2C masters and 1-Wire slave devices. These can be EEPROM chips, temperature sensors and similar devices that have momentary high source current modes.

[Learn More]

TouchKey 4 Click

0

Touch Key 4 Click is a capacitive touch sensing Click board™, with the advanced touch/proximity sensor IC.

[Learn More]

Accel 24 Click

0

Accel 24 Click is a compact add-on board that contains an acceleration sensor. This board features the MXC6655XA, a 12-bit three-axis accelerometer from MEMSIC. It allows selectable full-scale acceleration measurements in ranges of ±2g, ±4g, or ±8g in three axes with a compatible I2C serial interface with 400KHz fast mode operation. Alongside low offset and temperature signal with high accuracy, the MXC6655XA also detects six orientation positions, X/Y shake, and shake directions with an appropriate interrupt signal for these states.

[Learn More]