Omigod, omigod, omigod!

I don't know how I missed this:

Processing for mobile devices

Holy crap! This could change everything, especially for us. We're neck deep in processing coders, and this opens up huge avenues for development.

Sunday Building Sunday

Here are a few snaps of our build day on Sunday for the Trauma Bear project. It has really come together:

Guts Of the MachineGuts Of the Machine

More Trauma Bear Guts

On the heels of our wildly successful play test of the trauma bear, I bring to you images of the ursine innards.

ArduinoArduino

BreadboardBreadboard

Breadboard and Arduino ConnectedBreadboard and Arduino Connected

And here's a brief video of the experience:

Google Searches

Okay, so I have insane amounts of work to do, but I wanted to share this while I was thinking about it. One of the nice things about Drupal is that it's fairly easy to go through your visitor logs without additional software. So I often check them out, usually to see what kinds of search engine results point to me.

Apparently, if you're looking for a super awesome site, you need look no further. I have no idea how that happened, and I take no credit for it.

Apples To Apples As a Learning Game?

So, I'm thinking about adapting Apples to Apples as an educational game. I'm jotting down a couple ideas I've had so far.

  • Every "noun" card is an animal.
  • Every "adjective" card could describe an animal. These could be words like "aquatic," "big," "gray," "squishy," "slimy."
  • Instead of the judge player picking just one card submitted by the other player per round that describes the animal, the judge is free to pick as many that work.
  • The cards are either then saved as a stack to be reviewed by the teacher at the end of the activity or the words and animal are written down on a worksheet.
  • The point values for winning will probably have to be increased because more cards will be able to be picked by the judge.

Working Game Code

So, we have working game code for the trauma bear. See the attachments for that.

The first file the processing code and the second is the arduino code.

Photos and videos to come.

State Machine Complete (Maybe)

So, we've got that main processing code ready to go! Sort of. Inti has kicked ass getting the physical states codified, and the processing code looks great with the graphics that Tracy posted. I now need to combine the physical pieces that Jay has built for the intubation and ventilator and accelerometer (all of which are killer!) with the Arduino code with the finished state machine and get the thing running.

Very, very soon, this bear will live! And then die!

Processing code is attached below.

Algorithm For the Bear

Just a bit of pseudo-code that shows the state transitions in our trauma bear project.

start
	*random
		-> convulse_cardio
		-> convulse_flatline
		-> convulse_gi
convulse_cardio
	*time < 20 && comp >= 6 && accel. == BACK
		-> stable
	*else
		-> death
convulse_flatline
	*time > 10
		-> any_touch
convulse_gi
	*time > 5
		-> shallow_vital
stable
	*time > 10 && accel. < error_movement
		-> well
	*else
		-> need_more_comps
dead
	*reset_button == HIGH
		-> start
well
	*reset_button == HIGH
		-> start
shallow_vitals
	*accel. == SIDE && time < 15
		-> ready_to_intubate
	*intubated == HIGH && time < 15
		-> tube_convulse 
	*else
		-> death
need_more_comps
	*time < 20 && comp >= 6 && accel. == BACK
		-> stable
	*time < 20
		-> need_air
	*else
		-> death
need_air
	*intubated == HIGH && pumps >= 6 && time < 20
		-> stable
	*else
		-> death
flatline
	*flatline_total < 3 && paddles_applied && time < 20
		-> paddled
	*else
		-> death
tube_convulse
	*intubated == LOW && time < 15
		-> shallow_vitals
	*else
		-> death
ready_to_intubate
	*intubated == HIGH && time < 15
		-> intubated
	*else
		-> death
intubated
	*accel. < error_movement && time > 10
		-> well
paddled
	*random
		-> needs_air
		-> flatline
		-> well
any_touch
	*time < 20 && accel. > error_movement
		-> flatline
	*time >= 20
		-> death

Progress With The Bear

Here's what's new with the bear project as of yesterday:

  • Roller switch installed in the chest. Giving it six hits restores normal heart rhythm in the bear.
  • New "convulse" routine. The bear convulses until CPR is performed.
  • Improved chest action. Two metal plates sandwich the servo, make a much more realistic breathing response. Extra stuffing and the rumbler for the heart sit on top.
  • Accelerometer wired up and coded to check for the proper positioning of the bear, i.e. the bear must be laying down before CPR can be performed effectively
  • Work has begun on the sounds, both the simple ones for the bear and the richer ones on the Processing interface.

Stiffi Photon Bombs The Po Po

Some raw videos of the Mein Stiffi group photon bombing the police car from their secret perch high above the city. Just trying to spread a little love, that's all!

Copyright Mike Edwards 2006-2009. All content available under the Creative Commons Attribution ShareAlike license, unless otherwise noted.

Syndicate content