<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.raspberrytorte.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=BillyBag2</id>
		<title>SingletonMillerWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.raspberrytorte.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=BillyBag2"/>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Special:Contributions/BillyBag2"/>
		<updated>2026-08-24T20:57:28Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.4</generator>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Talk:Tty_setup&amp;diff=628</id>
		<title>Talk:Tty setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Talk:Tty_setup&amp;diff=628"/>
				<updated>2012-10-15T15:20:08Z</updated>
		
		<summary type="html">&lt;p&gt;BillyBag2: Created page with &amp;quot;(BillyBag2) Should add some pictures to this page. Also add more about stty command. Also is tty0 the built in UART going to the GPIO port?&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(BillyBag2) Should add some pictures to this page. Also add more about stty command. Also is tty0 the built in UART going to the GPIO port?&lt;/div&gt;</summary>
		<author><name>BillyBag2</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Tty_setup&amp;diff=627</id>
		<title>Tty setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Tty_setup&amp;diff=627"/>
				<updated>2012-10-15T15:18:22Z</updated>
		
		<summary type="html">&lt;p&gt;BillyBag2: /* Built in UART */  Added more information.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring a TTY serial port=&lt;br /&gt;
tty devices are found in the /dev directory. If you use a USB adapter it will appear as /dev/ttyusb0.&lt;br /&gt;
&lt;br /&gt;
Use the &amp;#039;&amp;#039;stty&amp;#039;&amp;#039; command to configure tty devices.&lt;br /&gt;
= Hardware =&lt;br /&gt;
== Built in UART ==&lt;br /&gt;
The built in UART is connected to the GPIO connector P1. NOTE: These signals are unbuffered 3.3v logic and NOT RS232 OR 5v TTL compatible. To use the built in UART to a standard RS232 device a MAX RS232 chip is required. The MAX3232 is a commonly used chip. The chip itself can run at 3.3 and 5v. You MUST run it off the 3.3v supply if it is connected to the RPi. A MAX3232 can be purchased already mounted with the external components. This is simpler and possibly cheaper than mounting the chip yourself.&lt;br /&gt;
&lt;br /&gt;
Modules, such as [[GPS]], often use standard digital signals rather than RS232 voltages. Check their specs carefully. Some are 3.3v based. Others are 5V but you may find the output is 3.3v &amp;quot;compatible&amp;quot;. If it is 5v and does not mention 3.3v compatibility, do not connect it directly to the Pi. It is always wise to add some buffering to the Pi&amp;#039;s IO as it is unprotected. See the buffer board as an example.&lt;br /&gt;
&lt;br /&gt;
== USB to RS232 ==&lt;br /&gt;
=== Successful ===&lt;br /&gt;
A PL-2303 based USB to RS2323 adapter work on my Raspbian based Pi without installing additional drivers, although it was not a fully clean install.&lt;br /&gt;
=== Recommended ===&lt;br /&gt;
I have used FTDI devices with other projects, these are also discussed in many Pi forums. I (BillyBag2) have not used these on a Pi myself. These tend to be more expensive.&lt;br /&gt;
=== Not successful ===&lt;br /&gt;
The cheapest adapters are &amp;quot;340&amp;quot; based. HOWEVER I (BillyBag2) was unable to get these to work fully.&lt;/div&gt;</summary>
		<author><name>BillyBag2</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Tty_setup&amp;diff=626</id>
		<title>Tty setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Tty_setup&amp;diff=626"/>
				<updated>2012-10-15T15:10:39Z</updated>
		
		<summary type="html">&lt;p&gt;BillyBag2: Added some info about TTY, serial and RS232.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring a TTY serial port=&lt;br /&gt;
tty devices are found in the /dev directory. If you use a USB adapter it will appear as /dev/ttyusb0.&lt;br /&gt;
&lt;br /&gt;
Use the &amp;#039;&amp;#039;stty&amp;#039;&amp;#039; command to configure tty devices.&lt;br /&gt;
= Hardware =&lt;br /&gt;
== Built in UART ==&lt;br /&gt;
The built in UART is connected to the GPIO connector P1. NOTE: These signals are unbuffered 3.3v logic and NOT RS232 OR 5v TTL compatible. To use the built in UART to a standard RS232 device a MAX RS232 chip is required. The MAX3232 is a commonly used chip. The chip itself can run at 3.3 and 5v. You MUST run it off the 3.3v supply if it is connected to the RPi.&lt;br /&gt;
&lt;br /&gt;
== USB to RS232 ==&lt;br /&gt;
=== Successful ===&lt;br /&gt;
A PL-2303 based USB to RS2323 adapter work on my Raspbian based Pi without installing additional drivers, although it was not a fully clean install.&lt;br /&gt;
=== Recommended ===&lt;br /&gt;
I have used FTDI devices with other projects, these are also discussed in many Pi forums. I (BillyBag2) have not used these on a Pi myself. These tend to be more expensive.&lt;br /&gt;
=== Not successful ===&lt;br /&gt;
The cheapest adapters are &amp;quot;340&amp;quot; based. HOWEVER I (BillyBag2) was unable to get these to work fully.&lt;/div&gt;</summary>
		<author><name>BillyBag2</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=User:BillyBag2&amp;diff=625</id>
		<title>User:BillyBag2</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=User:BillyBag2&amp;diff=625"/>
				<updated>2012-10-15T14:40:43Z</updated>
		
		<summary type="html">&lt;p&gt;BillyBag2: Created page with &amp;quot;= Software Engineer = I&amp;#039;m an embedded C software engineer. = Raspberry Pi Hobbyist = I have three Pis and many little projects on the go. (none are finished) = Blogger = Some Ras...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Software Engineer =&lt;br /&gt;
