{"id":940,"date":"2014-06-06T06:34:05","date_gmt":"2014-06-06T06:34:05","guid":{"rendered":"http:\/\/192.168.3.4\/?p=940"},"modified":"2018-01-09T06:49:38","modified_gmt":"2018-01-09T14:49:38","slug":"odds-and-ends","status":"publish","type":"post","link":"https:\/\/www.cloudacm.com\/?p=940","title":{"rendered":"Odds and Ends"},"content":{"rendered":"<p><strong>The Sensor Bike Helmet<\/strong><\/p>\n<p>I finally got tired of my old bike helmet and decided to put together a new one. \u00a0It&#8217;s been on my to do list for the past few months. \u00a0I stopped by the Fremont Recycle Cycles and asked if they had a Giro Indicator in stock. \u00a0The clerk told me they only sell those at the U-District store, but offered to show what they stocked. \u00a0I took a look and found a <a href=\"http:\/\/www.uvex-sports.com\/de-en\/cycling\/cycling-helmets\/d\/uvex-i-vo-silver\/\">Uvex i-vo<\/a>.<\/p>\n<p>I had already installed my 808#26 camera inside the silver Giro Indicator, but it kept cutting out. \u00a0I&#8217;m not sure if the internal battery or missing lens heat sink are to blame. \u00a0Either way, the external power was messy. \u00a0The 808#26 takes a special\u00a0proprietary charging cable and I had trouble sourcing one to length.<\/p>\n<p>Kind of off subject, but this was a source (<a href=\"http:\/\/www.usbfirewire.com\/\">USBFireware.com<\/a>) of USB cables that offered custom builds. \u00a0They don&#8217;t have the power cable for the 808#26, but do for the 808#16.<\/p>\n<p>I decided to put it back in the box and move on with the Uvex helmet. \u00a0The Uvex uses a 808#16 camera. \u00a0This is a robust camera that I&#8217;ve field tested for over 2 years. \u00a0I&#8217;m confident it will hold up. \u00a0I dug out pits and trenches in the helmet to place all the electronics and wiring. \u00a0The lens and microphone are extended from the camera main board. \u00a0This helps conceal the devices and improves the quality of audio. \u00a0I attempted to use a 5v 200mA solar panel to offset some battery drain, but I removed it because it looks a bit much.<\/p>\n<p>To power the camera, I&#8217;m using a Concept Green USB battery pack that is rated for 5v at 2200mA. \u00a0My previous packs were 5v at 2000mA. \u00a0The increased capacity was a plus, but also it was smaller. \u00a0I <a href=\"http:\/\/www.usbfirewire.com\/Parts\/rr-2mbr01-xxglx.html#RR-2MBR01-06GLX\">sourced a USB cable<\/a> that will link the pack and camera, so I decided to hack the pack and embed it. \u00a0The USB port is a small circuit board that is wired into a LiFEPO4 cell. \u00a0I wired the pack board to the camera and fastened the cell to the helmet. \u00a0Everything seemed to work fine.<\/p>\n<p>During ride tests, I noticed that the camera kept shutting off unexpectedly. \u00a0It turned out that the pack board had a chip with thermal grease that was sinked to the USB port. \u00a0This heat dissipation was missing and I ended up frying the pack board. \u00a0I ended up\u00a0removing the old pack board, wiring, and cell from the helmet.<\/p>\n<p>In the meanwhile, I have another Concept Green USB pack attached to the helmet. \u00a0This time everything is stock and the power is supplied using the USB cable ports. \u00a0I&#8217;ll have to order a custom 4 inch USB patch cable. \u00a0This should tidy up the appearance.<\/p>\n<p>The helmet is easy to work with and I&#8217;m considering it as the platform for sensor integration later on.<\/p>\n<p><strong>Powering the Helmet<\/strong><\/p>\n<p>I still like the hack I did with the Concept Green USB pack. \u00a0Embedding and using the port and charging circuitry inside the helmet is ideal. \u00a0Too bad about the heat\u00a0dissipation requirements. \u00a0I&#8217;ll have to get the circuitry design before I can make another attempt at it.<\/p>\n<p>However, the battery cell was rather simple. \u00a0I&#8217;ve sourced lithium ion cells before from BatterySpace.com for a few years now. \u00a0I used a comparison\u00a0to identifying one to use for this project. \u00a0The 808 cameras draw an average of 400mA during operation. \u00a0This gives me 5 hours of run time using a 2000mAh pack. \u00a0I found 2 possible cells to use. \u00a0The criteria to establish the better suited cell were, fail factor, price, power, weight, size, and duty. \u00a0Fail factor is a quantity of cells, so \u00a0if I had 4 cells for the pack, I had a fail factor of 4. \u00a0Power is a product\u00a0of the voltage and amp ratings which is measured in watts in hours. \u00a0Duty is how many charge cycles can be applied to the cell before it starts to degrade. \u00a0The rest are self explanatory, size is cubic mm.<\/p>\n<p>Here are the results for these 2 cells, <a href=\"http:\/\/www.batteryspace.com\/LTO-1865-Rechargeable-Cell-2.4V-1100-mAh-30A-rated-2.64Wh.aspx\">LTO 1865<\/a> and the <a href=\"http:\/\/www.batteryspace.com\/lifepo4-26650-rechargeable-cell-3-2v-3300-mah-19-8a-rate-10wh---un38-3-passed-ndgr.aspx\">LiFEPO4 26650<\/a>. \u00a0Now it&#8217;s not too difficult selecting which one to use.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-949\" src=\"http:\/\/192.168.3.4\/wp-content\/uploads\/2014\/06\/CellRating.png\" alt=\"CellRating\" width=\"388\" height=\"152\" srcset=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2014\/06\/CellRating.png 388w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2014\/06\/CellRating-300x117.png 300w\" sizes=\"auto, (max-width: 388px) 100vw, 388px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Another option for power was a solar panel. \u00a0I still have to determine the correct way to connect it. \u00a0I had picked up a couple of 5v 200mA panels at Fry&#8217;s. \u00a0One panel fits ideally on the Uvex helmet and the wiring is well protected. \u00a0It doesn&#8217;t provide enough current to power the 808 camera, but it offsets the drain from the battery. \u00a0I estimated that it would be 70% efficient on average use, this meant it will provide 140mAh. \u00a0This will extend the battery life a couple of hours, not too bad.<\/p>\n<p><strong>Titanium and the Apple<\/strong><\/p>\n<p>My last post held so much promise.\u00a0 The Titanium platform and source code for the iPhone app Mobile Logger made me think I was on the fast track to iOS development.\u00a0 One thing after another crept up and it became clear the road was a dead end.\u00a0 First came the errors when I tried to load the TDK on my computer and run it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-954\" src=\"http:\/\/192.168.3.4\/wp-content\/uploads\/2014\/06\/ShowStopper.png\" alt=\"ShowStopper\" width=\"336\" height=\"169\" srcset=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2014\/06\/ShowStopper.png 336w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2014\/06\/ShowStopper-300x150.png 300w\" sizes=\"auto, (max-width: 336px) 100vw, 336px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>But wait, it does end there.\u00a0 I call this a show stopper.\u00a0 I&#8217;ll need a mac to develop iOS apps.<\/p>\n<p><a href=\"http:\/\/192.168.3.4\/wp-content\/uploads\/2014\/06\/iOS_Dev.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-955\" src=\"http:\/\/192.168.3.4\/wp-content\/uploads\/2014\/06\/iOS_Dev.png\" alt=\"iOS_Dev\" width=\"1001\" height=\"179\" srcset=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2014\/06\/iOS_Dev.png 1001w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2014\/06\/iOS_Dev-300x53.png 300w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>That settles that, iOS development isn&#8217;t happening any time soon.<\/p>\n<p><strong>808-16 Action Camera<\/strong><\/p>\n<p>The folks in the trenches have it spot on. \u00a0I happened to find a feature that has been enabled with a new firmware for the 808-16 action camera. \u00a0Now this inexpensive and small 720p camera allows shots in time lapse as well as video when motion is detected. \u00a0With so much crippleware out on the web, it is refreshing to find technology heading in the correct direction for the public to use.<\/p>\n<p><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/eoSUepEphI4\" width=\"240\" height=\"135\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><br \/>\n<strong>\u00a0More than meets the eye<\/strong><\/p>\n<p>During a vacation in Maui, I decided to shoot some time lapse video of our view.\u00a0 It revealed a lot about what the weather does through out the day.\u00a0 The video was captured using my 808-16 camera and is actually built from a series of jpg images using <a href=\"http:\/\/www.ndrw.co.uk\/index.php?f=free\/jpgvideo\/index\">JPGVideo<\/a>.\u00a0 The jpg files contain a unique mix of data that can be used as well.<\/p>\n<p><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/7nJm5K0C_8o\" width=\"240\" height=\"135\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>The camera was pointed off of a deck, but I didn&#8217;t take the time to note the heading.\u00a0 Luckily, finding the heading after the fact isn&#8217;t too difficult.\u00a0 I can start with my camera as a reference point, it helped that I took a picture of were on the deck it sat.<\/p>\n<p><a href=\"http:\/\/192.168.3.4\/wp-content\/uploads\/2014\/06\/IMG_2611.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-963\" src=\"http:\/\/192.168.3.4\/wp-content\/uploads\/2014\/06\/IMG_2611-300x225.jpg\" alt=\"IMG_2611\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2014\/06\/IMG_2611-300x225.jpg 300w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2014\/06\/IMG_2611-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><a href=\"http:\/\/192.168.3.4\/wp-content\/uploads\/2014\/06\/COF.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-965\" src=\"http:\/\/192.168.3.4\/wp-content\/uploads\/2014\/06\/COF-300x176.png\" alt=\"COF\" width=\"300\" height=\"176\" srcset=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2014\/06\/COF-300x176.png 300w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2014\/06\/COF.png 470w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>All I had to do was open one of the JPG files and find the center of the FOV.\u00a0\u00a0 With the camera reference point and heading, I took a compass and got the heaading, 312 degrees NW.\u00a0 This was nice to know, but since the camera also had a wide angle lens attached, I wanted to know the heading range through out the FOV.\u00a0 To get this, I did the same trick, but pointed the compass to the far edges of the FOV.\u00a0 The left edge read 278 degrees W, while the right edge read 354 degress N.\u00a0 The total angular FOV from this method of measurement gave me 76 degrees.\u00a0 I halved the difference of the left and right edges and added it to the left edge reading.\u00a0 It was off by 4 degrees, so there is some error.\u00a0 Not surprising, since the compass and visual methods are not exact.<\/p>\n<p>Histogram data seems more precise, but the problem I face is how to get the histogram from each JPG.\u00a0 I did find a command line tool that does extensive image processing called <a href=\"http:\/\/www.imagemagick.org\/Usage\/files\/\">ImageMagick<\/a>.\u00a0 There was a command to process histograms midway down that link.\u00a0 The program has yet to be tested by me and I&#8217;m reluctant to take a stab at it right now.<\/p>\n<p><a href=\"http:\/\/192.168.3.4\/wp-content\/uploads\/2014\/06\/histogram.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-971\" src=\"http:\/\/192.168.3.4\/wp-content\/uploads\/2014\/06\/histogram.gif\" alt=\"histogram\" width=\"256\" height=\"200\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>There is a competition currently going on from the folks at <a href=\"http:\/\/www.dashware.net\/video-contest-entries\/\">Dashware<\/a>.\u00a0 They are asking users of Dashware to submit up to 3 videos that contain data overlaid with data using their software.\u00a0 The prize is a respectable $500, that&#8217;s redeemable on Amazon&#8217;s website.\u00a0 I looked at videos that have been submitted and none show a time lapse video with data imported.\u00a0 Hell, I think I&#8217;ll be the first, provided I don&#8217;t get beat out by someone reading my post and taking it for themselves. \u00a0Here it is&#8230;<\/p>\n<p><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/JrJUV_E6zeI\" width=\"240\" height=\"135\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Micheal at Dashware kindly reset my password and I submitted my video.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Sensor Bike Helmet I finally got tired of my old bike helmet and decided to put together a new one. \u00a0It&#8217;s been on my to do list for the past few months. \u00a0I stopped by the Fremont Recycle Cycles and asked if they had a Giro Indicator in stock. \u00a0The clerk told me they only sell those at the U-District store, but offered to show what they stocked. \u00a0I took a look and found a Uvex i-vo. I had&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.cloudacm.com\/?p=940\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3],"tags":[],"class_list":["post-940","post","type-post","status-publish","format-standard","hentry","category-bike-rides","category-rd"],"_links":{"self":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts\/940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=940"}],"version-history":[{"count":28,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts\/940\/revisions"}],"predecessor-version":[{"id":994,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts\/940\/revisions\/994"}],"wp:attachment":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}