<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Trebuchet Archives - Dogsbody.org</title>
	<atom:link href="https://www.dogsbody.org/tag/trebuchet/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Wed, 06 Mar 2019 22:40:02 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.3</generator>
	<item>
		<title>Internet Catapult</title>
		<link>https://www.dogsbody.org/2010/05/internet-catapult/?pk_campaign=feed&#038;pk_kwd=internet-catapult</link>
					<comments>https://www.dogsbody.org/2010/05/internet-catapult/?pk_campaign=feed&#038;pk_kwd=internet-catapult#comments</comments>
		
		<dc:creator><![CDATA[Dan Benton]]></dc:creator>
		<pubDate>Mon, 03 May 2010 19:56:24 +0000</pubDate>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Catapult]]></category>
		<category><![CDATA[Ethernet]]></category>
		<category><![CDATA[SMS]]></category>
		<category><![CDATA[Trebuchet]]></category>
		<category><![CDATA[txtlocal]]></category>
		<guid isPermaLink="false">https://www.dogsbody.org/?p=389</guid>

					<description><![CDATA[<p>In February 2010 I was asked if I knew of a way to throw wet sponges at someone when they donated money on the internet&#8230; A few weeks later I found myself in the back garden of a house with a hand built catapult, lot of wires and enough wet sponges to make It&#8217;s a &#8230; <a href="https://www.dogsbody.org/2010/05/internet-catapult/?pk_campaign=feed&#038;pk_kwd=internet-catapult" class="more-link">Continue reading <span class="screen-reader-text">Internet Catapult</span> <span class="meta-nav">&#8594;</span></a><img src="https://analytics.dogsbody.com/piwik.php?idsite=4&amp;rec=1&amp;url=https%3A%2F%2Fwww.dogsbody.org%2F2010%2F05%2Finternet-catapult%2F%3Fpk_campaign%3Dfeed%26pk_kwd%3Dinternet-catapult&amp;action_name=Internet%20Catapult&amp;urlref=https%3A%2F%2Fwww.dogsbody.org%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" /></p>
<p>The post <a href="https://www.dogsbody.org/2010/05/internet-catapult/?pk_campaign=feed&#038;pk_kwd=internet-catapult">Internet Catapult</a> appeared first on <a href="https://www.dogsbody.org">Dogsbody.org</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In February 2010 I was asked if I knew of a way to throw wet sponges at someone when they donated money on the internet&#8230; A few weeks later I found myself in the back garden of a house with a hand built catapult, lot of wires and enough wet sponges to make It&#8217;s a Knockout jealous.&nbsp; Here&#8217;s what happened and how I made it work&#8230;</p>
<h3>The Brief</h3>
<p>The original brief was set by <a href="https://www.wavespr.com/">Claire Thompson</a> as a fund-raising idea for <a href="https://web.archive.org/web/20100610084335/http://uk.twestival.com/">Twestival UK</a>.&nbsp; I think she wanted a simple screen display that would show when someone donated or tweeted a donation so that a wet sponge could then be launched at her in some stocks while the whole things was streamed online.&nbsp; I of course ran with this idea and by the time she had finished talking had proposed a sponge throwing catapult and automated launch mechanism that would fire automatically when someone donated.</p>
<h3>The Build &#8211; Catapult</h3>
<p>The catapult itself wasn&#8217;t that hard to build.&nbsp; With a huge amount of help from my father and my parents garage we made it up as we went along.</p>
<p><strong>Items Used</strong></p>
<ul>
<li>2 x 4m lengths of 25x50mm externally treated wood (cut into 4 x 2m lengths to fit in my car)</li>
<li>A garden gate hinge</li>
<li>Something heavy (we used a large block of aluminium that we&#8217;ve had in the garage for years)</li>
<li>A 5 litre container cut open to hold the wet sponges</li>
<li>2 bolts to hold on the heavy block</li>
<li>A pile of wood screws</li>
</ul>
<p>Construction took us an afternoon.&nbsp; I knew that a trebuchet would throw the sponges further but that they are also harder to setup and fire accurately so we settled on a classic catapult design, it only needed to last one day.&nbsp; We built the square frame first, then the middle bar and swinging arm before adding legs and weight.</p>
<p>After a few test fires in the garden it worked straight away but was obvious that it would have to be pegged down to be used.&nbsp; We could have made the legs bigger but we wanted to be able to get it in the boot of my car without disassembly!</p>
<p><iframe title="Building a catapult" width="604" height="340" src="https://www.youtube.com/embed/AIn4xS09sOY?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<h3>The Build &#8211; Firing Mechanism</h3>
<p>As is always the way, the hardware is the easy part, the software is the hard part!&nbsp; Having recently discovered the Arduino and itching to play around with the concept I started coding up something that fitted the bill.&nbsp; I won&#8217;t bore you with all the dead ends I went down however I did need to adjust the initial brief a little.</p>
<p><strong>Items Used</strong></p>
<ul>
<li><a href="https://www.arduino.cc/en/Main/ArduinoBoardDuemilanove">Arduino Duemilanove</a></li>
<li><a href="https://web.archive.org/web/20100908004346/http://www.coolcomponents.co.uk/catalog/product_info.php?products_id=232">Arduino Ethernet Shield</a></li>
<li><a href="https://coolcomponents.co.uk/products/arduino-protoshield-kit">Arduino ProtoShield Kit</a></li>
<li><a href="https://web.archive.org/web/20100509090838/http://www.coolcomponents.co.uk/catalog/product_info.php?cPath=50&amp;products_id=317">Arduino Double Tall Extender</a></li>
<li><a href="https://coolcomponents.co.uk/products/serial-enabled-16x2-lcd-black-on-green-5v">Serial Enabled 16&#215;2 LCD</a></li>
<li><a href="https://web.archive.org/web/20100502165309/http://www.oomlout.co.uk/servo-continuous-rotation-p-235.html">Continuous Rotation Servo</a></li>
<li>Lots of Cat5 cable</li>
</ul>
<p>The idea was to make the Arduino completely self running and getting it updates via the Ethernet Shield.&nbsp; What is the point of having an Arduino connected to a computer, you may as well programme the computer to do the same job.&nbsp; Having said that, I was running out of time and I realised that some people had already donated money to the cause.&nbsp; People that had already donated were due a sponge throw so while the system had to be automated it needed a way of manually adding launches.</p>
<p>Getting the Arduino to connected to the internet wasn&#8217;t too hard however I would be using this in a strangers back garden with no way of knowing how they connected to the internet.&nbsp; I decided to use the <a href="http://gkaindl.com/software/arduino-ethernet">excellent DHCP and DNS library&#8217;s from Georg Kaindl</a> which once set up saved me huge amounts of time debugging problems.</p>
<p>I also wanted a way of thanking the users that donated so used a serial enabled LCD screen to display where the donation had come from.&nbsp; This also proved very useful when it came to debugging as the serial console takes a long time to start on my computer (damn you Java).&nbsp; Using the LCD screen meant I could display debug information about the DHCP lease or status of the program without having to connect a computer.</p>
<p>The final part of the puzzle was the release mechanism.&nbsp; I used the servo and some gate hooks/eyes to create a firing pin which you should be able to see on the video below.</p>
<p>The program was originally setup to search twitter for keywords and while I could make it work I couldn&#8217;t guarantee that tweets wouldn&#8217;t be missed.&nbsp; I wanted to tie it into PayPal or another payment system but time was running out and I didn&#8217;t have any of the charity account details.&nbsp; So, I decided to cheat :-p</p>
<p>So that I could control the catapult remotely I decided to use the excellent <a href="https://www.textlocal.com/?tlrx=31701">txtlocal service</a> which gives a free API for incoming SMS (and very good rates on outgoing ones too).&nbsp; This meant that I could send a text message from my phone and fire the catapult while displaying any message I like on the LCD screen.&nbsp; This was also a hack so that I can rate limit the firing and not miss any donations but it worked well!</p>
<p><iframe title="Catapult Firing Mechanism" width="604" height="340" src="https://www.youtube.com/embed/N_-GP3SVpio?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<h3>The Results</h3>
<p>On the day there were a few problems.&nbsp; The catapult was connected to the internet and worked perfectly!&nbsp; We did loads of test fires and there was no problems at all.&nbsp; Then we launched Ustream, and everything stopped.&nbsp; Ustream worked fine, the catapult worked fine, but the two together wouldn&#8217;t work at all.&nbsp; My hunch is that Ustream data was flooding the Ethernet shield and blocked all communication.&nbsp; After much cobbling we got things working enough to throw wet sponges and much fun was had by all.</p>
<h3>Final Notes</h3>
<p>Seeing as this entire project was done in a few weeks in spare time I think it went quite well.&nbsp; I have missed out a lot of my trial and error but please feel free to post questions in the comments and I&#8217;ll attempt to answer.</p>
<img decoding="async" src="https://analytics.dogsbody.com/piwik.php?idsite=4&amp;rec=1&amp;url=https%3A%2F%2Fwww.dogsbody.org%2F2010%2F05%2Finternet-catapult%2F%3Fpk_campaign%3Dfeed%26pk_kwd%3Dinternet-catapult&amp;action_name=Internet%20Catapult&amp;urlref=https%3A%2F%2Fwww.dogsbody.org%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" /><p>The post <a href="https://www.dogsbody.org/2010/05/internet-catapult/?pk_campaign=feed&#038;pk_kwd=internet-catapult">Internet Catapult</a> appeared first on <a href="https://www.dogsbody.org">Dogsbody.org</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dogsbody.org/2010/05/internet-catapult/?pk_campaign=feed&#038;pk_kwd=internet-catapult/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: www.dogsbody.org @ 2026-08-08 10:40:46 by W3 Total Cache
-->