I&amp;#039;m an embedded C software engineer.&lt;br /&gt;
= Raspberry Pi Hobbyist =&lt;br /&gt;
I have three Pis and many little projects on the go. (none are finished)&lt;br /&gt;
= Blogger =&lt;br /&gt;
Some Raspberry Pi blogs at http://pinchips.blogspot.co.uk.&lt;/div&gt;</summary>
		<author><name>BillyBag2</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=GPS&amp;diff=624</id>
		<title>GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=GPS&amp;diff=624"/>
				<updated>2012-10-13T01:21:50Z</updated>
		
		<summary type="html">&lt;p&gt;BillyBag2: Added categories&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]] [[Category:RaspberryPi]]&lt;br /&gt;
== Candidates ==&lt;br /&gt;
=== Garmin Geko 301 ===&lt;br /&gt;
The [https://buy.garmin.com/shop/shop.do?pID=221 Garmin Geko 301] is a candidate GPS for use with the Raspberry Pi on projects such as RaspberryTortoise. It is an obsolete hand held GPS system designed for Hiking and GPS games.&lt;br /&gt;
&lt;br /&gt;
==== Advantages ====&lt;br /&gt;
#Small and low power for a hand held GPS.&lt;br /&gt;
#Differential GPS that gives added accuracy, this works in the UK using free european satellites designed to provide this additional differential GPS service.&lt;br /&gt;
#Electronic compass  to provide orientation.&lt;br /&gt;
#Supports standard NMEA messages&lt;br /&gt;
#RS232 serial is simple to use&lt;br /&gt;
#Barometer for altitude. (For when RaspberryTortoise gets its rocket pack)&lt;br /&gt;
#Acts as a GPS data logger&lt;br /&gt;
#Has potential to contain preloaded tracks or waypoints for navigation.&lt;br /&gt;
#Will potentially calculate additional information such as speed or distance away from a route.&lt;br /&gt;
#Software available to manage data on GPS.&lt;br /&gt;
#Obsolete and can be found for sale second hand. (not colour or USB so considered outdated)&lt;br /&gt;
&lt;br /&gt;
==== Disadvantages ====&lt;br /&gt;
#Bigger than a GPS module&lt;br /&gt;
#Requires two AAA batteries  or a 3.0v supply. (3.3v is NOT close enough)&lt;br /&gt;
#Connector is not standard.&lt;br /&gt;
#RS232 level outputs require level shifter for Raspberry Pi input.&lt;br /&gt;
#Discontinued.&lt;br /&gt;
#Only 1Hz sample rate. Some GPS modules are 10Hz&lt;br /&gt;
#Relatively difficult to mount, while sill in case and when removed from case.&lt;/div&gt;</summary>
		<author><name>BillyBag2</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=GPS&amp;diff=623</id>
		<title>GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=GPS&amp;diff=623"/>
				<updated>2012-10-13T01:18:11Z</updated>
		
		<summary type="html">&lt;p&gt;BillyBag2: /* Disadvantages */ Added sample rate a mounting issues.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Candidates ==&lt;br /&gt;
=== Garmin Geko 301 ===&lt;br /&gt;
The [https://buy.garmin.com/shop/shop.do?pID=221 Garmin Geko 301] is a candidate GPS for use with the Raspberry Pi on projects such as RaspberryTortoise. It is an obsolete hand held GPS system designed for Hiking and GPS games.&lt;br /&gt;
&lt;br /&gt;
==== Advantages ====&lt;br /&gt;
#Small and low power for a hand held GPS.&lt;br /&gt;
#Differential GPS that gives added accuracy, this works in the UK using free european satellites designed to provide this additional differential GPS service.&lt;br /&gt;
#Electronic compass  to provide orientation.&lt;br /&gt;
#Supports standard NMEA messages&lt;br /&gt;
#RS232 serial is simple to use&lt;br /&gt;
#Barometer for altitude. (For when RaspberryTortoise gets its rocket pack)&lt;br /&gt;
#Acts as a GPS data logger&lt;br /&gt;
#Has potential to contain preloaded tracks or waypoints for navigation.&lt;br /&gt;
#Will potentially calculate additional information such as speed or distance away from a route.&lt;br /&gt;
#Software available to manage data on GPS.&lt;br /&gt;
#Obsolete and can be found for sale second hand. (not colour or USB so considered outdated)&lt;br /&gt;
&lt;br /&gt;
==== Disadvantages ====&lt;br /&gt;
#Bigger than a GPS module&lt;br /&gt;
#Requires two AAA batteries  or a 3.0v supply. (3.3v is NOT close enough)&lt;br /&gt;
#Connector is not standard.&lt;br /&gt;
#RS232 level outputs require level shifter for Raspberry Pi input.&lt;br /&gt;
#Discontinued.&lt;br /&gt;
#Only 1Hz sample rate. Some GPS modules are 10Hz&lt;br /&gt;
#Relatively difficult to mount, while sill in case and when removed from case.&lt;/div&gt;</summary>
		<author><name>BillyBag2</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=GPS&amp;diff=622</id>
		<title>GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=GPS&amp;diff=622"/>
				<updated>2012-10-13T01:15:03Z</updated>
		
		<summary type="html">&lt;p&gt;BillyBag2: /* Advantages */ Minor tweak&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Candidates ==&lt;br /&gt;
=== Garmin Geko 301 ===&lt;br /&gt;
The [https://buy.garmin.com/shop/shop.do?pID=221 Garmin Geko 301] is a candidate GPS for use with the Raspberry Pi on projects such as RaspberryTortoise. It is an obsolete hand held GPS system designed for Hiking and GPS games.&lt;br /&gt;
&lt;br /&gt;
==== Advantages ====&lt;br /&gt;
#Small and low power for a hand held GPS.&lt;br /&gt;
#Differential GPS that gives added accuracy, this works in the UK using free european satellites designed to provide this additional differential GPS service.&lt;br /&gt;
#Electronic compass  to provide orientation.&lt;br /&gt;
#Supports standard NMEA messages&lt;br /&gt;
#RS232 serial is simple to use&lt;br /&gt;
#Barometer for altitude. (For when RaspberryTortoise gets its rocket pack)&lt;br /&gt;
#Acts as a GPS data logger&lt;br /&gt;
#Has potential to contain preloaded tracks or waypoints for navigation.&lt;br /&gt;
#Will potentially calculate additional information such as speed or distance away from a route.&lt;br /&gt;
#Software available to manage data on GPS.&lt;br /&gt;
#Obsolete and can be found for sale second hand. (not colour or USB so considered outdated)&lt;br /&gt;
&lt;br /&gt;
==== Disadvantages ====&lt;br /&gt;
#Bigger than a GPS module&lt;br /&gt;
#Requires two AAA batteries  or a 3.0v supply. (3.3v is NOT close enough)&lt;br /&gt;
#Connector is not standard.&lt;br /&gt;
#RS232 level outputs require level shifter for Raspberry Pi input.&lt;br /&gt;
#Discontinued.&lt;/div&gt;</summary>
		<author><name>BillyBag2</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=GPS&amp;diff=621</id>
		<title>GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=GPS&amp;diff=621"/>
				<updated>2012-10-13T01:12:56Z</updated>
		
		<summary type="html">&lt;p&gt;BillyBag2: Added a suggestion that a Garmin Geko 301 could be used with the raspberry pi.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Candidates ==&lt;br /&gt;
=== Garmin Geko 301 ===&lt;br /&gt;
The [https://buy.garmin.com/shop/shop.do?pID=221 Garmin Geko 301] is a candidate GPS for use with the Raspberry Pi on projects such as RaspberryTortoise. It is an obsolete hand held GPS system designed for Hiking and GPS games.&lt;br /&gt;
&lt;br /&gt;
==== Advantages ====&lt;br /&gt;
#Small and low power for a hand held GPS.&lt;br /&gt;
#Differential GPS that gives added accuracy, this works in the UK using free european satellites designed to provide this additional differential GPS service.&lt;br /&gt;
#Electronic compass  to provide orientation.&lt;br /&gt;
#Supports standard NMEA messages&lt;br /&gt;
#RS232 serial is simple to use&lt;br /&gt;
#Barometer for altitude. (For when RaspberryTortoise gets its rocket pack)&lt;br /&gt;
#Acts as a GPS data logger&lt;br /&gt;
#Has potential to contain preloaded tracks or waypoints for navigation.&lt;br /&gt;
#Will potentially calculate additional information such as speed or distance away from a route.&lt;br /&gt;
#Software available to manage data on GPS.&lt;br /&gt;
&lt;br /&gt;
==== Disadvantages ====&lt;br /&gt;
#Bigger than a GPS module&lt;br /&gt;
#Requires two AAA batteries  or a 3.0v supply. (3.3v is NOT close enough)&lt;br /&gt;
#Connector is not standard.&lt;br /&gt;
#RS232 level outputs require level shifter for Raspberry Pi input.&lt;br /&gt;
#Discontinued.&lt;/div&gt;</summary>
		<author><name>BillyBag2</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=RaspberryTortoise&amp;diff=620</id>
		<title>RaspberryTortoise</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=RaspberryTortoise&amp;diff=620"/>
				<updated>2012-10-13T00:49:51Z</updated>
		
		<summary type="html">&lt;p&gt;BillyBag2: /* Added a link to a GPS page */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:RaspberryTortoise]]&lt;br /&gt;
&lt;br /&gt;
The [[RaspberryTortoise]] is a project aiming to develop a motorised roving vehicle from readily available components and a Raspberry Pi single board computer(soon to be readily available).&lt;br /&gt;
&lt;br /&gt;
=== Status ===&lt;br /&gt;
This project has reached the deploy and test stage. If you&amp;#039;d like to get involved contact us.&lt;br /&gt;
To see the Tortoise head over to the [http://www.youtube.com/channel/UCiRSha1Vqncz_YmlbY03JnA?feature=watch| YouTube Channel]&lt;br /&gt;
&lt;br /&gt;
== Current Objective ==&lt;br /&gt;
&lt;br /&gt;
Integrate the Encoders into the control loop.&lt;br /&gt;
&lt;br /&gt;
== Ambitions ==&lt;br /&gt;
This is a list of the things we hope to achieve with the Tortiose.&lt;br /&gt;
#Network enabled communications (wifi &amp;amp; SSH) &amp;#039;&amp;#039;&amp;#039;--complete&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
#Web enabled controls &amp;#039;&amp;#039;&amp;#039;--complete&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
#Visual Feedback (camera) &amp;#039;&amp;#039;&amp;#039;--complete&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
#Semi-Autonomous operations&lt;br /&gt;
##Object Detection &amp;amp; Avoidance&lt;br /&gt;
##Object Tracking / Chase&lt;br /&gt;
##Environment Exporation and mapping ([[GPS]]?)&lt;br /&gt;
##Area Patrol&lt;br /&gt;
#Control via Playstation controller?&lt;br /&gt;
&lt;br /&gt;
== Components ==&lt;br /&gt;
&lt;br /&gt;
The current design incorporates the following components.&lt;br /&gt;
&lt;br /&gt;
#System Controller: RaspberryPi + [[RaspberryPi_Buffer_Board]]&lt;br /&gt;
#Operating System: Raspian [[Setup:RPI Raspian]]&lt;br /&gt;
#Platform: Modified BigTrak [[Big Trak Autopsy]]&lt;br /&gt;
#Sensors: Webcam&lt;br /&gt;
#Interfaces: [[Installing EW-7811Un WifiDongle]]&lt;br /&gt;
#Software: [[Tortoise GitHub]]&lt;br /&gt;
#Power: Battery and Voltage regulation&lt;br /&gt;
&lt;br /&gt;
=== Buffer Board ===&lt;br /&gt;
[[RaspberryPi_Buffer_Board]] is used to protect the control interfaces from the RPi.&lt;br /&gt;
&lt;br /&gt;
=== Operating System ===&lt;br /&gt;
Raspian has been selected for is hard floating point support which &amp;#039;should&amp;#039; provide a performance improvement.&lt;br /&gt;
&lt;br /&gt;
=== Platform ===&lt;br /&gt;
[[File:800px-Big_trak_white_background.jpg|200px|thumb|right|800px-Big_trak_white_background.jpg]]&lt;br /&gt;
The chosen platform for the RaspberryTortoise is a BigTrak [http://en.wikipedia.org/wiki/Big_Trak].&lt;br /&gt;
&lt;br /&gt;
BigTraks were a popular motion-programmable &amp;#039;robot&amp;#039; vehicle originally released in the late 1970s through to the 1980&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
These vehicles have been making a come-back as a &amp;#039;nostalgia&amp;#039; toy. The are relatively cheap and contain all the key components needed to make a working robot.&lt;br /&gt;
&lt;br /&gt;
Prior work has identified the major components of the original BigTrak were simple[http://www.robotroom.com/BigTrak.html].&lt;br /&gt;
The 2010 variant of the Big Trak is superficially the same, however the control systems and power have been updated. [[Big Trak Autopsy]].&lt;br /&gt;
&lt;br /&gt;
The modern BigTrak circuits has been partially reverse engineered [[Big Trak Circuits]]. From which we&amp;#039;ve identified the primary motor drives and encoder connections.&lt;br /&gt;
&lt;br /&gt;
=== Sensors ===&lt;br /&gt;
==== WebCam ====&lt;br /&gt;
Ideally this should be the [http://www.raspberrypi.org/archives/1254 Raspberry Pi Camera Module], however this is still under development and not available.&lt;br /&gt;
&lt;br /&gt;
As an alternative, just about any Linux support webcam will do but the [http://www.microsoft.com/hardware/en-us/p/lifecam-cinema/H5D-00001 Microsoft Corp. LifeCam Cinema] is the recommended camera.&lt;br /&gt;
&lt;br /&gt;
Imagery is streamed to the User using Motion and a Webpage.&lt;br /&gt;
&lt;br /&gt;
=== Interfaces ===&lt;br /&gt;
A wifi dongle is fitted to one of the RPi USB ports to provide network connectivity and remote access.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
The Tortoise runs on a Raspian installation base.&lt;br /&gt;
&lt;br /&gt;
Github is used to store all the bespoke software needed for the project here: [[Tortoise GitHub]]&lt;br /&gt;
&lt;br /&gt;
==== Installation Instructions ====&lt;br /&gt;
In general the best instructions are provided in the GIt readme file.&lt;br /&gt;
&lt;br /&gt;
The process is &lt;br /&gt;
# Create a vanilla Raspian image [[Setup:RPI Raspian]] &lt;br /&gt;
# Install the Wifi Dongle and Update [[Installing_EW-7811Un_WifiDongle]]&lt;br /&gt;
# Install motion, nodejs and git&lt;br /&gt;
# Download the Tortoise git repository&lt;br /&gt;
# Follow Git readme for configuration of motion and nodejs.&lt;br /&gt;
&lt;br /&gt;
* [[RaspberryTortoise Web Server]]&lt;br /&gt;
&lt;br /&gt;
=== Power ===&lt;br /&gt;
The current design uses a 6V(4500mAH) NiMH battery which can supply 1A. This is directly connected to the RPi which in turn supplies the USB ports with the powered needed to run the Wifi Dongle and the Camera.&lt;br /&gt;
&lt;br /&gt;
The Battery is also wired directly to the BT main board to provide the power to the motors.&lt;br /&gt;
&lt;br /&gt;
==== Power Budget ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; width: 200px; height: 200px;&amp;quot;&lt;br /&gt;
|+ Estimated Power Consumption&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | device &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Voltage (V)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Current (mA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Peak Current (mA)&lt;br /&gt;
|-&lt;br /&gt;
| RPi&lt;br /&gt;
| 5.0 || 200-300 || 300&lt;br /&gt;
|-&lt;br /&gt;
| Main Board&lt;br /&gt;
| 3.3 || 100 || 100&lt;br /&gt;
|-&lt;br /&gt;
| BT Motors&lt;br /&gt;
| 4.5 || 50 || 150&lt;br /&gt;
|-&lt;br /&gt;
| USB Wifi&lt;br /&gt;
| 5.0 || 100 || ?&lt;br /&gt;
|-&lt;br /&gt;
| USB Camera&lt;br /&gt;
| 5.0 || 100 || ?&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Tests are required to confirm these values.&lt;br /&gt;
It has been shown that the power consumption of an RPi can be reduced by replacing the linear regulator of the RPi[http://www.bitwizard.nl/wiki/index.php?title=Reducing_power_consumption_of_a_raspberry_Pi].&lt;br /&gt;
&lt;br /&gt;
==== Power Regulation ====&lt;br /&gt;
The RPi requires 5V and generates its own 3.3V. The motor drive requires 4.5V and the main board 3.3V.&lt;br /&gt;
The expectation is that the motors will not be adversely affected by running from 5V and that we can use the RPi 3.3v to run the main servo board assuming the current consumption isn&amp;#039;t too high.&lt;br /&gt;
&lt;br /&gt;
The plan is to use batteries with a power regulator to generate the 5V.&lt;br /&gt;
[[File:LM2596 DC-DC Step Down CC-CV Adjustable Power Supply Module Output DC 1.5V-35V.png|200px|thumb|right|LM2596 DC-DC Step Down]]&lt;br /&gt;
&lt;br /&gt;
==== Batteries ====&lt;br /&gt;
Adding an RPi and associated peripherals is expected in increase the load such that more battery capacity is required to achieve &amp;#039;reasonable&amp;#039; run-time.&lt;br /&gt;
&lt;br /&gt;
Any reasonable capacity battery should do if it provides enough head room to run the power regulation module.&lt;br /&gt;
&lt;br /&gt;
[http://www.pilot-batteries.url.tw/pdf/6v1/PL4-6_AGM_.pdf|Pilot PL4-6 6V 4.5AH Lead Acid battery] runs the Pi and the BigTrak without any regulation although the pi on board regulator does have to dissapate a little heat.&lt;br /&gt;
&lt;br /&gt;
Alternatives include: (some may require regulation).&lt;br /&gt;
* Buy a cheap cordless drill and hack it to get the battery, bonus it comes with a charger too!&lt;br /&gt;
* Possible rechargable batteries [http://quadcopters.co.uk/lipo-batterys-61-c.asp][http://www.overlander.co.uk/batteries-chargers/lipo-batteries.html]&lt;br /&gt;
* Solar Cell for daylight operation or to recharge / top-up battery [http://www.robotroom.com/Solar-Recharging.html]&lt;br /&gt;
* 5V 11000mAH battery used in other RPi projects [http://www.amazon.co.uk/gp/product/B004CHMP50/ref=as_li_tf_tl?ie=UTF8&amp;amp;tag=jersblo00-21&amp;amp;linkCode=as2&amp;amp;camp=1634&amp;amp;creative=6738&amp;amp;creativeASIN=B004CHMP50][http://www.newtrent.com/store/iphone-external-battery/icruiser.html]&lt;br /&gt;
* DC-DC Step Down Ajustable PSU Module LM2796 Switch Regulator 4.5-35V to 1.25-26V [http://www.ebay.co.uk/itm/DC-DC-Step-Down-Ajustable-PSU-Module-LM2796-Switch-Regulator-4-5-35V-to-1-25-26V-/290637909304?pt=UK_BOI_Electrical_Test_Measurement_Equipment_ET&amp;amp;hash=item43ab5e8d38]&lt;br /&gt;
&lt;br /&gt;
== Vehicle Interface ==&lt;br /&gt;
The BT main board has 4 PWM inputs to drive the Left and Right motors forwards and backwards.&lt;br /&gt;
&lt;br /&gt;
To control this from the RPi which only has one PWN output a small series of enables is used. [[link needed]]&lt;br /&gt;
&lt;br /&gt;
These enables are attached to RPi GPIO and controlled via the motor drive software.&lt;br /&gt;
&lt;br /&gt;
Basic functionality for Forward, Backward, Left and Right has been implemented.&lt;br /&gt;
&lt;br /&gt;
Development of an improved Interface planned which should provide capability for more sofisticated motion control.&lt;br /&gt;
&lt;br /&gt;
== Key Pad ==&lt;br /&gt;
We don&amp;#039;t currently expect to use the key pad but it might be useful at some point.&lt;br /&gt;
&lt;br /&gt;
There are 10 connections on the main board which somehow map to the rows and columns of the key pad via the main IC.&lt;br /&gt;
&lt;br /&gt;
The keypad appears to be the same layout as the original BigTrak, its assumed to be some kind of mebrane key pad[http://en.wikipedia.org/wiki/Membrane_keyboard].&lt;br /&gt;
&lt;br /&gt;
The keypad on the BTJunior has been investigated[http://www.nathandumont.com/node/248] and reported to be very difficult to understand and emulate.&lt;br /&gt;
It seems plausible the bigger variant will be similarly complex.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#[http://en.wikipedia.org/wiki/Big_Trak http://en.wikipedia.org/wiki/Big_Trak]&lt;br /&gt;
#[http://www.robotroom.com/BigTrak.html Big Trak Reverse Engineered by Robot Room]&lt;br /&gt;
#[http://www.raspberrypi.org/archives/260 http://www.raspberrypi.org/archives/260]&lt;br /&gt;
#[http://www.robotroom.com/Big-Trak-3.html Robot Room Big Trak Motor Drivers]&lt;br /&gt;
#[http://www.bitwizard.nl/wiki/index.php?title=Reducing_power_consumption_of_a_raspberry_Pi RPi power reduction]&lt;br /&gt;
#[http://quadcopters.co.uk/lipo-batterys-61-c.asp Possible Rechargable Batteries]&lt;br /&gt;
#[http://www.overlander.co.uk/batteries-chargers/lipo-batteries.html More high capacity but expensive batteries]&lt;br /&gt;
#[http://www.robotroom.com/Solar-Recharging.html Solar Recharging]&lt;br /&gt;
#[http://www.newtrent.com/store/iphone-external-battery/icruiser.html http://www.newtrent.com/store/iphone-external-battery/icruiser.html]&lt;br /&gt;
#[http://www.ebay.co.uk/itm/DC-DC-Step-Down-Ajustable-PSU-Module-LM2796-Switch-Regulator-4-5-35V-to-1-25-26V-/290637909304?pt=UK_BOI_Electrical_Test_Measurement_Equipment_ET&amp;amp;hash=item43ab5e8d38 DC-DC Step Down Ajustable PSU Module LM2796 Switch Regulator 4.5-35V to 1.25-26V]&lt;br /&gt;
#[http://www.nathandumont.com/node/248 http://www.nathandumont.com/node/248 BT Junior Hacked]&lt;br /&gt;
#[http://www.raspberrypi.org/archives/1254 RPi Camera module]&lt;br /&gt;
&lt;br /&gt;
== Resources / Research ==&lt;br /&gt;
#[http://www.expresspcb.com/ PCB manufacture]&lt;br /&gt;
#[http://www.giantshark.co.uk/chargers-c-27.html Battery Chargers]&lt;br /&gt;
#[http://www.autoexpress.co.uk/products/products/278470/bigtrak_xtr_review.html BigTrak updated for 2012?]&lt;br /&gt;
#[http://www.bigtrakisback.com/xtr-coming-soon/ bigtrakisback.com]&lt;br /&gt;
#[http://blog.ianrenton.com/tag/raspberry-tank-build-diary/?order=asc Raspberry Pi tank]&lt;br /&gt;
#[http://www.ebay.co.uk/itm/12V-Rechargeable-Li-po-Battery-for-CCTV-Cam-6800mAh-2-/290656714473?pt=UK_ConsumerElectronics_Batteries_SM&amp;amp;hash=item43ac7d7ee9 12V battery kit Ebay]&lt;/div&gt;</summary>
		<author><name>BillyBag2</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=619</id>
		<title>Big Trak Circuits</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=619"/>
				<updated>2012-10-13T00:26:40Z</updated>
		
		<summary type="html">&lt;p&gt;BillyBag2: /* Suggested reuse of cable restraint */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]]&lt;br /&gt;
&lt;br /&gt;
This page documents the circuit inside the new Big Trak.&lt;br /&gt;
&lt;br /&gt;
== General Information ==&lt;br /&gt;
There are two know revisions of Big Traks. The main features of both designs remain the same but Rev 2.0 has a different circuit card assembly and a 3 pole not 2 pole switch.&lt;br /&gt;
&lt;br /&gt;
Both Big Trak circuits are powered by 3 x 1.5v batteries. This is regulated to 3.3v by IC1 on the circuit board with all the board running off this 3.3v supply. The only exception are the motors which are powered by the un-regulated 4.5volts.&lt;br /&gt;
&lt;br /&gt;
=== Rev 1.0 IC Pinouts ===&lt;br /&gt;
[[File:IC2.jpg|200px|IC2 Pinouts]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; width: 300px; height: 200px;&amp;quot;&lt;br /&gt;
|+ IC2 Pinouts&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Pin Number&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Input / Output&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 1&lt;br /&gt;
| ? || ? &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 2&lt;br /&gt;
| Output || ML- CTRL&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3&lt;br /&gt;
| Output || ML+ CTRL&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 4&lt;br /&gt;
| Output || MR- CTRL&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 5&lt;br /&gt;
| Output || MR+ CTRL&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 6&lt;br /&gt;
| ? || ?&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 7&lt;br /&gt;
| INPUT || CTRL (from IC3)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 8&lt;br /&gt;
| INPUT || CTRL (from IC3)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 9&lt;br /&gt;
| INPUT || CTRL (from IC3)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 10&lt;br /&gt;
| INPUT || CTRL (from IC3)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 11&lt;br /&gt;
| ? || ?&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 12&lt;br /&gt;
| INPUT || 3v3&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Rev 2.0 IC Pinouts ===&lt;br /&gt;
If you can safely remove the main IC, then then the pads remaining are a good point to jack in your RPi control lines.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; width: 400px; height: 200px;&amp;quot;&lt;br /&gt;
|+ Main IC Pinouts&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Pin Number&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Input / Output&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|- &lt;br /&gt;
| 1 || Input || Motor Left -ve PWM&lt;br /&gt;
|- &lt;br /&gt;
| 6 || Input || Encoder Enable&lt;br /&gt;
|- &lt;br /&gt;
| 17 || Output || Left Encoder Feedback &lt;br /&gt;
|- &lt;br /&gt;
| 18 || Output || Right Encoder Feedback &lt;br /&gt;
|- &lt;br /&gt;
| 28 || Input || Motor Right +ve PWM&lt;br /&gt;
|- &lt;br /&gt;
| 29 || Input || Motor Right -ve PWM&lt;br /&gt;
|- &lt;br /&gt;
| 30 || Input || Motor Left +ve PWM &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Motor Control ==&lt;br /&gt;
Big Trak contains a H-bridge Motor Control circuit that makes it possible to rotate the motor in both direction from a single power source. In this case it is 4.5volts. The circuit diagram below shows the left hand side motor control circuit. The circuit is the same for the right hand side.&lt;br /&gt;
&lt;br /&gt;
[[File:mototcontrol.jpg|800px|Big Trak Motor Control Circuit]]&lt;br /&gt;
&lt;br /&gt;
To make the motor rotate in a forward direction a positive voltage is applied to the forward input whilst the reverse input is pulled low. With these inputs transistors Q5 and Q13 will conduct allowing current to flow through the motor. To reverse the motor direction a positive voltage is applied to the reverse input while pulling the forward input low. This will cause Q4 and Q12 to conduct and hence will reverse the current flow through the motor.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note Do not apply a positive signal to both inputs at the same time.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Using this circuit it is possible to control the speed of the motors by pulsing the inputs (PWM Control).&lt;br /&gt;
&lt;br /&gt;
From the Big Trak circuit it is not possible to determine the identities of transistors Q8 and Q10 as they are very small surface mount devices.&lt;br /&gt;
&lt;br /&gt;
=== Scope Plots ===&lt;br /&gt;
Big Trak uses PWM control to accelerate the motors up to speed and also to slow them down when stopping. The scope plots below show the output from IC2 when Big Trak is programmed to move in a straight line then stop. The first plot shows the acceleratiom, the second the deceleration. The period of the pulses are 8ms.&lt;br /&gt;
&lt;br /&gt;
[[File:accel.jpg|200px|Big Trak Motor Control - Acceleration]]&lt;br /&gt;
[[File:decel.jpg|200px|Big Trak Motor Control - Deceleration]]&lt;br /&gt;
&lt;br /&gt;
=== Replacement Options ===&lt;br /&gt;
As the Big Trak circuit will eventually be removed it will be necessary to make a replacement motor control circuit. This web site [http://www.electronics-tutorials.ws/blog/h-bridge-motor-control.html] has some useful information and also suggests an H-Biridge motor control IC that could be used instead of discrete components. This is the National Semiconductors [http://www.ti.com/lit/ds/symlink/lmd18200.pdf LMD18200]. This is probably a bit of an overkill but it&amp;#039;s a start.&lt;br /&gt;
&lt;br /&gt;
#[http://www.sparkfun.com/products/9457 Motor Driver 1A Dual TB6612FNG]&lt;br /&gt;
#[http://www.active-robots.com/motor-driver-1a-dual-tb6612fng.html Motor Driver 1A Dual TB6612FNG UK source]&lt;br /&gt;
&lt;br /&gt;
== Encoder Circuit ==&lt;br /&gt;
Big Trak has a simple encoder system for measuring how far it has travelled. They monitor the second stage gears which have a cut out in them. The circuit diagram for this is shown below. Not 100% sure this is correct (Needs checking).&lt;br /&gt;
&lt;br /&gt;
To conserve power the circuit is only enabled when required. This is done using transistor Q1. The control line is connected to IC3.&lt;br /&gt;
&lt;br /&gt;
[[File:encodercircuit.jpg|400px|Big Trak Encoder Circuit]]&lt;br /&gt;
&lt;br /&gt;
== Connecting the Raspberry Pi to a Rev 1.0 BT Main board ==&lt;br /&gt;
Before the Big Trak circuit can be used by the Raspberry Pi it is necessary to remove IC2 and IC3 from the board. These are tricky to remove but so far the best approach is to use a heat gun to remove them. If you don&amp;#039;t wan&amp;#039;t to remove the IC&amp;#039;s then the tracks could always be cut.&lt;br /&gt;
&lt;br /&gt;
[[File:BigTrak2010Rev2MainBoardTop.JPG|200px|thumb|right|Big Trak main board Rev 2.0]]&lt;br /&gt;
&lt;br /&gt;
Big Trak main board Rev 2.0 has a slightly different component idents and layout, however the locations to hack into are the same.&lt;br /&gt;
Alternatively, after removing the main IC daughter board it possible to use the pads in accordance with the [[Big_Trak_Circuits#Rev_2.0_IC_Pinouts | pinout]].&lt;br /&gt;
&lt;br /&gt;
The image below has been annotated to show the points on the Big Trak board that need connecting to the Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
[[File:014BigTrakBoardTop_Mods.jpg|500px|Big Trak Circuit]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; width: 400px; height: 200px;&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Number&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 1 || Motor Left -ve PWM  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 2 || Motor Left +ve PWM&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3 || Motor Right -ve PWM&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 4 || Motor Right +ve PWM&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 5 || Left Encoder Feedback&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 6 || Right Encoder Feedback&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 7 || Encoder Enable&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 8 || Encoder Enable Over-ride&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 9 || 3V3 Supply&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If required the encoders on the Big Trak can be permanently enabled by connecting point 8 to the 3V3 supply at point 9.&lt;br /&gt;
== Cable restraint ==&lt;br /&gt;
The flat cable to the keyboard can be removed. The cable restraint can be reused for a ribbon that connects the BigTrak board to your Raspberry Pi. Reusing the cable restraint prevents strain on the solder joints, particularly when reassembling the completed project.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#[http://www.alldatasheet.com/datasheet-pdf/pdf/419843/SECOS/D882S.html D882S Datasheet]&lt;br /&gt;
#[http://www.alldatasheet.com/datasheet-pdf/pdf/419598/SECOS/B772S.html B772S Datasheet]&lt;/div&gt;</summary>
		<author><name>BillyBag2</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Talk:Big_Trak_Circuits&amp;diff=618</id>
		<title>Talk:Big Trak Circuits</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Talk:Big_Trak_Circuits&amp;diff=618"/>
				<updated>2012-10-13T00:12:35Z</updated>
		
		<summary type="html">&lt;p&gt;BillyBag2: Created page with &amp;quot;I [BillyBag2] have found the pin on the BigTrak rev 2 board that goes to the audio &amp;quot;amplifier&amp;quot; and speaker. I will try and add this detail and also work out if it accepts an anal...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I [BillyBag2] have found the pin on the BigTrak rev 2 board that goes to the audio &amp;quot;amplifier&amp;quot; and speaker. I will try and add this detail and also work out if it accepts an analog or PMM signal from the Pi.&lt;/div&gt;</summary>
		<author><name>BillyBag2</name></author>	</entry>

	</feed>