We had our first meeting last night (4/14/11) in our new temp space in Pu’unene. Although there was a small turn out (5 total), I consider it a success. We did not so much talk about Makers, finding space, etc as we worked on projects!
Attending were myself, my son Brian, Cole Santos, Gabe Mott, and Matt Lane. Matt works with/for CWD (community work day) on their Community Garden project. He was basically stopping in after a full day in the field, but was happy to hang with us for a while. We chatted about the space, and potentials for container based buildings. We need to look carefully around the area in daylight sometime soon to see where we can site some – and get discussions going with CWD (and Maui Electric, etc) about this.
Here’s the full flicker setof images:[slickr-flickr tag=”MakerMeet-April142011″ descriptions=”on” flickr_link=”on” sort=”title” ]
Cole and Chill Box
Cole had all the elements for his part of the Chill Box project. He was working on getting the cooling unit hooked up with new Peltier heat sink (water cooled hot side – awesome!). Unfortunately, the peltier we used last week didnt seem to operate. Perhaps we fried it without having proper hot side cooling? Fortunately, Cole just happened to have another peltier fridge in his car. Even though we lacked proper tools (gotta work on the traveling kits!) he hacked the peltier out and got it hooked up. It quickly made a very cold surface, so we put our water block on it and fired up the pump with hose…. oh yeah, filling the hose was not easy. Adding a T with a fill valve helped, but perhaps next time we do this step outside so as to avoid spilling water. We didnt have any heat conducting paste but the setup didnt do a whole lot to chill the water. Paste and a clamp will help but perhaps we have too much water/tube length. Perhaps a peltier just wont cut it… as people have cautioned us. Cole is going to look into a larger peltier and perhaps some DC compressor fridge/dehumidifiers.
JerryI and Chill Box
I, Jerry Isdale, got a bit of time to work on the SHT-11/15 Sensirion temp/humidity sensors we are using for Chill Box. I found several sets of example code for running it on the Arduino. I found one from ?? that includes all the code with no C++ library. The PracticalArduino site has a library based one (not mentioned in their good book). The Target23 example with library has some comm reset functions but needed some mods to the example to avoid name conflicts.
I had all sorts of problems not getting responses (error 1) from all the various PDE sketches. After some close examination of the code I realized I had major operator failure – the data pins can be any of the 0-13 on my Mega board. different examples had different values. Once I synced up code with hardware, it works good.
I like the practical Arduino lib gives both F and C readings. I like softReset etc from Target23 lib. I think we will create a mashup with assorted extra fixes when we put together all the code for Chill Box.
I brought the Vegitronix soil moisture and temperature sensors but didnt have time to try em out on the Arduino. I did find a project on web that shows how to use the moisture sensor.
I’ve also got some DS18S20 temperature sensor samples
incoming (arrived as I wrote) from Matrix Orbital. There are some examples using this with Arduino. It uses a 1-wire protocol which lets you gang several sensors on one ‘network’.
A similar sensor LM-35, was used in an Instructable for underwater rov use. Technique looks like it could be used for the DS18S20.
BrianI and Arduino
BrianI (my son) worked on his arduino, and organizing his electronics box. He has the ARDx.org Arduino Experimenters kit and is learning (mostly self taught) how to program and wire up circuits. The kit is a decent basic intro to Arduino. It is available from several sources such as AdaFruit and Solarbotics for about $85. Documentation (experiments, etc) is available for download from the ARDx site (see links on adaFruit page).
Gabe Mott, ColorBox and Ideo Labs Kinect Physics
Gabe Mott, who is building the ColorBox, brought in his Kinect. There is a Kickstarter project to help fund some upgrades to the Color Box. Please help out! Earlier in the day we had found Ideo Labs Kinect Physics Demo. Its an OpenFrameworks based application with source available and supposedly could run on a Mac. I pulled down the FAT distribution of openFrameworks (of_preRelease_v0062_osxSL_FAT), which includes various addOns referenced in that article. Then we started trying to make it work in XCode…
My first test was to go into the ofxKinect/example (of_preRelease_v0062_osxSL_FAT/addons/ofxKinect/example) and build the application. After a minor bit of relearning to navigate Xcode UI, I managed to get the application running. We connected up Gabe’s kinect and Wow – it worked.
Next was trying to get the IdeoPhysics demo built. The blog page said it needed the ofxBox2d physics add-on as well as ofxKinect. I found that but had to renavigate XCode to figure how to create a new project with both app features.
Easiest way seemed to be to copy the example folder from ofxKinect to apps/myApps/IdeoPhysics. Then I opened the ofxKinect.xcodeproj file with XCode 3.2.5 and used Project->rename to rename it. (You cant simply rename xcode projects in finder as there are a bunch of internal vars/proprties that have to be changed.) The path depth (apps/myApps/IdeoPhysics) was needed to match addons/ofxKinect/example so relative path names inside the project still worked. The project rebuilt and ran identical to original – file moving worked.
Next I copied the 3 source files from Ideo’s googleCode release to the src folder in the project (overwriting the 3 files there) and rebuilt. First glance at the code indicated there were 4 image files used in the tumbling boxes, but these were not included in the Ideo repository. The code did not check for failure to load. I left this for now.
The compile first indicated the ofxBox2d addon code was not found. The ofxKinect example didnt use it so it was not linked into the project. I dragged the folder from Finder to the xcode project’s add-on group and trimmed out the examples folder.
Next compile indicated we were missing ofxTriangle and contourSimplify. I did a web search and found ofxTriangle as an addon. countourSimplify was a bit harder to find. After some digging I found the code over in Joel Lewis’s google code svn. There is probably a better link than that, but for now it worked.
Next up I got a whole bunch of errors about:
class ofxBox2dRect has no member named width
class ofxBox2dRect has no member named height
It seems that ofxBox2dRect does not have width and height members, at least as provided in v0062_osxSL_FAT. So I edited the ofxBox2d source In file ofxBox2dRect.h, after line 12, I added public variables:
then in setup() after line 31 I added:
width = w;
height = h;
and Eureka! it works!!
We bounced around some blank squares for a bit rejoicing. Then Gabe made 4 colorful images and we dropped them into the project. They needed to be located in bin/data so the app could find them when run. And LO! we had bouncing colored boxes!
The four of us (Gabe, Cole, BrianI and myself) had fun playing with the app for a while. We noticed that when you go to full screen window, the boxes still (for most part) stop at the original bottom of the screen as if it was still there.
I transferred the code to Gabe’s Mac, and we rebuilt and ran it there – yippee it worked.
We cleaned up and packed ourselves out by about 10:15pm.
Some notes for future meetings:
- bring full set of basic hand tools (screwdrivers, pliers, hammer, etc)
- wear insect repellant
- food will be attacked by ants
- bring some foldup tables for added workspace, maybe some chairs