TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136724 times)
  2. FAT32 Library (69938 times)
  3. Network Ethernet Library (55940 times)
  4. USB Device Library (46265 times)
  5. Network WiFi Library (41886 times)
  6. FT800 Library (41169 times)
  7. GSM click (28982 times)
  8. PID Library (26412 times)
  9. mikroSDK (26358 times)
  10. microSD click (25362 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:

0

Author: MIKROE

Last Updated: 2016-02-17

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Development Systems

Downloaded: 1139 times

Followed by: 5 users

License: MIT license  

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 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

SPIRIT click

6

SPIRIT click carries the SP1ML 868MHz ultra low-power RF module. The click is designed to run on a 3.3V or 5V power supply. It communicates with the target MCU over UART interface, with additional functionality provided by the following pins on the mikroBUS line: PWM, RST, CS.

[Learn More]

Spectrometer click

0

Spectrometer Click features an 11-channel spectrometer for spectral identification and color matching applications. This Click board™ features the AS7341 from AMS-AG, whose spectral response is defined in the wavelengths from approximately 350nm to 1000nm.

[Learn More]

Rotary R 2 click

0

Rotary R 2 Click is a compact add-on board that allows you to add a precision input knob to your design. This board features the TLC5925, a low-power 16-channel constant-current LED sink driver from Texas Instruments that, combined with a high-quality rotary encoder from ALPS, the EC12D1564402, allows you to add a precision input knob to your design. It also features an LED ring composed of 16 individual red LEDs that can visually represent the encoder position and more.

[Learn More]