I thought it wasn't showing up in device manager? If it is, then its easy.
Well i tried to uninstall/reinstall drivers, removing all hidden com ports from the system, replacing usbser.sys and i still cannot connect to my v6 via VCP. Its like there's something physically blocking the com port which obviously isnt possible. I'm gonna have to find a way to put vis studio 2008 on another one of my systems to do any work on my plugin. Having to update to .net 4.0 is a last resort because its not a popular option for Riderunner/Centrafuse people.
For anyone interested, the Fusion Brain v6 used in Ubuntu (I'm v10.10) (Linux) doesn't need any configuration. Plug it in and the virtual serial port is recognized, not as /dev/tty0 or others, but as /dev/ttyACM0 or similar. This is an almost generic, but specialized serial port connection.
To issue commands, open a terminal and type (assuming ttyACM0):
You should see the information displayCode:
echo *IDN? > /dev/ttyACM0
To turn port 0 on:
or get the analog signals:Code:
echo D:00:255 > /dev/ttyACM0
in one console:
and in another:Code:
(yes, a? A? aa? and AA? are all different commands, try them out :)Code:
echo aa? > /dev/ttyACM0
connection speeds vary each time the device is plugged in. That said, unless you're changing all 30 ports every tenth of a second the slower speed is still pretty quick.
I wrote a few sample scripts to control the outputs, but you'll have to make them executableCode:
chmod a+x light*.txt
And yes a? A? and aa? are all different. :) The connection speed shouldn't really matter as I don't strictly honour it within the FB. I try to get the host's attention all the time irregardless of what speed you set. In Windows this results in the speed connection not mattering. Setting it to 2400bps 9600bps, or 115kbps all work exactly the same and at the same speed. If you set it more than 115kbps the FBv6 tries to error and say "hey I can't go that fast over UART" and signal an error. Some programs like Hyperterminal do nothing and it works, others that actually support that standard barf and give the error.
So in Linux, the speed shouldn't vary at all below 115kbps.
Interesting :) Might just be the console executing the scripts, other things running, etc. :P
I'm a bash scripting n00b so I don't have any neat script that'll display analog values as they're updated.
I'm hoping this makes it easy to connect to my x86 Android development box, I'll update later if there's any interest.
With the new Android-Arduino connection hardware coming out from google, it would be pretty cool if the next FBrain version had Tx/Rx pins. Hook your phone/tablet up to the car, use a Fusion Brain App. Prob. a lot of work though, and don't know if there's enough community that'd use it
The magic keeps coming! :)
Update available 18-06-2011
Whats it do now?