<?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=Peejaywk</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=Peejaywk"/>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Special:Contributions/Peejaywk"/>
		<updated>2026-07-01T03:28:57Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.4</generator>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=857</id>
		<title>Motion MMAL</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=857"/>
				<updated>2016-02-27T18:32:00Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
&lt;br /&gt;
Collated from the [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The objective of this How To is install a special binary of Motion compiled with support for the Raspberry Pi Camera Module.&lt;br /&gt;
&lt;br /&gt;
A special binary for motion has been compiled by the RPi community. Specifically dozencrows [http://www.raspberrypi.org/phpBB3/memberlist.php?mode=viewprofile&amp;amp;u=29285]&lt;br /&gt;
&lt;br /&gt;
Before you start these instructions you are assumed to have a configured RPi running an up to date version of Raspian, a RPi Camera module plugged in and working with stock tools such as the &amp;lt;code&amp;gt;raspistill&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Installation (Wheezy) ==&lt;br /&gt;
=== Install dependencies for Motion ===&lt;br /&gt;
Here we simulate the installation of the standard version of motion which works with USB webcams but not the RPi Camera.&lt;br /&gt;
The purpose is to determine what packages and dependencies are needed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get -s install motion&amp;lt;/pre&amp;gt;&lt;br /&gt;
Should return something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Reading package lists... Done&lt;br /&gt;
Building dependency tree&lt;br /&gt;
Reading state information... Done&lt;br /&gt;
The following extra packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 mysql-common&lt;br /&gt;
Suggested packages:&lt;br /&gt;
  jackd2 libraw1394-doc speex mysql-client postgresql-client&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion&lt;br /&gt;
  mysql-common&lt;br /&gt;
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the dependcies using&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get install -y &amp;lt;list from the above step here&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
on my system this is&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt; $ sudo apt-get install -y ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53 libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0 libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3 libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1 libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion mysql-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait patiently for the installation to complete.&lt;br /&gt;
&lt;br /&gt;
=== Download the pre-compiled binary ===&lt;br /&gt;
Download and unzip the binary provided by Dozencrows.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz&lt;br /&gt;
$ tar -zxvf motion-mmal.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Run ===&lt;br /&gt;
Run motion with the default configuration file and monitor the output.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./motion -n -c motion-mmalcam.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Naviate to &amp;lt;your.RPI.IP&amp;gt;:8081 from anther computer to see the video. Some users have reported issues with this when using InternetExplorer on windows. An alternative browser such as FireFox or Chrome should work.&lt;br /&gt;
&lt;br /&gt;
== Adapting the Config File ==&lt;br /&gt;
My test download file can be downloaded and tried using the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget --output-document=motion.conf_for_motionstills_debug.conf &amp;quot;http://pastebin.com/raw.php?i=tSjgys2q&amp;quot;&lt;br /&gt;
$ ./motion -n -c motion.conf_for_motionstills_debug.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:MotionExampleImg3044.jpg|200px|thumb|left| Example Output running at 1920x720]]&lt;br /&gt;
&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation (Jessie) ==&lt;br /&gt;
=== Install dependencies for Motion ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;$ sudo apt-get install -y libjpeg-dev libavformat56 libavformat-dev libavcodec56 libavcodec-dev libavutil54 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the pre-compiled binary ===&lt;br /&gt;
Download and unzip the binary provided by lowflyer on the Raspberry Pi Forums (see https://www.raspberrypi.org/forums/viewtopic.php?p=843625#p843625)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget https://www.dropbox.com/s/6ruqgv1h65zufr6/motion-mmal-lowflyerUK-20151114.tar.gz&lt;br /&gt;
$ tar -zxvf motion-mmal-lowflyerUK-20151114.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Test using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./motion -c motion-mmalcam-both.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Auto Running at Boot ==&lt;br /&gt;
There are several methods to do this.&lt;br /&gt;
&lt;br /&gt;
=== cron ===&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
=== rc.local ===&lt;br /&gt;
edit the rc.local file as superuser and add the command to the end of the file.&lt;br /&gt;
see &lt;br /&gt;
http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/auto-running-programs&lt;br /&gt;
&lt;br /&gt;
=== init.d ===&lt;br /&gt;
create a runtime script for motion in the init.d folder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo nano /etc/init.d/run_motion.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
/home/pi/motion/./motion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save the script and exit using Ctrl-X&lt;br /&gt;
&lt;br /&gt;
Initialise the runtime using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$  sudo update-rc.d run_motion.sh defaults&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== disable init.d ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo update-rc.d run_motion.sh stop levels .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo  update-rc.d -f run_motion.sh remove&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For temporary disable add a &amp;#039;#&amp;#039; to the call to the motion program, re-save the script and reboot the Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# /home/pi/motion/./motion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO DO LIST ==&lt;br /&gt;
# Add scripts for starting and stopping motion with Cron.&lt;br /&gt;
# Set up Motion to work with a NAS to record data [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;br /&gt;
# Offload Motion to another Pi or Linux PC using streaming (should improve frame rates).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
# [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/ http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=856</id>
		<title>Motion MMAL</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=856"/>
				<updated>2016-02-27T18:24:28Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
&lt;br /&gt;
Collated from the [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The objective of this How To is install a special binary of Motion compiled with support for the Raspberry Pi Camera Module.&lt;br /&gt;
&lt;br /&gt;
A special binary for motion has been compiled by the RPi community. Specifically dozencrows [http://www.raspberrypi.org/phpBB3/memberlist.php?mode=viewprofile&amp;amp;u=29285]&lt;br /&gt;
&lt;br /&gt;
Before you start these instructions you are assumed to have a configured RPi running an up to date version of Raspian, a RPi Camera module plugged in and working with stock tools such as the &amp;lt;code&amp;gt;raspistill&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Installation (Wheezy) ==&lt;br /&gt;
=== Install dependencies for Motion ===&lt;br /&gt;
Here we simulate the installation of the standard version of motion which works with USB webcams but not the RPi Camera.&lt;br /&gt;
The purpose is to determine what packages and dependencies are needed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get -s install motion&amp;lt;/pre&amp;gt;&lt;br /&gt;
Should return something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Reading package lists... Done&lt;br /&gt;
Building dependency tree&lt;br /&gt;
Reading state information... Done&lt;br /&gt;
The following extra packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 mysql-common&lt;br /&gt;
Suggested packages:&lt;br /&gt;
  jackd2 libraw1394-doc speex mysql-client postgresql-client&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion&lt;br /&gt;
  mysql-common&lt;br /&gt;
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the dependcies using&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get install -y &amp;lt;list from the above step here&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
on my system this is&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt; $ sudo apt-get install -y ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53 libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0 libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3 libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1 libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion mysql-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait patiently for the installation to complete.&lt;br /&gt;
&lt;br /&gt;
=== Download the pre-compiled binary ===&lt;br /&gt;
Download and unzip the binary provided by Dozencrows.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz&lt;br /&gt;
$ tar -zxvf motion-mmal.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Run ===&lt;br /&gt;
Run motion with the default configuration file and monitor the output.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./motion -n -c motion-mmalcam.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Naviate to &amp;lt;your.RPI.IP&amp;gt;:8081 from anther computer to see the video. Some users have reported issues with this when using InternetExplorer on windows. An alternative browser such as FireFox or Chrome should work.&lt;br /&gt;
&lt;br /&gt;
== Adapting the Config File ==&lt;br /&gt;
My test download file can be downloaded and tried using the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget --output-document=motion.conf_for_motionstills_debug.conf &amp;quot;http://pastebin.com/raw.php?i=tSjgys2q&amp;quot;&lt;br /&gt;
$ ./motion -n -c motion.conf_for_motionstills_debug.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:MotionExampleImg3044.jpg|200px|thumb|left| Example Output running at 1920x720]]&lt;br /&gt;
&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Auto Running at Boot ==&lt;br /&gt;
There are several methods to do this.&lt;br /&gt;
&lt;br /&gt;
=== cron ===&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
=== rc.local ===&lt;br /&gt;
edit the rc.local file as superuser and add the command to the end of the file.&lt;br /&gt;
see &lt;br /&gt;
http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/auto-running-programs&lt;br /&gt;
&lt;br /&gt;
=== init.d ===&lt;br /&gt;
create a runtime script for motion in the init.d folder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo nano /etc/init.d/run_motion.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
/home/pi/motion/./motion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save the script and exit using Ctrl-X&lt;br /&gt;
&lt;br /&gt;
Initialise the runtime using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$  sudo update-rc.d run_motion.sh defaults&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== disable init.d ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo update-rc.d run_motion.sh stop levels .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo  update-rc.d -f run_motion.sh remove&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For temporary disable add a &amp;#039;#&amp;#039; to the call to the motion program, re-save the script and reboot the Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# /home/pi/motion/./motion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO DO LIST ==&lt;br /&gt;
# Add scripts for starting and stopping motion with Cron.&lt;br /&gt;
# Set up Motion to work with a NAS to record data [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;br /&gt;
# Offload Motion to another Pi or Linux PC using streaming (should improve frame rates).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
# [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/ http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Timelapse_Camera&amp;diff=855</id>
		<title>Timelapse Camera</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Timelapse_Camera&amp;diff=855"/>
				<updated>2015-05-16T11:27:10Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: RaspberryPi]]&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi Time Lapse Camera ==&lt;br /&gt;
