iic1tls
Published © LGPL

How To Use A MCP23017 I2C Port Expander With Intel Galileo 2

Demonstrate Intel MRAA Support of the MCP23017 IO Expander as an Output Device. This project blinks 16 LEDs under control of ANSI C.

BeginnerProtip2 hours973
How To Use A MCP23017 I2C Port Expander With Intel Galileo 2

Things used in this project

Hardware components

Microchip MCP23017
Ensure to download the DataSheet on this product. References to the data in the datasheet are made in the project source code.
×1
2N3904
×1
Linear Regulator (7805)
Linear Regulator (7805)
×1

Story

Read more

Schematics

MCP23017 to Intel Galileo2 16 LED Schematic

This schematic provides details on how to build the project described here, using the MCP23017, and passives, such as transistors, resistors, diodes, capacitors, and LEDs. For printing, this document was designed using LEGAL size paper (not Letter size), therefore, printing on Letter might yield crummy results.

Code

MCP23017 to Intel Galileo 2 Demonstrator ANSI C MRAA Source Code

C/C++
Compile using the Eclipse MARS.2(4.5.2) Compiler on Windows provided by Intel at:
https://software.intel.com/en-us/intel-system-studio-iot-edition-guide-for-c
This code compiles clean without any errors or warnings.
No preview (download only).

Credits

iic1tls

iic1tls

2 projects • 0 followers

Comments