Use your forum account to login.


TOP Contributors

  1. MikroElektronika Team (319 codes)
  2. Shawon Shahryiar (211 codes)
  3. Alcides Ramos (91 codes)
  4. Dany (66 codes)
  5. O B (60 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. Roman Toropov (25 codes)
  9. Alberto Trasimeni (25 codes)
  10. Andrew Hazelden (23 codes)

Most Downloaded

  1. Timer Calculator (61385 times)
  2. Network Ethernet Library (32482 times)
  3. FAT32 Library (29128 times)
  4. Network WiFi Library (24243 times)
  5. USB Device Library (24032 times)
  6. GSM click - Example (16616 times)
  7. FT800 Library (16460 times)
  8. PID Library (16333 times)
  9. microSD click - Example (13760 times)
  10. GPS click - Example (10955 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

Remote Relay Control Example (Raspberry Pi)


Author: MikroElektronika Team

Last Updated: 2014-02-21

Category: Other Codes

Downloaded: 1475 times

Followed by: 1 user

Control two relays remotely through your Android smartphone using Raspberry Pi, Pi click shield ( and Relay click ( board.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Remote Relay Control Example (Raspberry Pi)" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Remote Relay Control Example (Raspberry Pi)" changes.

Do you want to report abuse regarding "Remote Relay Control Example (Raspberry Pi)".

  • Information
  • Comments (0)

Download Example [1.17KB]


Other Compiler
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

RPi + Pi click shield + Relay click

RPi + Pi click shield + Relay click

Connect Relay click to Raspberry Pi through Pi click shield

View full image

See it in action

Remote Relay Control in Action

Watch on Vimeo

1. Extract from the .ZIP package to your local folder on Raspberry Pi filesystem (SD card).
2. Launch Shell terminal.
3. Type command line: sudo python
4. This will run the Python script.

Download and install free S-Remote control app from Google Play Store. Launch the app and configure it as shown in the image gallery below:


DAC 3 click

DAC3 click carries Microchip’s MCP4726, a 12-bit digital-to-analog converter, along with voltage output screw terminals.DAC3 click communicates with the target board MCU through the mikroBUS I2C interface. Standard (100 kHz), fast (400 kHz) and highspeed (3.4 MHz) I2C modes are available. The board uses either a 3.3V or a 5V power supply.

[Learn More]

External Memory

Contains libraries for working with 24C02 EEPROM memory, low-voltage serial flash memory M25P80 and serial SRAM 23K640 device.

[Learn More]

MP3 click - Example

Simple example which demonstrates working with MP3 click board in mikroBUS form factor. Example will play MP3 file "sound.mp3" located on the microSD card.

[Learn More]