&lt;br /&gt;
The following Python script will capture a picture from the Raspberry Pi camera every time it is called. The filename of the picture will be date and time stamped and saved to the &amp;#039;/home/pi/pictures&amp;#039; folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/env python&lt;br /&gt;
&lt;br /&gt;
import os&lt;br /&gt;
import time&lt;br /&gt;
import commands&lt;br /&gt;
from datetime import datetime&lt;br /&gt;
&lt;br /&gt;
d = datetime.now()&lt;br /&gt;
&lt;br /&gt;
initYear = &amp;quot;%04d&amp;quot; % (d.year)&lt;br /&gt;
initMonth = &amp;quot;%02d&amp;quot; % (d.month)&lt;br /&gt;
initDate = &amp;quot;%02d&amp;quot; % (d.day)&lt;br /&gt;
initHour = &amp;quot;%02d&amp;quot; % (d.hour)&lt;br /&gt;
initMins = &amp;quot;%02d&amp;quot; % (d.minute)&lt;br /&gt;
&lt;br /&gt;
filePath = &amp;#039;/home/pi/pictures/&amp;#039;&lt;br /&gt;
fileName = time.strftime(&amp;quot;%Y-%m-%d_%H%M.jpg&amp;quot;);&lt;br /&gt;
fullPath = filePath + fileName&lt;br /&gt;
cameraCommand = &amp;#039;raspistill -o &amp;#039;&lt;br /&gt;
fullCommand = cameraCommand + fullPath&lt;br /&gt;
&lt;br /&gt;
os.system(fullCommand)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To capture images at regular intervals the script can be loaded as a cron job.&lt;br /&gt;
&lt;br /&gt;
To edit the cron table type:&lt;br /&gt;
&amp;lt;pre&amp;gt; crontab -e &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The format of the cron table is:&lt;br /&gt;
&amp;lt;pre&amp;gt; m h dom mon dow command &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where m = minute past the hour, h = hour of the day, dom = day of the month, mon = month of the year and dow = day of week. So to run a script every day at 0735 hours would look like this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;35 7 * * * script_name.py &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the timelapse camera the crontab was configured to run the script every 10 minutes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
crontab -e&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following line to the bottom of the text file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
0,10,20,30,40,50 * * * * python scripname.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file.&lt;br /&gt;
&lt;br /&gt;
To check the contents of the cron table type.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
crontab -l&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see the script in the table.&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Timelapse_Camera&amp;diff=854</id>
		<title>Timelapse Camera</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Timelapse_Camera&amp;diff=854"/>
				<updated>2015-05-16T10:56:28Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: RaspberryPi]]&lt;br /&gt;
Raspberry Pi Time Lapse Camera&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Timelapse_Camera&amp;diff=853</id>
		<title>Timelapse Camera</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Timelapse_Camera&amp;diff=853"/>
				<updated>2015-05-16T10:55:24Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: Created page with &amp;quot;Raspberry Pi Time Lapse Camera&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Raspberry Pi Time Lapse Camera&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Setting_up_a_Torrent_Server&amp;diff=641</id>
		<title>Setting up a Torrent Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Setting_up_a_Torrent_Server&amp;diff=641"/>
				<updated>2013-05-27T11:18:23Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Basic Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: RaspberryPi]]&lt;br /&gt;
