Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (100 codes)
  2. Dany (44 codes)
  3. NART SCHINACKOW (34 codes)
  4. Alcides Ramos (33 codes)
  5. Agent Wolfz (14 codes)
  6. Andrew Hazelden (13 codes)
  7. Roman Black (11 codes)
  8. Alberto Trasimeni (11 codes)
  9. Roman Toropov (9 codes)
  10. Simon Platten (8 codes)

Most Downloaded

  1. Network Ethernet Library (11815 times)
  2. FAT32 Library (8653 times)
  3. Timer Calculator (6598 times)
  4. PID Library (5266 times)
  5. Network WiFi Library (5240 times)
  6. SMS home alarm system (4435 times)
  7. External Memory (4124 times)
  8. mikromedia for PIC18FJ - Examples (3576 times)
  9. microSD click - Example (3512 times)
  10. GPS click - Example (3277 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

Expand click - Example

Rating:

Author: MikroElektronika Team

Last Updated: 2012-09-11

Category: Communication

Downloaded: 1270 times

Not followed.

Example for EXPAND click board in mikroBUS form factor. This is code writes data to expander's PortB and reads it from expander's PortA. Result is shown on PortB LEDs on development board.

No Abuse Reported

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

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

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

  • Information
  • Comments (0)

Example Blog

Expand click

Expand click

Front and back view of EXPAND click board designed in mikroBUS form factor. mikroBUS is specially designed pinout standard with SPI, I2C, Analog, UART, Interrupt, PWM, Reset and Power supply pins.

View full image

MCP23S17 is a 16-bit I/O expander  with SPI clock speeds up to 10 MHz for higher throughput applications. Three HARDWARE ADDRESS SEL jumpers allow you to configure board address and
connect up to eight devices on the bus. Controller also supports interrupt-on-change feature.

PIC examples are written for:
- EasyPIC v7 - PIC18F45K22
- EasyPIC PRO v7 - PIC18F87K22
- EasyPIC v7 for dsPIC30 - dsPIC30F4013
- EasyMx PRO v7 for Stellaris(R)  - LM3S9B95, LM4F232H5QD
- EasyMX PRO v7 for ST - STM32F107VC

EXPAND click board schematics

EXPAND click board schematics

Board is set to use 3.3V power supply by default. Solder PWR SEL SMD jumper to 5V position if used with 5V systems.

View full image

ALSO FROM THIS AUTHOR

DALI 3.3V click - Example

This example demonstrates use of DALI protocol for controlling leds on board. There are two DALI click cards which allow protocol communication.

[Learn More]

ETH click - Example

Example shows how to use the ENC28J60:
the board will reply to ARP & ICMP echo requests
the board will reply to UDP requests on any port :
returns the request in upper char with a header made of remote host IP & port number

[Learn More]

dsPICPRO4

Examples for dsPICPRO4 development system

[Learn More]