![]() |
Serial Port on the N900?
I would like to connect my n900 to a USB-RS232 converter and talk with a microcontroller using a serial port. I need to be able to configure the baud rate, stop bits, parity bits and data lenght.
I am not sure this can be done, since the N900 doesn't support USB OTG, thus the drivers from the converter won't work. BTW, i dont want to use a wireless bluetooth solution. I hope you can enlighten me! |
Re: Serial Port on the N900?
Quick answer: NO
Long Answer: Really, you cant. if you hope to plug in something in the micro usb receptacle, it works as client only, sorry Hope Answer: Today, Host Mode is just a dream. The OTG team woking in the OTG thread isnt in a stable place yet, and even that, asking for the appropiate kernel module for your specific usb-rs232 adapter is waaaaaaaaaaaay early. so going this way is a long ahot only Hope this helps |
Re: Serial Port on the N900?
Quote:
But yeah, I wouldn't count on OTG support, unfortunately. If you do end up resorting to the Bluetooth route, I'd be quite interested in hearing from you about how it works out. We've been working with these, and I'd be happy to share (both ways) information or feedback about those or other devices. Please PM me if you do decide to try that out. Cheers |
Re: Serial Port on the N900?
Do you know if it will be possible to do such thing in the N8 when it comes out?
I know it will have USB OTG, but i am not sure about the drivers for the converter. |
Re: Serial Port on the N900?
Quote:
|
Re: Serial Port on the N900?
Quote:
I read the post for the n810, but i think there is a hardware limitation on the N900. I have never progammed for a mobile device, neither have used linux. At least i have scratchbox up and running and i am looking forward to learn QT. I will be happy to learn more from your implementation using bluetooth. BTW: I worked whit another AHRS from Microstrain, but i must say that the Vectornav's looks pretty amaizing! what are you planning to do with it? |
Re: Serial Port on the N900?
Quote:
Quote:
As for Bluetooth, currently it's a bit painful (for me, at least), but the next drop of the Qt Mobility libraries should include some code to make things easier. Quote:
|
Re: Serial Port on the N900?
hello,
has anyone managed to read/write to bluetooth on SPP to bluesmirf? hints plz. thanx |
Re: Serial Port on the N900?
Use a Bluetooth device to RS-232
Example: http://www.iogear.com/product_images...t/GBS301_0.jpg http://www.iogear.com/product/GBS301/ There are many models |
Re: Serial Port on the N900?
i have used LM400
I used fopen, fwrite and fread and all work. |
All times are GMT. The time now is 07:11. |
vBulletin® Version 3.8.8