&lt;br /&gt;
This is a guide for setting up a torrent server on the Raspberry Pi using [http://deluge-torrent.org/ Deluge].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
=== Basic Installation ===&lt;br /&gt;
Note. When doing this installation I found it best to do it from the account you want the deluge-daemon to be run from.&lt;br /&gt;
&lt;br /&gt;
Install the deluge daemon and web interface. At the time of writing this installs deluge 1.3.3 and has been tested using Raspbian Wheezy &amp;#039;2013-02-09-wheezy-raspbian&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install deluged&lt;br /&gt;
sudo apt-get install deluge-web&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Follow the instructions at http://dev.deluge-torrent.org/wiki/UserGuide/InitScript/Ubuntu to setup the start scripts and torrent logging.&lt;br /&gt;
You can run the deluge-daemon using a user already on the Raspberry Pi or create a new user. Don&amp;#039;t forget to edit the /etc/default/deluge-daemon file to point to the user account you want to use.&lt;br /&gt;
&lt;br /&gt;
Note: If you create the startup scripts on a Windows machine and then copy them onto the Raspberry PI you will have to run it through dos2unix to get the text file into a linux format. If you don&amp;#039;t do this the script won&amp;#039;t run (spent a good couple of hours puzzling over this one)&lt;br /&gt;
&lt;br /&gt;
To install dos2unix:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install dos2unix&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that both scripts are owned by root and have the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chown root:root /etc/default/deluge-daemon&lt;br /&gt;
sudo chmod 644 /etc/default/deluge-daemon&lt;br /&gt;
&lt;br /&gt;
sudo chown root:root /etc/init.d/deluge-daemon&lt;br /&gt;
sudo chmod 755 /etc/init.d/deluge-daemon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Thin Client Setup ===&lt;br /&gt;
Deluge can be setup so that you can control the deluge daemon from a number of different clients. This can be done either by a Web Interface or the GTK UI.&lt;br /&gt;
&lt;br /&gt;
Note: Both the client and the server need to be similar versions, i.e. both 1.2.x or both 1.3.x.&lt;br /&gt;
&lt;br /&gt;
==== Web Interface ====&lt;br /&gt;
* Open up a web browser and go to the following address (need to change the IP address to match your RPi)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
192.168.1.4:8112&lt;br /&gt;
The password is deluge.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can configure deluge via the web interface or the GTK interface. You will need to setup the file locations for completed torrents and also a directory to place torrents for the server to download.&lt;br /&gt;
&lt;br /&gt;
For some reason the IPBlocker cannot be setup using the Web Interface (don&amp;#039;t know why). For this you will need to use the GTK interface (see below). &lt;br /&gt;
Before setting up the GTK client the daemon needs configuring to allow remote connections.&lt;br /&gt;
&lt;br /&gt;
Using the Web Interface go to:&lt;br /&gt;
&lt;br /&gt;
Preferences-&amp;gt;Daemon-&amp;gt;Allow Remote Connections&lt;br /&gt;
&lt;br /&gt;
Click &amp;#039;Apply&amp;#039; to save the settings.&lt;br /&gt;
&lt;br /&gt;
==== GTK UI ====&lt;br /&gt;
===== Server Setup =====&lt;br /&gt;
Add a user and password to the authentication file (this does not have to be your server&amp;#039;s user/pass)/&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &amp;quot;username:password:level&amp;quot; &amp;gt;&amp;gt; ~/.config/deluge/auth&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where &amp;quot;username&amp;quot; and &amp;quot;password&amp;quot; are the username and password you intend to use and &amp;quot;level&amp;quot; is your desired authentication level.&lt;br /&gt;
&lt;br /&gt;
for authentication levels look [http://dev.deluge-torrent.org/wiki/UserGuide/Authentication here]&lt;br /&gt;
&lt;br /&gt;
Restart the deluge daemon&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo service deluge-daemon restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Client Setup on a Windows Machine =====&lt;br /&gt;
Download and install the Windows client from [http://dev.deluge-torrent.org/wiki/Download here]. Make sure you select the same version as the daemon installed on the RPi.&lt;br /&gt;
&lt;br /&gt;
*Run deluge.&lt;br /&gt;
*Go to &amp;quot;Preferences -&amp;gt; Interface&amp;quot; and untick &amp;#039;Classic Mode&amp;#039; to disable it.&lt;br /&gt;
*Restart deluge. You should now see the Connection Manager pop up.&lt;br /&gt;
*Remove the localhost daemon.&lt;br /&gt;
*Click &amp;quot;Add&amp;quot; and for &amp;#039;Hostname&amp;#039; enter your server&amp;#039;s IP.&lt;br /&gt;
*Leave the Port as default (58846).&lt;br /&gt;
*Enter the Username &amp;amp; Password you added to the authentication file then finish by clicking &amp;#039;Add&amp;#039;. A green tick should now appear as the status for the host you just added.&lt;br /&gt;
*(Optional) Expand &amp;quot;Options&amp;quot; and select &amp;quot;Automatically connect to selected host on startup&amp;quot; and &amp;quot;Do not show this dialog on start-up&amp;quot;.&lt;br /&gt;
*Click &amp;quot;Connect&amp;quot; and the connection manager pop up box should disappear. &lt;br /&gt;
&lt;br /&gt;
=== IP Filter Setup ===&lt;br /&gt;
[[File:IPFilterSetting.png|thumb|Image of IPFilter setup]]&lt;br /&gt;
* Start the GTK UI&lt;br /&gt;
* Go to &amp;quot;Preferences -&amp;gt; Plugins&amp;quot; and tick the &amp;#039;Blocklist&amp;#039;.&lt;br /&gt;
* The &amp;#039;Blocklist&amp;#039; will appear as a tab on the left hand side. Select this.&lt;br /&gt;
* Tick &amp;#039;Import blocklist on startup&amp;#039; and then click &amp;#039;Check Download and Import&amp;#039;.&lt;br /&gt;
* This will download the IPFilter from the URL listed in the box.&lt;br /&gt;
** get your &amp;lt;code&amp;gt;*.gz&amp;lt;/code&amp;gt; file from [http://blocklist.googlepages.com/psplist.zip] [http://www.bluetack.co.uk/bims/filters/] [https://sites.google.com/site/blocklist/]&lt;br /&gt;
&lt;br /&gt;
=== To Do List ===&lt;br /&gt;
&lt;br /&gt;
*Execute Plugin (Will allow you to run commands on certain events) - could be useful.&lt;br /&gt;
*RSS Reader&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
#[http://blocklist.googlepages.com/psplist.zip http://blocklist.googlepages.com/psplist.zip]&lt;br /&gt;
#[http://www.bluetack.co.uk/bims/filters/ http://www.bluetack.co.uk/bims/filters/]&lt;br /&gt;
#[https://sites.google.com/site/blocklist/ https://sites.google.com/site/blocklist/]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Setting_up_a_Torrent_Server&amp;diff=640</id>
		<title>Setting up a Torrent Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Setting_up_a_Torrent_Server&amp;diff=640"/>
				<updated>2013-05-27T11:16:05Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: RaspberryPi]]&lt;br /&gt;
&lt;br /&gt;
This is a guide for setting up a torrent server on the Raspberry Pi using [http://deluge-torrent.org/ Deluge].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
=== Basic Installation ===&lt;br /&gt;
Note. When doing this installation I found it best to do it from the account you want the deluge-daemon to be run from.&lt;br /&gt;
&lt;br /&gt;
Install the deluge daemon and web interface. At the time of writing this installs deluge 1.2.3:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install deluged&lt;br /&gt;
sudo apt-get install deluge-web&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Follow the instructions at http://dev.deluge-torrent.org/wiki/UserGuide/InitScript/Ubuntu to setup the start scripts and torrent logging.&lt;br /&gt;
You can run the deluge-daemon using a user already on the Raspberry Pi or create a new user. Don&amp;#039;t forget to edit the /etc/default/deluge-daemon file to point to the user account you want to use.&lt;br /&gt;
&lt;br /&gt;
Note: If you create the startup scripts on a Windows machine and then copy them onto the Raspberry PI you will have to run it through dos2unix to get the text file into a linux format. If you don&amp;#039;t do this the script won&amp;#039;t run (spent a good couple of hours puzzling over this one)&lt;br /&gt;
&lt;br /&gt;
To install dos2unix:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install dos2unix&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that both scripts are owned by root and have the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chown root:root /etc/default/deluge-daemon&lt;br /&gt;
sudo chmod 644 /etc/default/deluge-daemon&lt;br /&gt;
&lt;br /&gt;
sudo chown root:root /etc/init.d/deluge-daemon&lt;br /&gt;
sudo chmod 755 /etc/init.d/deluge-daemon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Thin Client Setup ===&lt;br /&gt;
Deluge can be setup so that you can control the deluge daemon from a number of different clients. This can be done either by a Web Interface or the GTK UI.&lt;br /&gt;
&lt;br /&gt;
Note: Both the client and the server need to be similar versions, i.e. both 1.2.x or both 1.3.x.&lt;br /&gt;
&lt;br /&gt;
==== Web Interface ====&lt;br /&gt;
* Open up a web browser and go to the following address (need to change the IP address to match your RPi)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
192.168.1.4:8112&lt;br /&gt;
The password is deluge.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can configure deluge via the web interface or the GTK interface. You will need to setup the file locations for completed torrents and also a directory to place torrents for the server to download.&lt;br /&gt;
&lt;br /&gt;
For some reason the IPBlocker cannot be setup using the Web Interface (don&amp;#039;t know why). For this you will need to use the GTK interface (see below). &lt;br /&gt;
Before setting up the GTK client the daemon needs configuring to allow remote connections.&lt;br /&gt;
&lt;br /&gt;
Using the Web Interface go to:&lt;br /&gt;
&lt;br /&gt;
Preferences-&amp;gt;Daemon-&amp;gt;Allow Remote Connections&lt;br /&gt;
&lt;br /&gt;
Click &amp;#039;Apply&amp;#039; to save the settings.&lt;br /&gt;
&lt;br /&gt;
==== GTK UI ====&lt;br /&gt;
===== Server Setup =====&lt;br /&gt;
Add a user and password to the authentication file (this does not have to be your server&amp;#039;s user/pass)/&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &amp;quot;username:password:level&amp;quot; &amp;gt;&amp;gt; ~/.config/deluge/auth&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where &amp;quot;username&amp;quot; and &amp;quot;password&amp;quot; are the username and password you intend to use and &amp;quot;level&amp;quot; is your desired authentication level.&lt;br /&gt;
&lt;br /&gt;
for authentication levels look [http://dev.deluge-torrent.org/wiki/UserGuide/Authentication here]&lt;br /&gt;
&lt;br /&gt;
Restart the deluge daemon&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo service deluge-daemon restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Client Setup on a Windows Machine =====&lt;br /&gt;
Download and install the Windows client from [http://dev.deluge-torrent.org/wiki/Download here]. Make sure you select the same version as the daemon installed on the RPi.&lt;br /&gt;
&lt;br /&gt;
*Run deluge.&lt;br /&gt;
*Go to &amp;quot;Preferences -&amp;gt; Interface&amp;quot; and untick &amp;#039;Classic Mode&amp;#039; to disable it.&lt;br /&gt;
*Restart deluge. You should now see the Connection Manager pop up.&lt;br /&gt;
*Remove the localhost daemon.&lt;br /&gt;
*Click &amp;quot;Add&amp;quot; and for &amp;#039;Hostname&amp;#039; enter your server&amp;#039;s IP.&lt;br /&gt;
*Leave the Port as default (58846).&lt;br /&gt;
*Enter the Username &amp;amp; Password you added to the authentication file then finish by clicking &amp;#039;Add&amp;#039;. A green tick should now appear as the status for the host you just added.&lt;br /&gt;
*(Optional) Expand &amp;quot;Options&amp;quot; and select &amp;quot;Automatically connect to selected host on startup&amp;quot; and &amp;quot;Do not show this dialog on start-up&amp;quot;.&lt;br /&gt;
*Click &amp;quot;Connect&amp;quot; and the connection manager pop up box should disappear. &lt;br /&gt;
&lt;br /&gt;
=== IP Filter Setup ===&lt;br /&gt;
[[File:IPFilterSetting.png|thumb|Image of IPFilter setup]]&lt;br /&gt;
* Start the GTK UI&lt;br /&gt;
* Go to &amp;quot;Preferences -&amp;gt; Plugins&amp;quot; and tick the &amp;#039;Blocklist&amp;#039;.&lt;br /&gt;
* The &amp;#039;Blocklist&amp;#039; will appear as a tab on the left hand side. Select this.&lt;br /&gt;
* Tick &amp;#039;Import blocklist on startup&amp;#039; and then click &amp;#039;Check Download and Import&amp;#039;.&lt;br /&gt;
* This will download the IPFilter from the URL listed in the box.&lt;br /&gt;
** get your &amp;lt;code&amp;gt;*.gz&amp;lt;/code&amp;gt; file from [http://blocklist.googlepages.com/psplist.zip] [http://www.bluetack.co.uk/bims/filters/] [https://sites.google.com/site/blocklist/]&lt;br /&gt;
&lt;br /&gt;
=== To Do List ===&lt;br /&gt;
&lt;br /&gt;
*Execute Plugin (Will allow you to run commands on certain events) - could be useful.&lt;br /&gt;
*RSS Reader&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
#[http://blocklist.googlepages.com/psplist.zip http://blocklist.googlepages.com/psplist.zip]&lt;br /&gt;
#[http://www.bluetack.co.uk/bims/filters/ http://www.bluetack.co.uk/bims/filters/]&lt;br /&gt;
#[https://sites.google.com/site/blocklist/ https://sites.google.com/site/blocklist/]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Accessing_Network_Shares&amp;diff=639</id>
		<title>Accessing Network Shares</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Accessing_Network_Shares&amp;diff=639"/>
				<updated>2013-05-27T10:54:36Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: RaspberryPi]]&lt;br /&gt;
Network shares some in two main forms. NFS[en.wikipedia.org/wiki/Network_File_System] and CIFS[www.samba.org/cifs/].&lt;br /&gt;
&lt;br /&gt;
== AutoFS ==&lt;br /&gt;
AutoFS is a simple means of mounting an external network share automatically when its required.&lt;br /&gt;
&lt;br /&gt;
This method means that hard mounting in the &amp;#039;&amp;#039;fstab&amp;#039;&amp;#039; can be avoided such that if a share is not availalble at boot no errors are thrown.&lt;br /&gt;
&lt;br /&gt;
=== Installing autoFS ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install autofs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure autoFS ===&lt;br /&gt;
Installation will create a configuration file &amp;lt;code&amp;gt; /etc/auto.master&amp;lt;/code&amp;gt;. Edit this file and add a link to a seperate file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/auto.master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following at the end of the file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/media/nfsshares /etc/auto.&amp;lt;fileservername&amp;gt; --ghost&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;&amp;lt;fileservername&amp;gt;&amp;#039;&amp;#039; is then name of your fileshare server. make sure there&amp;#039;s a return at the end of the line.&lt;br /&gt;
&lt;br /&gt;
Create /etc/auto.&amp;lt;fileservername&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/auto.&amp;lt;fileservername&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the local share folder name and the remote server address and location in the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;lt;localfolder&amp;gt; &amp;lt;server address&amp;gt;:/&amp;lt;server folder&amp;gt; &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have numerous shares in the same tree, you can add something like this&lt;br /&gt;
&amp;lt;code&amp;gt;*	192.168.0.8:/myshareroot/&amp;amp;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test autoFS ===&lt;br /&gt;
first we need to restart the service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo service autofs restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Stopping automount: done.&lt;br /&gt;
Starting automount: done.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Navigate to the local share location, for example &amp;lt;code&amp;gt; cd /media/nfsshares/music &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List the contents of the directory to check its mounted, a brief delay as the folder is mounted may be expected depending on you network configuration.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /media/nfsshares/music&lt;br /&gt;
ls&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see a list of all the remote files. &lt;br /&gt;
&lt;br /&gt;
If you get errors like &amp;#039;directory not found&amp;#039;, check your auto.master config.&lt;br /&gt;
&lt;br /&gt;
== Raspbian / Raspbmc ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
After installation and setup autofs doesn&amp;#039;t work and access to an NFS directory results in&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
No such file or directory&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this can be fixed by starting &amp;lt;code&amp;gt;rpcbind &amp;lt;/code&amp;gt;. To start &amp;lt;code&amp;gt;rpcbind &amp;lt;/code&amp;gt; manually.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo service rpcbind start&lt;br /&gt;
[sudo] password for jack: &lt;br /&gt;
[ ok ] Starting rpcbind daemon....&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The preferred methid is to run &amp;lt;code&amp;gt;rpcbind &amp;lt;/code&amp;gt; at startup.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo update-rc.d rpcbind defaults&lt;br /&gt;
sudo update-rc.d rpcbind enable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Re-boot the RPi and test.&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Accessing_Network_Shares&amp;diff=638</id>
		<title>Accessing Network Shares</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Accessing_Network_Shares&amp;diff=638"/>
				<updated>2013-05-27T10:53:06Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: RaspberryPi]]&lt;br /&gt;
Network shares some in two main forms. NFS[en.wikipedia.org/wiki/Network_File_System] and CIFS[www.samba.org/cifs/].&lt;br /&gt;
&lt;br /&gt;
== AutoFS ==&lt;br /&gt;
AutoFS is a simple means of mounting an external network share automatically when its required.&lt;br /&gt;
&lt;br /&gt;
This method means that hard mounting in the &amp;#039;&amp;#039;fstab&amp;#039;&amp;#039; can be avoided such that if a share is not availalble at boot no errors are thrown.&lt;br /&gt;
&lt;br /&gt;
=== Installing autoFS ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install autofs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure autoFS ===&lt;br /&gt;
Installation will create a configuration file &amp;lt;code&amp;gt; /etc/auto.master&amp;lt;/code&amp;gt;. Edit this file and add a link to a seperate file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/auto.master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following at the end of the file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/media/nfsshares /etc/auto.&amp;lt;fileservername&amp;gt; --ghost&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;&amp;lt;fileservername&amp;gt;&amp;#039;&amp;#039; is then name of your fileshare server. make sure there&amp;#039;s a return at the end of the line.&lt;br /&gt;
&lt;br /&gt;
Create /etc/auto.&amp;lt;fileservername&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/auto.&amp;lt;fileservername&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the local share folder name and the remote server address and location in the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;lt;localfolder&amp;gt; &amp;lt;server address&amp;gt;:/&amp;lt;server folder&amp;gt; &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you have numerous shares in the same tree, you can add something like this&lt;br /&gt;
&amp;lt;code&amp;gt;*	192.168.0.8:/myshareroot/&amp;amp;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test autoFS ===&lt;br /&gt;
first we need to restart the service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo service autofs restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Stopping automount: done.&lt;br /&gt;
Starting automount: done.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Navigate to the local share location, for example &amp;lt;code&amp;gt; cd /media/nfsshares/music &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List the contents of the directory to check its mounted, a brief delay as the folder is mounted may be expected depending on you network configuration.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /media/nfsshares/music&lt;br /&gt;
ls&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see a list of all the remote files. &lt;br /&gt;
&lt;br /&gt;
If you get errors like &amp;#039;directory not found&amp;#039;, check your auto.master config.&lt;br /&gt;
&lt;br /&gt;
== Raspbian / Raspbmc ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
After installation and setup autofs doesn&amp;#039;t work and access to an NFS directory results in&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
No such file or directory&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this can be fixed by starting &amp;lt;code&amp;gt;rpcbind &amp;lt;/code&amp;gt;. To start &amp;lt;code&amp;gt;rpcbind &amp;lt;/code&amp;gt; manually.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo service rpcbind start&lt;br /&gt;
[sudo] password for jack: &lt;br /&gt;
[ ok ] Starting rpcbind daemon....&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To run &amp;lt;code&amp;gt;rpcbind &amp;lt;/code&amp;gt; at startup.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo update-rc.d rpcbind defaults&lt;br /&gt;
sudo update-rc.d rpcbind enable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Re-boot the RPi and test.&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=604</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=604"/>
				<updated>2012-09-02T14:56:00Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Connecting the Raspberry Pi */&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;
The Big Trak circuit is 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;
=== 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;
== 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 ==&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;
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;
&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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=603</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=603"/>
				<updated>2012-09-02T14:53:25Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &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;
The Big Trak circuit is 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;
=== 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;
== 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 ==&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;
The image below hs 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;
== 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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:014BigTrakBoardTop_Mods.jpg&amp;diff=602</id>
		<title>File:014BigTrakBoardTop Mods.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:014BigTrakBoardTop_Mods.jpg&amp;diff=602"/>
				<updated>2012-09-02T14:46:20Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: Big Track Circuit Board Mods&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Big Track Circuit Board Mods&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=601</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=601"/>
				<updated>2012-09-02T14:45:21Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &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;
The Big Trak circuit is 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;
=== 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;
== 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 ==&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;
The image below hs been annotated to show the points on the Big Trak board that need connecting to the Raspberry Pi.&lt;br /&gt;
&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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=594</id>
		<title>I2C Setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=594"/>
				<updated>2012-08-24T19:19:02Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]] [[Category:RaspberryPi]]&lt;br /&gt;
Instructions for setting up and using the I2C interface on the Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Add the I2C drivers to the Linux Kernel.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo modprobe i2c-dev&lt;br /&gt;
sudo modprobe i2c-bcm2708&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once the drivers have been added to the Kernel the I2C will appear as &amp;lt;code&amp;gt;/dev/i2c-0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/dev/i2c-1&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To load the drivers every boot add it to config file &amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo nano /etc/modules&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add &amp;lt;code&amp;gt;i2c-dev&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;i2c-bcm2708&amp;lt;/code&amp;gt; to the end of the file.&lt;br /&gt;
&lt;br /&gt;
The drivers will be loaded at boot time.&lt;br /&gt;
&lt;br /&gt;
Download and install the i2c tools. This is not essential but it is useful for testing I2C devices from the command prompt.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install i2c-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This setup process has been tested on the following Raspberry Pi linux distributions&lt;br /&gt;
* Raspbian Wheezy 2012-08-16&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
[http://www.lm-sensors.org/wiki/i2cToolsDocumentation i2c Tools]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=593</id>
		<title>I2C Setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=593"/>
				<updated>2012-08-24T19:18:43Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]] [[Category:RaspberryPi]]&lt;br /&gt;
Instructions for setting up and using the I2C interface on the Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Add the I2C drivers to the Linux Kernel.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo modprobe i2c-dev&lt;br /&gt;
sudo modprobe i2c-bcm2708&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once the drivers have been added to the Kernel the I2C will appear as &amp;lt;code&amp;gt;/dev/i2c-0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/dev/i2c1&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To load the drivers every boot add it to config file &amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo nano /etc/modules&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add &amp;lt;code&amp;gt;i2c-dev&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;i2c-bcm2708&amp;lt;/code&amp;gt; to the end of the file.&lt;br /&gt;
&lt;br /&gt;
The drivers will be loaded at boot time.&lt;br /&gt;
&lt;br /&gt;
Download and install the i2c tools. This is not essential but it is useful for testing I2C devices from the command prompt.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install i2c-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This setup process has been tested on the following Raspberry Pi linux distributions&lt;br /&gt;
* Raspbian Wheezy 2012-08-16&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
[http://www.lm-sensors.org/wiki/i2cToolsDocumentation i2c Tools]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=592</id>
		<title>I2C Setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=592"/>
				<updated>2012-08-24T19:17:41Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]] [[Category:RaspberryPi]]&lt;br /&gt;
Instructions for setting up and using the I2C interface on the Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Add the I2C drivers to the Linux Kernel.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo modprobe i2c-dev&lt;br /&gt;
sudo modprobe i2c-bcm2708&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once the drivers have been added to the Kernel the I2C will appear as /dev/i2c-0 and /dev/i2c1.&lt;br /&gt;
&lt;br /&gt;
To load the drivers every boot add it to config file &amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo nano /etc/modules&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add &amp;lt;code&amp;gt;i2c-dev&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;i2c-bcm2708&amp;lt;/code&amp;gt; to the end of the file.&lt;br /&gt;
&lt;br /&gt;
The drivers will be loaded at boot time.&lt;br /&gt;
&lt;br /&gt;
Download and install the i2c tools. This is not essential but it is useful for testing I2C devices from the command prompt.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install i2c-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This setup process has been tested on the following Raspberry Pi linux distributions&lt;br /&gt;
* Raspbian Wheezy 2012-08-16&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
[http://www.lm-sensors.org/wiki/i2cToolsDocumentation i2c Tools]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=591</id>
		<title>I2C Setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=591"/>
				<updated>2012-08-24T19:06:59Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]] [[Category:RaspberryPi]]&lt;br /&gt;
Instructions for setting up and using the I2C interface on the Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Add the I2C drivers to the Linux Kernel.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo modprobe i2c-dev&lt;br /&gt;
sudo modprobe i2c-bcm2708&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once the drivers have been added to the Kernel the I2C will appear as /dev/i2c-0 and /dev/i2c1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Download and install the i2c tools. This is not essential but it is useful for testing I2C devices from the command prompt.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install i2c-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This setup process has been tested on the following Raspberry Pi linux distributions&lt;br /&gt;
* Raspbian Wheezy 2012-08-16&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
[http://www.lm-sensors.org/wiki/i2cToolsDocumentation i2c Tools]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=590</id>
		<title>I2C Setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=590"/>
				<updated>2012-08-24T19:05:02Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]] [[Category:RaspberryPi]]&lt;br /&gt;
