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 (142085 times)
  2. FAT32 Library (75312 times)
  3. Network Ethernet Library (59507 times)
  4. USB Device Library (49526 times)
  5. Network WiFi Library (45290 times)
  6. FT800 Library (44928 times)
  7. GSM click (31444 times)
  8. mikroSDK (30468 times)
  9. microSD click (27804 times)
  10. PID Library (27625 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: 3560 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

2x2 key Click

0

2x2 Key Click has a 4 button keypad and allows multiple key presses.

[Learn More]

Nano Power 2 click

5

Nano Power 2 click is a very low power voltage comparator, aimed at portable and battery-powered applications. It allows detecting a difference of two voltage potentials, applied on two input pins.

[Learn More]

Pressure 15 Click

0

Pressure 15 Click is a compact add-on board that contains a board-mount pressure sensor. This board features the LPS27HHW, an ultra-compact piezoresistive absolute pressure sensor that functions as a digital output barometer from STMicroelectronics.

[Learn More]