Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: karmax on February 19, 2009, 04:47:55 AM

Title: syren10
Post by: karmax on February 19, 2009, 04:47:55 AM
hi guys... We are trying to communicate with two syren 10 where s2 is controlled with a microcontroller and s1 is the data given directly from a computer (thru a max 232). This arrangement works fine when only 1 driver is placed on the bus but as soon as 2 drivers are placed we can not control both of them independently i.e. either both are on or off.
Please suggest some measures
Title: Re: syren10
Post by: Admin on February 21, 2009, 03:35:25 AM
There are several ways to do this . . . for example:

Your PC probably has several USB ports. Buy two USB to TTL adapters, and use one for each Syren 10.
Title: Re: syren10
Post by: ArcMan on February 21, 2009, 10:13:41 PM
In simplified serial mode, the s2 input can be used to select the drive that is to be commanded by the serial message. 0V=ignore, 5V=accept.
Another option is to use packetized serial mode which can address individual drives without using the s2 line.  The drive address is contained in the serial message.
I like packetized serial mode since there is better resolution for the commanded speed.