Posts Tagged ‘tech’

h1

Still thinking of you

August 6, 2013

Having a project made me quit playing with my Electric Imp and start getting to work with it. The Squirrel language taunted me for awhile but, happily, I got some help from Matt, my podcast guest, and things went well after that.

Now, when I set a color (RGB) value to a webpage, it sends the data to electric imp’s servers which sends the data to my board and, poof, the widget turns the right color.

Here is how that webpage looks:

How not to make a website

 

Ummm… yeah. Maybe not so beautiful. I’ve made many websites. But I haven’t done any in years so I don’t know where to start. Asking Google leads to a multitude of slightly terrifying, scammy results. Logical Elegance was done in a mac-based program by Christopher. I think it is beautiful but overkill for what I want. If someone asked me how a non-tech person should make a website, I’d point them to squarespace (which I use for the podcast site).

But I don’t want a website, I want just a page. Then when you want people to (wink? tap? ping?) your light, you email them the page and they use that. I don’t want to host yet another website. And since I don’t need to, a standalone page makes sense.

I suppose I want the page to be pretty simple. I don’t think people should put in the color, they should put in their name (use a cookie to save it). The name should transmogrify to a color automatically, though the user should be able to choose another color if they want (probably from a color wheel, [note: another cookie]).

So I’ll sketch this out on paper (storyboarding is critical) and then I’ll find a tool. Maybe I’ll do it in squarespace for the easy editing and then look at the html to help me figure it out. Or maybe I’ll use my Safari Online to find a relevant book.

But there is more. Once the webpage is unutterably lovely, what happens next?

I think I want to build a small number of these. Let’s say one to five. I’m using off the shelf parts and do not want to spin a board myself. This is a craft project. I’m putting a bit of work in to make it cute but then I’ll be done. Like a scarf.

Though I’ve wandered away from a scarf because, hey, I don’t know how to knit. Also, it needs to connect to one WiFi to get the info, a scarf moves around too much.

In thinking about how to package it, I started wondering about making it a hanging ornament. And I started wondering how to sell it. Happily, the answer came from the same place: in a jar on Etsy. (I was searching for Etsy and electronics to see if they have a no-electronics policy: nope.)

I know Etsy isn’t where you think of when selling or buying electronic products. But if I think about this a a hobby/craft project, it makes sense. I’d be quite happy to recoup my losses, I don’t need to make money on this. I wonder how much I’d need to sell it for. Hmmm… 

Then I’d need a jar ($2) and I’d need to cut a hole for a mini-USB header (for charging the battery) and one showing the edge of the Electric Imp (needed to program its WiFi). I might add some plastic baffle-bits so you didn’t see the electronics, only the warm glow of the LED. Though, maybe I’d leave it looking techy, depends on if it looks nice. Total that all up, I’d need to charge $75 to clear my costs (assuming the expensive LED).

(Mental note: widget should blink white once every hour when the battery starts to get low. Or maybe the Electric Imp agent should email the owner to let them know.)

 

I guess the website and the battery are the two big tasks left to do. The battery has me a little worried; it doesn’t seem like there are any LEGO-like blocks to put together that will work. I woke up thinking about that and how someone should already have made such a board. But all the ones I found aren’t quite the right voltage for an Imp.

Anyway, I’m not there yet. No need to borrow against future problems. I can play in the space of getting things done and dreaming about solutions.

 

 

 

h1

Thinking-of-you scarf

August 1, 2013

I should make something today. It is a work day and I don’t have a contract. Sure, I wrote show outlines for podcasts to come, did our newly incorporated company’s payroll, and fished for a new contract. But I’m not really satisfied. I need something to do.

(Yes, I’m supposed to be taking a break. This is taking a break.)

Looking around, what do I have and what can I make from that? I want to play with my Electric Imp (podcast), to use the web to control something. I started to write Imp code to connect to a BlinkM so I could remotely change the color of the I2C LED. (I love the BlinkMs, they make excellent pumpkin candles for Halloween.) That doesn’t quite work but it almost did, so it will probably take just a bit of fiddling.

