Much like the girl has decided to keep at the in-womb thing, I have decided to keep at the Java thing. Little brat. I decided to figure out how to dump accelerometer / orientation data off of the phone, for use with the IOIO.
In short, I am roughly attempting to see how the data exists in its natural state, in order to figure out how to scrub and interface with my physical components.
warning beta stage warning
So far, I have nice looking code that blasts a force close scenario. Great.
Anyhow, I’m hoping my time on this effort comes to a close and the girl decides to join us. Teamwork…I’ll code, she can practice her singing.
For a long while when we ~buffering~ used to stream YouTube ~buffering~ videos our inter… ~buffering~ …net connection used to be sort of ~buffering OoO buffering OoO buffering~ lousy. It would randomly stop ~buffering~ a movie for several seconds, which does ~buffering~ not seem like much of a deal unless you are trying to ~buffering OoO buffering OoO buffering~ concentrate on ~buffering~ something. Buffering.
Well, fortunately for us, our issue was an easy fix. As the technician did the normal technician thing, whereas he checks line levels at the modem and works backwards to the stub in, he (we) found a splice into the neighbor’s place. Must have been an inside deal at some point…an inside deal that would have gone unnoticed a few years ago. Once I moved in and started cranking high speed internet and two digital cable connections on the coaxial, it became a sore thumb.
The question of the day is this…what do you do in a place without the physical connections that we have? Are you just s.o.l. and stuck buffering?
Nope.
bingo
Whereas dial-up connections were the status quo, the future is now here, my friends. Satellite Internet is your answer.
It is pretty amazing if you stop to think about it…jumping up to broadband speeds from dial-up, using technology that is superseding that of the cellular industry. Leaps and bounds, when comparing geosynchronous orbit to the height of a cell tower. Think about that.
Anyhow, hit that link above to see how a good provider does it. Or buffer…your choice.
Consider this the conclusion of the IOIO DC motor experiment until further notice…
still ugly
I’m chalking this up as a success. Even though it is ugly and raw, I learned a ton mashing this thing together. Very fulfilling project from a nerd standpoint: I learned more Java, had to buckle down and do a little EE, kicked up the soldering skills a notch, and introduced a few more components’ features into my ghetto skill set.
My code is live on github with a preemptive v1.0 push…
Pins 21 though 26, wired through the usual candidates on an H-Bridge. Contact me with any details…it should be very spec sheet-heavy though. The main stumbling point is with the power source, so keep that on the front burner.
Cheers. This may be my last time intensive project for some time. Hardware is time-costly…I am planning to take on the software project I have been contemplating between diaper changes and feedings. Look for some dad stuff in the mean time…
A few months ago, I picked up a killer leaf blower on Woot. Our yard is devoid of leaves.
Last week, I tried to fire it up to clean the pine needles off of our steps…no dice. The thing wouldn’t fire up. I checked everything obvious…pulled the spark plug to see if it was flooded…ensured the kill switch circuit was intact…checked the fuel line for a vacuum…nothing. I came to the conclusion that the issue was with the primer bulb, as it was ‘pushing’ but not ‘pulling’ air when depressed. I was getting a bunch of pressure in the fuel tank, but no fluid was making it to the primer bulb itself.
Time for leaf blower surgery.
well, this blows
I figured that I could take apart the air filter and figure out how to bypass the primer bulb somehow. It turns out that the filter assembly is pretty accessible. Directly behind the drop-down filter cover, there are two inviting phillips head screws…
well, screw this
I backed said screws out enough to see a disconnected tube staring right at me. Sure enough, it was the rubber tube that feeds the primer bulb. See below—-v
well, this is hosed
It looks like the engineers at Hitachi sunk a spring in the end of the hose to avoid kinks, and relied upon friction to keep the hose in place. It looks like a design flaw, as the two-stroke’s vibrations had the thing rattled loose in much less than an hour’s worth of operation time.
Quick fix though…the unit fired up immediately upon reconnect and priming. Back in business.
It might get old pulling the filter assembly off if this hose becomes a nagging issue. On the plus side, this thing was a steal and is crazy overpowered. I hate to say that I would still recommend this even with the flaw…it really does blow.
I’ve made it pretty clear that I have been mulling about regarding my next cell phone. It is a tough decision. Compared to the jump in technology from my previous leap out of BlackBerry-ville, this is a lateral move. I will end up with a more mature stock operating system, better screen technology, a second (better dust off my Skype account) camera, and *hopefully a more capable battery.
That said, I am having a tough time making a decision. Two years and three hundred dollars sits in the back of my mind.
Too bad I’m not considering instead a purchase of eyeglasses. That decision is a no-brainer…Zenni Optical is my place on that front, no question.
Check out these marvelous holiday-themed beauties…
(this really cracks me up for some reason)
I like the frames, and love the price:
wild
Here in the States, Zenni ships for free on orders over fifty dollars. You could pick up twelve pairs of glasses for the amount of money I am going to drop on my phone. Seriously…a dozen pairs. That is pretty crazy.
At that cost, you may as well splurge on some holiday frames. They sure make that robot guy look dapper ^^^
Flashback to 2010. A simpler time. I was finally abandoning my BlackBerry, which is basically one step above bag phone by today’s standards. I was torn between two devices: the Motoroala X and the Motorola Droid 2. I opted for the physical keyboard, and have not looked back.
Flash back to present. A time less simple. With Katie’s iPhone 4S in the mail, it is nearing my turn to make a decision regarding my new device. The best phone on the market, in my book, is the Droid Razr. The kicker is the soon to be released Droid 4…
...hmm
This thing has the same stuff under the hood as the Razr, very, very similar to the duality between the Droid 2 and X. Trading .3 inches and AMOLED for a smaller qHD screen…sort of a tough call.
But…the good news is that I have a few months left before I need to make the decision. My Christmas wishlist instead is one involving Unusual Gifts this year. I am a sucker for strange electronic devices…that should be apparent from the remote controlled clock. I’m hoping to pick up some hackable gizmos that I can chop apart, and leave the phone decision for another day.
The motorized orange thing project is a wrap. Well, as wrapped as it will be for the time being…Katie is full term, so we are working on borrowed time. I managed to introduce remote control to the orange thing via Android and my IOIO board.
I found a goofy motorized alarm clock, Clocky, on Woot a while ago. My first thought was something along the lines of ‘that looks like a great thing to tear apart.’ The unit is designed to make a lot of noise, and drop off the nightstand when the alarm is triggered…key features are its ‘ruggedness’ and two-wheel design. Pretty slick platform for horsing around with my IOIO.
Once it arrived, I began ripping it apart:
clocky's guts
My focus points were fairly straight forward…keep the drive train system intact, and gain control of the motor function. The stock power was via four AAA batteries, so I did some testing with my 3.3V outputs on the IOIO:
broken-out
My 3.3V connections really made the unit crank. The on-board DC motors were fairly snappy…looked promising. I broke out the leads from the battery holder as well, figuring that I *may be able to drive the IOIO with the 6V. That is when thing got sort of dicey…I could run over a hard connection, but the current needs of the board / bluetooth setup was too great for this application.
I determined that I would need to introduce some technology, which ramped up the complexity of the build by a bit. Luckily, I had a Adafruit MotorSheild collecting dust on my bench. I scrapped one of the H-Bridge chips, and mounted it on a simple test board:
wires galore
This approach worked. DC motors are power thirsty little bastards…keeping my power sources isolated was the key to getting everything running w/o issues. Basic setup became this mess:
proof of concep
Zip ties, electrical tape, Altoids tin, some swearing, etc. later…
fugly project is fugly
…weird orange thing is ready to roll. Check the video:
Down the road, I would like to turn orange thing into a mobile mount for the phone itself. The end-goal of this whole bizarre project would be to have a web-controlled vehicle with on-board video streaming. I need to do some research and figure out how to mash around the video feed…going to have to step the Java game up a few notches. That takes time, and spare time is not abundant…it could happen though.
I will dump this code on GitHub and throw the apk on the Android Market. Stay tuned.