**Update: The article below is from our legacy Android app! Valarm is Industrial IoT. We'll help you, your teams, and your business with Industrial IoT applications using Valarm Tools Cloud.

We recommend using GSM, WiFi, or ethernet connector devices / sensors hubs with any sensors since they're much more reliable than Androids for Industrial IoT applicationslike:

You can use Valarm Industrial IoT, telemetry and remote sensor monitoring solutions with any of the following connector devices:

Valarm Industrial IoT sensor data is GPS-tagged, time-stamped, and sent to Valarm Tools Cloud / tools.valarm.net via any internet connectivity like WiFi, ethernet, or cell network. With Valarm Tools Cloud you’ll find services for mapping, graphing, and APIs like JSON to help you with your real-time, geo-enabled sensor monitoring and Industrial IoT applications.

Valarm compatible sensors and Industrial IoT hardware are available at shop.valarm.net.

Have a look at Valarm's Industrial IoT Customer Stories page for more on how these remote sensor monitoring and telemetry solutions are deployed in various industries.

Learn how all of this works together on our Web Dashboards for Remote Monitoring, Telemetry, Sensors & Industrial IoT.

Please don’t hesitate to contact us if your business needs help with deploying an Industrial IoT application or have any questions!


How do you charge a phone or tablet while running the Valarm Pro app with external USB sensors? This instructable from Team Valarm shows you how!

Why did we solve this problem? Valarm provides sensor and monitoring solutions that facilitate rapid deployment of real-time, ad-hoc, mobile sensor networks for remote environmental monitoring, mobile data acquisition, and asset / vehicle tracking. Valarm connects industry-standard sensors, makes them location-aware, and streams their data to the cloud or to private networks, using readily available commodity hardware. To do all of this our customers in over 30 countries around the world use these USB OTG + Charge Y cables to monitor anything, anywhere!

Some tablets (especially 10″ models) are equipped with a dedicated power jack. But most tablets (and all phones) charge via the same USB port that will be hosting your external sensors. A simple OTG+Power “Y-cable” is the solution. Below is a video demonstrating the Charging + OTG Y-cable being used to plug a phone into a USB sensor at the same time it is charging.

Where do you get one of these fancy Y-cables? The specification varies between manufacturers, but if you have a Samsung or Sony device, you are in luck!

Micro USB OTG Y-cables for the Samsung devices (e.g., Galaxy S3 and S4) are available in the Valarm store.

Want to build your own? You can make your own cable for a Sony device (e.g., Xperia U ST25) by following the instructions below or else you can buy a factory-made cable from us.

Micro USB OTG Y-cables for the Sony devices (e.g., Xperia U, SP, Z) are available in the Valarm store.

To build your own you’ll need a few tools and supplies:

- USB cables with Micro USB and full size USB ends
- Soldering iron and solder
- Wire cutters
- Wire strippers
- Dremel or something else to cut and expose a USB cable’s circuit board
- Resistor (To make a Sony compatible USB OTG+Charging Y cable use a 100K Ohm resistor. To make a Samsung compatible USB OTG+Charge Y cable use a 64.9K Ohm resistor (available here)

Step 1: Remove Cover From USB Male Plug

First cut off the head of a micro USB male plug and strip the plastic (we used a Dremel and wire cutters) to expose the circuit board.

Step 2: Solder 100K Resistor

Next solder one end of your 100K Ohm resistor to pin 4 (a.k.a. sense pin). To make a Sony compatible USB OTG+Charging Y cable use a 100K resistor. To make a Samsung compatible USB OTG+Charging Y cable use a 64.9K resistor (available here). The other end will connect to the pad labeled B (which is pin 5/ground).

Step 3: Strip USB Wires

Strip your USB cables with wire strippers to expose the 4 USB wires: red, green, black, and white here from a Samsung cable (other cable brands may use different colors!). One end will plug into your sensor (Micro USB male) and one into your power supply (Full or Micro USB Male or Female).

Step 4: Hot Glue and Heat Shrink

Cover this up with hot glue and/or heat-shrink tubing, and this end goes into the phone. The resistor signals to the phone that it should be a USB host, AND also draw power from the USB port. Now you can solder on your USB cable (e.g., male micro) that attaches to your sensor (solder the red, green, black, and white ends to their corresponding pads) and your USB cable (e.g., male full size) that plugs into your power source (solder only the red and black wires for this connection).

Step 5: Plug in Your USB Sensors (CO2, Thermocouple, IAQ, VOCs, Humidity)

All done: plug your sensors and charger into your device using the Y-cable you just made! For the cable in this picture we used a Mini USB connector to go from the device to a USB hub then all of the sensors (CO2, thermocouple, indoor air quality [iAQ, VOCs] in this picture) can be plugged into Valarm Pro at the same time!

Step 6: Factory Made Cables Available


1) You don’t feel comfortable doing any of the steps above (we’ve done it a few times and admit it can be a bit tricky and time consuming)

