
connect mobile phones, as long as they do not exhibit an apple logo. All USB modules manufactured
by Yoctopuce use micro size connectors.
The most common USB 2 connectors: A, B, Mini B, Micro A, Micro B.
2
To connect your Yocto-RangeFinder module to a computer, you need a USB cable of type A-micro
B. The price of this cable may vary a lot depending on the source, look for it under the name
USB A
to micro B Data cable
. Make sure not to buy a simple USB charging cable without data connectivity.
The correct type of cable is available on the Yoctopuce shop.
You must plug in your Yocto-RangeFinder module with a USB cable of type A - micro B.
If you insert a USB hub between the computer and the Yocto-RangeFinder module, make sure to
take into account the USB current limits. If you do not, be prepared to face unstable behaviors and
unpredictable failures. You can find more details on this topic in the chapter about assembly and
connections.
4.2. Testing USB connectivity
At this point, your Yocto-RangeFinder should be connected to your computer, which should have
recognized it. It is time to make it work.
Go to the Yoctopuce web site and download the
Virtual Hub
software
3
. It is available for Windows,
Linux, and Mac OS X. Normally, the Virtual Hub software serves as an abstraction layer for
languages which cannot access the hardware layers of your computer. However, it also offers a
succinct interface to configure your modules and to test their basic functions. You access this
interface with a simple web browser
4
. Start the
Virtual Hub
software in a command line, open your
preferred web browser and enter the URL
http://127.0.0.1:4444
. The list of the Yoctopuce modules
connected to your computer is displayed.
2
Although they existed for some time, Mini A connectors are not available anymore
http://www.usb.org/developers/
Deprecation_Announcement_052507.pdf
3
www.yoctopuce.com/EN/virtualhub.php
4
The interface is tested on Chrome, FireFox, Safari, Edge et IE 11.
4. First steps
14
www.yoctopuce.com
Содержание Yocto-RangeFinder
Страница 1: ...Yocto RangeFinder User s guide...
Страница 2: ......
Страница 18: ...12 www yoctopuce com...
Страница 26: ...20 www yoctopuce com...
Страница 42: ...36 www yoctopuce com...
Страница 70: ...gcc lyocto lm lpthread lusb 1 0 lstdc 10 Using Yocto RangeFinder with C 64 www yoctopuce com...
Страница 90: ...84 www yoctopuce com...
Страница 120: ...114 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...21 High level API Reference On failure throws an exception or returns a negative error code 152 www yoctopuce com...
Страница 484: ...478 www yoctopuce com...
Страница 488: ...482 www yoctopuce com...
Страница 490: ...23 Characteristics 484 www yoctopuce com...
Страница 491: ......
Страница 492: ......