Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (164 codes)
  2. Alcides Ramos (62 codes)
  3. Dany (55 codes)
  4. NART SCHINACKOW (34 codes)
  5. Agent Wolfz (22 codes)
  6. Andrew Hazelden (21 codes)
  7. Alberto Trasimeni (17 codes)
  8. Bojan Kranjc (15 codes)
  9. Roman Toropov (14 codes)
  10. FOURNET Olivier (13 codes)

Most Downloaded

  1. Timer Calculator (29355 times)
  2. Network Ethernet Library (21925 times)
  3. FAT32 Library (16966 times)
  4. Network WiFi Library (13743 times)
  5. USB Device Library (13609 times)
  6. PID Library (10261 times)
  7. GSM click - Example (10066 times)
  8. microSD click - Example (8485 times)
  9. FT800 Library (8115 times)
  10. SMS home alarm system (7309 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

Remote Relay Control Example (Raspberry Pi)

Rating:

Author: MikroElektronika Team

Last Updated: 2014-02-21

Category: Other Codes

Downloaded: 744 times

Followed by: 1 user

Control two relays remotely through your Android smartphone using Raspberry Pi, Pi click shield (www.mikroe.com/click/pi-shield/) and Relay click (www.mikroe.com/click/relay/) 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

Download Example [1.17KB]

Version 1.0.0.0

DOWNLOAD LINK RELATED COMPILER CONTAINS
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 remote_relay_control.py from the .ZIP package to your local folder on Raspberry Pi filesystem (SD card).
2. Launch Shell terminal.
3. Type command line: sudo python remote_relay_control.py
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:

ALSO FROM THIS AUTHOR

LPG Click - Example

This example demonstrates usage of the LPG click board in mikroBUS form factor. LPG click is suitable for detecting LPG concentration - LPG checker. LCD shows PPM value of LPG concentration.

[Learn More]

OLED W Click - Example

OLED W click carries a 96 x 39px blue monochrome passive matrix OLED display. The display is bright, has a wide viewing angle and low power consumption. To drive the display, OLED B click features an SSD1306 controller.

[Learn More]

Mikromedia 5 for Tiva - RF Communication Example

This is demonstration project how Mikromedia 5 for Tiva communicates over RF. Data is send over simple 'led protocol' (1 byte command). Development board for Stellaris with an add-on board nRF Click is used as a receiver device.

[Learn More]