Posts Tagged ‘ayok’

h1

Are you ok is up!

May 23, 2014

The build instructions for my are-you-ok widget is up on SparkFun! How neat!

This isn’t the end for that project. I’ve been working on getting email on Maxwell (surprisingly not difficult). I’m going to visit Hugh this weekend to see why his accelerometer is fussy.

In a couple weeks, Elizabeth will be on the podcast again to talk about what needs to happen next, if she’s happy with the system and what changes to make. There is a rumor that SparkFun will have a kit of parts for me to give away at that time to podcast listeners. (I need a contest! Guess a number? The quotes are too easy thanks to google.)

For someone who seems to be always starting a contract next week (sigh), I have been busy. My EELive talk is going up on element14. I’m staying about a week ahead though this week I have to do the summary and I’m not ready.  Also, on element14, Sophi Kravitz asked me questions about consulting but I kept distracting her with RTOSs and stories of are-you-ok widgets. I’m happy with her resulting interview.

I went to the SOLID conference. it was interesting and eclectic. O’Reilly gave a big stack of my books away while I signed them and stress-chatted with people. I was there as press, recording things for the podcast. But Christopher says the noise level is too high, the results are too difficult to listen to. Argh. I’m not sure what I’m going to do. I do need to do something to “pay” for the press pass (and all the people I talked to).

I am still working with the Beagle Bone Black, though slowly. I updated my MacBook Pro from Win7 32-bit to Win7 64-bit which lets me use more than 2G of RAM. That is a complete re-install so I’m still finding things I forgot to back up (my bookmarks!). One reason to do this was to run virtual machines so now I have Linux running too. (It is the Oracle 6 one which seems to be Fedora based, I’m still orienting on how things work.) I’m trying to build Angstrom, just to update the OS that is on the board (step 1: update with known good image, step 2: update with my built image that should be the same as the known good, step 3: break everything).

I’m currently installing Python 2.7 because some precursor to actually building Angstrom needs it. It just gave me an error in the build process of python because it doesn’t have some library it needs. This is exactly how I remember Linux being.

I hope you have a good, relaxing weekend. I plan to.

h1

In which we discuss my hypocrisy

May 12, 2014

About a month ago, I had a little debate with myself on blogging for other sites, in particular turning my EELive presentation into a blog series. I decided that I hate flashing ads (no news there) and I’d like to be paid for my work (also, not a huge surprise).

Imagine the shock when I started publishing on element14 about What Marketing Won’t Tell You about the Internet of Things. So here’s the deal: element14 has editors who proofread my work (reading over this blog is cringe-inducing, clearly I cannot spell or punctuate), they don’t having blinking ads, and they are paying me. It is more than dinner and less than my mortgage. I’m thrilled because I think the information will get a wider audience there (plus Christopher says I should immediately spend all writing-money on self indulgence (I don’t know why but who am I to argue?)).

In my debate-y blog post here, I had a list of other activities that came first. I have done a lot of educational, nonpaying personal projects, really gotten things done (as anyone with a DIY project knows, actually getting things done is unusual). I ordered, soldered, and tested my first board. I’ve fished for jobs, nearly had one and then had it fall through so I need to start fishing again.

I haven’t taken a break from tech, mostly because I don’t really want to. I want to want to take a break. But writing the blogs, working on the are-you-ok widget, and soldering the motor boards: those have been tough to interrupt because I truly enjoy doing them. So given the next idea I have (stuck in the “maybe this is neat, maybe it is dumb” stage), I doubt I’ll actually wander off to garden or paint or something.

But I should get a contract. Someday. After this blog post. Or after I go to the library. Or after I see if my next idea is neat or dumb. Definitely after the sparkfun tutorial comes out (squee!).

Ahh, yes, the are-you-ok widget will be a sparkfun tutorial (soon!). I’m not getting paid for that and it is technically blogging for another side. But it is sparkfun. I love sparkfun. (And adafruit too.) And also, that whole monitoring thing? I wish I’d had it sooner, before my mom fell, was alone for too long, and passed away. Sometimes the projects aren’t about money. I’m overjoyed that it is working and maybe a few people will build them. Certainly, I’ll keep advocating for the manatees (even when one turns out to be an octopus).

 

h1

Have you met my friend Maxwell?

May 11, 2014