Instructions for setting up and using the I2C interface on the Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Add the I2C drivers to the Linux Kernel.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo modprobe i2c-dev&lt;br /&gt;
sudo modprobe i2c-bcm2708&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Download and install the i2c tools. This is not essential but it is useful for testing I2C devices from the command prompt.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install i2c-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This setup process has been tested on the following Raspberry Pi linux distributions&lt;br /&gt;
* Raspbian Wheezy 2012-08-16&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
[http://www.lm-sensors.org/wiki/i2cToolsDocumentation i2c Tools]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=589</id>
		<title>I2C Setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=589"/>
				<updated>2012-08-24T19:04:16Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]] [[Category:RaspberryPi]]&lt;br /&gt;
Instructions for setting up and using the I2C interface on the Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
Add the I2C drivers to the Linux Kernel.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo modprobe i2c-dev&lt;br /&gt;
sudo modprobe i2c-bcm2708&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Download and install the i2c tools. This is not essential but it is useful for testing I2C devices from the command prompt.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install i2c-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This setup process has been tested on the following Raspberry Pi linux distributions&lt;br /&gt;
* Raspbian Wheezy 2012-08-16&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
[http://www.lm-sensors.org/wiki/i2cToolsDocumentation i2c Tools]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=588</id>
		<title>I2C Setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=588"/>
				<updated>2012-08-24T19:02:37Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]] [[Category:RaspberryPi]]&lt;br /&gt;
