Thursday, July 4, 2013

Bluetooth Aura.. Leiger/geiger counter on the foot

Chernobyl and Back

from SparkFun Electronics - Recent News Posts by SparkFun Electronics
https://www.sparkfun.com/news/1146

A couple months ago, I left for Chernobyl to do some photography and take some readings with my DIY geiger counter/logger. If you missed the original post about the trip, you can check it out here. I’m back now, and not only do I have some pictures, I’ve got some stories and of course some data. I’d like to say the Leiger worked perfectly, but that would be a lie. I ended up getting good data, but there were also some problems.

As I talked about in the video a couple months ago, I had a simple message that showed up on the screen to let me know if there was a GPS lock or not. Unfortunately, it always showed ‘no lock’ even if there was valid GPS information. I still haven’t fully gone through the code to figure out what happened, but I suspect it’s the way I was determining if the GPS sentences were valid or not. At first, I thought the GPS module had decided to kick the bucket. Thankfully, Dave brought his laptop and we were able to verify that the data was good and there was a GPS lock. But that wasn’t the only problem I encountered.


By my estimates (and real-world testing), I determined the Leiger could last around 26 hours on a single charge. However, about 6 hours into our first flight, I went to check on the Leiger, and it was dead! There’s an old saying, ‘if it ain’t broke, don’t fix it’. I should have remembered that. The day before the trip, I noticed there was a VERY faint sound coming from the buzzer. It was most likely some feedback from the high voltage side of the board. It was only audible in a very quiet room, with the enclosure off. But, it bothered me enough that I decided I’d try and ‘fix’ it. I ended up grounding the other side of the slide switch, which made it silent, unless it was enabled. So now the buzzer could be truly silenced.

At the time, I didn’t realize that when the buzzer was turned ‘off’, it was actually just shorting out the power supply. So that 26 hour run-time went down to just a few hours, and also made the whole unit get pretty warm inside. Thankfully I figured it out while I should have been sleeping on the plane. As soon as we landed in Kiev, I used my trustyLeatherman to open the case, dissemble the PCB, and cut the ground wire. It was still telling me it didn’t have a GPS lock when it actually did, but at least the power supply was good and it was logging data. It seems no matter how much you test something, or plan your design, there’s always going to be a problem. Thankfully, mine were relatively minor. I did end up getting some good numbers from the trip. Before we get into the actual data, I’d like to explain a bit more about the hardware inside the Leiger.



The main portion of the Leiger is based on the fantastic DIYGeigerCounter project. I bought it as a kit and made a few tweaks and adjustments. I wanted a simple interface for turning on and off the LED, buzzer, and screen. So, I moved a lot of the LEDs and buttons to a separate PCB. The PCB started as a standard protoboard, but I cut and hand-filed it down to the size I needed. I added some switches, a button, LED, and various connectors and mounting holes. I also needed a way to mount the GPS (a D2523T), as well as the geiger tube (SBM-20) itself. The case was from OKW Enclosures and faceplate was designed in SolidWorks and machined by Front Panel Express. As you can see, not much space is wasted here. I wanted it to be as small as possible.



The control PCB as well as the LCD ‘shield’ sit on top of everything else, and cover the rest of the electronics. Once they are removed, you can see the actual Geiger counter board, the ATmega328, an OpenLog, and a PowerCell. The PowerCell worked wonders for this project and provides 5V to everything (except for the GPS, which has its own 3.3v voltage regulator), and charges the 18650 battery. Programming and testing was a bit tricky as the OpenLog sat on the FTDI header and needed to be removed for programming. Since most of the unit needed to be disassembled to get down there, I estimate I’ve completely disassembled the Leiger a few dozen times. If you look closely, you can see a lot of grey foam tape, which worked well for keeping everything in place, as well as added a bit of shock-proofing for travel.



Here is the code for the Leiger. I’m not a great programmer, so excuse the mess. It mostly works though. Ultimately, it just used an interrupt to count particles, and then displayed it on the screen in various fashions. It also stored these values at regular intervals (along with the GPS data) on an microSD, courtesy of the OpenLog. For keeping track of dosage (overall radiation exposure), I wrote this value to the EEPROM. I chose to write it to the EEPROM instead of the microSD because the RX (receive) was already being used by the GPS, so there was no elegant way to read in the dosage information when the unit was turned on. I didn’t want to rely on the softserial library (which is awesome) because I didn’t want to mess with the interrupts, which proved to be a good decision). In the end, all the information I wanted got logged. So, how radioactive was Chernobyl?



