tag:blogger.com,1999:blog-2374934718239507472024-03-14T13:58:11.051+11:00Warranty Void [GR0B]Some of my current projects and ideas.
Caution many warranties maybe voided.Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.comBlogger37125tag:blogger.com,1999:blog-237493471823950747.post-57106577985416173462017-05-12T15:03:00.002+10:002017-05-15T09:52:04.408+10:00Arduino based logic analyzer - HD44780 1602 LCD sniffer<span style="font-family: "verdana" , sans-serif;">Arduino based logic analyzer - HD44780 1602 LCD sniffer</span><br />
<span style="background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 14px;"><br /></span>
<span style="background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 14px;">I tried to test if possible to use an Arduino to sniff data sent to a HD44780 16x2LCD running in 4 bit</span><br />
<div style="background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; margin-top: 10px; padding: 0px; word-wrap: break-word;">
mode. Did not work as an Atmega328 @16Mhz was not fast enough to sniff the data without missing data. </div>
<div style="background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; margin-top: 10px; padding: 0px; word-wrap: break-word;">
I am posting the code publicly as could be helpful for others for direct IO port reading (multiple pins) or basic circular data buffering. The code might still work for HD44780 sniffing if the target is using a slower data transfer rate or if a faster clock speed is used on the Arduino. The code can also be used as a basic 6bit logic analyzer.</div>
<div style="background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; margin-top: 10px; padding: 0px; word-wrap: break-word;">
I tried to keep the code as lean as possible and offload as much of the decoding to a seconds processor but still was not able to read the pins fast enough to keep up with the data stream to the LCD.</div>
<div>
<span style="background-color: white; color: #333333; font-family: "arial" , sans-serif; font-size: 14px;">The code was designed for a atmega328 based Arduino but may work with other atmel based boards.</span></div>
<div style="background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; margin-top: 10px; padding: 0px; word-wrap: break-word;">
In the code I make use of a 256 byte circular data buffer, this was coded with speed in mind so is very simple. If the buffer fills with over 256 bytes the buffer will suffer data loss.</div>
<div style="background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; margin-top: 10px; padding: 0px; word-wrap: break-word;">
<br /></div>
<div style="background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; margin-top: 10px; padding: 0px; word-wrap: break-word;">
You can access the code here:</div>
<span style="font-family: "verdana" , sans-serif;">https://bitbucket.org/grobschmit/hd44780-sniffer-logic-analyzer</span><br />
<a href="https://3.bp.blogspot.com/-L2FIEpuHVtw/WRU_OLUkFnI/AAAAAAAA0Tw/7uq9XdY1fmwbXag0ImxUuBUrcPyTagdsACLcB/s1600/code.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="504" src="https://3.bp.blogspot.com/-L2FIEpuHVtw/WRU_OLUkFnI/AAAAAAAA0Tw/7uq9XdY1fmwbXag0ImxUuBUrcPyTagdsACLcB/s640/code.png" width="640" /></a><span style="font-family: "verdana" , sans-serif;"><br /></span><br />
<span style="font-family: "verdana" , sans-serif;"><br /></span>
Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com1tag:blogger.com,1999:blog-237493471823950747.post-63976010330001052222016-04-23T10:05:00.000+10:002017-03-01T10:27:27.903+11:00Bearstrike update: PCBs<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">Sorry have been neglecting this blog and posting projects to Bearocratic facebook directly. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">Time for another long overdue update. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><b>Tagger boards</b> (Gun board). </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">The current tagger board is stable, some improvements over the past generations and issues resolved. +5volt step up circuit for better IR range when running off a single cell lipo. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">+USB charging onboard. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">+New formfactor </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">+More compact design for more compact taggers. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">+There also has been an overhaul of the user interface to not overwhelm players with too much information. heap of code changes to makes the This version had a issues with connectors covering some of the pin/connector labeling (now fixed)</span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"> </span><img alt="No automatic alt text available." height="320" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/13029611_592225557592977_7104172575595320079_o.jpg?_nc_eui2=v1%3AAeGAj7OJ5CC3C7rzA7khl_GEyBMUXr6dtecK-Gff0j_35_YrrO7LWTPBqxDBuhdz-0LEEAjS7JdUZsUZpejPF2rN3klkspf4t5SzfPf3Ub6Tzg&oh=e18d8ea8df7613e326e76778dcca0071&oe=59259329" width="225" /><img alt="No automatic alt text available." height="239" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/13055158_592225664259633_6270538610109034090_o.jpg?_nc_eui2=v1%3AAeH7Vdtlt6HiNr_H5r1NboRMpNd5E7t6lMw9Qzn4FhOzzbso03GlZ6MgGuB4qKIjeHGUCPy9YpZz9TMVJSWVC9ISeZBkG9ltCijCaM8oGckJ2A&oh=a48ef09118ea86c85f4977ad3ab25c9c&oe=59302763" width="400" /><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><b><br /></b></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><b><br /></b></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><b>Nade. </b></span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">Not much has changed here for a few months, still needs a case but is much more compact than previous generation. still wireless and can be shot. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">Has USB charging onboard. </span><img alt="No automatic alt text available." height="241" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/13064608_592225574259642_6720306229816126424_o.jpg?_nc_eui2=v1%3AAeGFQb8j3FacQY0wfdLVok0tERgOD_Rbixl_ccMUnpsHapX3JN8UWwD3IJzST_7z0Lm0oUBpo7dP87D3gbvyWr3VnzO_e5xIEpERnAYjy7uakw&oh=081c787164428c4790c6722f3d0ce721&oe=59367CE0" width="320" /><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><b>Headsets. </b></span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">Still wireless and still small.</span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">Current version is has USB charging onboard. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">Now instead of two TSOP34856 on the front of the headsensor there is the newer and improved TSOP75356W IR receivers as well as the addition of extra sensors for the side of player’s heads for improved hit detection from all angles. As the headsensor is now much flatter the case design will be much simpler. </span><br />
<img alt="Image may contain: indoor" height="170" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t1.0-9/13076526_592225590926307_1145466939722077385_n.jpg?_nc_eui2=v1%3AAeGvVg6FS3c2nnkWM1bZ1mRoHLSuNX2Mg7IJvUooEz8rr2zLvIgWvjKLpiIqXBDUq4GiqJvwNH5GsFwKKCxaS-9UMxSYXNGoyQX_IDfuwLh3Kw&oh=619c6edf6bc64b319dae5aaa7ca9b98c&oe=59334440" width="400" /><img alt="No automatic alt text available." height="186" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/13086901_592225470926319_5405144534523633840_o.jpg?_nc_eui2=v1%3AAeEy24xo_tBJGT-S9TNU2_c4WcWs_VoYTYofeE_9e4KHao52WjlfvP6Lfy65ZvEHhjcwFERrZkfzaeyIfrzR8xjjoGRixbctSYKmAyVYtnoJag&oh=c37a1c866fb6063640c54c6375aa628a&oe=593008D0" width="320" /><img alt="Image may contain: indoor" height="228" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/13062921_592225600926306_5073274440811750945_o.jpg?_nc_eui2=v1%3AAeHyJo-26kSxEfGmveMPx8YV3zAXO3fi1YE3rb9mj6RJ7mgFXA8Fv0yiyk_axvj6tmzLe63bHv5eP2U7zkBu7bS3nVyyNzqpo6ySlK2xhxCtuA&oh=50ec8616a7d16237592400fd87dca3b8&oe=593662CC" width="320" /><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><b>LED board </b></span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">This board is what is mounted in the tagger behind the lens, this version uses SMD LEDs which allow the muzzle flash to be much more closely grouped with the IR beam. The IR LED is also a OSRAM SFH 4545 that provides better beam angle and spread over the common Vishay TSAL6100. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">The board also has a jumper and optional resistor pads for if you wanted to use this board in taggers using other systems. </span><img alt="Image may contain: indoor" height="169" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/13047833_592225477592985_6744669826415305086_o.jpg?_nc_eui2=v1%3AAeHZZbZ5ZYCCyM800c5idJrjyxNdy7VBRc0atMwRLDxfXFD7gKg6vfwj9cl5vJNVM8wQ_X0OQCcRpP1d0nXu6klL4E1F76WpbEDfKHnXNb9KBw&oh=4a53db6d41e2f6f2af6c4009d43097a3&oe=5973AC51" width="200" /><img alt="Image may contain: 3 people" height="180" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/13055923_592225627592970_8108309590402256552_o.jpg?_nc_eui2=v1%3AAeHDg7sRH07qhhs7IJauItchi-rem1iNfCYYRjgxziEoPL01Rg86oHb9sK4I4fIhLAlc62hzt6r74xWXdvUSFzFjQONQeAvk-1CHhyZcIApPoQ&oh=a3d2b03550e8f27945b8bc5f9e5e3d68&oe=5934CF06" width="320" /><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><b>Universal IR Targets. </b></span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">These are designed to be low cost simple IR lasertag targets that should work with most systems. The target is semi dumb in the terms that it does not decode the IR data packet, it reacts based off if it received an IR data packets size bigger than the minimum size of most Lasertag systems or even your TV remote while filtering out most interference sources. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">When hit the target flashed, beeps and vibrates so if you attach some to yourself you can tell which direction you were shot from (this overcomes one of the shortcomings that Lasertag has when compared with airsoft or other systems that use projectiles) </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">The Arduino source code is free and can be accessed from </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">https://bitbucket.org/grobschmit/basic-ir-target/overview Kits will be available from the web store soon which will contain everything you need to assemble one. The board is designed to be as simple as possible with the lowest number of parts and easy to solder. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;">The board also has the future option of i2c for if you wanted to create a network of i2c connected sensors or connect the sensors via i2c to other devices.</span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px; text-align: center;"><br /></span>
<img alt="No automatic alt text available." height="186" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/13002429_592225474259652_3107125442017086905_o.jpg?_nc_eui2=v1%3AAeFlSTCKUwVfZ6FGG8OtHyGXtCCACVTGLzYu9tat8LbtZrlXE5VZtA-69k3zomjn6iJx2SN5NQOZP1sgGFjF_-t5PJy9lsiKUJ3xob6D9akB2A&oh=fe77120cac26c8d6b10ff101428a2687&oe=59263CF4" width="320" /><img alt="No automatic alt text available." height="205" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/13072661_592225510926315_6137770595224509137_o.jpg?_nc_eui2=v1%3AAeEzk1uqdmgyEcJGCf5YsROOsH4_jNEAGjjxzhRPRiiOmqfblpEndzkTrWPOVgsy-4AAxJ78Tpa-clGuaT0em7xD21EKRuSDXfFEff3hH3zCkg&oh=a96f962508cfb806e0a4c11754217636&oe=59316135" width="320" />Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-76411442865503107962016-04-07T13:23:00.000+10:002017-03-01T13:28:01.239+11:00One time use USB<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><b>One time use USB</b></span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;">I was given a requirement for a single use USB drive that can be used to update the firmware of a single machine then would disable to limit the distribution of the file. The drive should also be not readable on desktop computers. </span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif; font-size: x-small;">Not being being able to find a single use USB drive a manufacturer in China able to offer me drives with SDK I decided I would make it myself</span><span style="font-family: Verdana, sans-serif; font-size: x-small;">. </span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-S3t92E_m3Kg/WLYvQn5JO2I/AAAAAAAAy6M/2Ckyj4HaVm07ABcErmbkwMA2ouVSBGZHwCLcB/s1600/USB_onetimeuse-1920.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="481" src="https://3.bp.blogspot.com/-S3t92E_m3Kg/WLYvQn5JO2I/AAAAAAAAy6M/2Ckyj4HaVm07ABcErmbkwMA2ouVSBGZHwCLcB/s640/USB_onetimeuse-1920.jpg" width="640" /></a></div>
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif; font-size: x-small;">The drive is based around the ATmega32u4 running LUFA, now the USB on the 32u4 is not the fastest but as I only need to deliver a 1MB file it does not need to be the fastest so a 32u4 is one of the simplest processors I could get away with.<br /><br />The drive will disable once the firmware file has been completely read by the target machine. There is also logic to disable the drive if any other files are read, this means if the drive is connected to a PC or MAC and it tries to read autorun.inf or any thumbnails the drive will instantly disable reading of the drive.<br /><br />The unit can also act as a Arduino with the right bootloader installed and with a SDcard socket onboard could be useful as generic USB powered datalogger.</span>Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-25576394540411305092016-01-20T10:53:00.000+11:002017-03-01T11:44:04.167+11:00Turtle watches<span style="background-color: white;"><span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif;"><span style="font-size: 13px;"><b>Turtle watches</b></span></span></span><br />
<img alt="No automatic alt text available." height="300" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/12525405_10207509159342547_5907123314634281338_o.jpg?_nc_eui2=v1%3AAeGSByvldrMjavx3sDCZaCFMGShX1FdiwKVV0A2mIA4kUnJnaMupgKXULQ7o39qfeXhAtLBymtuLeK1UcTPSFdq8Hf47xXqu260k3v9jjXum7Q&oh=8622d48e7b992bc14fda79d25d3096ec&oe=5932AB66" width="400" /><span style="background-color: white;"><span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif;"><span style="font-size: 13px;"><b><br /></b>Something I have been building in my free time over Xmas for some friends. Some wireless smart watches that can be used to help find friends and communicate at festivals and other locations outside of mobile range or places too loud to use radios. </span></span></span><br />
<br style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 13px;" />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;">They create their own wireless mesh network so no need for anything more than just a few of them, also has a beeper and vibration motor so they can vibrate and beep when you come into range of someone you have not seen for a while</span><br />
<br style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 13px;" />
<span style="background-color: white;"><span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif;"><span style="font-size: 13px;">And because I like a challenge all coded on an 8bit processor with <30KB flash and 2KB ram (and still have room to grow). This allows me to get 48hrs battery life but also has USB charging without using and advanced power optimization in code (like sleep or synchronized time slotted wireless).</span></span></span><br />
<span style="background-color: white;"><span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif;"><span style="font-size: 13px;"><br /></span></span></span>
<img alt="No automatic alt text available." height="320" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/12615344_10207509194503426_7452269867087386560_o.jpg?_nc_eui2=v1%3AAeE9iCBSLCPYp4yrK336KLx46Nne_F-APsnUly9HPNpq3x5elf-LJUC7yjnYQKtCuZD2mDt8M3nFCKgEZ0ShV-IuJrNNm-hUPFv77YuKq02SEg&oh=287276b454e63dea4c3d3a26979cc804&oe=5972E1A7" width="240" /><img alt="No automatic alt text available." height="240" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/12615733_10207509194463425_8649431018400469080_o.jpg?_nc_eui2=v1%3AAeFXNrVqqzi6rWlZxrQAuGqjd81TPCnt_RHf9rtrenccqdz5ZxFFlvHfac03BCsOoj9_hfN-Q0MNS6ttXC3UOoUzC9EJpVinRSGqzwbvyXl5BA&oh=439c7e0c9a3adf7745b3460cf8da3602&oe=596C61F2" width="320" /><br />
<br />
<br />
<span style="background-color: white;"><span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif;"><span style="font-size: 13px;">Decided to change the form factor to a more candy bar shape as would be much more durable than a watch</span></span></span><img alt="No automatic alt text available." height="320" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/12485855_10207509194543427_4193446584235135477_o.jpg?_nc_eui2=v1%3AAeGT4LIkAjCtXv58h2kX8-7VwtY4y8z01m8GK0_C1db60IWCEgPBC7STamEjdxjK0inHzzKBAhpIHSyLS34GSwzIWtbrhgP8wQ1ZH1NTitNTng&oh=6402d39fe125a4a0395d4df901fb6bed&oe=5970D13F" width="240" /><a href="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/12605409_10207509231224344_28996283090904411_o.jpg?_nc_eui2=v1%3AAeHnAeZ4_9v3KHUP3cDCGwfv3cbuYPQtQTVEjUiubuDN4ijo6rxt5s565BTKEONRgfChX7Ycfz23ZxQOCPIsuxQQDNaeqL6srSy282JU4QISCA&oh=702b27b8179d69afe203b1be92ab6ea2&oe=5936DB36" imageanchor="1"><img alt="No automatic alt text available." border="0" height="240" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/12605409_10207509231224344_28996283090904411_o.jpg?_nc_eui2=v1%3AAeHnAeZ4_9v3KHUP3cDCGwfv3cbuYPQtQTVEjUiubuDN4ijo6rxt5s565BTKEONRgfChX7Ycfz23ZxQOCPIsuxQQDNaeqL6srSy282JU4QISCA&oh=702b27b8179d69afe203b1be92ab6ea2&oe=5936DB36" width="320" /></a><br />
<br />
<br />
<img alt="No automatic alt text available." height="400" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/1933504_10207509292145867_3195911697338338767_o.jpg?_nc_eui2=v1%3AAeH9fHtdRd1pAbZ-OKRS34vELFwCcyKEJHILUIH8HLRVNyGJ81VpvGgt03Gn0kxoJ6lkcLGZb1ZN1KbsiwZdtSbnFN0qIWOmGVk9CJvH3-faJQ&oh=1b21954bc2729c03baba64f70cb3e7d5&oe=5927E31E" width="300" /><span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif;"><span style="font-size: 13px;"><br />Prototype/relay node. These guys are much bigger but have proven to have a range of over a km from </span></span><br />
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;">basestation</span><br />
<br />
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;"><b>Text </b></span><span style="color: #1d2129; font-family: helvetica, arial, sans-serif;"><span style="font-size: 13px;"><b>messaging</b></span></span><br />
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;">Unlike messaging on most devices the watches work on a word list (text fragment) system. <br />This means that most sentences can be formed using the following structure:<br />[Who/Name] & [Action] & [Location/Item] & [State/Extra]<br />This means using predefined text fragment system you can create a messages like<br />"Robert" "bring" "snacks" "please"<br />or<br />"Everyone" "meet at" "camp" "1hr"</span><br />
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;"><br />Having word lists allows a user to generate a message by selecting the text fragment they want from the from the word list using the arrow keys. This also allows messages to be transmitted as a single 4byte payload and message storage to be just as small. </span><br />
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;"><br /></span>
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;"><b>Radio</b></span><br />
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;">The original hardware design was to have it as a dual radio device utilizing both a nRF24L01+ 2.4Ghz and a SI4432 433Mhz radio and the network stack designed to be able to support this as well as radio bridging and basic meshing but with testing I found the SI4432 radios suffered from bad packet loss issues and performed worse than the nRF24L01+ so it was dropped from the final design.<br /><br />For the next design I have some LoRa radio modules that I am going to use. I will still use the nRF24L01+ for proximity detection but the ESP32 does look to have a many features like WiFi and Bluetooth that could also be used as well as having a much more powerful processor for the same power cost. </span><br />
<div>
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;"><br /></span></div>
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;">For future versions I am planning on going to a star network topology, This should improve message delivery as a single gateway in the centre of the network can receive, buffer and deliver the message for users that are out of range. This will also allow me to implement a wireless synchronized time slotted protocol so I can reduce the device power consumption when idle by sleeping the radio and processor to increase the battery life from days to months.</span><br />
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;"><br /></span>
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;"><br /></span>
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;"><br /></span>
<span style="color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 13px;"><br /></span>
<br />Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-14857061762081945152015-06-04T10:15:00.000+10:002017-03-01T10:23:34.846+11:00Bearstrike ESP8266 nRF24L01+ node hubs<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px;">Again overdue for an update. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px;"><br /><b>ESP-HUB</b></span><br />
<div>
<img alt="No automatic alt text available." height="556" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/11270403_474304316051769_4864754812863290587_o.jpg?_nc_eui2=v1%3AAeGluulO0VmnGzvoa3yo8nUt2xpPb1t_5LEenifQBB6YI05D95ELfunCsLBh4aR4nm2GD1DilHd6tITyRjV1ewZMXSibnZ_NtoQTZMB0u0AHCQ&oh=e6ef8c6ce72820214fdef774061ba70c&oe=593B6DD9" width="640" /></div>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px;">Here is the latest piece of hardware. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px;">This board is the latest Hub board, The purpose of this board is to bridge the low powered wireless used by other devices like headsets and taggers to standard 802.11BGN to connect to a cloud hosted game server. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px;">It also comes with a 1000mAh Lithium ion battery as well as onboard USB charging. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px;">The processor has also been given a big upgrade over the last one now that it uses the ESP8266 which is a 32bit processor as opposed to the 8bit processor commonly found in Arduinos. </span><br />
<span style="background-color: white; color: #1d2129; font-family: "helvetica" , "arial" , sans-serif; font-size: 14px;">Currently it supports connecting to existing networks as well as creating it's own wireless network simultaneously so opens up the possibility of phone apps.</span>Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-18518621831221750082015-03-26T10:21:00.000+11:002017-03-01T10:23:05.877+11:00Prototype Bearstrike tagger<span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;">Here are some photos of the current tagger prototype (long version) still needs a bit of work but is getting there.</span><br /><br />
<img alt="No automatic alt text available." height="326" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/11082373_445095062306028_8232206047479355480_o.jpg?_nc_eui2=v1%3AAeG64S_sAAwifarhBptYy7VYfCmwQJvo2CWFLY8i__Xej-LbOHlo4rVGdbrV3qOtmuEmCedIClZSq9XuEP5EmGdjvL89XhcW-1E8P7m40pl6Zg&oh=b59b8af26a97ea1bedcc1e342c86dde7&oe=593FD052" width="640" /><br />
<br />
<br />
<img alt="No automatic alt text available." height="436" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/11076200_445095065639361_5792440620923833163_o.jpg?_nc_eui2=v1%3AAeFxrMNf8IrkFN7BtOs1KP1Bkgs1LWXf4PPg5dY4PbcBU2BBS8Ix_BrFICRVTlGlXixLlEQkligDef43XImkskEEfRuerfP9WnAqWGEL-cJAKQ&oh=f2bb62b6bcd3f0ee5e3ae04e26b0654b&oe=5972BA0C" width="640" /><br />
<br />
<img alt="No automatic alt text available." height="500" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/11054791_445095052306029_5422740664804150693_o.jpg?_nc_eui2=v1%3AAeHkTcejq5j7g71SBD5NKuubRtjB1T16QPm8L0mdGO6xaPwV4sXPBWH4XoiuDG2so3Zrqx5AHZvG7CEXY7FixTWhsI7-E9r_zaA7SXzfLqhX7A&oh=e0a78e94a7e330335c01b72713b00d31&oe=592F6F7D" width="640" /><br />
<span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;">With smart ammo</span><br />
<span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"><br /></span>
<span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"><br /></span>Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-25423890058983958832015-03-15T10:26:00.000+11:002017-03-01T10:27:06.325+11:00Bearstrike update: Admin boxes, taggers <br />
<b><span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;">Admin/util/support boxes.</span></b><span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;">I think this one might be too small now. With its own custom board now with buttons and screen mounted to the board directly things are a lot more compressed now. This could also be used to make a mini pistol tagger with the addition of a lens and a few other parts.</span><br />
<img alt="No automatic alt text available." height="437" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/11036074_442053862610148_3271387531934191460_o.jpg?_nc_eui2=v1%3AAeHF9udhfoFo2ga8l76CJFeHrYipiVW0ajWocOGKpNxY4HWmSWyaxrD2_wVKlM7oD2ECoatpXmatbRGQ-qJ6dqOve-6Xf1P5ILbN1NU6SWw6Tg&oh=b65a750348f1397a084509f453f2ce5a&oe=5970AE30" width="640" /><br />
<span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"><b><br /></b></span>
<span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"><b><br /></b></span>
<span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"><b>Tagger case.</b></span><br style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;" /><span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;">The case for the tagger is progressing nicely, most work now is the mounting internals for the electronics.</span><br />
<img alt="No automatic alt text available." height="585" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/11075178_442053899276811_2120185449406328804_o.jpg?_nc_eui2=v1%3AAeGCVINtUg25SoUxzzf6JPt7Tk1DsRdCJcDlNXRj0CH_smp61p70yTfXTcPRDtlhCbrI3u-zQwL1Gtht9BHNAjRo82ft4Bz7tcAB9le16KFoTA&oh=9e6ff4b8028c5ce756b039edff710716&oe=596F3108" width="640" />Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-46772210081501874602014-10-02T10:33:00.000+10:002017-03-01T10:34:53.292+11:00Bearstrike server sneak peek<span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"><b>Bearstrike Server</b></span><br />
<img alt="No automatic alt text available." height="330" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/1094475_369895093159359_1383088386092008668_o.jpg?_nc_eui2=v1%3AAeHaxbql7ocK54uaswSGEHnrCxwtYH_KaV_YXBK4RUJptq48ZH2inuYHrRsa2QpsitO5r-KbHcMGpG1XipdMvm7Jsk61rjdW9oupM5EtmNKUoQ&oh=3fa6f9224c52c815ffcee5c3c6106153&oe=59380111" width="640" /><br />
<span style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"><br /></span>
<span style="background-color: white;"><span style="color: #1d2129; font-family: Helvetica, Arial, sans-serif;"><span style="font-size: 14px;">Work has started on creating a back end Bearstrike server. The server is designed to manage all aspects of hardware and gameplay but if you want something more <a href="https://www.facebook.com/techassault/">Techassault</a> have also integrated support for the Bearstrike hardware into their game platform.</span></span></span>Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-1686471669962254842014-06-04T10:38:00.000+10:002017-03-01T10:39:34.334+11:00Bearstrike boards have arrived!<b>Bearstrike boards have arrived!</b><br />
<img alt="No automatic alt text available." height="270" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t31.0-8/10383736_319367221545480_8803053365421733068_o.jpg?_nc_eui2=v1%3AAeHSU1KS6WTdOI0NY24auUm1PMUqmivAsGpub-2Hrq1KyQeTF_w_x18si1cnTZDF15tPDx78e3JdI2zDEiLSOmoKg2DGdyQkdOKHdIYuSIgufw&oh=3d922a7994b11c5ab32c4039696137fd&oe=5940F8E2" width="640" /><br />
<span style="background-color: white; color: #1d2129; font-family: inherit; font-size: 14px;">I think I need a bigger table.</span><br />
<span style="background-color: white; color: #1d2129; font-family: inherit; font-size: 14px;"><br /></span>
<span aria-live="polite" class="fbPhotosPhotoCaption" data-ft="{"tn":"K"}" id="fbPhotoSnowliftCaption" style="background-color: white; color: #1d2129; display: inline; font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 18px; outline: none; width: auto;" tabindex="0"><span class="hasCaption" style="font-family: inherit;">It is a bit scary when you look at that pile and think that is 90 players/Zombies & 90 taggers and that number does not include already staged units.<br />I would so love to round up 110+ players to test out all the prototypes at the same time, would make for some epic gameplay chaos.<br /><br />Now to start QA'ing and updating all the boards.</span></span><br />
<div>
<span aria-live="polite" class="fbPhotosPhotoCaption" data-ft="{"tn":"K"}" style="background-color: white; color: #1d2129; display: inline; font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 18px; outline: none; width: auto;" tabindex="0"><span class="hasCaption" style="font-family: inherit;"><br /></span></span></div>
Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-17450295509677252652013-10-28T11:12:00.002+11:002013-10-28T11:12:56.474+11:00RFnode PlayerZ update2<span style="font-family: Verdana, sans-serif;">Much has changed since my last update.</span><span style="font-family: Verdana, sans-serif;">I now have Zombies and Taggers working and the features list is growing by the day. Even have IFF working.</span><span style="font-family: Verdana, sans-serif;"><br />For more realtime updates check out the photos here </span><br />
<a href="https://www.facebook.com/BearocraticDesigns">https://www.facebook.com/BearocraticDesigns</a>Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-80129615123372174822013-09-19T10:41:00.000+10:002013-09-19T10:41:01.968+10:00RFnode PlayerZ update<span style="font-family: Verdana, sans-serif; font-size: x-small;">More progress.<br /><br />I picked up some Playstation Sharpshooter controllers and converted them with some of the old parts I had. The units are using the older RFnodeB1 board which was not designed for this but still works well. I am due to receive my PlayerZ boards in about 2 weeks and enough parts to make at least 10 zombies(with sound modules) </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><a href="http://2.bp.blogspot.com/-ONVwLi9bkMg/UjpCTNp0kqI/AAAAAAAAdh0/E-HwFMImbO8/s1600/IMG_8712.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="425" src="http://2.bp.blogspot.com/-ONVwLi9bkMg/UjpCTNp0kqI/AAAAAAAAdh0/E-HwFMImbO8/s640/IMG_8712.jpg" width="640" /></a></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">I now have a total of 5 working taggers. The Sony Sharpshoot case works well as it has 8 buttons and plenty of space (and is cheap). Currently I have all buttons connected and working but not all assigned to functions yet.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /><br />Head sensor is also working using the RFnodeB1 board.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><a href="http://2.bp.blogspot.com/-4HUD_sHsHYw/UjpDzOB7xJI/AAAAAAAAdiE/nEl1_6tt2TA/s1600/2013-09-13+15.51.42.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="http://2.bp.blogspot.com/-4HUD_sHsHYw/UjpDzOB7xJI/AAAAAAAAdiE/nEl1_6tt2TA/s640/2013-09-13+15.51.42.jpg" width="640" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><a href="http://2.bp.blogspot.com/-8TS8xelUjjA/UjpDy7bbh9I/AAAAAAAAdiA/fDVd0tEpkBs/s1600/2013-09-13+15.51.52.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="http://2.bp.blogspot.com/-8TS8xelUjjA/UjpDy7bbh9I/AAAAAAAAdiA/fDVd0tEpkBs/s640/2013-09-13+15.51.52.jpg" width="640" /></a></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">The head unit runs the full version of my PlayerZ code so is the only piece of hardware you need to play (but you might want something to shoot with too). The final version will have more IR LEDs on the front for doing Zombie damage, currently I have just one for testing and using it combined with wireless for Zombie damage.<br /><br />I am also waiting for the sound modules and speakers so they are missing from the above. I have coded using both a sound module(WTV020) that plays WAV files from the microSD card as well as using a PC speaker style buzzer.<br /><br />I have also started a Facebook page for my projects, come like me.<br /><a href="https://www.facebook.com/pages/Bearocratic-Designs/229392603876276" target="_blank">https://www.facebook.com/pages/Bearocratic-Designs/229392603876276</a></span></div>
Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-3924832637687128182013-09-10T15:47:00.001+10:002013-10-28T11:09:02.079+11:00RFnode PlayerZ (MilesTag based LaserTag)<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">A few months ago I was introduced to Laser skirmish and I am not talking about the little kids game or walking around with a flashing vest and a sci-fi pistol that has a range of a few meters but taggers of a realistic look/weight/range and sound(</span></span><a href="http://www.techassault.com.au/" target="_blank">Tech Assault</a><span style="font-family: Verdana, sans-serif; font-size: x-small;">). Since then I became a little hooked and in wanting to bring more to the game I started working on a new project. With prototypes on my desk and purpose build boards designed by me on there way I can hardly contain my excitement.</span><br />
<h2>
<span style="font-family: Verdana, sans-serif;">Overview<o:p></o:p></span></h2>
<div class="MsoNoSpacing">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">The RFnode playerZ board is an Arduino based board
designed for laser tag. The software is based off the Miles Tag protocol version
1 so is compatible with other systems based that are also using this protocol. <o:p></o:p></span></div>
<div class="MsoNoSpacing">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">Each board contains a radio that is used to realtime
scoring, proximity functions, wireless configuring and node grouping (a number
of nodes can make up a player).<o:p></o:p></span></div>
<div class="MsoNoSpacing">
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">The board is designed to be ether a Zombie headset to be
worn by a player or as the internals of the Laser tagger. </span><o:p></o:p></span></div>
<h2>
<span style="font-family: Verdana, sans-serif;">Features<o:p></o:p></span></h2>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Verdana, sans-serif; font-size: x-small;">·
<!--[endif]-->Arduino core (powered by an ATmega328)<o:p></o:p></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Verdana, sans-serif; font-size: x-small;">·
<!--[endif]-->Sound support (uses a WTV020 sound module with
support of upto 512 different sound files stored on a microSD card)<o:p></o:p></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Verdana, sans-serif; font-size: x-small;">·
<!--[endif]-->Radio support (uses the nRF24l01+ radios with
signal range upto 1km*)<o:p></o:p></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Verdana, sans-serif; font-size: x-small;">·
<!--[endif]-->Programmable radio output: radio can be set to
only send short range signals that are only received by other nodes within a
few meters. <o:p></o:p></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Verdana, sans-serif; font-size: x-small;">·
<!--[endif]-->Low cost (our target cost is that you are up and
playing for less than $100)<o:p></o:p></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Verdana, sans-serif; font-size: x-small;">· 1Wire/iButton support (for ingame pickups)<o:p></o:p></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Verdana, sans-serif; font-size: x-small;">·
<!--[endif]-->i2c support<o:p></o:p></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Verdana, sans-serif; font-size: x-small;">·
<!--[endif]-->TTL UART support (used for debugging and
supports commands)<o:p></o:p></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Verdana, sans-serif; font-size: x-small;">·
<!--[endif]-->6 button input (more can be added) <o:p></o:p></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Verdana, sans-serif; font-size: x-small;">·
<!--[endif]-->56Khz IR emission and reception (depending upon
lens setup has a range of over 200m)<o:p></o:p></span></div>
<div class="MsoNoSpacing" style="margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">·
<!--[endif]-->Lithium battery with micro USB charger built in.
</span><o:p></o:p></span></div>
<h2>
<span style="font-family: Verdana, sans-serif;">Zombie headset mode<o:p></o:p></span></h2>
<div class="MsoNoSpacing">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">Each headset has 2 IR leds for emitting short range
Zombie damage from the Zombies head to any other player within range. Zombie
damage is also transmitted via low powered RF to other players within 2-3
meters of the zombies. <o:p></o:p></span></div>
<div class="MsoNoSpacing">
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">Zombies have IR hit sensors positioned on the front and
back of the head. </span><o:p></o:p></span></div>
<h2>
<span style="font-family: Verdana, sans-serif;">Tagger mode<o:p></o:p></span></h2>
<div class="MsoNoSpacing">
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">The board (node) can also be used as the internals of a
player’s tagger. The player can choose to have a head sensor wired to the
tagger (Currently how most laser tag is played) or the node can be grouped to a
player wearing a Zombie headset. <br />
Can be added to Nerf guns in a none destructive way (clips to Nerf rails). </span><o:p></o:p></span></div>
<h2>
<span style="font-family: Verdana, sans-serif;">Node Player grouping<o:p></o:p></span></h2>
<div class="MsoNoSpacing">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">The MilesTag protocol only supports 256 unique players (8
teams of 64 players). For us to be compatible with MilesTag and compatible
systems this affects us too but it only affects the IR data, our radio code
supports 65025 unique nodes. <o:p></o:p></span></div>
<div class="MsoNoSpacing">
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">We have designed it so any number of nodes can be
assigned to a player, this means that if we wanted too we can assign 1000
taggers to one player or 1000 headsets to one player. If you want to have
multiple taggers per game we support it </span><o:p></o:p></span></div>
<h2>
<span style="font-family: Verdana, sans-serif;">Radio Proximity<o:p></o:p></span></h2>
<div class="MsoNoSpacing">
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">We have radios with programmable output so we can control
the range to add proximity based game elements. We use this to do Zombie damage
if you are within 2-3 meters of a zombie but we use this also for a number of
other features like Capture points, if you are with an area with a capture node
you can capture it. We also support the sending and receiving of powerups from
nodes, if you want to be a medic you can but watch out for the </span><o:p></o:p></span></div>
<h2>
<span style="font-family: Verdana, sans-serif;">In Game PickUps<o:p></o:p></span></h2>
<div class="MsoNoSpacing">
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">As the boards support iButtons we can use these for in
game pickups. This could be used for items like weapon upgrades, health packs
or game objectives hidden around the playing field. We also support wireless
Pickups too. </span><o:p></o:p></span></div>
<h2>
<span style="font-family: Verdana, sans-serif;">Backend Server Support<o:p></o:p></span></h2>
<div class="MsoNoSpacing">
<span style="font-size: x-small;"><span style="font-family: Verdana, sans-serif;">Our nodes like to talk to our server and our server can
talk back. Not only do we use this for real time scoring but we can also use
this to send you power ups mid game. Don’t like your taggers gun profile? Just use
your smartphone or a connected device to select a new one and we will update
your tagger with a new one. Want to know where you team is? We can tell you
which nodes they are near on a map. Want to know your stats mid game? we can
give you more data then you poke sharp
stick at. </span><o:p></o:p></span></div>
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-SjhWsNy1S6E/Ui62BXYBSTI/AAAAAAAAdQs/swVswTq0NV0/s1600/2013-09-06+20.58.40-1920.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="http://4.bp.blogspot.com/-SjhWsNy1S6E/Ui62BXYBSTI/AAAAAAAAdQs/swVswTq0NV0/s320/2013-09-06+20.58.40-1920.jpg" width="240" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-family: Verdana, sans-serif;">One of the new designs compared with RFnodeB1 board used in current prototypes.</span></td></tr>
</tbody></table>
<br />
<div class="MsoNoSpacing">
<o:p><span style="font-size: x-small;"></span></o:p><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="font-size: x-small;">
</span></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-gTRoyhnzoms/Ui61xnWvFVI/AAAAAAAAdQk/FlPgFuWidlU/s1600/2013-09-10+14.38.11-1920.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="http://2.bp.blogspot.com/-gTRoyhnzoms/Ui61xnWvFVI/AAAAAAAAdQk/FlPgFuWidlU/s320/2013-09-10+14.38.11-1920.jpg" width="240" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-family: Verdana, sans-serif;">My Modded Nerf gun with attached board and lens. Nerf gun is dual purpose can be used for lasertag and can still fire Nerf.</span></td></tr>
</tbody></table>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-36664678680434983142013-05-02T17:57:00.002+10:002013-05-02T17:57:56.400+10:00Windows Commandline & Batch file tricks Part 1<span style="font-family: Verdana, sans-serif;">Here are some little useful Windows command line tricks that could be used in batch files. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<span style="font-family: Verdana, sans-serif;">This example will loop only a set number of times, Also useful for counting the number of times a loop has run.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">@echo off</span></span><br />
<br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"> set counter=1</span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif; font-size: x-small;">:loop</span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"> echo looped %counter% times</span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"> echo do something</span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"> if %counter% == 10 goto end </span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif; font-size: x-small;"> set /a counter=%counter% +1</span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;">goto loop</span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif; font-size: x-small;">:end </span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"> echo Loop ran %counter% times</span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Filename friendly date, Sometimes you want to use the current date to generate a filename so can't use %date% as you normally get something like "Thu 16/05/2013". An easy way to reformat it to YYYYMMDD is as below. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">@echo off</span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;"> set today=%date:~10,4%%date:~7,2%%date:~4,2%</span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;"> echo %today%</span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;"><br /></span></span>
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;"> echo and a sample file<br /> echo %date% %time% >>%today%.log</span></span><br />
<br />
<br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Detect if Windows 32/64 bit. Some times you need to know if the script is running on a 32 bit or 64 bit version of Windows from the commandline. This allows the scripts to do different things depending upon the version of Windows.(Like use the "<span style="font-size: x-small;">C:\Program Files (x86)\</span>"path instead of "<span style="font-size: x-small;">C:\Program Files\</span>") </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">@echo off</span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">if defined ProgramFiles(x86) (</span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;"> echo Is 64 bit version of windows</span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">) else (</span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;"> echo Is 32 bit version of windows</span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">)</span></span><br />
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<br />
<br />
Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-1406739736197457422013-02-04T18:42:00.000+11:002013-06-16T16:43:02.889+10:00Gardening for geeks Part 1<h3>
<b style="font-family: Verdana, sans-serif;">Problem:</b></h3>
<span style="font-family: Verdana, sans-serif;">I like many like to grow things, normally herb and a few small fruit shrubs but the problem I run into is that </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><b>Outside </b></span><span style="font-family: Verdana, sans-serif;">It can be too hostile for some plants. They have to deal with Melbourne weather (-5C to 45C, hot & dry) and a larger array of insects and animals that will eat anything.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><b>Inside </b></span><span style="font-family: Verdana, sans-serif;">It can be too dark for most plants and the amount of space near windows could be limiting or none existent</span><span style="font-family: Verdana, sans-serif;"> (I commonly see dying plants on people office desks due to lack of light or care)</span><span style="font-family: Verdana, sans-serif;"> </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<h3>
<b style="font-family: Verdana, sans-serif;">Solutions:</b></h3>
<span style="font-family: Verdana, sans-serif;"><b>Outside</b> I could put together a greenhouse but this does not really sound like one of my projects, I might have to do this for winter to protect some of my small fruit shrubs from the winter frost/wind.</span><br />
<br />
<span style="font-family: Verdana, sans-serif;"><b>Inside</b> I could setup some grow lights but I am not keen of large Kilowatt lighting commonly used with indoor hydroponics systems. Instead I would like something a lot smaller/cheaper/power efficient. I know it should be possible to use LEDs which are small, cheap and power efficient. I have read about experiments that NASA was doing with growing with red/blue LEDS (most plants reflect green not absorbing it hence they look green) so I thought I would give it a try. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<b style="font-family: Verdana, sans-serif;"><br /></b>
<br />
<h3>
<b style="font-family: Verdana, sans-serif;">Project:</b></h3>
<b style="font-family: Verdana, sans-serif;">Goal</b><br />
<span style="font-family: Verdana, sans-serif;">Is to see if I can grow under artificial</span><span style="font-family: Verdana, sans-serif;"> light using only a small amount of power creating a smart USB powered plant for my office desk. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><b>Method</b></span><br />
<span style="font-family: Verdana, sans-serif;">I will try and grow lettuce using red and blue LEDs as the light source, To figure out which light they like more I will have red LEDs on one side and blue on the other side as plants normally grow towards the light.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">To mount the LEDs I will just use breadboards so I can easily change the LEDs to try other colors. I would be interested to know how well you could grow plants under light like IR which is not visible to humans (for those that don't want a glowing plant on their desk) </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Adding smarts, I would not mind making the grow environment completely controllable. So this would include using an Arduino to control the lighting, a water pump and monitor some sensors (like soil moisture, ambient light). Adding a internet connection and web interface is also on the list of features (maybe even a IP camera too)</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-4LJxkaPtQ8c/URGQyFVhZdI/AAAAAAAATtQ/4TdhgNjPHDs/s1600/IMG_20130206_100400.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="http://3.bp.blogspot.com/-4LJxkaPtQ8c/URGQyFVhZdI/AAAAAAAATtQ/4TdhgNjPHDs/s640/IMG_20130206_100400.jpg" width="640" /></a></div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"> </span><br />
<span style="font-family: Verdana, sans-serif;"><b>Questions</b></span><br />
<br />
<ul>
<li><span style="font-family: Verdana, sans-serif;">Can you grow lettuce upside down with the lights under it? I think it would just look cool on you office desk to see a plant happily growing upside down. It would look outright trippy to see you growing upside down from your ceiling.</span></li>
<li><span style="font-family: Verdana, sans-serif;">How low can the power consumption go? </span></li>
<li><span style="font-family: Verdana, sans-serif;">Which light source is best (IR, Red, Blur, UV)?</span></li>
<li><span style="font-family: Verdana, sans-serif;">If I was on a space ship how much space/power would I need to feed my self? but as I am not a fan of eating only lettuce I might have to do something on the lines of the bellow<br />Lettuce>Rabbit>Me<br />Lettuce>Grubs>Chicken>Me</span></li>
<li><span style="font-family: Verdana, sans-serif;">Would it be better to do it underwater?</span><br /><span style="font-family: Verdana, sans-serif;">Algae/water plants>Fish>Me</span></li>
</ul>
<br />
<br />Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-33702244964168043272012-10-29T10:11:00.000+11:002012-10-29T10:12:09.874+11:00Garden Gnome update<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-0ahqUJaG5EU/UI24NbFY6HI/AAAAAAAAMuQ/lJyNm2LfG0E/s1600/IMAG0882.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="382" src="http://2.bp.blogspot.com/-0ahqUJaG5EU/UI24NbFY6HI/AAAAAAAAMuQ/lJyNm2LfG0E/s640/IMAG0882.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">I presented my Gnome project the other night at a meetup and he gathered enough interest to win me a $500 gift voucher :). Seems people like the idea of a house/yard full of little wireless nodes crammed w</span><span style="font-family: Verdana, sans-serif;">ith sensors and RGB leds with the ability to respond to events. </span><br />
<br />
<span style="font-family: Verdana, sans-serif;">I I do like the idea of having pot plants change color if I get an email (different plant per email account) or a yard that glows red if someone is detected in there at night.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-69884723297983988732012-10-22T16:02:00.000+11:002012-10-22T16:49:07.848+11:00Projects of interest<span style="font-family: Verdana, sans-serif;">Hi Peoples,</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">I have 3 projects that I am starting on but want to gauge interest levels. </span><br />
<span style="font-family: Verdana, sans-serif;">All 3 projects will be the basses for other bigger projects.<br />Projects 2 & 3 are the easiest as I have already done them before in concept.</span><br />
<span style="font-family: Verdana, sans-serif;">Project 1 has the most potential in my mind but requires me to work with an overseas vendor with less control over the project. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<b style="font-family: Verdana, sans-serif;"><u>Project 1, Arduino Wifi access point shield/Cloud connected Arduino.</u></b><br />
<b style="font-family: Verdana, sans-serif;">Backgound:</b><br />
<span style="font-family: Verdana, sans-serif;">Currently you can get Wifi shields and network shields for Arduinos but the Arduino lacks the resources to use the full potential of the these, this includes full featured web pages and full network stack. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">In looking for ways to bridge my RFnodes to the internet I have played around with openWRT and using Arduino to control pocket sized Wifi routers. I have come across small Wifi device that can be used as a accesspoint or in client mode, has 1mb of web space and has a TTL UART for connecting serial devices like an Arduino. The serial port can be used to pass data back to a web service allowing you to have a cloud connected Arduino project. As it only uses the TTL RX/TX pins you have all you other pins free for you project and only requires you to include code if you want to configure the Wifi shield.</span><br />
<span style="font-family: Verdana, sans-serif;">You can create web pages in the shield that would allow you to send data to Arduino project and has support for a camera, so you can even create a wifi controlled pan/tilt camera.</span><br />
<span style="font-family: Verdana, sans-serif;"> </span><br />
<span style="font-family: Verdana, sans-serif;"><b>Goal:</b> </span><br />
<span style="font-family: Verdana, sans-serif;">Bridge Arduino projects to the internet via Wifi.</span><br />
<span style="font-family: Verdana, sans-serif;">Make it easier for internet controlled Arduino projects with web interfaces and support web services/cloud services.</span><br />
<br />
<span style="font-family: Verdana, sans-serif;"><b>Specs:</b></span><br />
<span style="font-family: Verdana, sans-serif;">802.11BG router with support for AP/STA mode<br />TTL UART<br />1MB user space for web pages and scripts</span><br />
<br />
<span style="font-family: Verdana, sans-serif;"><b>Risks&issues:</b></span><br />
<span style="font-family: Verdana, sans-serif;">Still scoping</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><b><u>Project 2, Arduino with H-bridge and Bluetooth</u></b></span><br />
<br />
<b style="font-family: Verdana, sans-serif;">Backgound:</b><br />
<div>
<span style="font-family: Verdana, sans-serif;">I am looking to make a small PCB with an Atmega88/168/328 with support for the Arduino IDE. The design will be based around the RFnode but without the radio and a 2 channel H-bridge and TTL Bluetooth UART module in its place.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">The board will support 2 </span><span style="font-family: Verdana, sans-serif;">bidirectional </span><span style="font-family: Verdana, sans-serif;">motors and with Bluetooth can be paired and controlled by almost any smartphone.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">So making something like a little robot tank that is controlled by your phone will be an trivial task.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Board will be programmed via USB using the V-USB, This also supports making the board act as a HID keyboard/mouse/...</span><br />
<br /></div>
<div>
<span style="font-family: Verdana, sans-serif;"><b>Goal: </b></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Create a low cost small Bluetooth Arduino with onboard H-Bridge.<br />By creating a </span><span style="font-family: Verdana, sans-serif;">standard smartphone </span><span style="font-family: Verdana, sans-serif;">compatible </span><span style="font-family: Verdana, sans-serif;">Bluetooth robot board we might get some more app developers onboard.</span></div>
<br />
<span style="font-family: Verdana, sans-serif;"><b>Specs:</b></span><br />
<span style="font-family: Verdana, sans-serif;">+ V-USB Arduino (</span><a href="http://www.obdev.at/products/vusb/index.html">http://www.obdev.at/products/vusb/index.html</a><span style="font-family: Verdana, sans-serif;">)</span><br />
<span style="font-family: Verdana, sans-serif;">+ 2 channel </span><span style="font-family: Verdana, sans-serif;">H-Bridge with support for 2 motors</span><br />
<span style="font-family: Verdana, sans-serif;">+ Bluetooth UART module</span><br />
<br />
<span style="font-family: Verdana, sans-serif;"><b>Risks&issues:</b></span><br />
<span style="font-family: Verdana, sans-serif;">+ Cost to assemble may make this non-</span><span style="font-family: Verdana, sans-serif;">economical unless can get numbers</span><br />
<br />
<br />
<br />
<span style="font-family: Verdana, sans-serif;"><b>Project 3, Low cost Atmega88 based Arduino </b></span><br />
<br />
<span style="font-family: Verdana, sans-serif;"><b>Backgound:</b></span><br />
<div>
<span style="font-family: Verdana, sans-serif;">There have been a few Attiny boards starting to popup that support the Arduino IDE. These boards use the Attiny instead of the Atmega as they are cheaper but do not have all the features of an Atmega. Not only do they not have as much Ram/Flash/Eprom but are also lacking support for some Arduino functions.<br /><br />An Atmega88 is compatible with a Atmega168/328 and so the Arduino IDE but almost the same price as the Attiny. It should be possible to create a low cost Adruino clone for less then $5 worth of parts. </span></div>
<br />
<span style="font-family: Verdana, sans-serif;"><b><br /></b></span>
<span style="font-family: Verdana, sans-serif;"><b>Goal: </b></span><br />
<span style="font-family: Verdana, sans-serif;">Low cost Atmega88 Arduino board for less then $5</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><b>Specs:</b></span><br />
<span style="font-family: Verdana, sans-serif;">+ Atmega88(6k application space)</span><br />
<span style="font-family: Verdana, sans-serif;">+ V-USB Arduino (</span><a href="http://www.obdev.at/products/vusb/index.html">http://www.obdev.at/products/vusb/index.html</a><span style="font-family: Verdana, sans-serif;">)</span><br />
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<br />
<span style="font-family: Verdana, sans-serif;"><b>Risks&issues:</b></span><br />
<span style="font-family: Verdana, sans-serif;">+ SMD parts (to hard for most people to solder)</span><br />
<span style="font-family: Verdana, sans-serif;">+ Cost to assemble may make this non-economical and more expensive then a full feature Arduino unless can get done in large numbers</span><br />
<br />
<br />
<br />Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-79573163311417338502012-10-11T11:53:00.000+11:002012-10-11T11:53:25.925+11:00A smarter garden Gnome<span style="font-family: Verdana, sans-serif;">A smarter garden Gnome.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-YKSHHPWNrko/UHYOUhTHLkI/AAAAAAAAMFw/BGXsrJHcEHw/s1600/IMAG0789.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="382" src="http://1.bp.blogspot.com/-YKSHHPWNrko/UHYOUhTHLkI/AAAAAAAAMFw/BGXsrJHcEHw/s640/IMAG0789.jpg" width="640" /></a></div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Still a work in progress but meet one of my garden gnomes. </span><br />
<span style="font-family: Verdana, sans-serif;"><br />I still need to print him a better case to mount the soil moisture pins better and make him more presentable in general. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">At his heart he is powered by one of my RFnodes so he is wireless and has an array of sensors that he reports on back to the network. He currently reports back the light levels, soil moisture, temperature, humidity and having a RGB led that make him glow any color I can have him signal the plants status or as being network I can use the RGB led to make him (and his friends) signal anything the network want him to.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">I have some small PIR motion sensors I also want to mount as his nose and print a case that can house the bigger batteries required by the RGB led.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-82147512810942900662012-09-27T16:57:00.002+10:002012-09-27T16:57:50.783+10:00Recover Arduino Sketch<h3>
<span style="font-family: Verdana, sans-serif;">How to recover an Arduino sketch from after a program crash or system crash.</span></h3>
<span style="font-family: Verdana, sans-serif;">I was working on some code today then after making a heap of code changes and uploading to boards I walked away from my computer without saving my Sketch. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Due to some other things I was doing at the time Windows crashed and I had not saved my code yet. After a reboot I confirmed that my code was gone but I did not like the idea of that so went digging for it. I know the Hex file is compiled to the %temp% folder so the Sketch must be there too.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">So Start>Run></span><span style="font-family: Courier New, Courier, monospace; font-size: x-small;">%temp%</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">which took me to </span><span style="font-family: Courier New, Courier, monospace; font-size: x-small;">C:\Users\remote\AppData\Local\Temp\</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Then I sorted the folders by date modified and then found this one was timestamped about the same time I last compiled my code.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">C:\Users\remote\AppData\Local\Temp\build262859921630184205.tmp\</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Opening the folder I see a few C++ files and one of them had the same name as my sketch but with a C++ extension. It was my Aduino Sketch it did have a few things added to it to make it C++ compatible (void's) but is was the code I thought I had lost. </span><br />
<br />
<br />Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com3tag:blogger.com,1999:blog-237493471823950747.post-36869179554243434192012-09-25T15:28:00.002+10:002012-09-25T15:28:24.349+10:00Getting ready for more Rapman upgrades<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-YdJnBSgxmGc/UGE00IF4DHI/AAAAAAAALXI/PE4ga0qUe0g/s1600/IMAG0737.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="382" src="http://4.bp.blogspot.com/-YdJnBSgxmGc/UGE00IF4DHI/AAAAAAAALXI/PE4ga0qUe0g/s640/IMAG0737.jpg" width="640" /></a></div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">I have received more parts so soon it will be time to try some more 3D printer mods.</span><br />
<br />
<span style="font-family: Verdana, sans-serif;">Besides more screws, bolts, washers, bearings and plastic I received a few more parts to use.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<ul>
<li><span style="font-family: Verdana, sans-serif;">30mm 12volt fans. One problem I have with my Rapman is that the extruder overheats and jams when printing sometimes. To overcome this issue I upgraded the part cooling fan and ducted it to cool the extruder more then the part and added a 80mm fan to the side of the printer to help cool everything. This mostly works but effect the head heat up time but helps with part cooling(on one side). With the smaller fans installed to only the parts that need them I should be able to control the thermals better and be able to get better print quality.<br /></span></li>
<li><span style="font-family: Verdana, sans-serif;">LEDs. I am going to add some better lighting around the printhead to help the camera (as I normally leave the room lights off).<br /></span></li>
<li><span style="font-family: Verdana, sans-serif;">PTFE TEFLON Tubing. Having a 470gram stepper motor and all the extra supports for it on a printhead seems a little silly to me. I thought that a goal would be to reduce the printheads mass so you don't have to counter/fight as much inertia. So if I mount the fillament feed away from the printhead I and feed the fillament to the printhead via the PTFE tube I should be able to have a printhead that is less then 30% it's current mass. This will allow me to improve the movement speeds of the printhead while reducing the power required to move it and reduce the strain/wobble from the printhead's inertia.<br /></span></li>
<li><span style="font-family: Verdana, sans-serif;">New hotend. The hotend on the Rapman comes sealed in fire cement, on my printhead it is crumbling and leaving what looks like sand everywhere. It is about time for me to replace. I have resurrected the old printhead a few time already but as the resurrections are becoming more involved and makeshift I am expecting it to soon hit a point where I just need to let it die in peace. After it dies I might use it to recycle my waste PLA back into fillament. </span></li>
</ul>
<div>
<span style="font-family: Verdana, sans-serif;">It is now getting to a point where I can almost make a whole new printer, so that might be were this project ends up. I think it should be easy to make a lowcost PLA 3D printer that is a fraction of the price of the current 3D printers available. By limiting it to PLA and dropping the printhead mass you should be able to lower the stepper motor size and power requirement which would allow you to use smaller motors and motor drivers so you could use lower cost of everything leaving you with a smaller cheaper 3D printer. </span></div>
Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-91247603876681301292012-09-22T17:34:00.000+10:002012-09-22T17:36:28.919+10:00Tinkercad Gnome<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">I recently discovered <a href="https://tinkercad.com/">https://tinkercad.com</a>.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">A very user friendly online CAD application that allows you to quickly design 3D objects and download them as STL files ready for 3D printing. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Here is a Gnome I created in just a few minutes.</span><br />
<a href="https://tinkercad.com/things/9NMMuTF6O3s-gnome">https://tinkercad.com/things/9NMMuTF6O3s-gnome</a>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://tinkercad.com/things/9NMMuTF6O3s/t725.png?t=5057d8e3" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="398" src="https://tinkercad.com/things/9NMMuTF6O3s/t725.png?t=5057d8e3" width="640" /></a></div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<span style="font-family: Verdana, sans-serif;">and here is him after I printed.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-1zDxGRE7WcE/UF1olcIGQeI/AAAAAAAALOo/_WdClcX_6AU/s1600/IMAG0601.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="http://1.bp.blogspot.com/-1zDxGRE7WcE/UF1olcIGQeI/AAAAAAAALOo/_WdClcX_6AU/s640/IMAG0601.jpg" width="382" /></a></div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">The Tinkercad UI is very straight forward and basic and only takes a few minutes to learn and master.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-I775UJzEVkI/UF1pu3mLLNI/AAAAAAAALOw/jyNhH2yPWKc/s1600/tinkercad.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="324" src="http://2.bp.blogspot.com/-I775UJzEVkI/UF1pu3mLLNI/AAAAAAAALOw/jyNhH2yPWKc/s640/tinkercad.jpg" width="640" /></a></div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Now for the next step of adding RFnodes to them to create my Gnome army</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-G5SJ_81CT-w/UF1qPuJHA6I/AAAAAAAALO4/QYw6NCH1zAk/s1600/IMAG0632.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="382" src="http://4.bp.blogspot.com/-G5SJ_81CT-w/UF1qPuJHA6I/AAAAAAAALO4/QYw6NCH1zAk/s640/IMAG0632.jpg" width="640" /></a></div>
<span style="font-family: Verdana, sans-serif;"><br /></span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-10746157960652065422012-09-22T17:14:00.003+10:002012-09-22T17:17:11.201+10:003D Printer setup<span style="font-family: Verdana, sans-serif;">I have upgraded my 3D printer setup.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Now instead of him sitting on a cardboard box he has his own rack and I can have the spools of plastic hanging above him (need to get more plastics to fill the space) </span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-N86QKs7GfrA/UFbdv5COB4I/AAAAAAAAK1c/E9cF_BqFp1A/s1600/IMAG0671.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="http://3.bp.blogspot.com/-N86QKs7GfrA/UFbdv5COB4I/AAAAAAAAK1c/E9cF_BqFp1A/s640/IMAG0671.jpg" width="382" /></a></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">I have also added one of the routers with openWRT, some LEDs for lighting and a Logitech c270 HD webcam so I can remotely keep an eye on him. </span></div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-30M1Bo3px9g/UF1jmYn1bQI/AAAAAAAALNU/ZM_TG6Nnmf0/s1600/IMAG0718.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="382" src="http://1.bp.blogspot.com/-30M1Bo3px9g/UF1jmYn1bQI/AAAAAAAALNU/ZM_TG6Nnmf0/s640/IMAG0718.jpg" width="640" /></a></div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">I am in the process of upgrading his printhead to support better cooling for the extruder and printed part also will have a few built in lights and maybe a small camera.<br /><br />Once I get my <a href="http://makibox.com/" target="_blank">Makibox</a> printer I might have to expand the setup even more.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com1tag:blogger.com,1999:blog-237493471823950747.post-88993039403411481582012-09-22T16:33:00.000+10:002012-09-22T16:33:43.287+10:00Wireless mesh-able RGB lights and a ATMEGA88<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">I thought I might test out using the Atmega88p-20au instead of the Atmega168 as a processor for my RFnode. The Atmega88 is a cheaper version of the Atmega168 with only half the flash. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">I had tried using a Atmega8 before but found it did not run too stable at 3.3volts which I need to do to support USB. The Atmega8 datasheet said it needs 4.5 - 5.5 volts but I was going to give it a go anyway, It did work but I found that about 1 in 5 times I when flashing it I would get an error and would have to retry.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-HEwH3wtM-w0/UF1VRzy4fiI/AAAAAAAALM8/hO4ERliasms/s1600/IMAG0717.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="382" src="http://2.bp.blogspot.com/-HEwH3wtM-w0/UF1VRzy4fiI/AAAAAAAALM8/hO4ERliasms/s640/IMAG0717.jpg" width="640" /></a></div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Reading the datasheet the Atmega88 is identical to the Atmega168 with the main differences being just the amount of flash/ram. So hardware wise I did not need to make any changes except the IC but from a software side I did have to change my code a fair amount to get it down to 6KB. The Atmega does have 8KB of flash but I am using 2KB of that for the bootloader. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">After removing all the sleep/watchdog functions and cutting back the meshing support I was able to get my code to less then 6KB and still be left with a wireless mesh-able RGB light with a just enough code space left to added a few basic sensors. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">This version of the board I made it easier to add a STA301A so it would be easy for me use this board to drive brighter and more power hungry lights or devices around the home and have them all wirelessly controllable from my tablet/phone. </span><br />
Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com1tag:blogger.com,1999:blog-237493471823950747.post-59857770266023894032012-09-14T15:46:00.000+10:002012-09-22T15:47:32.197+10:00Burningman wireless bike lights <span style="font-family: Verdana, sans-serif;">Some good friends of mine wanted some bike lights for Burning man this year, but did not want just bike lights. </span><br style="font-family: Verdana, sans-serif;" /><br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-WXzA456tCVk/UF1NYepxwII/AAAAAAAALMM/QLGoNFFWLfs/s1600/Bikelights04.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="384" src="http://3.bp.blogspot.com/-WXzA456tCVk/UF1NYepxwII/AAAAAAAALMM/QLGoNFFWLfs/s640/Bikelights04.jpg" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-family: Verdana, sans-serif;">RGB wireless bike light</span></td></tr>
</tbody></table>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">So I created them wireless bike lights that beep and flash like a car alarm arming/disarming. When in the on mode the head light is on and a string of LED will pulse allowing them to see and be seen. <br /> </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<object width="320" height="266" class="BLOGGER-picasa-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="https://lh6.googleusercontent.com/-GvrCWl0JZgQ/UF1J9lgGnbI/AAAAAAAALK4/EL-CEHhALPU/s1600/VIDEO0009.3gp"><param name="movie" value="http://video.google.com/googleplayer.swf?videoUrl=http://redirector.googlevideo.com/videoplayback?id%3D2089e4bf9a06c3ad%26itag%3D5%26source%3Dpicasa%26cmo%3Dsensitive_content%253Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1350883063%26sparams%3Did,itag,source,ip,ipbits,expire%26signature%3DBE406FFD74284512FA4CC6C77F4C33FF9924DF24.B8EAF3EEFD430B0B28A65618A78664F88C88BE0C%26key%3Dlh1" /><param name="bgcolor" value="#FFFFFF" /><param name="allowFullScreen" value="true" /><embed width="320" height="266" src="http://video.google.com/googleplayer.swf?videoUrl=http://redirector.googlevideo.com/videoplayback?id%3D2089e4bf9a06c3ad%26itag%3D5%26source%3Dpicasa%26cmo%3Dsensitive_content%253Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1350883063%26sparams%3Did,itag,source,ip,ipbits,expire%26signature%3DBE406FFD74284512FA4CC6C77F4C33FF9924DF24.B8EAF3EEFD430B0B28A65618A78664F88C88BE0C%26key%3Dlh1" type="application/x-shockwave-flash" allowfullscreen="true"></embed></object></div>
<br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">For the electronics I used one of my Arduino based RFnode as a base but to drive the power hungry LEDs I used a STA301A connected to 3 of the PWM pins of the ATmega168. This allowed me to drive 3 strings of LEDs with PWM support. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-7sXoZqS3PNU/UF1NuhKMiPI/AAAAAAAALMU/SIgHn4NyKNE/s1600/Bikelights01.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="464" src="http://1.bp.blogspot.com/-7sXoZqS3PNU/UF1NuhKMiPI/AAAAAAAALMU/SIgHn4NyKNE/s640/Bikelights01.jpg" width="640" /></a></div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">I got a little creative and limited by space and time I mounted the STA301A to the RFnode with some hot glue and mounted surface mount resistors directly to the pins of the IC. Most of the wiring was air wiring as I did not have time to get a customer board fabricated.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">For the radio instead of using the nRF24l01+ I found some small key finder fobs that can stay powered from a coin cell battery for months so decided to use them as I could get the power consumption down to less then 1mAh when in sleep mode. </span><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-ntyu0nCzKOg/UF1NxYc9m1I/AAAAAAAALMk/1uKL76VyJQ4/s1600/Bikelights03.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="354" src="http://1.bp.blogspot.com/-ntyu0nCzKOg/UF1NxYc9m1I/AAAAAAAALMk/1uKL76VyJQ4/s640/Bikelights03.jpg" width="640" /></a></div>
<span style="font-family: Verdana, sans-serif;"><br />I was in a bit of a rush to get the units finished before Burningman so I don't have any pictures of the hardware jammed back into the bike light casing and the extra wiring of the LEDs yet. I might add that one they get back.<br /></span>Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com0tag:blogger.com,1999:blog-237493471823950747.post-44919545802927297342012-08-21T14:51:00.000+10:002012-08-21T14:51:08.377+10:00OpenWRT Mjpg_streamer saving to file<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">By default when you use the file output plugin with mjpg_streamer you can not set the file name just the folder. So what will happen is that folder will quickly fill with time stamped for name picture files. This could be what you want but this is not what I wanted. I wanted a single file in the web server root so I could include it in the web interface.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">There are 2 main steps to achieve this. </span><br />
<br />
<ol>
<li><span style="font-family: Verdana, sans-serif;">Create a shell script that move the snapshot to the web server root(/www/video0.jpg) <br /></span></li>
<li><span style="font-family: Verdana, sans-serif;">Change the mjpg-streamer service to output snapshot to file and execute shell script to move snapshot</span></li>
</ol>
<br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Step 1. The shell script.<br />This just moves the snapshot to "<span style="font-size: x-small;">/www/video0.jpg</span>". The -f is to force overwrite. I called the script "<span style="font-size: x-small;">mjpg_save</span>" and saved it to "<span style="font-size: x-small;">/usr/bin/</span>" </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">#!/bin/sh</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">mv -f "$1" '/www/video0.jpg'</span><br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">don't forget to chmod +x the script</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Step 2. Update the service.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;">You need to edit "</span><span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">/etc/init.d/mjpg-streamer</span>" </span><span style="font-family: Verdana, sans-serif;">adding "</span><b style="font-family: 'Courier New', Courier, monospace; font-size: small;">\</b><b style="font-family: 'Courier New', Courier, monospace; font-size: small;"> --output "output_file.so -c /usr/bin/mjpg_save -d 1500</b><span style="font-family: Verdana, sans-serif;">" as per below. </span></div>
<div>
<span style="font-family: Verdana, sans-serif;">The "-d 1500" is the delay between saving in ms so 1500 = 1.5 seconds. If you have this set too low mjpg-streamer will not get a chance to finish saving this before starting to save the next picture over it leading to corrupt images. </span></div>
<div>
<br /></div>
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">root@OpenWrt:/etc/init.d# vi mjpg-streamer</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br />#!/bin/sh /etc/rc.common</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"># Copyright (C) 2009-2011 OpenWrt.org</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">START=50</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SERVICE_DAEMONIZE=1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SERVICE_WRITE_PID=1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PROG=/usr/bin/mjpg_streamer</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">error() {</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> echo "${initscript}:" "$@" 1>&2</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">section_enabled() {</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> config_get_bool enabled "$1" 'enabled' 0</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> [ $enabled -gt 0 ]</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">start_instance() {</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> local s="$1"</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> section_enabled "$s" || return 1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> config_get device "$s" 'device'</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> config_get resolution "$s" 'resolution'</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> config_get fps "$s" 'fps'</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> config_get port "$s" 'port'</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> [ -c "$device" ] || {</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> error "device '$device' does not exist"</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> return 1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> }</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> service_start /usr/bin/mjpg_streamer --input "input_uvc.so \</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> --device $device --fps $fps --resolution $resolution" \</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> --output "output_http.so --port $port" <span style="background-color: #d9ead3;"><b>\</b></span></span><br />
<span style="background-color: #d9ead3; font-family: Courier New, Courier, monospace; font-size: x-small;"><b> --output "output_file.so -c /usr/bin/mjpg_save -d 1500"</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">stop_instance() {</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> local s="$1"</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> section_enabled "$s" || return 1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> service_stop /usr/bin/mjpg_streamer</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">start() {</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> config_load 'mjpg-streamer'</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> config_foreach start_instance 'mjpg-streamer'</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">stop() {</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> config_load 'mjpg-streamer'</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> config_foreach stop_instance 'mjpg-streamer'</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif;">If all when well you should be able to access the screenshot from a remote computer using http://routerip/video0.jpg</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com1tag:blogger.com,1999:blog-237493471823950747.post-87629124993904163012012-08-20T16:57:00.000+10:002012-08-20T16:58:18.760+10:00RFnode 1.3<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-8oRwmtWHaNE/UDHffoZN7LI/AAAAAAAAJHA/rgg7jSRtBUo/s1600/IMAG0469.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="382" src="http://1.bp.blogspot.com/-8oRwmtWHaNE/UDHffoZN7LI/AAAAAAAAJHA/rgg7jSRtBUo/s640/IMAG0469.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif;">I received some of the PCBs for the new version of my RFnode so I spent a little time today soldering it all together and testing it out. </span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif;">This version of the board has following features.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">+RGB led (on PWM pins D5, D6, D10) now can make any color.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">+CR2032 lithium coin battery powered or USB powered</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">+Power selector switch to select between USB power and battery(CR2032)</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: x-small;"><span style="font-family: Verdana, sans-serif;">+USnooBie compatible (</span><a href="http://www.frank-zhao.com/usnoobie/">http://www.frank-zhao.com/usnoobie/</a><span style="font-family: Verdana, sans-serif;">) </span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;">+Programmable via mini USB port (USBISP) and supports the Arduino IDE (USnooBie bootloader)</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">+nRF24L01+ 2.4Ghz radio transceiver </span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">+3.3 Volts @ 12Mhz (onboard voltage regulator)</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">+Breadboard friendly if you add the header (even mini breadboard)</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">+Only 46x24mm board size </span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif; font-size: x-small;">+SMD parts (to keep testing my soldering skills)</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-bPGhP_KSWsw/UDHW_d4OYAI/AAAAAAAAJFs/ye7yC8tQchE/s1600/IMAG0467.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="382" src="http://1.bp.blogspot.com/-bPGhP_KSWsw/UDHW_d4OYAI/AAAAAAAAJFs/ye7yC8tQchE/s640/IMAG0467.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Verdana, sans-serif;">All assembled with radio and breadboard header, ready to go </span></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-FPamyUAuxQ4/UDHW_RNureI/AAAAAAAAJFs/mCnQ9XITKGA/s1600/IMAG0465.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="383" src="http://2.bp.blogspot.com/-FPamyUAuxQ4/UDHW_RNureI/AAAAAAAAJFs/mCnQ9XITKGA/s640/IMAG0465.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Verdana, sans-serif;">With CR2032 battery </span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-3nELq9fwfl4/UDHW_W_Q3KI/AAAAAAAAJFs/iVc1xg5Ye4Q/s1600/IMAG0462.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="382" src="http://2.bp.blogspot.com/-3nELq9fwfl4/UDHW_W_Q3KI/AAAAAAAAJFs/iVc1xg5Ye4Q/s640/IMAG0462.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Verdana, sans-serif;">In mini breadboard, without radio attached</span></div>
<br />Anonymoushttp://www.blogger.com/profile/09219869062357653700noreply@blogger.com3