USB-host configuration in Bluetooth-less units
Добавлено: 15 дек 2011, 15:59
Major part of WindowsCE hardware have builtin mini-usb port (for PC connectivity/charging).
The point is that this port could be relatively easily converted into full USB Host port, and used to plugin external Bluetooth dongle or USB based ELM327 adapter.
The conversion is a two part process. There is a software part, which requires WinCE registry changes and driver installation. DIY information on this:
1. Download USBOTG from the link and extract it to a folder (memory card for example).
2. In the registry (via Registry editor), change or add some information:
3. Then restart our double din, the registry must be saved properly.
4. Run the OTGloader.exe then set the usb mode as “device”.
5. Plug a usb cable into our double din and the other point to pc (computer desktop/laptop)
6. Our PC will detect our double din like as usual
7. Unplug usb cable from our double din
8. Add external power via homemade usb cable or via usb hub as source power for our next devices.
9. Run OTGloader.exe then switch to USB host, then ok.
10. When connected a USB ELM327, windows will ask a driver, ftdi_ser.dll
ftdi_ser: download/file.php?id=23
cp2101 driver: http://www.silabs.com/products/mcu/Page ... ivers.aspx
Next part is a hardware part. You need mini-usb to USB-A converter:
Such usb host requires the external power (your unit will not power the device on itself). There are different ways of doing this by yourself, or buyin some available cables on ebay. Note that ELM327 is quite sensible to external power quality.
The point is that this port could be relatively easily converted into full USB Host port, and used to plugin external Bluetooth dongle or USB based ELM327 adapter.
The conversion is a two part process. There is a software part, which requires WinCE registry changes and driver installation. DIY information on this:
1. Download USBOTG from the link and extract it to a folder (memory card for example).
2. In the registry (via Registry editor), change or add some information:
- Код: Выделить всё
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\USBOTG1]
"Dll" = "\path and folder name\usbotg.dll"
3. Then restart our double din, the registry must be saved properly.
4. Run the OTGloader.exe then set the usb mode as “device”.
5. Plug a usb cable into our double din and the other point to pc (computer desktop/laptop)
6. Our PC will detect our double din like as usual
7. Unplug usb cable from our double din
8. Add external power via homemade usb cable or via usb hub as source power for our next devices.
9. Run OTGloader.exe then switch to USB host, then ok.
10. When connected a USB ELM327, windows will ask a driver, ftdi_ser.dll
ftdi_ser: download/file.php?id=23
cp2101 driver: http://www.silabs.com/products/mcu/Page ... ivers.aspx
Next part is a hardware part. You need mini-usb to USB-A converter:
Such usb host requires the external power (your unit will not power the device on itself). There are different ways of doing this by yourself, or buyin some available cables on ebay. Note that ELM327 is quite sensible to external power quality.