I love the manatee. But I’m about to get busy and I want to finish the tutorial before things come crashing down. And Elizabeth has been busy so… in the interest of taking away self-imposed obstacles, I moved forward on the are-you-ok plushie version. Don’t fear, the manatee (or maybe it will be a narwhal) will be back! Just not today.

Friday, I went to Target, looked around in their toy aisle for a suitable stuffed animal to disassemble. Then in their dog toy aisle. I figured the dog toys will have squeakers and my electronics can fit in that area (since, of course, I’d remove the squeaker). I came home with two items.

MaxAndDoggie

The octopus is a dog toy. The dog is a human toy. I’m sure this makes sense.

Surgery1Is it mean to make the other one watch? 

The next step was to remove the stuffing, remove the backing from the eyes so light can shine through, then affix the LED and accelerometer.

insideout

I’m a little worried about my LED.  Either I haven’t been consistent wiring up blue and green or they randomly change on a per-LED basis. (Ok, I am using two varieties of LED so it may be that.) That is wired according to the datasheet. But then when I wire the board, I end up needing to swap the blue and green. Sometimes.

Anyway… that is just to show the wires. The next step is to clip each one (leaving the others with their colors so as not to get confuse). The goal is to clip as short as possible but no shorter. So aim for three snips per since too-short is bad but too long isn’t.

clipLEDLeads

Then hotglue it all together. (CUE: Foreshadowing music.)

hotglueLED

I attached the LED with fishing line, trying to keep it centered on the face but a little free floating.

affixingTheLED

The fishing line is coiled around the LED, maybe a dot of hotglue, then tied at the head, and threaded through at the bottom. With some force, the LED can be shifted up and down but it stays where I leave it. I want the LED to stay where I put it but also float in the stuffing.

puttingOnTheAccelerometer

Next goal: when you pat the head of the octopus and the accel fires. Happily, the accel has two mounting holes. I used those and more fishing wire through the seams of the head. I also, characteristically, hotglued the metal bits and the cables on to the connector. Think of hotglue as the pauper’s potting substance.

Intelligent people would test all the electronics at this point. You know, before adding stuffing. But, of course, do as I say, not as a I do.

stuffingMax

Some stuffing, in the same role as screws in other projects, is expected to be leftover. They overdesign these things anyway.

Now, add batteries! I need to have a way for the user (the elderly neighbor) to change the batteries. And I need to have a way for the caregiver to do the annoying-as-all-getup BlinkUp to send the WiFi SSID and password to the Imp card. And yet we also need to have it all look nice and stay in place.

doublestickTapeAndImp

My only advice is to try it out a few times before making any decisions. There were many ways for it not to work and only one or two that it was possible. Double backed tape (the slightly foam-like stuff) is very useful, for those spots where hotglue isn’t.

finalBitsOfHotGlue

Finish the wiring, add hotglue, stick to the double back tape. Stand on battery box on end to show off hotglue, not realizing the sense of vertigo that might lead to.

Really, you have to test him before buttoning him up. Really, really.

glowingWithGuts2

 

Now, add some velcro to the battery compartment. Then to the flap of fabric on the bottom.

velcroBatteries

Shove it all into the plush body. Nicely of course. Possibly adding a bit more of that stuffing so there aren’t any lumps due to the electronics.

Put him somewhere that you walk by often. Pat him. Mine is a little slow to light but it is such a happy light that it is worth the wait.

maxwellHappyToMeetYou

Ok.

Now, this all looks pretty good, if I do say so myself.

But you maybe are thinking “well, these are instructions from an expert” but here’s the thing: This is the first time I’ve ever modified a plushie to take electronics.

Sure, I worked at Leapfrog, but they had real fabricators (they had the first 3d printer I ever heard of!). So. If you are thinking this is too hard, go out and buy a $5 dog toy and try it. I was pretty shocked at how not-hard it was.

Or you can do a $4 person toy.

doggieHeartLED

You didn’t think the dog was going to escape unmodified, did you?

This is plain thread, sewing the LED into the inner lining of the plush body (don’t want to see the stitches on the outside). I decided the doggie’s heart should light up. And I’m going to have to use 3 AAs or 4 AAAs to fit into the diminutive body, so it will need its batteries changed more ofent.

