New Arrivals/Restock

Outlet Power Control by Tinkerforge

flash sale iconLimited Time Sale
Until the end
08
02
43

$54.00 cheaper than the new price!!

Free shipping for purchases over $99 ( Details )
Free cash-on-delivery fees for purchases over $99
Please note that the sales price and tax displayed may differ between online and in-store. Also, the product may be out of stock in-store.
New  $90.00
quantity

Product details

Management number 213649605 Release Date 2026/04/12 List Price $36.00 Model Number 213649605
Category

Assuming you have a remote control linked to an Industrial Quad Relay Bricklet, start by creating an 'Android Application Project' named 'Power Outlet Control' in Eclipse. The GUI's foundation is a 'Linear Layout (Vertical)' with fields for host, port, UID, and a 'Number' field for port. Include a 'Button' for connecting and disconnecting, and four trigger buttons in a 'Linear Layout (Horizontal)' for controlling the remote's switches. Use 'findViewById()' to access GUI components in Java, storing references in 'MainActivity' class members. Implement 'ConnectAsyncTask' as an inner class for direct member variable access. 'onPreExecute()' stores host, port, and UID configurations before 'doInBackground()' creates an 'IPConnection' and 'BrickletIndustrialQuadRelay' object, calling 'connect()'. Clicking the connect button triggers a 'TriggerAsyncTask' that calls the 'setMonoflop()' method of the Industrial Quad Relay Bricklet. The program currently lacks robust error handling and may struggle connecting or disconnecting.

  • Vertical layout for host, port, and UID input
  • Numeric restriction for port text field
  • Connect/disconnect button
  • Horizontal layout for four trigger buttons
  • Background processing with AsyncTask
  • Connection validation and error management
Color gray
Terminal Screw
Brand Name TinkerForge
Circuit Type 1-way
Manufacturer Tinkerforge
Material Type Metal
Mounting Type Panel Mount
Connector Type Screw Terminals
Controller Type Push Button
Warranty Description This product comes with a standard manufacturer's warranty covering defects in materials and workmanship.
Connectivity Protocol Wi-Fi

Correction of product information

If you notice any omissions or errors in the product information on this page, please use the correction request form below.

Correction Request Form

Product Review

You must be logged in to post a review