Deprecated: Function create_function() is deprecated in /home/bluekitc/public_html/ringwald.ch/bagira/pmwiki.php on line 456

Main.Material History

Show 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
March 10, 2010, at 08:32 AM by 128.226.220.40 -
Changed lines 1-70 from:

oV3cWL <a href="http://fzdwtwuslbcm.com/">fzdwtwuslbcm</a>, [url=http://icmktypinqid.com/]icmktypinqid[/url], [link=http://tfydegkclzef.com/]tfydegkclzef[/link], http://mqyjiuivfwtu.com/

to:

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

 neutralforwardbackward
PE3 (inhibition)LHH
PE6 (control input)XHL

Table 1. Mapping between BTnode pins and driving motor control lines

 straightleftright
PE4 (inhibition)LHH
PD0 = SCL (control input)XHL

Table 2. Mapping between BTnode pins and steering motor control lines

March 08, 2010, at 03:49 PM by xsprsvumh - 0.222222222222222
Changed lines 1-70 from:

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

 neutralforwardbackward
PE3 (inhibition)LHH
PE6 (control input)XHL

Table 1. Mapping between BTnode pins and driving motor control lines

 straightleftright
PE4 (inhibition)LHH
PD0 = SCL (control input)XHL

Table 2. Mapping between BTnode pins and steering motor control lines

to:

oV3cWL <a href="http://fzdwtwuslbcm.com/">fzdwtwuslbcm</a>, [url=http://icmktypinqid.com/]icmktypinqid[/url], [link=http://tfydegkclzef.com/]tfydegkclzef[/link], http://mqyjiuivfwtu.com/

February 26, 2010, at 10:51 PM by 77.58.155.199 -
Changed lines 1-70 from:

iMxL3e <a href="http://fknpzglcceyt.com/">fknpzglcceyt</a>, [url=http://zfocpvefookm.com/]zfocpvefookm[/url], [link=http://ujkhaeqrokeb.com/]ujkhaeqrokeb[/link], http://qyddzfoytdql.com/

to:

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

 neutralforwardbackward
PE3 (inhibition)LHH
PE6 (control input)XHL

Table 1. Mapping between BTnode pins and driving motor control lines

 straightleftright
PE4 (inhibition)LHH
PD0 = SCL (control input)XHL

Table 2. Mapping between BTnode pins and steering motor control lines

January 15, 2010, at 11:41 AM by fiznizssk - 0.222222222222222
Changed line 1 from:

gMyxlT <a href="http://pmzuiocywmiy.com/">pmzuiocywmiy</a>, [url=http://nzjaxhbtkfhg.com/]nzjaxhbtkfhg[/url], [link=http://tintpgktzxxq.com/]tintpgktzxxq[/link], http://eescpjgzyzgb.com/

to:

iMxL3e <a href="http://fknpzglcceyt.com/">fknpzglcceyt</a>, [url=http://zfocpvefookm.com/]zfocpvefookm[/url], [link=http://ujkhaeqrokeb.com/]ujkhaeqrokeb[/link], http://qyddzfoytdql.com/

January 15, 2010, at 11:28 AM by cxrremjtiv - 0.222222222222222
Changed line 1 from:

oQFdXN <a href="http://zhssxwyadyrh.com/">zhssxwyadyrh</a>, [url=http://rplbovntqatf.com/]rplbovntqatf[/url], [link=http://zvnfmbxjzrvn.com/]zvnfmbxjzrvn[/link], http://wycnpqnrjzwe.com/

to:

gMyxlT <a href="http://pmzuiocywmiy.com/">pmzuiocywmiy</a>, [url=http://nzjaxhbtkfhg.com/]nzjaxhbtkfhg[/url], [link=http://tintpgktzxxq.com/]tintpgktzxxq[/link], http://eescpjgzyzgb.com/

January 15, 2010, at 11:23 AM by sevpahxik - 0.222222222222222
Changed line 1 from:

M0wtuA <a href="http://sgxgsxhdcrnk.com/">sgxgsxhdcrnk</a>, [url=http://epglpywxyaum.com/]epglpywxyaum[/url], [link=http://tztdzqjfeidz.com/]tztdzqjfeidz[/link], http://wypbsgeharmg.com/

to:

oQFdXN <a href="http://zhssxwyadyrh.com/">zhssxwyadyrh</a>, [url=http://rplbovntqatf.com/]rplbovntqatf[/url], [link=http://zvnfmbxjzrvn.com/]zvnfmbxjzrvn[/link], http://wycnpqnrjzwe.com/

January 15, 2010, at 11:21 AM by nhgnsogbis - 0.222222222222222
Changed line 1 from:

5GJ7Hn <a href="http://cmnsiavherss.com/">cmnsiavherss</a>, [url=http://phyomtpoharx.com/]phyomtpoharx[/url], [link=http://jlxyudetltdb.com/]jlxyudetltdb[/link], http://yjdblhkhfsih.com/

to:

M0wtuA <a href="http://sgxgsxhdcrnk.com/">sgxgsxhdcrnk</a>, [url=http://epglpywxyaum.com/]epglpywxyaum[/url], [link=http://tztdzqjfeidz.com/]tztdzqjfeidz[/link], http://wypbsgeharmg.com/

January 15, 2010, at 11:13 AM by gvydxghj - 0.222222222222222
Changed lines 1-70 from:

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

 neutralforwardbackward
PE3 (inhibition)LHH
PE6 (control input)XHL

Table 1. Mapping between BTnode pins and driving motor control lines

 straightleftright
PE4 (inhibition)LHH
PD0 = SCL (control input)XHL

Table 2. Mapping between BTnode pins and steering motor control lines

to:

5GJ7Hn <a href="http://cmnsiavherss.com/">cmnsiavherss</a>, [url=http://phyomtpoharx.com/]phyomtpoharx[/url], [link=http://jlxyudetltdb.com/]jlxyudetltdb[/link], http://yjdblhkhfsih.com/

November 29, 2009, at 11:04 PM by 77.58.155.199 -
Changed lines 54-57 from:
 forwardbackwardneutral
PE3 (inhibition)HHL
PE6 (control input)HLX
to:
 neutralforwardbackward
PE3 (inhibition)LHH
PE6 (control input)XHL
November 29, 2009, at 11:04 PM by 77.58.155.199 -
Changed lines 62-65 from:
 leftrightstraight
PE4 (inhibition)HHL
PD0 = SCL (control input)HLX
to:
 straightleftright
PE4 (inhibition)LHH
PD0 = SCL (control input)XHL
November 29, 2009, at 11:03 PM by 77.58.155.199 -
Changed lines 54-57 from:
 forwardbackward
PE3 (inhibition)HH
PE6 (control input)HL
to:
 forwardbackwardneutral
PE3 (inhibition)HHL
PE6 (control input)HLX
Changed lines 62-65 from:
 leftright
PE4 (inhibition)HH
PD0 = SCL (control input)HL
to:
 leftrightstraight
PE4 (inhibition)HHL
PD0 = SCL (control input)HLX
November 29, 2009, at 11:01 PM by 77.58.155.199 -
Deleted line 40:
Deleted line 42:
November 29, 2009, at 11:01 PM by 77.58.155.199 -
Changed lines 28-29 from:

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.

to:

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.

Changed lines 32-33 from:

Motor driver

to:

Figure 1. Motor driver

Changed line 45 from:

Figure 2. outlines BTnode connector pins. Tables 1. and 2. outline mappings between BTnode pins, corresponding driver control inputs, and pin

to:

Figure 2 depicts the BTnode connector pins. Tables 1 and 2 describe the mappings between BTnode pins and corresponding motor control.

Deleted line 46:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg

Changed lines 48-50 from:

BTnode connector

to:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
Figure 2. BTnode connector

November 29, 2009, at 10:57 PM by 77.58.155.199 -
Changed lines 45-48 from:

Table 1. Mapping between BTnode pins and driving motor control lines

to:

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

Changed lines 57-59 from:

Table 2. Mapping between BTnode pins and steering motor control lines

to:

Table 1. Mapping between BTnode pins and driving motor control lines

Changed lines 65-70 from:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
BTnode connector

to:

Table 2. Mapping between BTnode pins and steering motor control lines

November 29, 2009, at 10:52 PM by 77.58.155.199 -
Changed lines 45-46 from:

Mapping between BTnode pins and driving motor control lines

to:

Table 1. Mapping between BTnode pins and driving motor control lines

Changed lines 55-56 from:

Mapping between BTnode pins and steering motor control lines

to:

Table 2. Mapping between BTnode pins and steering motor control lines

Added line 63:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg

Deleted lines 64-66:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg \\

November 29, 2009, at 10:51 PM by 77.58.155.199 -
Added lines 45-46:

Mapping between BTnode pins and driving motor control lines

Changed lines 53-54 from:

Mapping between BTnode pins and steering driver

to:

Mapping between BTnode pins and steering motor control lines

November 29, 2009, at 10:50 PM by 77.58.155.199 -
Changed lines 50-52 from:
Events Calendar
to:

Mapping between BTnode pins and steering driver

November 29, 2009, at 10:48 PM by 77.58.155.199 -
Changed line 50 from:
to:
Events Calendar
Changed lines 54-55 from:
PD0 (SCL, control input)HL
to:
PD0 = SCL (control input)HL
November 29, 2009, at 10:46 PM by 77.58.155.199 -
Changed lines 47-50 from:
inhibition: PE3HH
input: PE6HL
to:
PE3 (inhibition)HH
PE6 (control input)HL
Changed lines 53-55 from:
inhibition: PE4HH
input: PD0 (SCL)HL
to:
PE4 (inhibition)HH
PD0 (SCL, control input)HL
November 29, 2009, at 10:45 PM by 77.58.155.199 -
Changed lines 47-50 from:
inhibition PE3HH
ctrl. input PE6HL
to:
inhibition: PE3HH
input: PE6HL
Changed lines 53-55 from:
inhibition PE4HH
ctrl. input PD0 (SCL)HL
to:
inhibition: PE4HH
input: PD0 (SCL)HL
November 29, 2009, at 10:43 PM by 77.58.155.199 -
Changed line 46 from:
 forwardbackward
to:
 forwardbackward
Changed line 52 from:
 leftright
to:
 leftright
November 29, 2009, at 10:42 PM by 77.58.155.199 -
Changed lines 45-49 from:

| border=1 align=center width=50% |! ||! forward ||! backward || |inhibition PE3 || H || H || |ctrl. input PE6 || H || L ||

to:
 forwardbackward
inhibition PE3HH
ctrl. input PE6HL
 leftright
inhibition PE4HH
ctrl. input PD0 (SCL)HL
November 29, 2009, at 10:41 PM by 77.58.155.199 -
Changed lines 45-49 from:
 forwardbackward
inhibition PE3HH
ctrl. input PE6HL
to:

| border=1 align=center width=50% |! ||! forward ||! backward || |inhibition PE3 || H || H || |ctrl. input PE6 || H || L ||

November 29, 2009, at 10:40 PM by 77.58.155.199 -
Changed lines 46-49 from:
forwardbackward
inhibition PE3HH
ctrl. input PE6HL
to:
 forwardbackward
inhibition PE3HH
ctrl. input PE6HL
November 29, 2009, at 10:39 PM by 77.58.155.199 -
Changed lines 44-45 from:
 forwardbackward
to:
forwardbackward
November 29, 2009, at 10:38 PM by 77.58.155.199 -
Changed lines 44-45 from:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg

to:
 forwardbackward
inhibition PE3HH
ctrl. input PE6HL
Added lines 50-52:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg \\

November 29, 2009, at 10:27 PM by 77.58.155.199 -
Changed lines 40-41 from:

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.

to:

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.

November 29, 2009, at 10:22 PM by 77.58.155.199 -
Changed line 34 from:

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.

to:

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.

Changed line 37 from:

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.

to:

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.

Changed lines 40-42 from:

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.

to:

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.

November 29, 2009, at 10:14 PM by 77.58.155.199 -
Changed lines 7-8 from:
  • 2xPNP transistors, 4x10k resistors
to:
  • 2xNPN transistors BC547
  • 4x10k resistors
Changed lines 40-42 from:

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.

to:

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.

November 29, 2009, at 10:09 PM by 77.58.155.199 -
Changed lines 7-8 from:
to:
  • 2xPNP transistors, 4x10k resistors
November 29, 2009, at 10:07 PM by 77.58.155.199 -
Changed line 35 from:

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:

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.

November 29, 2009, at 10:06 PM by 77.58.155.199 -
Added line 7:
Added line 34:

\\

Deleted lines 36-38:

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.

Added lines 38-40:

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.

Deleted lines 41-42:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg

Added lines 43-45:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg \\

November 29, 2009, at 09:58 PM by 77.58.155.199 -
Changed line 33 from:

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.

to:

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.

Changed lines 35-37 from:

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.

to:

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.

November 29, 2009, at 09:41 PM by 77.58.155.199 -
Changed line 31 from:

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.. :)

to:

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.

Changed line 33 from:

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.

to:

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.

November 29, 2009, at 07:51 PM by 77.58.155.199 -
Changed lines 25-26 from:

We opted for building our own interface, so we replaced the original PCB with home-brew one. The schema is shown in Picture below.

to:

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.

Added line 31:

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.. :)

Added line 33:

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.

Changed lines 35-36 from:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg

to:

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.

Added lines 39-42:


http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg \\

November 29, 2009, at 07:40 PM by 77.58.155.199 -
Changed line 4 from:
  • robot: Ford F-150 (1:19) from NIKKO
to:
  • Car/Robot: Ford F-150 (1:19) from NIKKO
Changed line 11 from:

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.

to:

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.

Changed lines 14-22 from:

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.

to:

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

Changed lines 25-26 from:

Interface between motors and the BTnode3

to:

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

Deleted lines 28-31:

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 \\

November 29, 2009, at 07:27 PM by 77.58.155.199 -
Deleted lines 32-33:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg

Added lines 34-37:


http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg \\

November 29, 2009, at 07:24 PM by 77.58.155.199 -
Added lines 32-38:

http://bagira.ringwald.ch/picts/btnode_rev3.22_debug_j2.jpg
BTnode connector

November 29, 2009, at 07:19 PM by 77.58.155.199 -
Added line 13:

\\

November 29, 2009, at 07:18 PM by 77.58.155.199 -
Changed line 12 from:
to:

\\

November 29, 2009, at 07:18 PM by 77.58.155.199 -
Added line 3:
November 29, 2009, at 07:18 PM by 77.58.155.199 -
Deleted lines 2-3:

Hardware

Changed line 9 from:
to:

\\

Changed line 24 from:
to:

\\

November 29, 2009, at 07:17 PM by 77.58.155.199 -
Deleted lines 22-24:

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

Added lines 24-30:

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 \\

November 29, 2009, at 07:13 PM by 77.58.155.199 -
Deleted lines 9-15:

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)


November 29, 2009, at 07:11 PM by 77.58.155.199 -
Changed line 32 from:

http://bagira.ringwald.ch/picts/bagira_schema.png

to:

http://bagira.ringwald.ch/picts/bagira_schema_thumb.png

November 29, 2009, at 07:08 PM by 77.58.155.199 -
Changed lines 8-9 from:
to:


Changed lines 15-16 from:
to:


November 29, 2009, at 07:07 PM by 77.58.155.199 -
Changed line 30 from:

http://bagira.ringwald.ch/picts/bagira_schema.png

to:

http://bagira.ringwald.ch/picts/bagira_schema.png

November 29, 2009, at 07:06 PM by 77.58.155.199 -
Changed lines 30-32 from:

[[http://http://bagira.ringwald.ch/picts/bagira_schema.pdf http://bagira.ringwald.ch/picts/bagira_schema.png | link text]]

to:

http://bagira.ringwald.ch/picts/bagira_schema.png

November 29, 2009, at 07:03 PM by 77.58.155.199 -
Changed line 30 from:
to:

[[http://http://bagira.ringwald.ch/picts/bagira_schema.pdf

Added line 32:

| link text]]

November 29, 2009, at 07:02 PM by 77.58.155.199 -
Added line 30:
November 29, 2009, at 06:59 PM by 77.58.155.199 -
Changed lines 30-33 from:

to:

http://bagira.ringwald.ch/picts/bagira_schema.png
Motor driver

November 29, 2009, at 06:55 PM by 77.58.155.199 -
Changed lines 30-33 from:
to:

November 29, 2009, at 06:45 PM by 77.58.155.199 -
Changed lines 7-8 from:
  • Quadruple Half-H Driver: L293D, alternatively SN754410 Quadruple Half-H Driver
to:
  • Quadruple Half-H Driver: L293D, alternatively SN754410
November 29, 2009, at 06:45 PM by 77.58.155.199 -
Changed lines 7-8 from:
  • L293D Quadruple Half-H Drivers, alternatively: SN754410 Quadruple Half-H Driver
to:
  • Quadruple Half-H Driver: L293D, alternatively SN754410 Quadruple Half-H Driver
November 29, 2009, at 06:44 PM by 77.58.155.199 -
Added line 3:
November 29, 2009, at 06:44 PM by 77.58.155.199 -
Changed line 2 from:
to:

\\

Changed lines 6-8 from:
  • L293D Quadruple Half-H Drivers
  • alternatively: SN754410 Quadruple Half-H Driver
to:
  • L293D Quadruple Half-H Drivers, alternatively: SN754410 Quadruple Half-H Driver
November 29, 2009, at 06:23 PM by 77.58.155.199 -
Changed line 11 from:
  • btnut
to:
  • BTnut (and Ethernut a.k.a. Nut/OS)
November 29, 2009, at 06:22 PM by 77.58.155.199 -
Changed line 10 from:
  • avr tools
to:
  • AVR toolchain
Changed lines 12-14 from:
  • lightblue (on Mac it recquires xcode with support for SDK4: in project preferences you need to set gcc4.0)
to:
  • lightblue (on Mac it requires XCode with support for the 10.4u.SDK: in project preferences you need to select gcc4.0)
November 10, 2009, at 10:58 PM by 77.58.155.199 -
Changed lines 6-7 from:
  • SN754410 Quadruple Half-H Driver
to:
  • L293D Quadruple Half-H Drivers
  • alternatively: SN754410 Quadruple Half-H Driver
November 10, 2009, at 10:44 PM by 77.58.155.199 -
Added lines 1-3:

Material

Hardware

Deleted line 5:
  • Atmel development tools
Changed lines 8-32 from:

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.

to:

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.

November 10, 2009, at 10:26 PM by 77.58.155.199 -
Changed lines 1-2 from:
  • robot: Ford F-150 (1:19) from NIKKO, 30.00 Euro
  • BTnode rev2 from ETH Zurich
to:
  • robot: Ford F-150 (1:19) from NIKKO
  • BTnode rev3 from ETH Zurich
Changed lines 4-6 from:

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.

to:
  • 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.

July 21, 2008, at 01:07 AM by 80.218.230.83 -
Added lines 1-6:
  • 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.