I also have some conductive fabric I borrowed from a friend for another project. I should use it or give it back.

The song I’m listening to has a line, something about only thinking about you when you are near.

I wonder if I could build a scarf that would light up when I went to the internet and gave you a (pat? kiss? thought?). If you gave the address to me and someone else, our (snuggle? fuzzy? hug?) could be different colors.  When you received your (cuddle? truffle? smile?), you would think of me and we’d be in sync for a second.

I wonder if I could make one or two and then sell them on Etsy or something. Hmmm… I’m not even sure I need the conductive fabric. Hmmm…

h1

Tools sometimes define the problem

May 23, 2013

When I have a bug of the sort “nothing is working” or “the peripheral is acting like the processor isn’t talking to it”, the digital multimeter (DMM or DVM) is the tool I start with. It sits on my desk, all the time, even after a clutter purged. It is easy to use but a very yes/no, working/not working sort of tool. It is kind of binary, like a hammer. It is either hitting the nail or not.

If something is not working, the next tool is an oscilloscope. Like a microscope for electrons, an oscilloscope will let me see what is going on. However, to get an oscope, I need to call an EE friend and ask if I couldn’t please borrow his scope (he always says yes). Then I head over to his house after he gets home from work (I think his wife is afraid of the garage) and pick up the scope. I usually get it for a week or two, depending on whether he’s got a weekend project planned. (This is Phil of Weekend Engineering so he often has weekend projects planned.)

Where I’m going here… using an oscope requires planning. It requires me to admit my bug can’t be solved by just trying something else, that typing another line of code or doing a recompile isn’t enough. An embarrassing amount of my time is tweaking my code to do one thing just a little different. Admitting I can’t do that until it magically works, well, it takes a little while.

Even when I have 24/7 access to a scope, using it still means figuring out where to attach the probes to the board and configuring the scope. Admitting I have a problem, a real problem and not just a typo, is oddly difficult. I should just be able to figure it out.*

*This is a myth. A complete and total myth.

When I worked at HP, there were plenty of scopes around. But they all weighed 40-60 lbs (and dropping it would have been *bad* because they were hideously expensive (like 1/2 year salary expensive)). So in addition to admitting to myself I needed help, I had to find a big strong man to carry the thing for me. Who would inevitably offer to help me connect it to my board and then take credit for the solution. (Why didn’t we just put the darn thing on wheels? As I look back, I’m a little frustrated by that idiocy.)

There was another tool I used a few times there, one that I think was on wheels: the logic analyzer. It hooked up to dozens of digital signals and would help me figure out what was going on all over the system. But it was a very difficult tool to use (its manual was about four times longer than the oscilloscope manual and it cost a whole year’s salary). So to use the logic analyzer, I had to admit the problem was big enough to stop my normal work for three days, get someone to help me transport it, get another someone to modify my board so the signals were available, set up the analyzer, and then, within a few hours of getting the information, solve my bug.

Once I admitted the scale of the problem warranted a tool of that magnitude, and put in the diligent effort of setting up the tool, the solution was always obvious.

Now logic analyzers are tiny widgets that plug into USB ports and take all of ten minutes to set up. (I did it (almost) live unboxing of the Saleae Logic on my new podcast.)

But I still have to admit I need it. I wonder if I’m going about this wrong. In the past, I’ve always waited for a problem to happen. Then I’ve waited until I determined I couldn’t solve it the easy way (poke, poke, poke). Then I grudgingly admit it won’t fall to trivial debugging. Then I pull out whatever tool will help, grudgingly (still) hook it up and configure it. Then (usually), the problem falls fairly quickly.

First, the grudgingly parts… the fact that I can’t type my way out of a problem doesn’t make me stupid. I know that and yet… this is what programming is to many people.

Once I got my itty-bitty, super cheap new analyzer set up, I left it in place. And now I’ve moved on to other issues, just adding more signals. It is really handy. I can look at things whenever I want… before I start tippy typing randomly and pressing the recompile clean button for no reason.