Instructions for setting up and using the I2C interface on the Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
This setup process has been tested on the following Raspberry Pi linux distributions&lt;br /&gt;
* Raspbian Wheezy 2012-08-16&lt;br /&gt;
&lt;br /&gt;
Add the I2C drivers to the Linux Kernel.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo modprobe i2c-dev&lt;br /&gt;
sudo modprobe i2c-bcm2708&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Download and install the i2c tools. This is not essential but it is useful for testing I2C devices from the command prompt.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install i2c-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Enable_Sound&amp;diff=587</id>
		<title>Enable Sound</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Enable_Sound&amp;diff=587"/>
				<updated>2012-08-24T16:26:01Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Getting Sound Going */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: RaspberryPi]]&lt;br /&gt;
As of {{REVISIONDAY2}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} sound is enabled by default in the Raspian Distribution, the following pay applies to the Debian Squeeze build which is also commonly used.&lt;br /&gt;
&lt;br /&gt;
== Getting Sound Going ==&lt;br /&gt;
&lt;br /&gt;
install sound utilies&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install alsa-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
load the sound driver&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo modprobe snd_bcm2835&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
test sound&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aplay /usr/share/sounds/alsa/Front_Center.wav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== permanently load the sound driver ==&lt;br /&gt;
&lt;br /&gt;
to load the sound driver every boot add it to config file&lt;br /&gt;
&amp;lt;code&amp;gt; &lt;br /&gt;
/etc/modules &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo nano /etc/modules&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add &amp;lt;code&amp;gt;snd_bcm2835&amp;lt;/code&amp;gt; to the end of the file.&lt;br /&gt;
&lt;br /&gt;
The sound driver will be loaded at boot time.&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
#[http://elinux.org/R-Pi_Troubleshooting#Sound http://elinux.org/R-Pi_Troubleshooting#Sound]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=585</id>
		<title>I2C Setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=I2C_Setup&amp;diff=585"/>
				<updated>2012-08-23T21:07:17Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: Created page with &amp;quot;Category:RaspberryTortoise Category:RaspberryPi&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]] [[Category:RaspberryPi]]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=ListOfRaspberryPiHow-Tos&amp;diff=584</id>
		<title>ListOfRaspberryPiHow-Tos</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=ListOfRaspberryPiHow-Tos&amp;diff=584"/>
				<updated>2012-08-23T21:05:32Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
