Summer Sale 15% OFF + special discounts on select products - valid until June 27th, 12:00 CET

Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (555 codes)
  2. Shawon Shahryiar (250 codes)
  3. Alcides Ramos (112 codes)
  4. Dany (66 codes)
  5. S P (63 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. FOURNET Olivier (25 codes)
  9. Alberto Trasimeni (25 codes)
  10. Roman Toropov (25 codes)

Most Downloaded

  1. Timer Calculator (84943 times)
  2. FAT32 Library (40921 times)
  3. Network Ethernet Library (40482 times)
  4. USB Device Library (31056 times)
  5. Network WiFi Library (29215 times)
  6. FT800 Library (22630 times)
  7. PID Library (20095 times)
  8. GSM click (19870 times)
  9. microSD click - Example (16693 times)
  10. GPS click - Example (13426 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 (BeagleBone Black)

Rating:

Author: MikroElektronika Team

Last Updated: 2014-11-21

Category: Development Systems

Downloaded: 910 times

Followed by: 5 users

Control two relays remotely through simple web interface controller by NODE.js server.
Using BeagleBone (Black), BeagleBone click SHIELD (http://www.mikroe.com/click/beaglebone-shield/) and Relay click (http://www.mikroe.com/click/relay/) 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

Download Example [2.72KB]

Version 1.0.0.0

DOWNLOAD LINK RELATED COMPILER CONTAINS
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 192.168.7.2 and port is by default 8888.
Browser addressbar: 192.168.7.2:8888

ALSO FROM THIS AUTHOR

LCD mini click

LCD mini click displays 16x2 monochrome characters on an LMB162XFW LCD display. It features the MCP23S17 port expander and the MCP4161 digital potentiometer, both from Microchip. LCD mini click is designed to run on either 3.3V or 5V power supply.

[Learn More]

BroadR Reach click

BroadR-Reach click brings the industry grade communication standard to the mikroBUS™, which is built to be used in an Ethernet-based open network.

[Learn More]

LPS22HB Click

LPS22HB click is an easy solution to adding a digital barometer to your design. The click carries the LPS22HB MEMS nano pressure sensor. The click is designed to run on a 3.3V power supply.

[Learn More]