TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 codes)
  5. Bugz Bensce (97 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 (140533 times)
  2. FAT32 Library (73022 times)
  3. Network Ethernet Library (58025 times)
  4. USB Device Library (48212 times)
  5. Network WiFi Library (43821 times)
  6. FT800 Library (43292 times)
  7. GSM click (30353 times)
  8. mikroSDK (28983 times)
  9. PID Library (27112 times)
  10. microSD click (26714 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: 1177 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

Ozone 2 click

10

Ozone 2 click carries an MQ131 sensor for Ozone (O3). The sensor outputs an analog voltage, which is converted by the onboard MCP3551 22-bit ADC converter or it is sent to the microcontroller via AN pin on the mikroBUSâ„¢, depending on the position of ADC SEL. jumper. The click is designed to run on 5V power supply.

[Learn More]

Angle 2 Click

0

The MA700 sensor IC features quadrature encoded outputs so that it can directly replace similar mechanical devices. The advantages of a contactless quadrature encoder are many, therefore Angular 2 Click is equipped with a three-pin header, offering an easy access to these outputs.

[Learn More]

OOK RX Click

0

OOK RX Click is a wireless receiver that operates at the frequency of 433MHz (sub-GHz). This device allows realization of a simple, low-speed wireless ad hoc communication network between a receiver and compatible transmitter.

[Learn More]