== Topics ==&lt;br /&gt;
This page is a list to the available RaspberryPi How-Tos.&lt;br /&gt;
&lt;br /&gt;
;[[Setup:RPI]] [[Setup:RPI Raspian‎]]&lt;br /&gt;
: initial setup and configuration and updates.&lt;br /&gt;
&lt;br /&gt;
;[[RPi Software Development]]&lt;br /&gt;
: An introduction to developing software for the RPi&lt;br /&gt;
&lt;br /&gt;
;[[HDMI Configuration]]&lt;br /&gt;
: HDMI references and example problem/solution&lt;br /&gt;
;[[AddingUsers:RPi]]&lt;br /&gt;
: add a user and assign super user privledges.&lt;br /&gt;
&lt;br /&gt;
;[[Updating the RPi Software]]&lt;br /&gt;
: Up to date software offers perfromance and security benefits&lt;br /&gt;
&lt;br /&gt;
;[[Updating RPi Firmware]]&lt;br /&gt;
: Up to date firmware offers perfromance and security benefits&lt;br /&gt;
&lt;br /&gt;
;[[Static IP Config]]&lt;br /&gt;
: network static IP address is useful if you RPi is to be accessed remotely&lt;br /&gt;
&lt;br /&gt;
;[[Enable SSH]]&lt;br /&gt;
: enable SSH to allow remote login&lt;br /&gt;
&lt;br /&gt;
;[[Setup VNC]]&lt;br /&gt;
: to access via remote desktop &lt;br /&gt;
&lt;br /&gt;
;[[Expand Image to fill SD card]]&lt;br /&gt;
: Use the spare space assuming your SD card is larger than the default image you installed.&lt;br /&gt;
&lt;br /&gt;
;[[Backup SD Image]]&lt;br /&gt;
: So you don&amp;#039;t undo all your great work in a &amp;#039;&amp;#039;flash&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
;[[Enable Sound]]&lt;br /&gt;
: As of {{REVISIONDAY2}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} the sound driver is still Alpha and is disabled by default, use this guide to enable and test sound on your RPi.&lt;br /&gt;
&lt;br /&gt;
;[[Playing Music]]&lt;br /&gt;
: Finally something useful to do with your RPi&lt;br /&gt;
&lt;br /&gt;
;[[Playing Videos]]&lt;br /&gt;
: Playing videos is a fun thing to do!&lt;br /&gt;
&lt;br /&gt;
;[[Accessing Network Shares]]&lt;br /&gt;
: SD cards just aren&amp;#039;t big enough.&lt;br /&gt;
&lt;br /&gt;
;[[Run Quake]]&lt;br /&gt;
: Just in case you get bored or are planning a LAN party.&lt;br /&gt;
&lt;br /&gt;
;[[Setting up a Torrent Server]]&lt;br /&gt;
: Setup your RPi to get he latest RPi distro using torrents.&lt;br /&gt;
&lt;br /&gt;
;[[Remote Desktop]]&lt;br /&gt;
: Use your RPi as a remote terminal to a Windows machine.&lt;br /&gt;
&lt;br /&gt;
;[[Monitor a Webcam]]&lt;br /&gt;
: Use your RPi with a webcam.&lt;br /&gt;
&lt;br /&gt;
;[[Make a Spycam or Video Streamer]]&lt;br /&gt;
: Trigger video recording using motion detection&lt;br /&gt;
&lt;br /&gt;
;[[Big Trak Controller]]&lt;br /&gt;
: Project for controlling a Big Trak using a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
;[[RaspberryPi Buffer Board]]&lt;br /&gt;
: Information on the Buffer Board for the RaspberryTortoise&lt;br /&gt;
&lt;br /&gt;
;[[I2C Setup]]&lt;br /&gt;
: Setting up and using the I2C on the Raspbery Pi.&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=532</id>
		<title>RaspberryPi Buffer Board</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=532"/>
				<updated>2012-08-01T19:14:00Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Schematic */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]]&lt;br /&gt;
&lt;br /&gt;
To interface the RaspberryPi to the BigTrak motor controller and encoders it was decided to build a buffer board. The purpose of the buffer board is to protect the RaspberryPi from being over driven and also allows the RaspberryPi to drive outputs at a higher current level.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic ==&lt;br /&gt;
The buffer board design is based on the [http://www.scribd.com/doc/88286916/Gertboard-Overview Gertboard] and consists of two SN74AC244N Octal Buffers. The board has 8 outputs and 7 inputs.&lt;br /&gt;
&lt;br /&gt;
[[File:BufferBoard.jpg|300px|RaspberryPi Buffer Board]]&lt;br /&gt;
[[File:20120801_184016.jpg|150px|RaspberryPi Buffer Board]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; width: 300px; height: 200px;&amp;quot;&lt;br /&gt;
|+ Output Pinouts&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | J2 Pin Number&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | RaspberryPi Name&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 1&lt;br /&gt;
| 3V3 || 3V3 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 2&lt;br /&gt;
| 0V || 0V&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3&lt;br /&gt;
| Output 1 || GPIO 0&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 4&lt;br /&gt;
| Output 2 || GPIO 1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 5&lt;br /&gt;
| Output 3 || GPIO 4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 6&lt;br /&gt;
| Output 4 || GPIO 17&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 7&lt;br /&gt;
| Output 5|| GPIO 18&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 8&lt;br /&gt;
| Output 6 || GPIO 21&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 9&lt;br /&gt;
| Output 7 || GPIO 22&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 10&lt;br /&gt;
| Output 8 || GPIO 23&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; width: 300px; height: 200px;&amp;quot;&lt;br /&gt;
|+ Input Pinouts&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | J3 Pin Number&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | RaspberryPi Name&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 1&lt;br /&gt;
| Input 1 || GPIO 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 2&lt;br /&gt;
| Input 2 || GPIO 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3&lt;br /&gt;
| Input 3 || GPIO 9&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 4&lt;br /&gt;
| Input 4 || GPIO 25&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 5&lt;br /&gt;
| Input 5 || GPIO 11&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 6&lt;br /&gt;
| Input 6 || GPIO 8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 7&lt;br /&gt;
| Input 7|| GPIO 7&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 8&lt;br /&gt;
| N/C || &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 9&lt;br /&gt;
| N/C || &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 10&lt;br /&gt;
| N/C || &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#[http://www.scribd.com/doc/88286916/Gertboard-Overview Gertboard Overview]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:20120801_184016.jpg&amp;diff=531</id>
		<title>File:20120801 184016.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:20120801_184016.jpg&amp;diff=531"/>
				<updated>2012-08-01T19:12:41Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=523</id>
		<title>RaspberryPi Buffer Board</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=523"/>
				<updated>2012-08-01T17:34:05Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Schematic */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]]&lt;br /&gt;
&lt;br /&gt;
To interface the RaspberryPi to the BigTrak motor controller and encoders it was decided to build a buffer board. The purpose of the buffer board is to protect the RaspberryPi from being over driven and also allows the RaspberryPi to drive outputs at a higher current level.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic ==&lt;br /&gt;
The buffer board design is based on the [http://www.scribd.com/doc/88286916/Gertboard-Overview Gertboard] and consists of two SN74AC244N Octal Buffers. The board has 8 outputs and 7 inputs.&lt;br /&gt;
&lt;br /&gt;
[[File:BufferBoard.jpg|300px|RaspberryPi Buffer Board]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; width: 300px; height: 200px;&amp;quot;&lt;br /&gt;
|+ Output Pinouts&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | J2 Pin Number&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | RaspberryPi Name&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 1&lt;br /&gt;
| 3V3 || 3V3 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 2&lt;br /&gt;
| 0V || 0V&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3&lt;br /&gt;
| Output 1 || GPIO 0&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 4&lt;br /&gt;
| Output 2 || GPIO 1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 5&lt;br /&gt;
| Output 3 || GPIO 4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 6&lt;br /&gt;
| Output 4 || GPIO 17&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 7&lt;br /&gt;
| Output 5|| GPIO 18&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 8&lt;br /&gt;
| Output 6 || GPIO 21&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 9&lt;br /&gt;
| Output 7 || GPIO 22&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 10&lt;br /&gt;
| Output 8 || GPIO 23&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; width: 300px; height: 200px;&amp;quot;&lt;br /&gt;
|+ Input Pinouts&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | J3 Pin Number&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | RaspberryPi Name&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 1&lt;br /&gt;
| Input 1 || GPIO 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 2&lt;br /&gt;
| Input 2 || GPIO 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3&lt;br /&gt;
| Input 3 || GPIO 9&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 4&lt;br /&gt;
| Input 4 || GPIO 25&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 5&lt;br /&gt;
| Input 5 || GPIO 11&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 6&lt;br /&gt;
| Input 6 || GPIO 8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 7&lt;br /&gt;
| Input 7|| GPIO 7&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 8&lt;br /&gt;
| N/C || &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 9&lt;br /&gt;
| N/C || &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 10&lt;br /&gt;
| N/C || &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#[http://www.scribd.com/doc/88286916/Gertboard-Overview Gertboard Overview]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=522</id>
		<title>RaspberryPi Buffer Board</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=522"/>
				<updated>2012-08-01T17:28:48Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]]&lt;br /&gt;
&lt;br /&gt;
To interface the RaspberryPi to the BigTrak motor controller and encoders it was decided to build a buffer board. The purpose of the buffer board is to protect the RaspberryPi from being over driven and also allows the RaspberryPi to drive outputs at a higher current level.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic ==&lt;br /&gt;
The buffer board design is based on the [http://www.scribd.com/doc/88286916/Gertboard-Overview Gertboard] and consists of two SN74AC244N Octal Buffers. The board has 8 outputs and 7 inputs.&lt;br /&gt;
&lt;br /&gt;
[[File:BufferBoard.jpg|300px|RaspberryPi Buffer Board]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; width: 300px; height: 200px;&amp;quot;&lt;br /&gt;
|+ Output Pinouts&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | J2 Pin Number&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | RaspberryPi Name&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 1&lt;br /&gt;
| 3V3 || 3V3 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 2&lt;br /&gt;
| 0V || 0V&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 3&lt;br /&gt;
| Output 1 || GPIO 0&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 4&lt;br /&gt;
| Output 2 || GPIO 1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 5&lt;br /&gt;
| Output 3 || GPIO 4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 6&lt;br /&gt;
| Output 4 || GPIO 17&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 7&lt;br /&gt;
| Output 5|| GPIO 18&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 8&lt;br /&gt;
| Output 6 || GPIO 21&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 9&lt;br /&gt;
| Output 7 || GPIO 22&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 10&lt;br /&gt;
| Output 8 || GPIO 23&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#[http://www.scribd.com/doc/88286916/Gertboard-Overview Gertboard Overview]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=521</id>
		<title>RaspberryPi Buffer Board</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=521"/>
				<updated>2012-08-01T17:15:10Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Schematic */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]]&lt;br /&gt;
