Megarobotics Frequently Asked Questions (FAQ's):

How many AI modules can be daisy-chained?
What is the difference between the AI601 and the AI701 & AI1001?
What are the default settings of a factory supplied device?
When I use the AI Motor Tool package I cannot communicate with the AI modules?
How do I set the address for an AI module using AI Motor Tool?
How do I change the baud rate of an AI module using AI Motor Tool?
I have changed the AI module baud rate to below 9600bps using the AI Motor Tool and I can't re-establish comms with the modules?

 

Q1.
How many AI modules can be daisy-chained?
  31 AI modules can be connected to a single serial channel.
Q2.
What is the difference between the AI601 and the AI701 & AI1001?
 

The AI601 has been superceded by the AI701. No new AI601's will be manufactured, only the remaining stocks of the AI601 will be sold. The following list contains the features that were included in the AI701 but were not present in the AI601:

  1. the electrical connectors on the AI701 are polarised and lock into position,
  2. an extra command was included in the serial protocol in the AI701 to set a range (in degrees) when positioning. This was done to ensure that the position set by the module never exceeded an upper and lower bound and therefore could not damage any external equipment, and
  3. an extra command was included in the serial protocol in the AI701 to provide a delay before a command was executed. This was necessary to ensure that events that had to occur simultaneously could be programmed to do so.

NB. The AI701 and AI1001 have the same functionality, it is only the mechanical specifications that differ.

Q3.
What are the default settings of a factory supplied device?
 
 
AI601
AI701
AI1001
ID
0
0
0
Baud Rate (bps)
115200
57600
57600
P Gain
5
10
10
D Gain
35
35
35
Resolution
Low
Low
Low
Current Threshold (ma)
800
800
800
Upper Bound
N/A
0
0
Lower Bound
N/A
254
254
Q4.
When I use the AI Motor Tool package I cannot communicate with the AI modules?
  To establish comms with the AI modules using the AI Motor Tool Utility you must perform a Baud Scan.
Q5.
How do I set the address for an AI module using AI Motor Tool?
 

The address of each AI module is set using the AI Motor Tool software package.

Using the AI Motor Tool:

  1. perform a Baud Scan to establish comms with the AI Module,
  2. when this has been completed perform an ID Scan, this will tell you the current address of the module,
  3. if you wish to change the address select the desired address from the pull-down menu and select Baud Set.

NB. You can only change the address of an AI module if there are no other AI modules connected to the serial channel being used.

Q6.
How do I change the baud rate of an AI module using AI Motor Tool?
 

To change the Baud Rate of an AI module use the following procedure:

  1. perform a Baud Scan to establish comms with the AI Module,
  2. select required Baudrate at Set Baudrate,
  3. set Scan ID to module address (you need to know the modules address before starting this procedure),
  4. hit the Baud Set button , and
  5. you get response window Good Baud Setting!!!

NB. You can only change the baud rate of an AI module if there are no other AI modules connected to the serial channel being used.

Q7.
I have changed the AI module baud rate to below 9600bps using the AI Motor Tool and I can't re-establish comms with the modules?
 

The AI Motor Tool (v1.24 and below) was written using a freeware comm port access library. This freeware does not support baudrates less than 9600bps. If you try to change the AI module baud rate to 2400bps or 4800bps then AI Motor Tool will do so BUT be unable to re-establish communications with the module.

Therefore, please don't change baud rates on AI motors below 9600bps when using AI Motor Tool (v1.24 and below). This bug will be rectified in the next release of this application.

NB. This is a problem with the AI Motor Tool NOT the AI modules. Using any other applications it is possible to use the AI modules at 2400bps or 4800bps.