Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (376 codes)
  2. Shawon Shahryiar (227 codes)
  3. Alcides Ramos (93 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. Arezki YOUYOU (24 codes)

Most Downloaded

  1. Timer Calculator (70572 times)
  2. Network Ethernet Library (35346 times)
  3. FAT32 Library (33503 times)
  4. USB Device Library (26487 times)
  5. Network WiFi Library (25910 times)
  6. FT800 Library (18294 times)
  7. PID Library (17915 times)
  8. GSM click - Example (17786 times)
  9. microSD click - Example (14964 times)
  10. GPS click - Example (11978 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: 1606 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

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

Stepper2 Click Library

Stepper 2 click carries a A4988 microstepping motor driver along with screw terminals for connecting an external motor, as well as for bringing in an external power supply. The output drive capacity of the motor is up to 35V and ±2A.

[Learn More]

7seg click - Example

This is a simple wheel of fortune game made to demonstrate use of 7seg click. Wait for intro to finish, after that you can start your wheel with a press on RC7 button. Press RC7 button again and try to catch snake eyes (00) ;)

[Learn More]

Stepper 3 click

Stepper 3 click is is a board for driving unipolar stepper motors with precise controls (individual motor phases can be accessed separately).

[Learn More]