But some tools take time and they don’t look like forward progress. It is hard to know when to throw in the towel on being a monkey typing randomly (and when to stop hoping Google, Stack Overflow, and caffeine can solve your problem). On the other hand, reading the manual or getting the right tool or taking a class… well, sometimes it is necessary to take a step to the side to get on to the fast track to the solution.

h1

Passionate, articulate designers talking about sensors in health

April 30, 2013

Last Wednesday, I was on a panel at Design West (the embedded systems conference). The panel was about using sensors in health applications. It was called Sensors Saving Lives and it was in the Expo Theater, right on the show floor, so there were lots of people walking by (and a good number sitting down, watching the panel).

We had some technical difficulties with mikes squealing at the very high range of hearing (it is always a bad sign when your audience is holding their ears). But that got fixed. And then things went well.

Our panel consisted of:

  • Christine Brumback, Director of Product Management at Fitbit, talking about their new Flex wrist based step-tracker (it will also track swimming and sleep).
  • Alissa Fitzgerald, CEO of AM Fitzgerald, a company that makes custom MEMS sensors (can you imagine your own sensor, sensing something new?), describing tiny (tiny!) pressure sensors for blood and cranial pressure.
  • Shena Park, Director of Product Development at iRhythm Technologies, discussing the challenges of ECG monitoring device intended for long-term wear.
  • Me! I was talking about a project I worked on about 18 months back: SpotOn, a non-invasive body temperature monitoring system for use in surgery and ICUs that recently made it thought clinical trials.
  • Jen Costillo, founder of RebelBot, was our moderator, making sure we stayed on topic and kept us going. (Jen was also my coconspirator in making this happen.)

Yeah, we had a panel at the embedded systems conference that consisted entirely of women. The attendance (and speakers) at the conference are primarily men so this is pretty odd.

We didn't get any negative comments. None. We did get lots of “neat topic” and “good information” comments.

Let's be really, annoyingly clear: it wasn't a panel about being women in technology. Those have their place (but I'm completely bored of the topic). It was a panel of women in technology talking about their tech and how awesome it is. Our post-panel questions were about health related embedded systems and about our particular areas of expertise. It rocked.

Every once in awhile I think “This! This is what I want to grow up to be!” This panel was one of those magical times.

 

 

h1

Embedded systems podcast?

April 23, 2013

At the embedded systems conference, Star Simpson, Jen Costillo, and I did a talk called Start Tinkering. The goal was to get people interested in doing hobby projects: why we do it and how to get into it. We did a radio show, I announced at the inaugural podcast.

But if it is the inaugural, that indicates there would be more podcasts. So what would we do podcasts about?

This one was very high level, an introduction to getting involved. I think I'd want to do a deeper dive into technical things, but still with a hobbyist bent.

I'd like to have a podcast that was just Jen and me, getting a box from Amazon that contains an Arduino and maybe one other board (accelerometer? ThingM LED?). We'd chat and open the box and download the software to make Arduino work. We'd do the normal Hello World to make the LED on the board work (that code is included when you install the compiler), and then change it so the LED blinks at a different rate and all the stuff we'd want to do to get started. Then we'd make the other board (accelerometer? LED?) work to show a few more things. Then, I think we'd rip the Arduino part off and treat it like an Atmel processor. Jen and I would chat over all of this, talking about what we were doing, talking about why we'd do this instead of that, mentioning AVR Freaks and other helpful communities.

I suppose we could do this with Raspberry Pi as well. Oh, MBED, XPresso and MSP430's cheapest board as well. It could be a segment “box to xyz”

And I'd like to do an interview with Jeri Ellsworth, asking her about what she's done and what's she planning. Actually, I'd like to interview all my friends first- Phil over at Weekend Engineering would have a lot of interesting things to say, especially about designing for consumer products. My husband could talk about FDA and UIs and embedded systems. Star could come on and talk about TacoCopter (she's locationally challenged so having her be a regular part might be difficult).

Maybe we could do a radio show of teaching someone to solder. Or talking about software design.

We'll need theme music, I think. And editing software. And good mics. And time. Lots of time. That may be the most difficult part.