Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (612 codes)
  2. Shawon Shahryiar (252 codes)
  3. Alcides Ramos Zambrano (143 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 (87413 times)
  2. FAT32 Library (43679 times)
  3. Network Ethernet Library (41795 times)
  4. USB Device Library (32350 times)
  5. Network WiFi Library (30190 times)
  6. FT800 Library (24343 times)
  7. PID Library (20455 times)
  8. GSM click (20400 times)
  9. microSD click - Example (16989 times)
  10. GPS click - Example (13649 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: 926 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

DC Motor Click Board

This is a simple demonstration of using the DRV8833 dual bridge motor driver (http://www.ti.com/product/drv8833), which is being used for controlling DC brush motors, a bipolar stepper motor, solenoids, or other inductive loads.

[Learn More]

8x8 Y click

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]

OLED Switch click

This board has a module that combines a button and a full color organic LED display, plus input/output screw terminals for connecting external electronics. The mechanical button itself is nicely built, with a translucent black housing. When pressed, it gives satisfying tactile feedback.

[Learn More]