Hello Ytai...
I have a sensor that has micro usb female connector. I can receive the data at 115200 baud rate from sensor through terminal program on PC when connected through USB cable (USB A to microB usb Cable). The sensor has a CP2102 chip to convert the TTL to usb. I want to receive data from four such sensors through IOIO on android. what would be the right way to do it?
I already have a working android code and a circuit board (having two MAX232 chips) to receive four Rx pins from similar sensor having Rs232 interface. I open up four UARTs with only Rx to receive sensor data on android through IOIO. This works for me. However with USB interface I am struggling..
I tried using a USB to serial converter and feed serial output to existing MAX232 circuit. however could not receive any data. I suspect that the USB to serial converter will only work when connected to USB host and not with USB device (My sensor is a USB device and therefore is not powering up the USB to serial converter circuit). I externally powered up the circuit but still could not get the data. I dont know if this method is at all wrong to receive the data from a usb device.
Can I connect D+/- of micro usb to IOIO 3.3 v pins (as they use the same voltage levels), and use UART on IOIO... Will it work ?
Is there a way that IOIO can act as USB host to many devices..(adding physical usb ports..may not be possible though) in order to receive data from USB devices ??