&lt;br /&gt;
To interface the RaspberryPi to the BigTrak motor controller and encoders it was decided to build a buffer board. The purpose of the buffer board is to protect the RaspberryPi from being over driven and also allows the RaspberryPi to drive outputs at a higher current level.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic ==&lt;br /&gt;
The buffer board design is based on the GertBoard and consists of two SN74AC244N Octal Buffers. The board has 8 outputs and 7 inputs.&lt;br /&gt;
&lt;br /&gt;
[[File:BufferBoard.jpg|300px|RaspberryPi Buffer Board]]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=520</id>
		<title>RaspberryPi Buffer Board</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=520"/>
				<updated>2012-08-01T17:14:53Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]]&lt;br /&gt;
&lt;br /&gt;
To interface the RaspberryPi to the BigTrak motor controller and encoders it was decided to build a buffer board. The purpose of the buffer board is to protect the RaspberryPi from being over driven and also allows the RaspberryPi to drive outputs at a higher current level.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic ==&lt;br /&gt;
The buffer board design is based on the GertBoard and consists of two SN74AC244N Octal Buffers. The board has 8 outputs and 7 inputs.&lt;br /&gt;
[[File:BufferBoard.jpg|200px|RaspberryPi Buffer Board]]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:BufferBoard.jpg&amp;diff=519</id>
		<title>File:BufferBoard.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:BufferBoard.jpg&amp;diff=519"/>
				<updated>2012-08-01T17:13:33Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: Buffer Board&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Buffer Board&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=518</id>
		<title>RaspberryPi Buffer Board</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=518"/>
				<updated>2012-08-01T17:11:27Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]]&lt;br /&gt;
&lt;br /&gt;
To interface the RaspberryPi to the BigTrak motor controller and encoders it was decided to build a buffer board. The purpose of the buffer board is to protect the RaspberryPi from being over driven and also allows the RaspberryPi to drive outputs at a higher current level.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic ==&lt;br /&gt;
The buffer board design is based on the GertBoard and consists of two SN74AC244N Octal Buffers. The board has 8 outputs and 7 inputs.&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=517</id>
		<title>RaspberryPi Buffer Board</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=517"/>
				<updated>2012-08-01T17:07:52Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]]&lt;br /&gt;
&lt;br /&gt;
To interface the RaspberryPi to the BigTrak motor controller and encoders it was decided to build a buffer board. The purpose of the buffer board is to protect the RaspberryPi from being over driven and also allows the RaspberryPi to drive outputs at a higher current level.&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=516</id>
		<title>RaspberryPi Buffer Board</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=RaspberryPi_Buffer_Board&amp;diff=516"/>
				<updated>2012-08-01T17:05:09Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: Created page with &amp;quot;Category:RaspberryTortoise&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]]&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=ListOfRaspberryPiHow-Tos&amp;diff=515</id>
		<title>ListOfRaspberryPiHow-Tos</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=ListOfRaspberryPiHow-Tos&amp;diff=515"/>
				<updated>2012-08-01T17:04:53Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
== Topics ==&lt;br /&gt;
This page is a list to the available RaspberryPi How-Tos.&lt;br /&gt;
&lt;br /&gt;
;[[Setup:RPI]] [[Setup:RPI Raspian‎]]&lt;br /&gt;
: initial setup and configuration and updates.&lt;br /&gt;
&lt;br /&gt;
;[[RPi Software Development]]&lt;br /&gt;
: An introduction to developing software for the RPi&lt;br /&gt;
&lt;br /&gt;
;[[HDMI Configuration]]&lt;br /&gt;
: HDMI references and example problem/solution&lt;br /&gt;
;[[AddingUsers:RPi]]&lt;br /&gt;
: add a user and assign super user privledges.&lt;br /&gt;
&lt;br /&gt;
;[[Updating the RPi Software]]&lt;br /&gt;
: Up to date software offers perfromance and security benefits&lt;br /&gt;
&lt;br /&gt;
;[[Updating RPi Firmware]]&lt;br /&gt;
: Up to date firmware offers perfromance and security benefits&lt;br /&gt;
&lt;br /&gt;
;[[Static IP Config]]&lt;br /&gt;
: network static IP address is useful if you RPi is to be accessed remotely&lt;br /&gt;
&lt;br /&gt;
;[[Enable SSH]]&lt;br /&gt;
: enable SSH to allow remote login&lt;br /&gt;
&lt;br /&gt;
;[[Setup VNC]]&lt;br /&gt;
: to access via remote desktop &lt;br /&gt;
&lt;br /&gt;
;[[Expand Image to fill SD card]]&lt;br /&gt;
: Use the spare space assuming your SD card is larger than the default image you installed.&lt;br /&gt;
&lt;br /&gt;
;[[Backup SD Image]]&lt;br /&gt;
: So you don&amp;#039;t undo all your great work in a &amp;#039;&amp;#039;flash&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
;[[Enable Sound]]&lt;br /&gt;
: As of {{REVISIONDAY2}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} the sound driver is still Alpha and is disabled by default, use this guide to enable and test sound on your RPi.&lt;br /&gt;
&lt;br /&gt;
;[[Playing Music]]&lt;br /&gt;
: Finally something useful to do with your RPi&lt;br /&gt;
&lt;br /&gt;
;[[Playing Videos]]&lt;br /&gt;
: Playing videos is a fun thing to do!&lt;br /&gt;
&lt;br /&gt;
;[[Accessing Network Shares]]&lt;br /&gt;
: SD cards just aren&amp;#039;t big enough.&lt;br /&gt;
&lt;br /&gt;
;[[Run Quake]]&lt;br /&gt;
: Just in case you get bored or are planning a LAN party.&lt;br /&gt;
&lt;br /&gt;
;[[Setting up a Torrent Server]]&lt;br /&gt;
: Setup your RPi to get he latest RPi distro using torrents.&lt;br /&gt;
&lt;br /&gt;
;[[Remote Desktop]]&lt;br /&gt;
: Use your RPi as a remote terminal to a Windows machine.&lt;br /&gt;
&lt;br /&gt;
;[[Monitor a Webcam]]&lt;br /&gt;
: Use your RPi with a webcam.&lt;br /&gt;
&lt;br /&gt;
;[[Make a Spycam or Video Streamer]]&lt;br /&gt;
: Trigger video recording using motion detection&lt;br /&gt;
&lt;br /&gt;
;[[Big Trak Controller]]&lt;br /&gt;
: Project for controlling a Big Trak using a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
;[[RaspberryPi Buffer Board]]&lt;br /&gt;
: Information on the Buffer Board for the RaspberryTortoise&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=476</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=476"/>
				<updated>2012-07-15T17:02:14Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* General Information */&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;
The Big Trak circuit is 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;
=== 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;
== 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;
== 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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=475</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=475"/>
				<updated>2012-07-15T16:55:04Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &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;
The Big Trak circuit is 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;
=== IC Pinouts ===&lt;br /&gt;
&lt;br /&gt;
[[File:IC2.jpg|200px|IC2 Pinouts]]&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;
== 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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:IC2.jpg&amp;diff=474</id>
		<title>File:IC2.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:IC2.jpg&amp;diff=474"/>
				<updated>2012-07-15T16:54:02Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: IC2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IC2&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=473</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=473"/>
				<updated>2012-07-15T16:23:14Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Encoder Circuit */&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;
The Big Trak circuit is 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;
== 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;
== 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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:Encodercircuit.jpg&amp;diff=472</id>
		<title>File:Encodercircuit.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:Encodercircuit.jpg&amp;diff=472"/>
				<updated>2012-07-15T16:19:54Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: uploaded a new version of &amp;amp;quot;File:Encodercircuit.jpg&amp;amp;quot;: Encoder Circuit Ver 2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Big Trak Encoder Circuit&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=471</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=471"/>
				<updated>2012-07-14T13:49:20Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &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;
The Big Trak circuit is 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;
== 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;
[[File:encodercircuit.jpg|300px|Big Trak Encoder Circuit]]&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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=470</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=470"/>
				<updated>2012-07-14T13:44:12Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Scope Plots */&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;
