Measuring Ketosis With An Arduino

key

A bit of biology and nutrition before we roll into this: Ketosis is when your body runs on fat reserves instead of carbohydrates. This is the basis of diets such as Atkins, and despite the connotations of eating hamburger patties and butter, you can actually lose weight on these diets. One problem with a keto diet is the difficulty of measure how many ketones your liver is processing; this can be done with a urine sample, but being able to measure small amounts of acetone in your breath would be the ideal way to measure ketosis. [Jens] came up with a device that does just that. It’s called Ketosense, and it will tell you how well your keto diet is doing by just having you blow into a sensor.

[Jens]’ device consists of an Arduino, LCD display, and two sensors – one for acetone, and another for temperature and humidity. By carefully calibrating a TGS822 sensor, [Jens] was able to measure the acetone content of an exhaled breath along with temperature and pressure. This gave him a reading in parts per million, and with a short bit of math was able to convert that into something that made sense when talking about ketosis, mmol/l.

Without access to a lab that can measure blood ketone levels, it’s difficult to say if [Jens] device really works as intended. If he were to find his way into a lab, though, it would be possible to correlate his sensor’s values with blood ketone results and improve the accuracy of his sensor.

Astrosmash Style Video Game As Sony SmartWatch Firmware

sony-smartwatch-native-video-game

Here’s a firmware hack that brings a video game to the Sony SmartWatch. It’s pretty impressive considering the limited screen real estate and the fact that it has to be shared with the touch input. But we find it equally impressive that a game of this quality followed so quickly on the heels of Sony announcing the ability to make your own firmware for the watch. The speedy development is thanks partly to the community driven effort to hack the Arduino IDE to load sketches on the watch.

The advent of this IDE hack means that taking your Arduino sketch writing abilities to this hardware now has a fairly low learning curve. And reading through [Asier Arranz’s] game code will make it even easier. He calls his game Star Wars but it reminds us more of Astrosmash. There’s a little green semicircle which is your ground-based defense vehicle. You need to fire the laser to shoot falling items out of the star-strewn night sky while also collecting power-ups that fall to the ground. Game play video is below.

Just remember, if you come up with a cool firmware app for the SmartWatch we want to hear about it.

Continue reading “Astrosmash Style Video Game As Sony SmartWatch Firmware”

Heart-shaped Project Takes No Shortcuts

heart-shaped-project

If all [Blake] wanted to do is scroll “Blake loves Kim” on some LEDs he could have stopped with the breadboard version of the project. Or hastily craft a cardboard heart around the marquee. But he really just used this heart-shaped electronics project as an excuse to get his feet wet with several different types of manufacturing.

The project started as a simple scrolling message pendant. Something along these lines. His very small LED module was being driven by an ATtiny85. He planned to run it from battery which is a perfect excuse to learn how to use the sleep functions built into the chip.

The initial design worked so well he decided to lay out his own circuit board. This made it quite simple to add in a side-positioned button to wake from sleep, and a coin cell battery holder on the back. He used OSH Park for board manufacturing — good thing they allow creative board outlines. To protect the circuitry he also ordered laser-cut acrylic plates that work in conjunction with stand offs to form a case.

He mentions he missed his Valentine’s Day delivery date by a long shot. But that’s how these sort of things go, right?

Continue reading “Heart-shaped Project Takes No Shortcuts”

Sony SmartWatch Running Arduino Sketches

sony-smartwatch-arduino-sketches

Well that didn’t take long. We just heard last week about the Sony inviting firmware hacks for their SmartWatch and here’s an early example. This image above is an animation running on the watch. It was written as an Arduino sketch which runs on a custom firmware image. [Veqtor] wrote the sketch, which is just a couple of nested loops drawing lines and circles. The real hack is in the firmware itself.

[Veqtor] took part in a workshop (translated) put on by [David Cuartielles] which invited attendees to try their Arduino coding skills on his firmware hack for the watch. It implements an Android parser, but the development is in very early stages. Right now there’s zero information in his readme file. But the root directory of the repo has a huge todo list. Dig through it and see if you can fork his code to help lend a hand.

Learn more about the SmartWatch firmware from the original announcement.

Continue reading “Sony SmartWatch Running Arduino Sketches”

A Charming Arduino King Cobra Game

cobra

Here’s a fun game from [A.J.]’s lab. It’s a simulated king cobra made from an Arduino, an ultrasonic sensor, and a servo. The aim of the game is to grab a ball in front of the device without being ‘bitten’ by the thumbtack attached to a drinking straw controlled by a servo. You know, just like a real king cobra.

There’s no schematic or build plans for this project, but it looks easy enough to cobble together. Despite its simplicity, this game looks hilariously fun, and could quite possibly provide more entertainment through using the machine rather than simply building it.

No text description of this game can do it justice, so check out the video below. It looks like a lot of fun, and if you already have the parts in a bin somewhere, it’ll make a great weekend build.

Continue reading “A Charming Arduino King Cobra Game”

Outputting Text On A Paper Tape Machine

thegame

Back before the days of 8 inch floppy disks, storing computer programs was much more primitive than even a stack of punch cards. The earliest general purpose computers used paper tape, a strip of paper with punched holes designating a 0 or a 1. Thankfully for the computer scientists of the day, these paper tapes weren’t created by hand. No, the Friden SP-2 tape punch took care of the duties of punching holes in these tapes. When [Max] rescued one of these tape punch machines from a trash bin, he knew what he needed to do: connect it to an Arduino so he could create his own paper tapes.

[Max] found a veroboard with a bunch of transistors inside the machine that was added by a previous owner. After finding the manual for the machine he connected it to an Arduino, holding each of the eight control pins high to punch the tape, and then holding another pin high to advance the tape. With this, he was able to punch letters instead of binary code into his paper tape.

[Max] also added an Ethernet shield to his Arduino that checks his email. If an email shows up in a special folder, it outputs the subject line to the tape punch machine, giving him an entirely retro ticker tape machine, built with vintage 60s hardware.

There are a pair of videos of [Max]’s tape punch machine in action below, along with a gallery of the glamorous gut shots of this incredible machine.

Continue reading “Outputting Text On A Paper Tape Machine”

An Arduino Power Inverter

If you’ve got a few solar panels lying around, or even if you want some 120/230 V AC power from a few 12 Volt batteries, you’ll need a power inverter. Sure, you can drop on down to any big box store and pick one of these up, or you can be like [Michael] and build your own (Danish, translation).

[Michael] found himself in the possession of a few halogen light transformers and decided to make use of them by building a DC to AC power inverter. The inverter is fairly simple – just the transformer, a few MOSFETS, and an ATMega0168 for software control that includes a ‘soft start’ feature that prevents power surges on startup.

The circuit is simple enough to etch at home, although a soldermask and a nice insulated enclosure would probably be ideal for this application.