EYE on NPI – Triad Semiconductor TS4631 Light-to-Digital Converter #EYEonNPI #Adafruit #digikey @DigiKey @triadsemi @adafruit

This week’s EYE ON NPI (video) is virtually the best chip you could get for VR tracking – it’s the TS4631 Light-to-Digital Converter, a specialized mixed-signal ASIC that is designed especially for folks who want to design accessories for the SteamVR and specifically, HTC Vive hardware.

Thankfully, this chip is available without restriction or NDA, which means it’s theoretically possible for anyone to design tracking technology without the hard part of making the fixed-base-transmitters.

Precision 3D tracking within a room is incredibly hard: Cameras can kinda do depth perception but they require a lot of computation and often make mistakes on object recognition. You can try using UWB but it’s very pricey and has precision limitations.

HTC Vive solves this by using IR light, which is not-sensitive to room illumination, doesn’t have RF interference, and is fairly inexpensive. Each ‘lighthouse’ acts like a lighthouse: after an initial Infrared burst for sync, it sweeps IR over X & Y directions. Check out Alan Yates’ detailed talk for how this design works.

The object being tracked has an IR photodiode, which catches the sync pulse, then measures the time between that and the X and Y sweeps. It does this for each lighthouse.

With some fun matrix math, it can then calculate it’s X Y Z coordinates with respect to the Lighthouses and, given we know the location of those Lighthouses during an initial calibration step, we can localize that IR diode within the fixed coordinates of the room we’re in.

That means that if you want a device that can detect the IR pulses and sweeps, all you need is an IR photodiode like the OSRAM BPW 34 and a bunch of analog electronics to filter out ambient noise, detect the carrier frequency, and give you the timing pulses detected. Or, you can save yourself a ton of effort, and just go with the Triad TS4631. All you need is the photodiode and a couple simple passives and you can have a configurable sensor analog front end at low cost and low complexity. In fact, that’s what nearly all Vive-compatible hardware uses.

The Triad TS4631 comes in a compact 0.4mm-pitch 9-pin BGA package, which thankfully uses the center ball as a second ground so no buried vias are required. Give it 3.3V power, a BPW 34 S photodiode, and a couple passives for the power supply, and it’s ready to go! There’s two output pins for the Envelope and Data from the IR signal. Those two pins are also the I2C configuration pins, and you can use any microcontroller to read and write the configuration registers that let you set up the gain, thresholds and sleep modes.

There’s a library for the TS4231 available from Triad, and since the TS4631 mostly improves the TS4231’s power usage, you can likely start your microcontroller interfacing and development with that code.

There’s also lots of other folks playing around with the Triad TS4631 and TS4231 which means that you can find hobbyist projects for design inspiration. We found some great info from famed hackers CNLohr including libsurvive for desktop tracking, Trammell Hudson, and other YouTube makers.

There’s also a published project called HiveTracker that has hardware and firmware for a fully-designed tracker board with Bluetooth LE as the backchannel.

If you want to get started with making 3D-trackable devices for VR or AR applications, it’s great to not have to build the whole system from scratch. With the Triad TS4631, you can integrate into the existing SteamVR/HTC Vive ecosystem or you can chart your own path with their hardware and your own software. Either way, you’ll want to pick up some TS4631’s and you’re in luck because DigiKey has them in stock right now, for immediate shipment! Order today and you can be tracking in cyberspace by tomorrow afternoon.

See the video below:


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in! adafruit.com/mastodon

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — NEW PRODUCT – Adafruit DS2482S-800 8 Channel I2C to 1-Wire Bus Adapter – STEMMA QT / Qwiic

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: The latest on Raspberry Pi RP2350-E9, Bluetooth 6, 4,000 Stars and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — IoT Vulnerability Disclosure, Decorative Dorm Lights, and more!

Maker Business – Adafruit Daily — A look at Boeing’s supply chain and manufacturing process

Electronics – Adafruit Daily — Autoscale is cheating!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.