There’s not a really easy answer for this. Generally speaking, it’s not very radioactive. The vast majority of the zone has been decontaminated and is roughly the same level of radiation as the rest of the world. However, in a few instances, Chernobyl lives up to the hype. Normal background radiation (as measured by the Leiger), is around 20-30 CPM (counts per minute, or about 0.14 uSv/hour). In the picture above, you can see a reading of over 622 uSv/hour, or about 4500 times background. Also, if you’re doing the math, 10922 CPM doesn’t actually convert out to 622 uSv/hour. At first I thought it was an error. Actually, I didn’t anticipate measuring over 100k CPM, so the screen just isn’t formatted to display numbers that high. But as you can see in the data (posted below), it did peak at over 100k CPM (keep in mind that’s nearly 1500 counts every second).

What you’re seeing in the picture is a boot worn by one of the firefighters that responded immediately after the explosion. After 25+ years, it’s still extremely radioactive (I didn’t stay long). It was sitting in a hallway in the basement of the hospital. It amazes me that after all this time, artifacts like this still exist. We even saw a claw that was used to remove radioactive material from the roof of reactor 4. Overall though, with the exception of a few radioactive places and objects, the radiation is well controlled. So how much radiation did I end up getting?



After looking over the data, I came up with a good number. I took the total dosage (as recorded from the Leiger) over the course of the full 4 days I was in the exclusion zone. For all hours not accounted for with the Leiger (sleeping, when it was charging, etc), I took the background averages and filled in the missing gaps in the logs. Based on my readings for background levels here at home, and the total dosage I got from Chernobyl, I concluded that my 4 days in the exclusion zone was equal to just under 3 years of normal background radiation. It’s a lot in a short period of time, but it’s still well below the yearly limit for radiation workers, and just a fraction of the levels known to cause health problems.