2) You would not like to take the time (you do get better at it after you’ve done a few but it still takes us almost an hour to do one by hand)


3) Don’t have the equipment to build one…

You can buy one of Valarm’s USB OTG charge cables in the Valarm store. Thank you for your support!

Step 7: USB OTG + Charging Y Cables for Sony Xperia

The cables are compatible with Sony Xperia phones and we have tested extensively with the Sony Xperia U ST25a and ST25i phones, which are the most inexpensive devices we have found that support USB Host and OTG. You can use the cable to charge an Xperia device at the same time as using your sensors, keyboard, mouse, game controllers, any other USB accessory. Many thanks to Przemyslaw Tracz (a.k.a. sonic_boom) for his website detailing how to do this!

This picture shows Valarm Pro running on a Sony Xperia U ST25i with an air quality (volatile organic compounds, VOC) sensor and charging at the same time.

Step 8: Remote Environmental Monitoring, Fleet / Asset Tracking, Mobile Data Acquisition With Valarm

These cables are one of the keys to using Valarm for remote environmental monitoring. We use these cables and solar panel power in Valarm deployments such as the La Brea Tar Pits, Los Angeles Natural History Museum, and vineyards / agriculture. You can use these Y cables with any combination of sensors to do things like air quality monitoring or anything else you want. Send any comments or questions to info@valarm.net.
<p>Does this cable works on Xolo, Micromax, iBall tablets....?</p>
Anyone know if these cables work with HTC devices, specifically one m8? Need to be able to charge this phone
<p>I would gladly buy your android cable if it will supply charging from the USB port, but it does not appear to do so.</p><p>I need to use this device with an SIII, and both micro USB ports must be data. (see pic)</p>
<p>I should ask directly; Is there a way to use both microUSB ends for data while charging through the USB port?</p>
<p>will this work on other android devices with otg capability too?</p><p>and will my usb devices break when suppied with 5.<strong>2 </strong>volt? (voltage needed for my tablet otherwise it wont charge)</p>
<p>Howdy STcraft, thank you for the message! These cables work with Android devices made by Samsung and Sony, you can learn more about the cables at shop.valarm.net . Honestly I don't know if it'll work with your device. Let me know if it does and good luck!</p>
thanks for the reply! altough, im not gonna risk breaking my tablet since it is a: from asus and b: it requires 5.2 volt usb which might be too much for the other usb devices :B oh well...
<p>the standard voltage for usb goes from 4.75 to 5.25 volts, so i think its good</p>
<p>Any other device should sustain 5.2v your phone has voltage regulators!!!</p>
<p>Do you have idea if the cable works on Acer Iconia Tab 8 W?</p>

About This Instructable




Bio: Love Industrial IoT / IIoT, remote monitoring, + sensor telemetry! My favorites are monitoring air quality and water. Questions? Talk to me at Info@Valarm.net. Yep ... More »
More by edward_Valarm:Water Monitoring Systems - Flow Meter IoT Sensors for Water Usage Telemetry How to Monitor Water Level Sensors With Tools.Valarm.net + Eno Scientific Well Watch Sonic Water Level Indicators & RS-485 Modbus Make Your IoT Sensor Boxes - Air Quality, Water, Vehicles, Equipment, Assets, Pumps, Flowmeters - Remotely Monitor Anything With Solar Powered Internet of Things 
Add instructable to: