Posts Tagged ‘plans’

h1

So many posts, so little time

February 2, 2015

I have been BUSY lately. And social. I’ve got so many posts in my head but not quite enough time to get them all down. So I’m going to write teasers in hopes that will force me to finish a few.

  • Design Con: fun or just connectors
  • Tindie meetup: I feel like I’m never going to catch up with all the nifty hardware out there
  • Being a Unicorn (my notes and reflections on this session)
  • Doing Self Evaluations (also from She’s Geeky)
  • She’s Geeky accidental session on asking a recruiter for money without seeming greedy (aka apologies to Twilio for what I did)
  • Snow White Introduction to Stock Options (part of previous, turned out to be pretty funny)
  • (On creeping:) Why I won’t meet you in a hotel bar to discuss business
  • Grading clients: why these clients get a C- while those get a D- and those others get a B+
  • Ideas for monetizing the podcast (well, one idea… which I really should discuss with Christopher…)
  • Thoughts about disagreements with guests on the podcast
  • Getting interviewed by a ten year old (Arduino Alarm blog)

Ok, I’ll finish my to-do list (and my paying work) then start writing one or more of these.

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

A new set of questions

April 14, 2014

My are-you-ok widget is working pretty well. With some help from the folks at Electric Imp, I got the system deepsleeping. Now I can’t calibrate the fuel gauge because I’m not discharging my battery fast enough. (Problems like these, I can fix!)

Elizabeth sent me a picture of the prototype manatee plushie. It is adorable. Thus, we are getting closer to creating a second, much cuter unit. This leads to an entirely new set of questions.

First, Elizabeth warned me that she told her sister about the project. Her sister, while disliking the cuteness factor of a plushie, has apparently told many other people, generating interest. I was amused that Elizabeth seemed concerned about her own lack of discretion.

Remember, Elizabeth and I did a podcast about the idea. And I’ve been posting here, the code is on github. The goal is not discretion. So what is the goal?

My goal with this project is to build instructions so anyone can build the system. The whole device will cost about $100 and require a bit of soldering (I don’t see how I can get around that), but it is all soldering headers or big wires into holes, nothing too arduous. The instructions will include the code, along with places that require modification (and examples for the different options). It isn’t intended to be a kit that a novice, non-technical person can put together. But anyone who reads MAKE magazine or has every held an engineering job should be able to muddle through.

I don’t know what I’m going to do with those instructions, I’ll let you know when I figure it out. Actually, I’ll  probably post proto-instructions here as I go along, trying out different things.

The first step of the instructions will be a parts list. Happily, that one is easy, I created a public wishlist for this project on Sparkfun. Next, I need to describe how to solder this together, that’s easy enough, though the wiring is not exactly trivial. (Note: I do want the reader to have some perfboard and some wire, I’ll need to note the assumptions in the instructions.)

I’m thinking about building unit #2, documenting it for the instructions. Here, have a picture of the kit as ordered:

photo

The more interesting parts come after soldering. If I set up unit #2 to work with my Electric Imp, will it always belong to my account? Or can I transfer it later? Right now, until the code is settled, I want it to belong to my Electric Imp work space. But for the instructions for other people to follow, I don’t want that to be true.

I shot an email over to an acquaintance at Electric Imp, asking about transferring accounts. We’ll see what he says. In the meantime, I can use my current Impee (the SD card looking thing) in the newly built hardware. Once I’ve built it.

As I think about how to give this to Elizabeth, I’m finding more questions- is there one agent per Impee? Or does this agent cover multiple? I hope the former though it would mean replicating code. With the latter, I’ll need to name the Impees better and figure out how to store per-Impee configuration.

I haven’t worried too much about configuration. I sorta plan to do it via an HTML web page but I don’t have a particularly well thought out plan. I sketched up a possible webpage but plan to leave that very late in the game. If I’m designing for engineers, they’d probably rather change the parameters in code than have another piece to worry about (ok, that’s how I feel right now, I acknowledge it isn’t true for everyone).

AYOK configuration page

My brain is churning with all the things that need doing, that need considering. I think I’ll go solder parts. That should calm it down and clarify what the next steps are. Though, one of the next steps is to give Elizabeth working hardware, either tomorrow or next weekend. Ideally tomorrow.

 

h1

A promise that, in the future, it will be better

September 4, 2013

Elizabeth came on my podcast to talk about Dolores, an older neighbor who lives alone. We got to talking about a device that would let Dolores maintain her independence while reassuring her family (and Elizabeth) that she is fine.