== 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;
[[File:encodercircuit.jpg|300px|Big Trak Encoder Circuit]]&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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=469</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=469"/>
				<updated>2012-07-14T13:43:08Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &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;
== 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.&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;
[[File:encodercircuit.jpg|300px|Big Trak Encoder Circuit]]&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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:Decel.jpg&amp;diff=468</id>
		<title>File:Decel.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:Decel.jpg&amp;diff=468"/>
				<updated>2012-07-14T13:41:13Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: Deceleration&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Deceleration&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:Accel.jpg&amp;diff=467</id>
		<title>File:Accel.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:Accel.jpg&amp;diff=467"/>
				<updated>2012-07-14T13:40:47Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: Acceleration&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Acceleration&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=466</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=466"/>
				<updated>2012-07-14T13:38:21Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &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;
== 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.&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;
[[File:encodercircuit.jpg|300px|Big Trak Encoder Circuit]]&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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Autopsy&amp;diff=465</id>
		<title>Big Trak Autopsy</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Autopsy&amp;diff=465"/>
				<updated>2012-07-14T10:49:46Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryTortoise]]&lt;br /&gt;
&lt;br /&gt;
This page describes the disassmbly of the 2010 version of BigTrak&lt;br /&gt;
&lt;br /&gt;
=== Tools ===&lt;br /&gt;
*3mm posi-drive screwdriver&lt;br /&gt;
*5mm posi-drive screwdriver&lt;br /&gt;
*Jewellers screwdrivers or small flat head screwdrivers.&lt;br /&gt;
*Wire cutting snips or a soldering iron.&lt;br /&gt;
*ESD mat.&lt;br /&gt;
&lt;br /&gt;
;Take suitable ESD precautions when handling any electronics that you want to remain functional.&lt;br /&gt;
&lt;br /&gt;
== Unboxing ==&lt;br /&gt;
Remove your Big Trak from it packaging. &lt;br /&gt;
Put the sticker package and user guide to one side.&lt;br /&gt;
Remove any polystrene packaging from the EPA.&lt;br /&gt;
&lt;br /&gt;
[[File:001BigTrakBox.JPG|200px|Big Trak Boxed]]&lt;br /&gt;
[[File:BigTraxUnboxed.JPG|200px|Big Trak Unboxed]]&lt;br /&gt;
&lt;br /&gt;
== Autopsy ==&lt;br /&gt;
&lt;br /&gt;
=== Battery Hatch ===&lt;br /&gt;
Turn over and undo the two screw holding the battery hatch and remove the first 7 retaining screws that secure the top.&lt;br /&gt;
&lt;br /&gt;
Remove the battery hatch and the 2 further screws at the rear as shown.&lt;br /&gt;
&lt;br /&gt;
[[File:002BigTrakBatteryHatch.JPG|200px|Big Trak Underside]]&lt;br /&gt;
[[File:003BigTrakBatteryHatch2.JPG|200px|Big Trak Underside]]&lt;br /&gt;
&lt;br /&gt;
=== Rear Grill === &lt;br /&gt;
The grey grill at the rear hides the 2 remain screws that secures the top.&lt;br /&gt;
&lt;br /&gt;
The grill is retained by 4 plastic clips and is not easily removed, in order to not damage the rear wheels first remove them by taking out the screws in the hub.&lt;br /&gt;
&lt;br /&gt;
Remove the grill using small the flat head screwdrivers to press in the plastic tabs. The locations of the 4 tabs are shown below.&lt;br /&gt;
&lt;br /&gt;
Remover the two screws revealed. The top cover should now be free, take to not seperate the top from the main assembly and turn the unit over.&lt;br /&gt;
&lt;br /&gt;
[[File:004BigTrakRearWheels.JPG|200px|Remove the rear wheels]]&lt;br /&gt;
[[File:005BigTrakRearGrill.JPG|200px|Remove the rear grill]]&lt;br /&gt;
&lt;br /&gt;
=== Top Cover ===&lt;br /&gt;
Carefully slide the top cover to one side, note the length of the flexi-cable to the touch pad and the 5 way ribbon cable to the switch are still attached to the top and main board.&lt;br /&gt;
&lt;br /&gt;
Unclip the 4 grey tabs holding the grey surround of the touch pad.&lt;br /&gt;
Unscrew the socket that secures the flexi-cable to the main board. Release the flexi-cable from the main board by lifting it free of the locating pins.&lt;br /&gt;
&lt;br /&gt;
Unscrew the switch assembly from the top surround.&lt;br /&gt;
&lt;br /&gt;
[[File:007BigTrakCover.JPG|200px|Move the cover to one side]]&lt;br /&gt;
[[File:008BigTrakSwitchAssy.JPG|200px|Remover the switch assembly]]&lt;br /&gt;
&lt;br /&gt;
=== Main Assembly ===&lt;br /&gt;
Release the speaker and LED (photon cannon) by removing the two screws shown.&lt;br /&gt;
&lt;br /&gt;
Snip or Desolder the main power leads from the battery housing.&lt;br /&gt;
&lt;br /&gt;
The drive assembly should now be free of the main chassis.&lt;br /&gt;
&lt;br /&gt;
[[File:011BigTrakPhotonCannon.JPG|200px|Disable the Photon Cannon]]&lt;br /&gt;
[[File:010BigTrakControlAssy.JPG|200px|Desolder the power leads]]&lt;br /&gt;
&lt;br /&gt;
=== Drive Assembly ===&lt;br /&gt;
&lt;br /&gt;
Desolder or snip free the speaker and LED.&lt;br /&gt;
&lt;br /&gt;
Remove the 3 screws closest to the main board, tunr over and seperate the main drive assembly to reveal the motors and gear.&lt;br /&gt;
&lt;br /&gt;
The encoders for the motors are monitoring the second stages gears and are linked through to the main board.&lt;br /&gt;
&lt;br /&gt;
[[File:012BigTrakDriveAssy.JPG|200px|Remove the speaker and LED]]&lt;br /&gt;
[[File:013BigTrakMotors.JPG|200px|Reveal the two motors and gears]]&lt;br /&gt;
&lt;br /&gt;
=== Main Circuit Card (Top &amp;amp; Bottom) ===&lt;br /&gt;
&lt;br /&gt;
[[File:014BigTrakBoardTop.JPG|200px|Main Board Top]]&lt;br /&gt;
[[File:20120713_112518.jpg|200px|Main Board Bottom]]&lt;br /&gt;
&lt;br /&gt;
[[File:015BigTrakKit.JPG|200px|Components of a Big Trak]]&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
The 2010 variant of the Big Track is internally different to the original [http://www.robotroom.com/BigTrak.html]&lt;br /&gt;
&lt;br /&gt;
Work on Understanding the drive electronics continues here [[Big Trak Circuits]]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[http://srimech.blogspot.co.uk/2010/09/modders-guide-to-2010-bigtrak.html http://srimech.blogspot.co.uk/2010/09/modders-guide-to-2010-bigtrak.html]&lt;br /&gt;
*[http://www.theoldrobots.com/book30/Bigtrak_Operators.pdf http://www.theoldrobots.com/book30/Bigtrak_Operators.pdf]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#http://www.robotroom.com/BigTrak.html&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:20120713_112518.jpg&amp;diff=464</id>
		<title>File:20120713 112518.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:20120713_112518.jpg&amp;diff=464"/>
				<updated>2012-07-14T10:46:58Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: Circuit Board Rear View&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Circuit Board Rear View&lt;/div&gt;</summary>
		<author><name>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=463</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=463"/>
				<updated>2012-07-14T10:21:15Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Encoder Circuit */&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;
== 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 should be 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;
=== 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;
[[File:encodercircuit.jpg|300px|Big Trak Encoder Circuit]]&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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=462</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=462"/>
				<updated>2012-07-14T10:09:04Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Encoder Circuit */&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;
== 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 should be 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;
=== 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. The circuit diagram for this is shown below. Not 100% sure this is correct (Needs checking).&lt;br /&gt;
&lt;br /&gt;
[[File:encodercircuit.jpg|300px|Big Trak Encoder Circuit]]&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>Peejaywk</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Big_Trak_Circuits&amp;diff=461</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=461"/>
				<updated>2012-07-14T10:08:36Z</updated>
		
		<summary type="html">&lt;p&gt;Peejaywk: /* Encoder Circuit */&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;
== 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 should be 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;
=== 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. The circuit diagram for this is shown below. Not 100% sure this is correct (Needs checking).&lt;br /&gt;
&lt;br /&gt;
[[File:encodercircuit.jpg|400px|Big Trak Encoder Circuit]]&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>Peejaywk</name></author>	</entry>

	</feed>