Of course, I just put my last accel (and Imp) into Maxwell so it will be a little bit before the fuzzie dog gets the rest of its gear. I should go push the buy button on Sparkfun. I am excited about the high potential for cuteness from the fuzzmonster.

Even without the hardware, now I can continue the tutorial. (Or go outside and play before the heatwave next week.)

 

h1

AAs vs rechargeable and tutorials

April 30, 2014

Ok, I’m writing up the tutorial. Or I would be if I wasn’t writing this.  In the comments for the photo essay, punkiepunkie mentioned putting this together with AAs instead of the rechargeable solution I’ve got going on.

When I started, the Electric Imp drew so much power, AAs seemed crazy to me.

Once I got the battery stuff mostly settled, though, I had trouble killing off even my littlest LiPo. With 150mAh, my littlest Lipo looks like it will last 20+ days.

According to Wikipedia, I can expect 1500 mAh from normal grocery store AAs. I’d need to put two in serial to serial to get 3V. Oh, looking at the power section of the Electric Imp’s breakout board description, I  need 3.3V to 17V, so three or four AAs in serial would be best. Lots of power there, probably can go a year between new batteries, at least six months.

I like rechargeable batteries but it definitely adds a lot of cost to my build. If I take out the LiPo charger, the LiPo battery, and the fuel gauge, that makes the build cost $53 instead of $91. (It also makes the build easier.)

There are three different 4-AA holders, all of them $2:

I’m so attached to the fuel gauge, this is difficult. But Electric Imp has a built in voltage meter (hardware.voltage() returns the current voltage in floating point), I was only using the fuel gauge because LiPos are so tricky.

It is hard to get attached to a method of doing things and then try to change. But if I’m going to write a tutorial (I am, I am!), it would be better to focus on the important parts (the Electric Imp parts). I can easily put the LiPo stuff in another file and tell people how to upgrade.

Now I need to redraw my circuit, get a battery case, and take more build pictures. And fix my code. But this makes me happy, it is hard to shift directions but I wouldn’t have known I was making it unnecessarily complicated if punkiepunkie hadn’t mentioned a different path.

I don’t doubt there is goodness in open source (I use Wikipedia daily) but I don’t think it has every applied so directly to one of my projects. It is neat.

 

 

h1

Tootsie’s has the best cappuccino

April 28, 2014

There is a little restaurant in Palo Alto, really on Stanford, sort of near the mall. It is frou-frou food: if you get the fritatta, you don’t get to choose what is in it, you just get to be happy with the deliciousness that comes to you. With Nutella toast.

I love Tootsie’s. I love the cappuccino with its microfoam and deep espresso. I love the tiny donuts (zepole) that make me remember a time I liked donuts. The salads are great, the fruit is fresh, if you are there when they have macarons, get some. I sit outside, courting a pink nose, because the lavender is about to bloom (and the roses are already).

So, though it is a bit closer to her house than mine, it is absolutely no hardship to meet Elizabeth at Tootsie’s to talk about the are-you-ok manatee. It was almost enough to make up for the loss of the mock-up manatee that was so soft and spent so much time in my lap last week.

I’ll be getting a prototype in the next few weeks, probably with the LED and accelerometer sewn in. She’ll have to deal with the boards, though we’ve figured out that right angle connectors would have been better for the next revision. The height of the wires ended up being a bit, um, deformative to the stuffed animal.  I don’t know if Elizabeth is going to try modifying the sewing pattern to put more pocket inside the manatee or if it is going to be a bit lumpy.

Of course, it may not be a manatee. Elizabeth warned me that a whale would be good (for the twitter connection) and a narwhal would look great with an LED on the top of its tooth. I’m excited about all the options.

As punkiepunkie noted in the comments, I did update the agent code in github, cleaning up the comments and starting to indicate what other people are likely to want to change. I’m not done but I am very excited someone is trying this out. I do intent to add comments regarding using AA batteries and non-Sparkfun accels to the device. (Though, I’m hoping to make this a tutorial for Sparkfun. No, I don’t know how to do that. One step at a time… I’ll write up a proposal for the tutorial soon.)

I’ve got a few other things that need doing this week. I was cramming them in since the weather is about to get warm and I’d like to play hooky and go to the beach. But now I’m cramming a bit so I can stop mining salt (short contract) and get back to my gadget.