The idea is similar to the thinking-of-you jar I’ve been working on to explore the Electric Imp. Essentially, add an accelerometer, put it all into something cute (i.e. a teddy bear), have Dolores pat it when she wakes up (or if it is in the kitchen, when she walks by). If Dolores doesn’t pat it by 10am or three times a day or (setting to be determined), it will contact her family who can call and checkup on her.

This isn’t a hard concept. And I’ve been scooped a bit by Goodnight Lamp. (Hmph! People who take my ideas and go back in time to make them!) But their solution is pretty expensive (~$150) and I think I can do something for $80 from off the shelf parts.

Parts:

On the podcast, I said I thought it would cost around $80 to do a handcrafted one and my total here is $81. Yay estimating skills! Oh, I forgot:

  • Adorable receptacle: priceless.

On the show we also talked about features:

  1. Dolores would pat the bear.
  2. WiFi or other configuration to be set up by a daughter, Elizabeth, or other caregiver.
  3. Bear will also light when people hit a website (so the thinking of you functionality).
  4. System will message daughter (text, email, phone) if Dolores doesn’t pat the bear before certain times. (No check-in)
  5. System will also message daughter if bear is not charged or service is down for some reason.
  6. Daughter can see when the bear was patted (to verify system is working).
  7. Chargeable: 1 week of battery. Plugged in via USB wall wart.
  8. If battery is low (1/3 usable charge remaining or 3 days), system will email Dolores.
  9. If the battery is very low (2 or 1 day of battery left), system will email daughter.

Some I added later:

  • The bear will respond to a pat with an LED light (white if tricolor, green if red-green).
  • If the bear’s charge is low, it will respond to a pat with a blinking red light.
  • If you keep patting, the bear’s LED turns yellow. After thirty seconds of intense “patting”, the bear turns red and messages the family.

None of this is all that difficult. I looked at the Electric Imp hardware. I need to add battery monitoring so I’ll learn their Sampler class. And I need to add an I2C accelerometer but I already made an I2C LED work so I do not expect a problem. Much of this is server side, the agent software that I’ve been avoiding. I know in theory how to do it but I suspect the practice will be like hitting my head on a wall a few times.

Some of the work will be electronics: the battery is usable from 2.8V to 4.2V, the ADC input to the Imp presumably can’t go above it’s operating voltage (3.3V) so either I need to sort out a level shift (resistor divider? but that is a waste of power!) or figure out where else I can monitor power (maybe going into the Imp, on the April board?).

Also, I know an accelerometer is overkill, especially three axis ones; there are other motion sensors. On the other hand, I know how to use an accelerometer really well and I’ve got many lying around. Though I wonder… a temperature sensor would cost nothing but it takes longer to work and breaks my patting method.

Also, since the unit is going to be sleeping most of the time (for power reasons), the pat needs to wake it up. The Electric Imp has six pins available. I’m using 2 for I2C to the accelerometer, 1 for monitoring battery voltage, and 3 for the tricolor LED. If I need the accelerometer to interrupt the processor, I’m going to need to go to a bicolor LED so the user will only see red, green, and yellow. I think that is ok. But it makes me wonder if the accel really is the way to go. I don’t think I want a simple push button switch (not cute). Well, I need to go look at force sensitive resistors and soft potentiometers. Though how those are going to wake up the processor, I don’t know.

Yet.

h1

Cute internet enabled LED

August 29, 2013

Ok, I’m done. Or done enough.

Thinking of you LED

 

As you can see, I procured a jar and some semi-transparent rocks to diffuse the light. Recently the jar was mistaken for a jar of ice, so that’s what it looks like when it isn’t lit. The webpage looks like it did in the last post. It now posts the sender name as well as the color. I can snoop to see the server log with the sender name but didn’t make a page for the thinkee to see who sent them love when they weren’t looking.

The battery got bigger so that it lasts for about a week with 3-5 events/day. I did switch to a standard LED instead of my I2C LED so the total parts cost is about $70, pricey but it is handmade.

Things I kind of want to add to the project (projects are never finished):

  • Add battery monitoring so it does something when the battery needs charging
  • Add a thinkee page to see who sent love
  • Add an accelerometer so the thinkee can tap and have that get back to the sender
  • Update the Electric Imp to use the beta agent interface so the response is prettier after love is sent
  • I suppose some would say it needs a better container but I find this one quite amusing in its homemadeness.

I thought about selling this on Etsy but, really, I could sell this to a couple real-life people without bothering to learn how to do Etsy.

If I sell it, though, I don’t think I’d build another. I have a different idea. One that matters a more to me. But we’ll talk about that later. Soon.