Use your forum account to login.


TOP Contributors

  1. MikroElektronika Team (515 codes)
  2. Shawon Shahryiar (248 codes)
  3. Alcides Ramos (99 codes)
  4. Dany (66 codes)
  5. O B (62 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. Alberto Trasimeni (25 codes)
  9. Roman Toropov (25 codes)
  10. Arezki YOUYOU (24 codes)

Most Downloaded

  1. Timer Calculator (81846 times)
  2. Network Ethernet Library (39385 times)
  3. FAT32 Library (39081 times)
  4. USB Device Library (29981 times)
  5. Network WiFi Library (28431 times)
  6. FT800 Library (21471 times)
  7. PID Library (19666 times)
  8. GSM click (19344 times)
  9. microSD click - Example (16443 times)
  10. GPS click - Example (13139 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 (BeagleBone Black)


Author: MikroElektronika Team

Last Updated: 2014-11-21

Category: Development Systems

Downloaded: 901 times

Followed by: 5 users

Control two relays remotely through simple web interface controller by NODE.js server.
Using BeagleBone (Black), BeagleBone click SHIELD ( and Relay click ( board.

No Abuse Reported

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

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

Do you want to report abuse regarding "Remote Relay Control Example (BeagleBone Black)".

  • Information
  • Comments (0)

Download Example [2.72KB]


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

Example Blog

BBB + BegleBone click shield + Relay click

BBB + BegleBone click shield + Relay click

Connect Relay click to BeagleBone Black using BeagleBone click SHIELD.

View full image

Startup NOTE
- Extract the archive to desired folder on your BB(B).
- Edit the port variable if some other app is already listening on port 8888.
- Comment/Uncommnet pin definitions depending on used mikroBUS socket.
- Navigate to folder with projec files in Terminal and execute: node app.js

- Using ifconfig in terminal you can find the IP address of the device (IP.IP.IP.IP).
- Use the IP address with configured port number to acccess Remote Relay Control application
- Type in browser address bar: IP.IP.IP.IP:PORT
For example if IP address is and port is by default 8888.
Browser addressbar:


FT810 Library

FTDI FT81x graphic controller library.

[Learn More]

DigiPot click - Example

This program demonstrates the usage of single channel Digital Potentiometer (MCP4161) with 8 bit resolution. Voltage derived from PW pin is read by MCU's ADC. Scaled value is then displayed at PORTD LEDs. User can increase or decrease resitance by pressing buttons RB2 and RB3.

[Learn More]

Thunder click - Example

Example demonstrates usage of AS3935 Lighting sensor. It will detect approaching thunderstorm and display on TFT estimated distance and energy. Also user will be warned with buzzer beep.

[Learn More]