Serial Obj, more than 115200 baud rate.

keepsound's icon

Hi, I'm trying to set the baud rate of the Serial object at a value greater than his maximal value (should run at 250Kb rate) to make it communicate to a FTDI usb serial interface mounting a RS485 chip, for DMX data sending from Max.
The interface is perfectly running with other DMX softwares (see Madrix http://www.madrix.com/), and that from a Sony Vaio i7 with 8 Mb Ram - 2 GHz.
Also the FTDI driver is perfectly installed and running, with the last drivers version (2.8.30.0).
From Max nothing works, in VCP mode or not, the maximum baud rate is 115200b, and I get flashing data only at 57600baud, but that it's not correct for DMX data transmission. Any idea about that? Thanks in advance.
P.S. The interfaces name is FTDI ENTTEC DMX USB (#A101L8D0) ms/FPS 30/33.3 Optimized Frames

Nat's icon

If you're motivated you could build the interface I just designed, comes with max examples and even works directly with an ipad :)

Nat's icon
keepsound's icon

Hi Nat, many thanks for your support and your links, I'll give it a try, maybe it will work, I'll let you know.!

madbutter's icon

For what its worth, here at Sensacell we've been using a USB-RS485 adapter with the serial object set to 230400 baud for years without any issues, so the maximum baud rate should not be an issue. Our standard adapter is the ATC820, which also has the FTDI chipset.
I have a test setup where I plugin two adapters to my laptop and push serial data out of my Max patcher on one and read the data in on the other using the free app Bray's Terminal (https://sites.google.com/site/terminalbpp/).
This may be helpful to you for testing vanilla serial transmission using the serial object. DMX on the wire is just uni-directional rs485, right? I thought that it ran at 230400 baud also...

keepsound's icon

Hi to all, last news. Imp.dmx.usbpro is not working. The interface uses the same protocol as the Open DMX Usb interface (http://www.enttec.com/?main_menu=Products&pn=70303)....

And thanks to Madbutter, I'll try Brays's Terminal app, just downloaded.

tommi's icon

Hello everybody,
I assembled a patcher to output DMX from Max following the guidelines I found here: http://www.sabretechnology.co.uk/dmxwork.htm (nice and easy).
Using a FTDI Usb to serial converter the patcher works fine on my i7 Windows7 64bit machine while it does not work on my i5 Yosemite MacBookPro 13" late 2013.
The [serial] object on the OSX machine seems to work only at the baudrates written in the object reference (it does not accept either the 250K or the 96K rates) , making it impossible to generate a DMX compliant output.

Any suggestion would be really appreciated.

Bests
Tom

loicloicloic's icon

Hi Tom ,
Any issues with your problem ?
I use a ftdi rs485 usb cable and the vpc drivers , using mac os9 and max 6.1 .
I don't understand what kind of message i have to send to my serial object to have a simple straight connection with my dimmer .
Macbutter says that a 230400 baud serial should work , anyone test it ?
Thanks
Loïc

alexmstahl's icon

[I realize this is an old thread, but it comes up high in my search results for increasing Max serial baud rate. So I thought it might be worthwhile to share this here:]

I am using the standard serial object to communicate between Max8.0.5 and a Teensy 3.2 at 2000000 baud. Not a typo, 2 megabaud. The host is a 2015 MacBook Pro running macOS 10.14.5.

I am only sending short packets-- a handful of bytes-- but I am sending them at about 1kHz and so far, no errors.

hope this helps!

~alex

personal_username's icon

Hey, this thread started 6 years ago, but it looks people have been asking throughout the years.
I'm also looking for an answer about serial max speed.
@Loïc I'm successfully using 230400 baud, anyone know if that speed can be topped?

Thanks!