Main.Material History
Hide minor edits - Show changes to markup
Deprecated: Function create_function() is deprecated in /home/bluekitc/public_html/ringwald.ch/bagira/pmwiki.php on line 456
Deprecated: Function create_function() is deprecated in /home/bluekitc/public_html/ringwald.ch/bagira/pmwiki.php on line 456
oV3cWL <a href="http://fzdwtwuslbcm.com/">fzdwtwuslbcm</a>, [url=http://icmktypinqid.com/]icmktypinqid[/url], [link=http://tfydegkclzef.com/]tfydegkclzef[/link], http://mqyjiuivfwtu.com/
Material
- Car/Robot: Ford F-150 (1:19) from NIKKO
- BTnode rev3 from ETH Zurich
- Quadruple Half-H Driver: L293D, alternatively SN754410
- 2xNPN transistors BC547
- 4x10k resistors
Disassembling the vehicle
The car has two motors. One is used for driving forward/backward using the rear wheels. The other motor is used for steering the front wheels left or right. We took the car apart and found a PCB with a lot of discrete components (transistors, resistors, ...) and a single IC, the PT8A978.
After some random guesses, we figured out that the IC is related to its "brother", the PT8A977 for which data sheets are available on the net. In short, the following pins are connected to to the amplification circuit:
- Pin 6: right
- Pin 7: left
- Pin 10: backward
- Pin 11: forward
We first removed the PT8A978 in order to control the motors but then decided to make our own driver.
Interface between motors and the BTnode3
We opted for building our own interface, so we replaced the original PCB with home-brew one based on the popular L293. The schema is shown in Figure 1.
http://bagira.ringwald.ch/picts/bagira_schema_thumb.png
Figure 1. Motor driver
The L293 contains two motor drivers. Each consists of four mosfets in an H-Bridge configuration. The control inputs are CMOS/TTL compatible, the output can provide output currents up to 1A per channel, at voltages from 4.5V to 36V.
Per driver, three control lines are needed: enable input and two input controls. The enable input turns the outputs of the driver on/off. For example, the enable line of the first driver, CHIP INHIBIT 1, controls outputs 1 and 2. Correspondingly, CHIP INHIBIT 2 of the second driver controls outputs 3 and 4. When a driver is enabled, its outputs become active and in phase with its input controls. The output lines can be set to GND or VCC individually.
We use the first driver to control the driving motor (forward/backward), and the second to control the steering motor (left/right). To save on microcontroller lines, we connected the OUTPUT 2 control line with the inverted output of OUTPUT 1 using an NPN transistor. The same was done with OUTPUT 3 and OUTPUT 4. In this setup, we cannot actively brake, but only two control lines per motor are needed, see circuit schema.
Figure 2 depicts the BTnode connector pins. Tables 1 and 2 describe the mappings between BTnode pins and corresponding motor control.
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
Figure 2. BTnode connector
neutral | forward | backward | |
---|---|---|---|
PE3 (inhibition) | L | H | H |
PE6 (control input) | X | H | L |
Table 1. Mapping between BTnode pins and driving motor control lines
straight | left | right | |
---|---|---|---|
PE4 (inhibition) | L | H | H |
PD0 = SCL (control input) | X | H | L |
Table 2. Mapping between BTnode pins and steering motor control lines
Material
- Car/Robot: Ford F-150 (1:19) from NIKKO
- BTnode rev3 from ETH Zurich
- Quadruple Half-H Driver: L293D, alternatively SN754410
- 2xNPN transistors BC547
- 4x10k resistors
Disassembling the vehicle
The car has two motors. One is used for driving forward/backward using the rear wheels. The other motor is used for steering the front wheels left or right. We took the car apart and found a PCB with a lot of discrete components (transistors, resistors, ...) and a single IC, the PT8A978.
After some random guesses, we figured out that the IC is related to its "brother", the PT8A977 for which data sheets are available on the net. In short, the following pins are connected to to the amplification circuit:
- Pin 6: right
- Pin 7: left
- Pin 10: backward
- Pin 11: forward
We first removed the PT8A978 in order to control the motors but then decided to make our own driver.
Interface between motors and the BTnode3
We opted for building our own interface, so we replaced the original PCB with home-brew one based on the popular L293. The schema is shown in Figure 1.
http://bagira.ringwald.ch/picts/bagira_schema_thumb.png
Figure 1. Motor driver
The L293 contains two motor drivers. Each consists of four mosfets in an H-Bridge configuration. The control inputs are CMOS/TTL compatible, the output can provide output currents up to 1A per channel, at voltages from 4.5V to 36V.
Per driver, three control lines are needed: enable input and two input controls. The enable input turns the outputs of the driver on/off. For example, the enable line of the first driver, CHIP INHIBIT 1, controls outputs 1 and 2. Correspondingly, CHIP INHIBIT 2 of the second driver controls outputs 3 and 4. When a driver is enabled, its outputs become active and in phase with its input controls. The output lines can be set to GND or VCC individually.
We use the first driver to control the driving motor (forward/backward), and the second to control the steering motor (left/right). To save on microcontroller lines, we connected the OUTPUT 2 control line with the inverted output of OUTPUT 1 using an NPN transistor. The same was done with OUTPUT 3 and OUTPUT 4. In this setup, we cannot actively brake, but only two control lines per motor are needed, see circuit schema.
Figure 2 depicts the BTnode connector pins. Tables 1 and 2 describe the mappings between BTnode pins and corresponding motor control.
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
Figure 2. BTnode connector
neutral | forward | backward | |
---|---|---|---|
PE3 (inhibition) | L | H | H |
PE6 (control input) | X | H | L |
Table 1. Mapping between BTnode pins and driving motor control lines
straight | left | right | |
---|---|---|---|
PE4 (inhibition) | L | H | H |
PD0 = SCL (control input) | X | H | L |
Table 2. Mapping between BTnode pins and steering motor control lines
oV3cWL <a href="http://fzdwtwuslbcm.com/">fzdwtwuslbcm</a>, [url=http://icmktypinqid.com/]icmktypinqid[/url], [link=http://tfydegkclzef.com/]tfydegkclzef[/link], http://mqyjiuivfwtu.com/
iMxL3e <a href="http://fknpzglcceyt.com/">fknpzglcceyt</a>, [url=http://zfocpvefookm.com/]zfocpvefookm[/url], [link=http://ujkhaeqrokeb.com/]ujkhaeqrokeb[/link], http://qyddzfoytdql.com/
Material
- Car/Robot: Ford F-150 (1:19) from NIKKO
- BTnode rev3 from ETH Zurich
- Quadruple Half-H Driver: L293D, alternatively SN754410
- 2xNPN transistors BC547
- 4x10k resistors
Disassembling the vehicle
The car has two motors. One is used for driving forward/backward using the rear wheels. The other motor is used for steering the front wheels left or right. We took the car apart and found a PCB with a lot of discrete components (transistors, resistors, ...) and a single IC, the PT8A978.
After some random guesses, we figured out that the IC is related to its "brother", the PT8A977 for which data sheets are available on the net. In short, the following pins are connected to to the amplification circuit:
- Pin 6: right
- Pin 7: left
- Pin 10: backward
- Pin 11: forward
We first removed the PT8A978 in order to control the motors but then decided to make our own driver.
Interface between motors and the BTnode3
We opted for building our own interface, so we replaced the original PCB with home-brew one based on the popular L293. The schema is shown in Figure 1.
http://bagira.ringwald.ch/picts/bagira_schema_thumb.png
Figure 1. Motor driver
The L293 contains two motor drivers. Each consists of four mosfets in an H-Bridge configuration. The control inputs are CMOS/TTL compatible, the output can provide output currents up to 1A per channel, at voltages from 4.5V to 36V.
Per driver, three control lines are needed: enable input and two input controls. The enable input turns the outputs of the driver on/off. For example, the enable line of the first driver, CHIP INHIBIT 1, controls outputs 1 and 2. Correspondingly, CHIP INHIBIT 2 of the second driver controls outputs 3 and 4. When a driver is enabled, its outputs become active and in phase with its input controls. The output lines can be set to GND or VCC individually.
We use the first driver to control the driving motor (forward/backward), and the second to control the steering motor (left/right). To save on microcontroller lines, we connected the OUTPUT 2 control line with the inverted output of OUTPUT 1 using an NPN transistor. The same was done with OUTPUT 3 and OUTPUT 4. In this setup, we cannot actively brake, but only two control lines per motor are needed, see circuit schema.
Figure 2 depicts the BTnode connector pins. Tables 1 and 2 describe the mappings between BTnode pins and corresponding motor control.
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
Figure 2. BTnode connector
neutral | forward | backward | |
---|---|---|---|
PE3 (inhibition) | L | H | H |
PE6 (control input) | X | H | L |
Table 1. Mapping between BTnode pins and driving motor control lines
straight | left | right | |
---|---|---|---|
PE4 (inhibition) | L | H | H |
PD0 = SCL (control input) | X | H | L |
Table 2. Mapping between BTnode pins and steering motor control lines
gMyxlT <a href="http://pmzuiocywmiy.com/">pmzuiocywmiy</a>, [url=http://nzjaxhbtkfhg.com/]nzjaxhbtkfhg[/url], [link=http://tintpgktzxxq.com/]tintpgktzxxq[/link], http://eescpjgzyzgb.com/
iMxL3e <a href="http://fknpzglcceyt.com/">fknpzglcceyt</a>, [url=http://zfocpvefookm.com/]zfocpvefookm[/url], [link=http://ujkhaeqrokeb.com/]ujkhaeqrokeb[/link], http://qyddzfoytdql.com/
oQFdXN <a href="http://zhssxwyadyrh.com/">zhssxwyadyrh</a>, [url=http://rplbovntqatf.com/]rplbovntqatf[/url], [link=http://zvnfmbxjzrvn.com/]zvnfmbxjzrvn[/link], http://wycnpqnrjzwe.com/
gMyxlT <a href="http://pmzuiocywmiy.com/">pmzuiocywmiy</a>, [url=http://nzjaxhbtkfhg.com/]nzjaxhbtkfhg[/url], [link=http://tintpgktzxxq.com/]tintpgktzxxq[/link], http://eescpjgzyzgb.com/
M0wtuA <a href="http://sgxgsxhdcrnk.com/">sgxgsxhdcrnk</a>, [url=http://epglpywxyaum.com/]epglpywxyaum[/url], [link=http://tztdzqjfeidz.com/]tztdzqjfeidz[/link], http://wypbsgeharmg.com/
oQFdXN <a href="http://zhssxwyadyrh.com/">zhssxwyadyrh</a>, [url=http://rplbovntqatf.com/]rplbovntqatf[/url], [link=http://zvnfmbxjzrvn.com/]zvnfmbxjzrvn[/link], http://wycnpqnrjzwe.com/
5GJ7Hn <a href="http://cmnsiavherss.com/">cmnsiavherss</a>, [url=http://phyomtpoharx.com/]phyomtpoharx[/url], [link=http://jlxyudetltdb.com/]jlxyudetltdb[/link], http://yjdblhkhfsih.com/
M0wtuA <a href="http://sgxgsxhdcrnk.com/">sgxgsxhdcrnk</a>, [url=http://epglpywxyaum.com/]epglpywxyaum[/url], [link=http://tztdzqjfeidz.com/]tztdzqjfeidz[/link], http://wypbsgeharmg.com/
Material
- Car/Robot: Ford F-150 (1:19) from NIKKO
- BTnode rev3 from ETH Zurich
- Quadruple Half-H Driver: L293D, alternatively SN754410
- 2xNPN transistors BC547
- 4x10k resistors
Disassembling the vehicle
The car has two motors. One is used for driving forward/backward using the rear wheels. The other motor is used for steering the front wheels left or right. We took the car apart and found a PCB with a lot of discrete components (transistors, resistors, ...) and a single IC, the PT8A978.
After some random guesses, we figured out that the IC is related to its "brother", the PT8A977 for which data sheets are available on the net. In short, the following pins are connected to to the amplification circuit:
- Pin 6: right
- Pin 7: left
- Pin 10: backward
- Pin 11: forward
We first removed the PT8A978 in order to control the motors but then decided to make our own driver.
Interface between motors and the BTnode3
We opted for building our own interface, so we replaced the original PCB with home-brew one based on the popular L293. The schema is shown in Figure 1.
http://bagira.ringwald.ch/picts/bagira_schema_thumb.png
Figure 1. Motor driver
The L293 contains two motor drivers. Each consists of four mosfets in an H-Bridge configuration. The control inputs are CMOS/TTL compatible, the output can provide output currents up to 1A per channel, at voltages from 4.5V to 36V.
Per driver, three control lines are needed: enable input and two input controls. The enable input turns the outputs of the driver on/off. For example, the enable line of the first driver, CHIP INHIBIT 1, controls outputs 1 and 2. Correspondingly, CHIP INHIBIT 2 of the second driver controls outputs 3 and 4. When a driver is enabled, its outputs become active and in phase with its input controls. The output lines can be set to GND or VCC individually.
We use the first driver to control the driving motor (forward/backward), and the second to control the steering motor (left/right). To save on microcontroller lines, we connected the OUTPUT 2 control line with the inverted output of OUTPUT 1 using an NPN transistor. The same was done with OUTPUT 3 and OUTPUT 4. In this setup, we cannot actively brake, but only two control lines per motor are needed, see circuit schema.
Figure 2 depicts the BTnode connector pins. Tables 1 and 2 describe the mappings between BTnode pins and corresponding motor control.
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
Figure 2. BTnode connector
neutral | forward | backward | |
---|---|---|---|
PE3 (inhibition) | L | H | H |
PE6 (control input) | X | H | L |
Table 1. Mapping between BTnode pins and driving motor control lines
straight | left | right | |
---|---|---|---|
PE4 (inhibition) | L | H | H |
PD0 = SCL (control input) | X | H | L |
Table 2. Mapping between BTnode pins and steering motor control lines
5GJ7Hn <a href="http://cmnsiavherss.com/">cmnsiavherss</a>, [url=http://phyomtpoharx.com/]phyomtpoharx[/url], [link=http://jlxyudetltdb.com/]jlxyudetltdb[/link], http://yjdblhkhfsih.com/
forward | backward | neutral | |
---|---|---|---|
PE3 (inhibition) | H | H | L |
PE6 (control input) | H | L | X |
neutral | forward | backward | |
---|---|---|---|
PE3 (inhibition) | L | H | H |
PE6 (control input) | X | H | L |
left | right | straight | |
---|---|---|---|
PE4 (inhibition) | H | H | L |
PD0 = SCL (control input) | H | L | X |
straight | left | right | |
---|---|---|---|
PE4 (inhibition) | L | H | H |
PD0 = SCL (control input) | X | H | L |
forward | backward | |
---|---|---|
PE3 (inhibition) | H | H |
PE6 (control input) | H | L |
forward | backward | neutral | |
---|---|---|---|
PE3 (inhibition) | H | H | L |
PE6 (control input) | H | L | X |
left | right | |
---|---|---|
PE4 (inhibition) | H | H |
PD0 = SCL (control input) | H | L |
left | right | straight | |
---|---|---|---|
PE4 (inhibition) | H | H | L |
PD0 = SCL (control input) | H | L | X |
We opted for building our own interface, so we replaced the original PCB with home-brew one based on the popular L293. The schema is shown in Picture below.
We opted for building our own interface, so we replaced the original PCB with home-brew one based on the popular L293. The schema is shown in Figure 1.
Motor driver
Figure 1. Motor driver
Figure 2. outlines BTnode connector pins. Tables 1. and 2. outline mappings between BTnode pins, corresponding driver control inputs, and pin
Figure 2 depicts the BTnode connector pins. Tables 1 and 2 describe the mappings between BTnode pins and corresponding motor control.
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
BTnode connector
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
Figure 2. BTnode connector
Table 1. Mapping between BTnode pins and driving motor control lines
Figure 2. outlines BTnode connector pins. Tables 1. and 2. outline mappings between BTnode pins, corresponding driver control inputs, and pin
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
BTnode connector
Table 2. Mapping between BTnode pins and steering motor control lines
Table 1. Mapping between BTnode pins and driving motor control lines
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
BTnode connector
Table 2. Mapping between BTnode pins and steering motor control lines
Mapping between BTnode pins and driving motor control lines
Table 1. Mapping between BTnode pins and driving motor control lines
Mapping between BTnode pins and steering motor control lines
Table 2. Mapping between BTnode pins and steering motor control lines
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg \\
Mapping between BTnode pins and driving motor control lines
Mapping between BTnode pins and steering driver
Mapping between BTnode pins and steering motor control lines
Events Calendar |
Mapping between BTnode pins and steering driver
Events Calendar |
PD0 (SCL, control input) | H | L |
PD0 = SCL (control input) | H | L |
inhibition: PE3 | H | H |
input: PE6 | H | L |
PE3 (inhibition) | H | H |
PE6 (control input) | H | L |
inhibition: PE4 | H | H |
input: PD0 (SCL) | H | L |
PE4 (inhibition) | H | H |
PD0 (SCL, control input) | H | L |
inhibition PE3 | H | H |
ctrl. input PE6 | H | L |
inhibition: PE3 | H | H |
input: PE6 | H | L |
inhibition PE4 | H | H |
ctrl. input PD0 (SCL) | H | L |
inhibition: PE4 | H | H |
input: PD0 (SCL) | H | L |
forward | backward |
---|
forward | backward |
---|
left | right |
---|
left | right |
---|
| border=1 align=center width=50% |! ||! forward ||! backward || |inhibition PE3 || H || H || |ctrl. input PE6 || H || L ||
forward | backward | |
---|---|---|
inhibition PE3 | H | H |
ctrl. input PE6 | H | L |
left | right | |
---|---|---|
inhibition PE4 | H | H |
ctrl. input PD0 (SCL) | H | L |
forward | backward | |
---|---|---|
inhibition PE3 | H | H |
ctrl. input PE6 | H | L |
| border=1 align=center width=50% |! ||! forward ||! backward || |inhibition PE3 || H || H || |ctrl. input PE6 || H || L ||
forward | backward | |
---|---|---|
inhibition PE3 | H | H |
ctrl. input PE6 | H | L |
forward | backward | |
---|---|---|
inhibition PE3 | H | H |
ctrl. input PE6 | H | L |
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
forward | backward | |
---|---|---|
inhibition PE3 | H | H |
ctrl. input PE6 | H | L |
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg \\
We use the first driver to control the driving motor (forward/backward), and the second to control the steering motor (left/right). To save on microcontroller lines, we connected the OUTPUT 2 control line with the inverted output of OUTPUT 1 using an NPN transistor. The same was done with OUTPUT 3 and OUTPUT 4. In this setup, we cannot actively brake, but only two control lines per motor are needed.
We use the first driver to control the driving motor (forward/backward), and the second to control the steering motor (left/right). To save on microcontroller lines, we connected the OUTPUT 2 control line with the inverted output of OUTPUT 1 using an NPN transistor. The same was done with OUTPUT 3 and OUTPUT 4. In this setup, we cannot actively brake, but only two control lines per motor are needed, see circuit schema.
The L293 contains 2 x 4 mosfets in an H-Bridge configuration. The control inputs are CMOS/TTL compatible, the output can provide output currents up to 1A per channel, at voltages from 4.5V to 36V.
The L293 contains two motor drivers. Each consists of four mosfets in an H-Bridge configuration. The control inputs are CMOS/TTL compatible, the output can provide output currents up to 1A per channel, at voltages from 4.5V to 36V.
Per driver, three control lines are needed: enable input and two input controls. The enable input turns the outputs of the driver on/off. For example, enable line of the first driver, INHIBIT 1, controls outputs 1 and 2. Correspondingly, INHIBIT 2 of the second driver controls outputs 3 and 4. When a driver is enabled, its outputs become active and in phase with its input controls. The output lines can be set to GND or VCC individually.
Per driver, three control lines are needed: enable input and two input controls. The enable input turns the outputs of the driver on/off. For example, the enable line of the first driver, CHIP INHIBIT 1, controls outputs 1 and 2. Correspondingly, CHIP INHIBIT 2 of the second driver controls outputs 3 and 4. When a driver is enabled, its outputs become active and in phase with its input controls. The output lines can be set to GND or VCC individually.
We use one driver to control the drive (forward/backward), and another to control steer (left/right). To save on microcontroller lines, we connected the OUTPUT 2 control line with the inverted output of the OUTPUT 1 using a NPN transistor. The same we did with OUTPUT 3 and OUTPUT 4. With this setup, we cannot actively brake, but need only 2 control lines per motor.
We use the first driver to control the driving motor (forward/backward), and the second to control the steering motor (left/right). To save on microcontroller lines, we connected the OUTPUT 2 control line with the inverted output of OUTPUT 1 using an NPN transistor. The same was done with OUTPUT 3 and OUTPUT 4. In this setup, we cannot actively brake, but only two control lines per motor are needed.
- 2xPNP transistors, 4x10k resistors
- 2xNPN transistors BC547
- 4x10k resistors
We use one driver to control the drive (forward/backward), and another to control steer (left/right). To save on microcontroller lines, we connected the OUTPUT 2 control line with the inverted output of the OUTPUT 1 using a PNP transistor. The same we did with OUTPUT 3 and OUTPUT 4. With this setup, we cannot actively brake, but need only 2 control lines per motor.
We use one driver to control the drive (forward/backward), and another to control steer (left/right). To save on microcontroller lines, we connected the OUTPUT 2 control line with the inverted output of the OUTPUT 1 using a NPN transistor. The same we did with OUTPUT 3 and OUTPUT 4. With this setup, we cannot actively brake, but need only 2 control lines per motor.
Per driver, three control lines are needed: enable input and two input controls. The enable input turns the outputs of the driver on/off. For example, enable line of the first driver, Inh1, controls outputs 1 and 2. Correspondingly, Inh2 of the second driver controls outputs 3 and 4. When a driver is enabled, its outputs become active and in phase with its input controls. The output lines can be set to GND or VCC individually.
Per driver, three control lines are needed: enable input and two input controls. The enable input turns the outputs of the driver on/off. For example, enable line of the first driver, INHIBIT 1, controls outputs 1 and 2. Correspondingly, INHIBIT 2 of the second driver controls outputs 3 and 4. When a driver is enabled, its outputs become active and in phase with its input controls. The output lines can be set to GND or VCC individually.
\\
We use the two input controls to control the drive and the steering motors respectively. To save on microcontroller lines, we connected the second output control line with the inverted output of the first one using a PNP transistor. With this setup, we cannot actively brake, but need only 2 control lines per motor.
We use one driver to control the drive (forward/backward), and another to control steer (left/right). To save on microcontroller lines, we connected the OUTPUT 2 control line with the inverted output of the OUTPUT 1 using a PNP transistor. The same we did with OUTPUT 3 and OUTPUT 4. With this setup, we cannot actively brake, but need only 2 control lines per motor.
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg \\
Per driver, three control lines are needed. One control line (V_inh) turns the output of the driver on/off. When turned on, the two output lines can be set to GND or VCC individually.
Per driver, three control lines are needed: enable input and two input controls. The enable input turns the outputs of the driver on/off. For example, enable line of the first driver, Inh1, controls outputs 1 and 2. Correspondingly, Inh2 of the second driver controls outputs 3 and 4. When a driver is enabled, its outputs become active and in phase with its input controls. The output lines can be set to GND or VCC individually.
To save on microcontroller lines, we connected the second output control line with the inverted output of the first one using a PNP transistor. With this setup, we cannot actively brake, but need only 2 control lines per motor.
We use the two input controls to control the drive and the steering motors respectively. To save on microcontroller lines, we connected the second output control line with the inverted output of the first one using a PNP transistor. With this setup, we cannot actively brake, but need only 2 control lines per motor.
The L293 contains 2 x 4 mosfets in an H-Bridge configuration. The control inputs are CMOS/TTL compatible, the output can provide up to X Volts at Y mA (.. get real values.. :)
The L293 contains 2 x 4 mosfets in an H-Bridge configuration. The control inputs are CMOS/TTL compatible, the output can provide output currents up to 1A per channel, at voltages from 4.5V to 36V.
Per driver, 3 control lines are needed. One output enable line turns the output drivers on/off. When turned on, the two output lines can be set to GND or VCC individually.
Per driver, three control lines are needed. One control line (V_inh) turns the output of the driver on/off. When turned on, the two output lines can be set to GND or VCC individually.
We opted for building our own interface, so we replaced the original PCB with home-brew one. The schema is shown in Picture below.
We opted for building our own interface, so we replaced the original PCB with home-brew one based on the popular L293. The schema is shown in Picture below.
The L293 contains 2 x 4 mosfets in an H-Bridge configuration. The control inputs are CMOS/TTL compatible, the output can provide up to X Volts at Y mA (.. get real values.. :)
Per driver, 3 control lines are needed. One output enable line turns the output drivers on/off. When turned on, the two output lines can be set to GND or VCC individually.
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
To save on microcontroller lines, we connected the second output control line with the inverted output of the first one using a PNP transistor. With this setup, we cannot actively brake, but need only 2 control lines per motor.
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
\\
- robot: Ford F-150 (1:19) from NIKKO
- Car/Robot: Ford F-150 (1:19) from NIKKO
Robot has two motors. One motor is used for forward/backward moving using the rear wheels. The other motor is used for stearing of the front wheels to left or right. We took robot apart and found a PCB with a lot of discrete components (transistors, resistors, ...) and a single IC, the PT8A978.
The car has two motors. One is used for driving forward/backward using the rear wheels. The other motor is used for steering the front wheels left or right. We took the car apart and found a PCB with a lot of discrete components (transistors, resistors, ...) and a single IC, the PT8A978.
After a while and random guessing we figured out that the IC could be related to its "brother", the PT8A977 for which the data-sheets are available. In short, the following pins are input to the amplification circuit:
- pin 6: right
- pin 7: left
- pin 10: backward
- pin 11: forward
One could use these lines from the IC and directly connect them to the amplification circuit to a microcontroller.
After some random guesses, we figured out that the IC is related to its "brother", the PT8A977 for which data sheets are available on the net. In short, the following pins are connected to to the amplification circuit:
- Pin 6: right
- Pin 7: left
- Pin 10: backward
- Pin 11: forward
We first removed the PT8A978 in order to control the motors but then decided to make our own driver.
Interface between motors and the BTnode3
Interface between motors and the BTnode3
We opted for building our own interface, so we replaced the original PCB with home-brew one. The schema is shown in Picture below.
http://bagira.ringwald.ch/picts/bagira_schema_thumb.png
We opted for building our own interface, so we replaced the original PCB with home-brewed one. The scheme is shown in Picture bellow.
http://bagira.ringwald.ch/picts/bagira_schema_thumb.png \\
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
\\
http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
BTnode connector
Hardware
\\
\\
We opted for building our own interface, so we replaced the PCB with home-brewed one. The scheme is shown in Picture bellow.
http://bagira.ringwald.ch/picts/bagira_schema_thumb.png
Interface between motors and the BTnode3
We opted for building our own interface, so we replaced the original PCB with home-brewed one. The scheme is shown in Picture bellow.
http://bagira.ringwald.ch/picts/bagira_schema_thumb.png \\
Software
- AVR toolchain
- BTnut (and Ethernut a.k.a. Nut/OS)
- lightblue (on Mac it requires XCode with support for the 10.4u.SDK: in project preferences you need to select gcc4.0)
http://bagira.ringwald.ch/picts/bagira_schema.png
http://bagira.ringwald.ch/picts/bagira_schema_thumb.png
http://bagira.ringwald.ch/picts/bagira_schema.png
http://bagira.ringwald.ch/picts/bagira_schema.png
[[http://http://bagira.ringwald.ch/picts/bagira_schema.pdf http://bagira.ringwald.ch/picts/bagira_schema.png | link text]]
http://bagira.ringwald.ch/picts/bagira_schema.png
[[http://http://bagira.ringwald.ch/picts/bagira_schema.pdf
| link text]]
http://bagira.ringwald.ch/picts/bagira_schema.png
Motor driver
- Quadruple Half-H Driver: L293D, alternatively SN754410 Quadruple Half-H Driver
- Quadruple Half-H Driver: L293D, alternatively SN754410
- L293D Quadruple Half-H Drivers, alternatively: SN754410 Quadruple Half-H Driver
- Quadruple Half-H Driver: L293D, alternatively SN754410 Quadruple Half-H Driver
\\
- L293D Quadruple Half-H Drivers
- alternatively: SN754410 Quadruple Half-H Driver
- L293D Quadruple Half-H Drivers, alternatively: SN754410 Quadruple Half-H Driver
- btnut
- BTnut (and Ethernut a.k.a. Nut/OS)
- avr tools
- AVR toolchain
- lightblue (on Mac it recquires xcode with support for SDK4: in project preferences you need to set gcc4.0)
- lightblue (on Mac it requires XCode with support for the 10.4u.SDK: in project preferences you need to select gcc4.0)
- SN754410 Quadruple Half-H Driver
- L293D Quadruple Half-H Drivers
- alternatively: SN754410 Quadruple Half-H Driver
Material
Hardware
- Atmel development tools
Robot has two motors. One motor is used for forward/backward moving using the rear wheels. The other motor is used for stearing of the front wheels to left or right.
Software
- avr tools
- btnut
- lightblue (on Mac it recquires xcode with support for SDK4: in project preferences you need to set gcc4.0)
Disassembling the vehicle
Robot has two motors. One motor is used for forward/backward moving using the rear wheels. The other motor is used for stearing of the front wheels to left or right. We took robot apart and found a PCB with a lot of discrete components (transistors, resistors, ...) and a single IC, the PT8A978.
After a while and random guessing we figured out that the IC could be related to its "brother", the PT8A977 for which the data-sheets are available. In short, the following pins are input to the amplification circuit:
- pin 6: right
- pin 7: left
- pin 10: backward
- pin 11: forward
One could use these lines from the IC and directly connect them to the amplification circuit to a microcontroller.
We opted for building our own interface, so we replaced the PCB with home-brewed one. The scheme is shown in Picture bellow.
- robot: Ford F-150 (1:19) from NIKKO, 30.00 Euro
- BTnode rev2 from ETH Zurich
- robot: Ford F-150 (1:19) from NIKKO
- BTnode rev3 from ETH Zurich
After getting a toy we wanted to figure out how to connect its control board to a BTnode. Robot has two motors. One motor is used for forward/backward moving using the rear wheels. The other motor is used for stearing of the front wheels to left or right.
- SN754410 Quadruple Half-H Driver
Robot has two motors. One motor is used for forward/backward moving using the rear wheels. The other motor is used for stearing of the front wheels to left or right.
- robot: Ford F-150 (1:19) from NIKKO, 30.00 Euro
- BTnode rev2 from ETH Zurich
- Atmel development tools
After getting a toy we wanted to figure out how to connect its control board to a BTnode. Robot has two motors. One motor is used for forward/backward moving using the rear wheels. The other motor is used for stearing of the front wheels to left or right.