Originally, I had planned to do a map of the radiation for the zone, but after getting the data back, I saw that the huge variances made graphing or mapping anything problematic. Because the hot spots were generally several thousand times higher than the surrounding area (and often-times inside a building), setting a scale was nearly impossible. I do encourage you to download the data and sort by the uSv rate. You will find some interesting places. See if you can find the cooling towers, Jupiter factory, hospital, cemetery (the only place in Pryp'yat that wasn’t decontaminated) and of course outside reactor 4.



For those of you that skipped down to the bottom, or missed the links in the text, here is the data, the Leiger code, and my pictures from the trip. Thanks for reading (or at least scrolling this far down). It was an amazing trip, and I’m very glad I went. For a photographer, just having access to these amazing locations was an experience of a lifetime. This was all a lot to cover and I’m sure I’ve left out some important details, so feel free to ask questions in the comments. Thanks again for reading.

Smartphone Research Mary Meeker 2013


Bluetooth Auras - Biosensor

PIP Is A Bluetooth Biosensor That Aims To Use Your Phone To Gamify Beating Stress

PIP

PopoutIrish startup Galvanic has just launched a Kickstarter to crowdsource funding a wireless stress biosensor it’s calling PIP. PIP — which stands for ‘personal input pod’ — is a Bluetooth biosensor that monitors its user’s stress levels by measuring their galvanic skin response (GSR) as they hold the PIP pinched between thumb and forefinger. GSR means skin conductance — so basically how sweaty you’re getting and therefore how nervous you’re feeling.

PIP isn’t just a quantifiable self-tapping biosensor; it’s been designed to work in conjunction with iOS and Android phone and tablet apps to provide a gamification element. The company has created three games designed to be played using the PIP, which utilises Bluetooth as its data transport tech. The user’s stress level is then incorporated into each game as the core gameplay mechanic — with the ultimate aim being to help the player learn what they need to do to relax.

It sounds a bit counterintuitive, since competitive gaming can be synonymous with sweaty palms, which is presumably why Galvanic’s project extends to designing stress-busting games. It’s created three games to be used in conjunction with the PIP — a relaxing racing game, a seasonal mood game where players meditate on a wintery scene to turn it into spring, and a more playful lie-detector multi-player game — but it does also plan to launch an SDK in future to get third party developers expanding the PIP’s gaming ecosystem.

With this initial handful of in-house games the PIP can only be so interesting, but if Galvanic can convince enough people to buy in to the gadget and thus lure enough outside developers to join in, there’s plenty of potential for other cool biosensing software ideas. The price per PIP is $79 for a limited number of early bird Kickstarter backers, or $99 thereafter. Presumably each new PIP-compatible game may also carry a consumer price-tag.

Galvanic is gunning for $100,000 in Kickstarter funding, with the money to be used for finalising manufacturing and readying its own apps. Assuming it hits this rather ambitious funding goal, the company reckons it can gear up for mass production by the end of 2013, and expects to be shipping in Q1 2014. In future it said it plans to expand platform support beyond Android and iOS, to add Windows Phone, Blackberry, Windows, MacOS and also game Consoles and set-top boxes.

CAT - Very Toughphone

http://catphones.com/en/b15-smartphone#.UcNc6_mTjng


http://catphones.com/assets/uploads/B15-Full-Spec.pdf

Samsumg Galaxy SmartCam... 16Mp

Samsung Galaxy S4 Zoom hands-on: 10x telephoto, 100x intrigue (video)

Samsung Galaxy S 4 Zoom handson, witty rejoinder here

It's easy enough to describe the Galaxy S4 Zoom, since it's essentially a Galaxy S4 Mini with a 10x zoom lens stuck on the back. But that sort of summary doesn't do it justice. When you hold the phone-slash-camera and look at the optically stabilized image captured by its 16-megapixel, point-and-shoot grade sensor, you begin to realize that -- at least for those who do a lot of snapping and sending -- this combo of components holds some serious power.

Just like the first Galaxy Camera, it's all about fun and immediacy: the ability to edit, organize and share decent-quality images using Android apps and cellular data connectivity. The key advantages are that the GS4 Zoom can work as a regular phone for voice calls, and that it's just about portable enough to be used that way, whereas the Galaxy Camera was a lot bulkier. With these gains, the smaller zoom (10x instead of 21x) and lower-res screen (qHD instead of 720p) don't overly faze us, so long as the final selling price takes it all into account. Ultimately, our only hesitation is the impending arrival of the so-called Nokia EOS, likely due on July 11th, which takes a totally upside-down approach to smartphone photography and is likely to be much more pocketable as a result. Those are two devices we can't wait to put head-to-head, especially in terms of image quality, but our hands-on gallery (and impending video) might help to tide you over in the meantime.

 Hands On with the Samsung Galaxy S4 Zoom

Article Comments  3
Jun 20, 2013, 4:31 PM   by Rich Brome
Samsung has been blurring the lines between phone and camera lately. The Galaxy Camera was the start, but now the company has revealed more in-between steps. The Galaxy NX veers toward the camera end of the spectrum with its interchangeable lenses, while the Galaxy S4 Zoom is more phone-like. We take a quick look at the Galaxy S4 Zoom in this hands-on.

As smartphones increasingly gain decent camera functionality, the one feature separating camera-phones from real cameras is an optical zoom. The Samsung Galaxy S4 Zoom aims to address that gap with its 10x optical zoom.

Galaxy S4 Zoom Hardware
The trade-off is the size. This is quite a large phone. That optical zoom juts out like it's just a lens bolted on to a normal phone, and that's pretty much what it is. Except that the phone is thick even without the lens, and the handgrip is simply massive (again, for a phone.) I technically could fit it into my Levis, but it looked and felt ridiculous, and it was clear that the sharp lens would wear a two-inch circular hole in my denim in short order.

Not only is the Galaxy S4 Zoom not pocketable, it's quite uncomfortable to hold as a phone. The lens is just so big and sharp, and the shape could only fit E.T.'s hand comfortably.

In a nutshell, in spite of how Samsung is pitching this, I would certainly call this a camera first, with a phone attached. You can make calls on it, but this is really only a good device for a very small population of people who need a decent camera - with large optical zoom - on them at all times, don't want to carry two devices, and can find a good way to carry this thing.

Once you accept the strange premise of this thing, it does an okay job at it.

The body is like the Galaxy S4 Mini, but the back is more plastic-y. Perhaps it feels like thicker plastic, but cheaper plastic. The side keys are small and have short travel, but work well enough. The home button doesn't stick out much, making it harder to find quickly.

The microSD memory card slot has its own slot next to the metal tripod mount (a nice touch.) The battery is hidden behind two tricky doors in a strange arrangement, but it is technically removable in the one we tried.

One nice touch is the spinning ring around the lens. Turning it serves as a quick shortcut directly to a variety of camera functions, and when in camera mode, controls the zoom lens. If you're in a call, it will trigger a function to take and send a photo to the person you're talking to, without interrupting the call.

On the prototype we tried, the lens ring felt sluggish, both in terms of hardware feel and software response. It was actually frustrating and tiresome to get the canera zoomed all the way to 10x. We hope that's tweaked before final release.

Galaxy S4 Zoom Interface
As you might expect, it has all of the advanced camera functions from the Galaxy S 4, like Drama Shot. It also merges in the interface of the Galaxy Camera, and some of the features of that product as well. (It's a blend of both of those products in nearly every aspect of the hardware and software.) There are scene modes, plus an intelligent "auto" scene mode that will pick a scene mode for you based on the what the camera "sees".

Having a true 10x optical zoom is quite impressive. It's like a telescope in your phone, compared to a normal camera phone. The xenon flash is a nice plus. Some camera phones have this now, but it's rare; most just have an inferior LED flash.

The smartphone part is pretty standard for a mid-range Samsung Android phone. The screen is qHD (not quite HD) and measures 4.3 inches. That's decent, but not cutting-edge. It matches the screen on the Galaxy S4 Mini.

This is an interesting product. Based on size alone, I have to classify it as a very niche product. But if you're not turned off by the size and shape, it's worth a look.


KML FalconView - Joel keeps doing the very neat things... thanks

Introducing the FalconView KML Drawing Library


Thanks, Georgia Tech, for funding me to develop a library for drawing KML. The screen captures that you've seen in the last couple of months have shown the library in progress on Windows (via FalconView) and on Linux (via Quantum GIS).

O
One of the most exciting parts of this project was implementing a KML drawer for Android. This involved making the drawer and its dependencies (including Libkml and Google Test) compile using the Android native development kit, and hooking the Java-coded GUI to the C++ portion via JNI.

More information about the KML Drawing Library, which is used as a part of FalconView, may be found on the FalconView web site. Like all of FalconView Open Source, the KML Drawing Library may be used in third party applications so long as the terms of the FalconView Open Source license are followed. Some instructions for using the library and a link to the source code are available at that link. I'd be glad to answer questions about using the library posted here or on the FalconView web site discussion boards.

Fujifilm Hardcam

Outdoors action imaging from Fujifilm

fujifilm XP200










The latest from Fujifilm is billed as the “ultimate outdoor camera for every extreme athlete and outdoor enthusiast who wants to capture their adventures and share them quickly and easily online.”

The camera is “specifically designed for action,” the company adds, with a dedicated burst mode button on the top that lets you instantly access its high-sped modes, “without having to fumble through menu options to activate.”

The FinePix XP200 is waterproof down 50 feet (15M), shockproof from a 6.6 foot fall, and freezeproof to 14°F. Also, a redesigned battery door lock with double seals for enhanced protection. The 3-inch LCD has an anti-reflective coating for viewing in bright sunlight.

The 16-megapixel camera has a 5x lens that zooms from 28–140mm. It captures 60 frames per second for 70 frames at reduced resolution, 1080i video, as well as a high-speed at up to 240fps for slow motion playback. It’s $300.

Fujifilm also debuted the FinePix S8400W, with a long 44x lens that zooms from 24-1056mm, with optical image stabilization and an f2.9 – f6.5 aperture.

The 16MP model captures 10 frames at full resolution per second, 60 at 1280 × 960, and 120fps at 640 × 480. It’s $350.

Both cameras provide wireless photo transfer to smartphones, and will also automatically backup photos to a home computer via WiFi.