Giter Club home page Giter Club logo

rk3588-rk3568-rk3566-tablet-relay-controller's Introduction

Industrial Tablet Relay controller

Tablet read relay status & start app & show camera or web url

Customer:

Please can you check with Dennis if we can do this? I need a possibility to send an action URL or to open an rtsp stream of camera in Fullscreen browser if the relais would be closed by button or other devices.

Example customer has a school and has bell push button with a potential free contact. He wants to connect the contact of the button with the display and then see the person in front of the door on the camera image.

Answer:

Yes, we can do. First we need design a HID USB relay connect with our industrial Tablet. Then we will design a app run on our tablet. The app will read the Relay status. You can set the action you want to do in the app. Our app will help you open URL or other apps.

Can you control relays with Android tablet?

Yes, you can control relays using an Android tablet. There are several methods to achieve this. Here's one common approach:

  1. Hardware requirements: You'll need an adapter or module to connect your Android tablet to the relays. Common options include using Bluetooth, Wi-Fi, UART, or a USB connection.

  2. Software application: Install a suitable app on your Android tablet to control the relays. You can search for an app compatible with your device and relays on the Google Play Store. Popular applications provide a user-friendly interface that allows you to easily control and operate the relays.

  3. Connection and setup: Follow the instructions provided by the application to connect your tablet to the relays. This may involve setting up a Bluetooth or Wi-Fi connection or connecting via a USB cable.

  4. Control the relays: Once successfully connected, you can use the application to control the relays. Typically, the app will provide buttons, switches, or sliders as controls, allowing you to turn the relays on or off or adjust their state.

Please note that the specific steps and required hardware and software may vary depending on the tablet and relay models you're using. Before attempting to connect and control relays, it's advisable to carefully read the relevant documentation and instructions to ensure you understand the correct procedures.

Get More technical Support

RK3588 Development Board

- RK3588 Development Board

ota upgrade tools(otaStar) and server

- RK3566/RK3568/RK3588 Android OTA upgrade tools and server

Android HID USB RelayController

- RK3566/RK3568/RK3588 Android HID USB RelayController

How Qt5.14.2 cross-compile

- RK3588 Qt5.14.2 cross-compile for Ubuntu and Debian Linux OS

Build Videorecorder Bundle use Networkoptix Client on HYY H-3588 Tablet

- Build Videorecorder Bundle use Networkoptix Client

Build new ubuntu rootfs for HYY H-3588 Tablet

-Build new ubuntu rootfs for RK3566 RK3568 RK3588 products

API

The interface class HyyRelay defines how to control the function of the relay switch through the switch.

HyyRelay interface class methods

method parameter describe
open RelaySwitchingEventListener Open the serial port and connect the serial device
relayOn none Open relay
relayOff none Close relay
close none close serial port

RelaySwitchingEventListener: Switch The switch event callback is monitored. When the switch is pressed, the on method is called. The development is released and the off method is called

example:

  HyyRelayCtl hyyRelayCtl = HyyRelayCtl.instance();
  boolean opened = hyyRelayCtl.open(new HyyRelay.RelaySwitchingEventListener() {
      @Override
      public void on() {
          hyyRelayCtl.relayOn() //  open the relay switch here
          // more code implement your functions here.
      }

      @Override 
      public void off() {
          hyyRelayCtl.relayOff(); //  close the relay switch here
          // more code implement your functions here.
      }
  });

// HyyRelayCtl implements interface HyyRelay
// hyyRelayCtl.open return true Indicates that the serial port device is successfully connected. Otherwise, the connection fails
// If the device switch button is pressed, RelaySwitchingEventListener on method will callback. Call the code to open the switch here, and you can implement your own functions

Contacts

rk3588-rk3568-rk3566-tablet-relay-controller's People

Contributors

industrialtablet avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.