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 (142156 times)
  2. FAT32 Library (75476 times)
  3. Network Ethernet Library (59611 times)
  4. USB Device Library (49622 times)
  5. Network WiFi Library (45371 times)
  6. FT800 Library (45081 times)
  7. GSM click (31490 times)
  8. mikroSDK (30592 times)
  9. microSD click (27907 times)
  10. PID Library (27645 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

USB I2C click

Rating:

5

Author: MIKROE

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: USB

Downloaded: 3399 times

Followed by: 4 users

License: MIT license  

This example code demonstrates how USB I2C click can be used to control slave microcontroller via I2C. USB I2C click carries Microchip's MCP2221 chip. Click is designed to be supplied with 3.3V or 5V.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "USB I2C click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "USB I2C click" changes.

Do you want to report abuse regarding "USB I2C click".

  • Information
  • Comments (0)

Example Blog

USB I2C Click Board

USB I2C Click Board

Front and back side appearance of the USB I2C click Board.

View full image

USB I2C click carries a MCP221 USB-to-UART/I2C converter. The board communicates with the target MCU through mikroBUS UART (RX, TX) or I2C (SCL, SDA) interfaces. In addition to mikroBUS, the edges of the board are lined with additional GPIO and I2C pins. It can use either a 3.3V or 5V logic levels.

Examples written for:

- EasyPIC v7 - PIC18F45K22

USB I2C click schematics

USB I2C click schematics

The schematics of the USB I2C click board.

View full image

ALSO FROM THIS AUTHOR

ETH WIZ click board - Example

1

This example demonstrates simple TCP and UDP usage of the ETH WIZ click board : - Board sends echo reply to UDP packets on "PORT_UDP" port, - Board listens to a connection request on "PORT_TCP" port. After connection is established, it sends echo reply to incoming TCP packets.

[Learn More]

Motion 2 Click

0

Motion 2 Click is a Click board™ based on EKMC1607112, PIR motion sensor from Panasonic Corporation that's used as human motion detector. Also featured on Motion 2 Click bord is TLP241A photorelay from Toshiba that is used to provide a reinforced galvanic isolation for the external signals used to drive some external high power electronic equipment when motion is detected. It's allowing up to 40V between the SSR contacts in OFF state, and currents up to 2A while in ON state, thanks to a very low ON-state resistance. Motion 2 Click board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.

[Learn More]

Opto 3 Click

0

Opto 3 Click is a relay Click board™, equipped with two pairs of optically isolated solid-state relays (SSR).

[Learn More]