9-pin serial to USB
May 9, 2006 at 2:14pm
9-pin serial to USB
I have been looking at this:
for a grant that I was given on brainwave research and I need to know if it’s possible to convert all the information that is coming from the serial port to usb so that Max/MSP can use it. It aparently only works on pc’s (or a virtual PC)
Thank you for any help you can give me.
May 10, 2006 at 1:35am
I wouldn’t bother with that device. Judging by the screenshot of the software, it doesn’t look like they show you much information about it. In regards to 9-pin serial to usb there are many UART-to-USB simple bridges that i was looking at for my EEG -to- max project. If you are writing stuff yourself you can even clock down AVR’s to work directly to USB with no need for native USB support.
You can also buy serial ports for USB if you need to use this unit anyways, but the data won’t be translated into a non-mouse/keyboard HID device which is what max uses for USB data. It would simply show up as a serial port and work on the same addressses as the serial port. Your best bet is to find an external for serial use, and then point it to the address that the usb-to-serial port adaptor gives you.
But to be honest that software looks pretty lame, so it might reflect the product. I’d look into something like openEEG and build your own.
Hope this helps,
May 10, 2006 at 2:22am
I appreciate what you say. I think that picture might be a little deceiving/an older model. This is the same company that created the waverider
I don’t quite understand what you said about the usb/serial translating into a non mouse HID. What is an HID? I could use an external of sorts. It really doesn’t matter what SORT of information I get – although a larger variety would be…tres preferable!.. I can make do with whatever works, ya know?
I checked out the openeeg and, although i would love to spend the time learning how to do it all correctly…taking into account my horrible luck with soldering normal things, let alone complex ones, I have to stay away from it. Thanks for your help.
I guess the short and sweet of it is this : what is an HID and what sort of information do you think I would get converting serial to USB and trying to have Max read it? Thanks a million
May 10, 2006 at 12:03pm
well, in short, it just happens im struggling with this problem with MAX so you’re benefitting from my research. :)
Basically, HID is Human Interface Device – it is a subclass in USB for devices like keyboard, mouse, joysticks, etc.
Now, because windows sucks, it basically locks you out of useful keyboard and mouse data ( i assume because of how integrated they are into windows)
so in my case, where i wanted two keyboards plugged in at once, and have them do different things – i have to take a keyboard, and make windows ‘think’ it’s a joystick – with like 150 keys.
basically the serial to usb converter is a real non-HID device which uses it’s own driver to simulate a real serial port on the computer.
HID is only useful to you if you get fed up with what’s happening and you decide to make your own system. Basically, if you decide to build your own device and don’t have access to serial ports, you can use a serial-to-usb converter, or you can use your device and a serial-to-usb converter chip.
Either way, HID is just the easiest way of getting data easily into a program, by making your device essentially a ‘joystick’ and just ignoring the ‘type of device’.
I am building custom midi controllers and with a MEGA16 AVR microcontroller, you can run USB right off it, and thus for my laptop with no serial ports, its easier for me to import the data into max via HID(windows thinks my midi device is a joystick).
That or using a serial-to-usb converter, but then you loose speed and latency.
Oct 12, 2006 at 3:30pm
hello agin, I know it’s been a long time, but I fianlly got someone to help me decode this CEO machine, and I was wondering if anyone could help me decode what he has sent me back. He is a Computer Science professor that got it all to interface, so I know it’s simple (to him at least :P) but I’m still struggling here.
Here is what he sent me
“ceo uses a very simple protocol. when you open the com port the
PS – I’m running an iBook G4
Here’s a very simple patch of what I think he’s telling me to do…but I must be wront because all I get in the max window is -status: read -1 a billion times.
I really appreciate any help you can give.
Oct 16, 2006 at 2:02pm
dont mean to be annoying but can anyone help
You must be logged in to reply to this topic.