Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (191 codes)
  2. Alcides Ramos (68 codes)
  3. Dany (58 codes)
  4. Shawon Shahryiar (38 codes)
  5. MikroBUS.NET Team (35 codes)
  6. NART SCHINACKOW (34 codes)
  7. Agent Wolfz (22 codes)
  8. Andrew Hazelden (22 codes)
  9. Alberto Trasimeni (17 codes)
  10. Bojan Kranjc (16 codes)

Most Downloaded

  1. Timer Calculator (37852 times)
  2. Network Ethernet Library (24791 times)
  3. FAT32 Library (19634 times)
  4. Network WiFi Library (18567 times)
  5. USB Device Library (16687 times)
  6. GSM click - Example (12372 times)
  7. PID Library (12002 times)
  8. FT800 Library (10170 times)
  9. microSD click - Example (10029 times)
  10. SMS home alarm system (8076 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: 988 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

RTC2 click - Example

Example for RTC2 click board in mikroBUS form factor. It is a simple demonstration how to read/write date and time from DS1307 RTC (real-time clock). Date and time are read from the RTC every 10 milliseconds and printed on LCD. Communication with the board is done via I2C interface.

[Learn More]

mikromedia for PIC32 - Examples

Set of examples for mikromedia for PIC32.. Provided examples demonstrate working with mikromedia's various features and modules:

- Accelerometer
- MMC SD card
- MP3
- Serial Flash
- TFT
- Touch Panel
- USB

[Learn More]

8x8 click - Example

Simple example which demonstrates working with 8x8 click boards. 8x8 clicks are 8x8 LED matrix displays in form of add-on boards in mikroBUS form factor. Boards feature MAX7219 8-digit LED display driver module as well as 64 LED diodes.

[Learn More]