Embedded - 83: The First Time I Was Electrocuted
Episode Date: January 7, 2015Raman Pi creator Mark Johnson (@flatCat_) spoke with us about spectrometers, 3D printing, and competing in the Hackaday Prize. Raman Pi project on Hackaday.io Hackaday prize semi-finalist video Mike... Szczys' Fl@c@ bio on Hackaday.com Open Source Fusor Research Consortium Wikipedia: spectrometer, Raman spectroscopy, fusors, and optical coherence tomography Weird Stuff is a Bay area electronics surplus store Raman Pi also has its own website
Transcript
Discussion (0)
Welcome to Embedded, the show for people who love gadgets.
I'm Eliseo White, here with Christopher White and our guest Mark Johnson.
You might know him as Flat Cat.
He was the creator of an open source, 3D printable Raman spectrometer
using Raspberry Pi and off-the-shelf components.
Hi Mark, thanks for being on the show today.
Hi, thank you for having me.
Could you tell us a bit about yourself?
Sure.
Boy.
Where to start, huh?
I am, you know, I practiced this with my friend and I'm so bad about talking to myself.
I'm talking about myself.
Okay, let's start with the easy things.
Are you a hardware engineer or a software engineer?
I'm, I guess both actually as much, one as much as the other because I don't know either for a profession.
You don't do either for a profession? You don't do either for a profession?
No.
What do you do for a profession?
Probably more software, I guess.
I do do software at work.
Okay.
And I know you didn't want to talk too much about your specific work stuff,
but how long have you been in the industry?
Five years? Twenty-five?
Probably closer to about
18 years.
And do you do a lot of hacking at home?
I do. A lot.
What kind?
A lot of hardware.
And I fill in the gaps with the software.
It's like everyone else, pretty much.
Why?
I mean, if you're professionally more of a software engineer,
why do you do hardware hacking instead of software hacking?
That's a good question um i guess because i i'm more of a uh a visual and and i like to you know have something in my hands
when i'm done yes yes i like that feeling of here is this thing and I made it. Yes. It's a greater sense of gratification that way, I guess.
Did you go to school for hardware, software, engineering?
I did not.
Yeah, it's all self-taught.
Wow.
That's impressive.
So how did you transition into doing that from wherever you were?
Well, my dad was an engineer and he worked for the government. So I kind of naturally was introduced into it there.
And I started with electronics when I was about seven, I think and kind of worked into I guess worked into both because I started off building simple circuits at that age.
And then he encouraged me and I built an Apple to clone when I was young and wrote, you know, stuff for that and just kind of progressed.
And yet you didn't end up going to school for it.
No.
Interesting.
So the ramen pie, the spectrometer,
for people who are not familiar with it, what is it?
Well, we should get back up a little bit, right?
And explain that it was the hackaday entry
yeah but i figured we'd get there okay it sounds like i just didn't want to go backwards
um so it's it's a ramen spectrometer it's um it the difference between it and a normal spectrometer would be that it uses a laser.
It contains a normal spectrometer.
It uses that for the end result. and based on whatever compound it's testing,
then the light is re-emitted either as Raman scattering or through Rayleigh scattering.
And the Raman scattering is what we're interested in,
but the difference is about a million times more powerful for the Rayleigh scattering, which is just reflected light from the laser.
And then the Raman scattered light would be shifted in frequency, and then we measure with the spectrometer portion what those frequencies coming back are.
If that makes sense. So for somebody with maybe an advanced high school physics background
who understands, you know,
has heard of Rayleigh scattering and various kinds of spectrometry,
how would you explain the difference of what you're trying to interrogate
with this versus a standard spectrometer?
Or what's cool about Rama and spectroscopy versus
uh standard spectroscopy i guess and then after that we're going to define spectroscopy
well i said advanced i know but i didn't get that till college so i wanted to go back a little bit
well maybe we should start there yeah you know actually the funny thing too is I have no experience in either, like probably a month before I started the project.
Wow, okay.
Yeah, everything I've learned about it, I've learned on the way.
So before we get there then, what turned you on to it?
I have a need for it. And to use one on eBay or wherever else you want to buy one is there's several tens of thousands of dollars.
So a little out of my scope.
I have wanted a spectrometer for a long time.
And so you mentioned a little bit about what it is. It uses light in certain frequencies to identify the materials of something.
And so there are mass spectrometers, there are gas spectrometers.
Really what we want to do is not the ones that burn the sample,
but instead the ones that shine lights at it and don't hurt the sample but tell
you what's inside of it right so there's absorb absorb it yeah absorption spectroscopy and
emission right so uh measuring like starlight would be emission so you're measuring the different
colors that are coming at you and absorption would be where you
have a source light with a calibrated light source that you shine on something and the reflected light
is what you measure and this is closer to that because you're putting light in and then looking
at what happens right we're putting a monochromatic light in so we know what the source light frequency is.
And what I'm looking for with it are bond angles.
So that's the interesting thing about Raman spectroscopy is that you can measure things like the vibrational state and the bond angles of the molecules that you're looking at.
Instead of just, say, their composition.
Correct.
A lot of spectrometers, that's what they do.
If you put in a sample of alcohol,
it tells you that it has nitrogen, oxygen, carbon.
Right.
But it doesn't tell you how it's combined.
And if you have a little bit of phosphorus in there,
the difference between alcohol and explosives is not that high.
At least not if you're just looking at what the atoms are.
But with ramen, you're looking at how the atoms are connected together, right?
Yeah.
So it'll tell you the state of the vibrational state.
Because water, as an example, has multiple states that it can vibrate.
There's bond stretching and the angles, and there's a number of ways that it can change.
And it'll tell you those differences.
Why would I care if my water's molecules were stretched?
There are a lot of reasons.
I mean, Raman spectroscopy is important in like biological research.
In fact, a lot of the followers I've gotten from Hackaday
are do-it-yourself biohackers.
Something I didn't actually even,
I knew a little bit about before I started,
but I didn't realize it was such a big thing.
It's interesting and terrifying.
Yes.
But yeah, so I mean, with genetics and things like that, I guess it's a big thing for them.
Yeah, there was another entry that was really interesting about polymerase, looking at genetic
features and being able to do that at home, which
I don't know. I always thought you needed a lab to do that.
Yeah, I guess there are a lot of, it's a growing
thing. People with their own PCR
machines. Yeah, because
the bugs there won't, wait wait a minute there'll be actual bugs
so so ramen spectroscopy requires a finer grained laser than the uh
well all lasers are monochromatic yeah but usually you have a for other spectroscopy
you use a broadband light source.
Oh, right, because you actually use the white light.
You want to see everything. If you're looking for absorption characteristics,
when you look at what happens to the material,
it'll be missing certain lines or emitting certain lines.
Well, I mean, one of the things that kind of made spectroscopy make sense to me
with the broadband, not the Raman,
is if you look at the earth
and the sun is your source, water
absorption makes it look blue to you
and white for snow and
all of these colors that we know what they mean because that's
I mean, if you aren't looking at something that's painted or colored, you're looking at a natural thing, its color tells you a lot about it.
Green probably means there's chlorophyll.
Right. with samples on your desk, it's a similar sort of thing, except you're looking at the actual spectra,
the frequency that you're seeing very fine grain
instead of these ginormous, it's green from outer space,
so that's a much bigger thing.
But Raman spectroscopy, monochrome light,
and you look at the bonds. What is the analogy there?
Is there an easy one like my whole sun world analogy?
My husband's saying, no, absolutely not.
He's looking at me like, you could have asked a more difficult question, but it would have involved math.
Yeah. math yeah well i mean so basically the the thing with the rama spectroscopy when you shine
uh the laser on the sample you're gonna get you know 99.99999 percent
rayleigh scattered light back so it's gonna be all except for you know one millionth of a percent uh
rayleigh scattered which is is right back at you with the
green light or whatever frequency you're using and then that tiny fraction is going to be
shifted ramen light so the green light will actually for water for instance will turn red
and that's that's what you're measuring. The shade of the shift in frequency
is what's important to you.
And so you have to filter out
the light color you put in.
That's what the notch filters do.
They filter out all the green light
and only allow that tiny bit of
Raman shifted light through.
That's the beauty of using a laser
is you can do that.
Because you know what your monochrome frequency is yeah and that's why it's important to have
a laser that's stable so you know temperature and other factors can cause the the diode lasers
to shift in frequency and and that's why i included also a pass filter right in front of the laser.
It only lets the 532 nanometer light through.
So do everything you can to make sure that that's as stable as possible
before it hits the sample.
Well, one of the things about your project was that it was relatively low cost.
You said you didn't, you know, eBay might have helped you
with the application
of a bucket of cash. How much
does a laser, a stable laser like this
cost? The one I
settled on was
about $90.
That's garage
invention land, yes. Yeah.
So it's 150 milliwatt is what they
listed as. I haven't measured it really
but it's pretty milliwatt is what they list it as. I haven't measured it really, but it's pretty bright.
Do not stare directly at the laser.
With remaining eye.
With remaining eye.
Yeah, it would definitely do some damage.
So why did you do this?
I mean, you said you had another thing you wanted to look at. Yeah, I'm working on a couple of other projects
that aren't really open source.
Oh, okay. So, this came up as a need
because I needed to measure some output from that.
It's kind of, it's measuring the waste from that,
but still it's important to know.
All right.
That's intriguing, but clearly not something you want to spend a lot of time on.
It's something I hope to release in the next couple years.
It's been a long process.
Yeah, I can imagine if you have something you wanted to do
and the solution was Raman
spectroscopy, you know, for one part of it, that perhaps it's a long-term thing.
Yeah, that's the irony, too, is the Raman spectrometer is actually a very small part
of the whole thing.
What made you decide that now was the time to get started or last april i guess um with the
roman spectrometer or i'm sorry roman spectrometer you can say ramen pie i bet it's easier yes roman
pie um the time was about right for where i was at in the other projects and everything that I needed to get that in line.
I had finished other parts of it that were actually more complex.
And the Hackaday Prize, you know, I was talking to a friend of mine and the ramen pie seemed like something that other people could benefit from
and there was nothing really about it that you know is special really i mean there's there's
already ramen spectrometers out there uh so i was knocking around the idea of sharing it and making it open source.
And then the Hackaday Prize came up and I started posting it on there.
And Mike from Hackaday sent me an email and said that he'd like to do a bio on me.
And it just kind of went from there.
That's Mike Stish. He was on the show a while back.
Your bio on
Hackaday was similarly
cagey to how we've been today. You didn't
have your name anywhere.
For a while, as I asked if you want to be on the show
I was addressing emails to Flat Cat
Because I had no idea
Why are you so cagey?
Or shy?
It's a good question to ask shy people
Speaking from experience
It's always nice
Well, i grew up in a in a very secretive
environment i guess you could say because my daddy did work for the government so uh
there was always that unless people need to know something then you don't need to tell them kind of attitude about things. And it had, it's just been ingrained in my life, I guess.
And until recently, I kind of lived by that.
So it's a big step for me to have shared something like this.
Yeah, to get into open source after that kind of experience.
Yeah, it's different.
It's a little unnerving.
Yeah.
And protecting your identity and privacy is tough in the online world these days.
It is.
It is.
It's difficult.
You did a really good job because I couldn't find much at all.
Yeah. So back to Hackaday, what was the whole
Hackaday Prize thing like from your side? I mean, from my
side it was pretty different, because I got to sit and read everything
and say, wow, that's neat. But for you, I mean, you were
working on things.
Yeah. So that was an experience. I don't mind deadlines. You know, I work with deadlines a lot
anyway, but I have to say that it was difficult doing the documentation and working on the project and meeting deadlines
and doing a video and everything all by myself.
Yeah, because I mean, not to say anything about a lot of the other projects, but I had
a lot to do.
Well, when you started at the beginning of the contest you you didn't have a lot done before
the contest started yeah not a lot at all well and these kinds of projects like the one you took on
i think the only thing missing is motors right did you ever you didn't have any
moving moving parts but you had optics and cameras and computers and
lasers and there are actually there's two stepper motors. There you go.
You hit everything.
Bingo.
Yeah.
Yeah, there's one stepper motor for the filter wheel and another one for the tray that opens the cuvette door.
So was it hard to stay motivated, self-motivated?
Not at all, actually.
That's something I don't have a problem with.
But prioritization is, it was a bit of a challenge,
making decisions about what I needed to get done before the next deadline
and what kind of documentation needed to happen.
When they had a few rules, like you had to have a couple of project logs
and you had to have a description and a picture.
Yeah.
I don't have trouble with logging things that I do.
I probably document more than I think most people do.
It was one of the things that drew me to your project, that it was, I really felt like I could build this.
And that was neat.
And so often with engineering things,
you get the idea that, wow, that's neat.
I'm so impressed that that person did it.
But you don't get that other feeling of,
and I feel like I can too.
So yeah, you did a great job talking about it.
Sometimes it's like reading a project log
sometimes reads like a patent. For those skilled in the art, you did a great job talking about it. Sometimes it's like reading a project log, sometimes it reads like a patent.
For those skilled in the art, you could reproduce this,
but you have to actually know how to build it already before reading.
Yeah, that was one of my major goals with this,
was to make it so that just anybody could put one together.
So we mentioned that it sort of was a multidisciplinary project you know has optics
and lasers motors you know uh computers all that good stuff cameras um how did you break down and
prioritize your development of it uh you know it was kind of a natural progression i think i started with the 3d models for the uh
the plastic parts and kind of hammering out the design on that and if you look at the history and
in the i started off with a completely different design actually um it was more of an optical bench setup. And the more I worked on that and the more people were talking on Hackaday,
it became more evident that it'd be sturdier and more effective to switch to the tubular kind of design like I have.
So I went that way, and then I just kind of worked out from there.
I already had an idea of the electronics and everything that was required,
although I did start off with the naive thought that I was going to use the Raspberry Pi camera to do it.
That changed quickly.
Getting that camera to do what you want is kind of tough.
It is. The biggest problem I had was just the exposure time,
and it didn't work out great.
Although I think it would work okay for a lesser version
if I used a transmissive grading instead of the reflective grading.
It would make the whole thing a lot cheaper
and more available to people.
You only need one line, really, of camera pixels, right? it would make the whole thing a lot cheaper and more available to people.
You only need one line, really, of camera pixels, right?
For the spectrum, you don't need a 2D camera.
So it seems like something of a waste to use a normal camera,
but they're probably actually cheaper because it's made in higher volumes. Well, and the other problem with the uh the ccd on the um raspberry pi camera is the
filters they have um they actually have a filter in front of the elements so you're not getting
a true representation and i know they have the new ir cameras i've got one around here somewhere
but more filters than that uh i'm not sure i
haven't and that one came out about the same time i started on all of this so i don't know exactly
if that one has all the filters i wouldn't imagine it does since it's infrared well i don't know if
those cameras have some non-linearities too yeah you'd have to either correct for or live with.
So yeah, all of those things factored into pretty much why I settled
on a linear CCD.
It looks like you got
about a $15
CCD
linear array detector from
Toshiba.
Yeah, they're fairly cheap.
They're not the easiest things to control but
so doing things with an optical bench can get really really expensive quickly yes um
how far did you go down that path before getting to 3d printing um Um, not far at all, actually.
I started off with the 3D printing,
actually. I started making
the earlier designs
were basically just
plastic copies of, you know,
you'd bolt to a
flat table,
you know, and
that didn't last long.
The vibration and everything else the alignment would wasn't very good so i abandoned that pretty much as soon as i finished it
and so when you look at the pictures on your project you have these 3d printed
tubes which is where the light goes and then some optics placed in certain
locations, mostly mirrors.
And it's all very contained.
It's all one giant thing almost, not like an optical bench where you have holes all
over and little tubers you put here and there and they're not connected except that they're all sitting on the
vibration isolated platform usually.
The 3D printing is, I am so interested
in that because anytime I've done optics in the past, that optical bench has
always been really tough to use.
Yeah, the reason I went with the tube design
was it seemed like it was more,
it was sturdier for the printed plastic parts.
It also eliminates environmental...
Dust?
Yeah, dust and stray light from other sources.
It just seemed like a really good way to go for that.
Plus, I had in the back of my mind eventually of trying for aluminum parts
or maybe like a HDPE,
like milling them out of aluminum or casting them,
whichever is a better way.
This leads me to one of my questions about the 3D printed parts is,
I don't know how sensitive placement is for this,
for a Raman spectrometer.
You mentioned when you had it on the bench,
you had vibrational effects, which caused trouble.
Presumably, thermal effects also would introduce problems, right?
Yes. So are the plastics that 3D printers produce,
are they stable enough that you can actually build your optical train
and be confident that it's not going to shift?
Yes and no.
Obviously, there's trade-offs.
I think for the home lab, it's good enough.
I haven't had any trouble really with alignment.
Once you do get it aligned, it seems pretty stable.
And it's probably a good idea to let it sit for a couple hours while it's stabilizing.
Right.
And that's part of the reason I was thinking forward to the aluminum and everything else.
For people who are more serious about it, that would be a much stabler platform
how did you design the optics so that they could be 3d printed i used open scad
i was going more for the how did you know how to do that i didn't how did you figure it out um a lot of google a lot of google so yeah um and a lot of
trial and error i probably have you know four or five copies of each piece that i've made mistakes
um so a lot of trial and error and just
google google google how did you get everything to align?
I was fairly lucky, I guess.
As far as alignment with at least what I've put together,
the mirror on the laser is the most critical point
that and the beam splitter
and I
probably need to do a little bit more work
but the adjustment screws that I have on the mirror
help a lot
so I want to actually
do some refinement eventually
and incorporate a little more
for fine tuning in that way do some refinement eventually and incorporate a little more
for fine-tuning
in that way.
It looks like on the picture on your project page
it's a three-allan screw
kind of wiggle it
back and forth adjustment?
Yeah.
It's similar to how telescope secondary mirrors
are adjusted, so
it doesn't seem unusual.
Yeah, it seems to work.
So what do you,
you walk up to Google,
you say,
Google, I would like to know
how to make optical things
with my 3D printer.
Hours and hours of searching.
Yeah. So for the six months or so that the contest was going, I probably got average of three, maybe two hours of sleep a day.
Wow.
Goodness, I was going to ask you about how, I mean, if this was like a contract you were doing about how many hours would it have taken you and now i'm a
little afraid of that number unbelievable amount of hours did you take time off work
um in certain points yes um i took um probably a total of two maybe three weeks of work off
to finish it sophie was talking to us a few weeks ago about make-cations, where you stay at home and make
things.
That was a new concept to me.
Was it a new concept to you?
No, unfortunately.
It's kind of business as usual.
Did your co-workers know about
what you were doing?
No.
Pretty much no one has any idea.
They still don't know?
No.
What did you tell them about your lack of tan when you got back to work?
Well,
I work from home and most of my co-workers
are out of state, so it doesn't matter.
Wow. Now I just want to go and tell them all. It's a good thing
you didn't tell me where he works. That's probably why.
So, back to
Hackaday, you had the semi-finalist video.
Ramen Pie started
as a product to fill the need for another product that I'm still working on.
I had to obtain the bond angle and ramen chips for samples that I was
producing. That called for a ramen spectrometer, and access
to one is financially prohibitive.
It is...
Is that your voice?
It is.
Did you speed it up? I did.
How much?
I think it was about 25%.
That's not too much.
You must have still been talking pretty fast.
I was.
I recorded it in sections and I sped it up, so yeah.
I have to get this much said in five minutes.
Yeah, that was the thing because the requirement was that it had to have more technical information
and there was a lot.
There was a lot, yes.
We weren't sure if it was modified voice.
You know, you typed it in the computer, and it said it really fast for you.
Yeah, the first and the third video were computerized.
Why?
Why? um why again with the the i was just uncomfortable i guess using my own voice
it's a good solution i mean both the speeding up and and using the the voice uh generators you know? And so you made it to the finals
and the top five.
And did you dream about going to space?
You know, when I first heard the contest
and the trip to space,
I wasn't really thinking about like Virgin Galactic and the other options that are out there.
I was thinking more of the Soyuz.
Yeah, that's what I would have been picturing.
Yeah, with that, I would definitely have gone to space.
But yeah, I looked it up and yeah, I didn't think they were going to pay that much to send somebody.
Yeah, that's a few tens of millions now.
But you won the skydiving prize, is that right?
Yes, I did.
Are you going skydiving?
I probably am not I'm a pilot
and I fly around my local area quite a bit
and there's two or three areas that are popular for skydiving
and that's pretty much the choice for me that I'm never going skydiving
because you see injuries
why would you jump out of a perfectly good airplane?
partially that Because you see the injuries? Why would you jump out of a perfectly good airplane? Partially that.
And they tend to jump right in the most popular place to fly north and south in this area.
And people, when you're doing...
That's not good.
Yeah, when they're not on frequency and you're flying and it takes you a second to figure out what that dot is in front of
you this reminds me of playing crossy road yeah no more across here
yeah i don't want to end up on anyone's windshield
so what other attention did you get by doing this project? Wanted or unwanted?
Well, yeah, there's some of that.
Actually, way, way more than I expected.
Yeah, raspberryplay.org wrote an article.
There's been a few, actually.
And Twitter has, I've had a lot of interaction on twitter um i put something
on publiclab.org and it was there for a couple months and then one day i think i got 17 000
views in one day. Jeez. Yeah, so a lot.
What do you think is driving that interest?
I mean, I knew theoretically what Raman spectroscopy was,
but I didn't really have a notion of its use in industry
or its importance.
Is there some application that you think people are looking specifically for?
I think the do-it-yourself bio is very popular.
Yeah.
Other than that, I see a lot of people that are interested in gyms,
like rocks and things like that.
Thanks for clarifying that.
I was thinking about sweat instead of rocks, so it's gems.
Yes, gems like minerals.
Do you think, are you going to stop with what you've got and it meets your needs,
or do you think there's further to go where you could drive it even lower cost and easier to make?
I think actually with the amount of interest I've got
and the amount of people asking for kits and things like that,
that there's definitely, it merits a second version probably.
I mean, it almost seems like you could get this handheld
after significant development,
but it doesn't seem out of the realm of possibility.
Right.
Unless the optical terrain has to be a certain length, I don't know.
No, I think a handheld version is probably possible.
I would have to
probably learn a little bit
more. Sure, sure.
Because, yeah, I think
some of those, I think they use fiber
optics and things, and interfacing with that
is different.
But I don't think
it's something I can't do.
Yeah, the nice
thing about free space optics
is you don't have to splice things
and cleave them correctly.
A fusion splicer for fiber optics
is pretty expensive right out of the gate.
Yeah, and that's something I've been really trying to do
is the biggest drive has been cost on everything.
Right.
That aluminum's going to have to wait then.
Yeah, actually I want
to, one of my next
steps I think is
I want to go over the whole design and make
sure that everything is
in check and that it's
going to be completely
accurate.
And then I want to
kind of refine it so that I have better things for
alignment and things like that.
And then there's a lot of work to be done still on software.
Are you,
are you going to make kits?
I'm looking at it.
Yeah.
Are you going to monetize this somehow for yourself? I'm looking at it, yeah. Are you going to monetize this
somehow for yourself?
I'm thinking about it.
There's been a lot of interest
from people for kits.
So, yeah.
I think if I do kits, they're
probably going to be aluminum and not
plastic.
Or at least injection molded.
Something, yeah, or maybe
something along that lines.
I'm looking at the different kinds of
ways to do things like that and how much
it costs. I think injection
molding is kind of expensive.
Yes, it's cheap to do
one, it's
cheap to do the 10,000th.
Yes. The first 10,000
costs a lot, but once you get after that, you're good.
Yeah.
Are you, is there any chance this is going to take over your life and become a job?
Maybe for a period of time, that's a possibility.
Is that exciting, terrifying, wonderful, strange?
I think all of those things together.
Yeah, because, I mean, you know, it's something new for me.
I had no expectations of this.
I didn't expect to make it to the quarterfinals, let alone the final five.
And I didn't expect the kind of interest that it's gotten.
And, yeah.
So, definitely making kits and things like that was, I figured when I did it that I'd just share it.
And a couple people would be, you know, hey, that's neat.
And then I'd go along with my life.
Re-evaluate, re-evaluate.
So, yeah, but I mean, it's a good thing.
I'm very happy that there is an interest and that it can help people because that's why I wanted to share it.
Do you, as you, okay, so you learned a lot about Raman spectroscopy and mechanical and electrical and you do software.
Have you ever shipped physical things before?
Because manufacturing, there may be some speed bumps ahead.
Yeah, I think there probably are going to be some speed bumps.
It's another whole area to learn.
Yes. Luckily that's where my friend comes in.
He's good with that end of things.
I look forward to hearing about kits.
That certainly changes the way you have to look at it all.
Like I said, I felt like I could follow your
instructions. They were really good.
Has anybody tried it?
There are several people
actually in the process of building them
right now.
Isn't that gratifying?
It is. It really is, actually. I get emails from people that are in the
process of building it, and they have a quick question or whatever, and I help them out,
and they seem very happy. So, yeah.
It's a little strange.
That's been one of the things I've found with the open source community, is that when somebody takes
what you've done and builds it themselves
there's a real
surrealness to it
it is
it's very interesting to think that
there are other people
with something
on their desk that I designed
and who care about
what you made and care enough about it
to either take it the next step or take ownership of it in some way themselves yeah definitely
so you mentioned software i did want to talk about the raspberry pi portion of it a little bit
one of the first three questions is why did you choose that as the platform especially because you've got some
other processors in there yeah so availability mostly um and the fact that when i started the
project i was thinking of using the camera module so that's most of it um plus it's a linux platform
and it's super cheap. So all of that together
was the biggest reason.
Did you need a lot of CPU
power to process
things or is it relatively
straightforward? In the beginning
with using the
camera module I would have
because
processing the images
and layering them and stacking them the way that you would have needed to would have taken a lot of processor.
As it stands, most of the processor time is taken just by retrieving data from the internet and stuff like that from the databases.
And that's to compare your signal against known samples?
Yes.
How do you qualify the setup?
How do you say, okay, this is working?
Do you need calibration?
Right.
Did you take, okay, I know what this thing is,
and this is what the spectrum should look like,
and it's shifted this way or that way or attenuated here,
so that means something's not right.
How did you go about testing your design?
So yeah, I mean, you take basically a known sample and you compare the peaks to the database
sample.
And I'm still kind of in the process of doing all of this part.
Mine right now, I wouldn't claim that mine is calibrated in a reliable way quite yet.
Because a lot of the software is what's required to do that. And it's still pretty young in that
sense. Is that the sort of thing where you could have not quite a perfectly aligned and perfectly set up
optical system but you could you could calibrate it with a known sample and then adjust for it
in software would would you rather adjust for it in software or make adjustments to the system? You know, it's pretty evident when you have the hardware aligned.
And yeah, I mean, that's pretty straightforward.
And other things you can make adjustments in the software for pretty well.
So eventually I would like to actually put a motor on the CCD
so that I can slide it just a tiny fraction of a millimeter
from side to side.
That'll help with both calibration
and with resolution, increasing the resolution later.
So there's a lot of advancements I can make
in a lot of areas.
The trouble is choosing which one to
do next, right?
Then you end up with the $10,000 spectrometer on eBay
which isn't ever what you wanted.
Exactly.
Back to Mike Stish's bio
on you on Hackaday.
It mentions a surplus electronics store in Silicon Valley.
Which one?
Yes.
So, yeah, I worked at Weird Stuff Warehouse.
Oh, God.
Awesome.
How did that deform your youth?
Oh, boy.
That was, it was a popular destination for me when I was young and, you know, not working there.
And then getting to work there was an adventure.
That was probably the best job I've ever had.
So I think we've talked about Halted on the show, and that's a surplus electronics store, and Weird Stuff is similar.
It didn't have, it seems like weird stuff had more recent things.
And fewer components.
Not things going back to the 60s necessarily.
Fewer tubes.
Yeah.
A lot of semiconductor equipment, I thought.
And yet we have friends whose Saturdays consist of going either to the De Anza flea market for electronics,
or to Weird Stuff, or to to Halted or sometimes all three,
depending on brunch and lunch and who else they're meeting with.
I suspect the customers at Weird Stuff are almost as interesting as the...
Weird Stuff.
Thank you. I was not going to get past that.
Yeah, I mean,
it was, like I said,
an adventure. There was a lot
of interesting
things there.
What's your
number one story from working there?
Oh boy, it has been a very,
very long time.
That means that, you know,
we won't recognize any of the names you use.
Yeah, boy.
Is there a Woz story?
There should be a Woz story.
You know, there was one popular thing
about working there
was trying to spot Steve Wozniak.
Because every time we thought we saw him in the store,
he'd run out.
He's like the ghost, the ghost of Woz.
Could never quite pin him down.
You've caught me.
Yeah, so there was never a definite sighting that I knew of.
Moving along, what's a fuser?
And does it contain ectoplasm and house ghosts?
What?
He talked to Mike Stish about fusers.
When I looked at fuser.net, an open source fuser, it seemed very Ghostbusters, which we did talk about on the show last week.
So it was sort of continuity of sorts.
So yeah, that's an interesting topic all in itself.
They're based on the Farnsworth fuser, Philo T. Farnsworth.
Oh, I think I know what this is.
Yeah.
So I guess he invented television, right?
Yes.
Yeah. So one of his projects was the fuser,
and it's basically, it's a, yeah, how do you describe that?
It's a vacuum chamber that you put a lot of voltage into,
and it's got a grid inside of it.
Oh, I know what this is.
Why would you do this?
They're not the safest devices on the planet.
That's why I'm asking the question.
I've always been fascinated with high voltage.
I've had a lot of experience in the past with Tesla coils and things like that.
So I guess it's another natural progression for me.
Basically, a fuser is a chamber you can make to do nuclear fusion.
Yeah. And you can't do anything
useful with it. I mean, you can do useful
things with it, but it's not going to generate
power for you. Right.
You've not reached ignition yet.
What it will generate is a lot of neutrons.
Lots. And a lot of x-rays.
Which are great stuff to stand in front of.
But they're
really pretty. Yes. It's just stuff to stand in front of. But they're really pretty.
Yes.
It's just, it's a hobby thing, you know.
So, how much current have you passed through your body?
What is the largest amount?
Oh, boy.
I think the first time I was electrocuted when I was like two years old.
The first time I was electrocuted when I was like two years old. The first time.
I knew when I heard about fuses that that was going to come out.
Oh, yeah.
I crossed two bobby pins in a light socket when I was two years old.
So there's that.
I seem to remember something with a fork.
Yeah.
You have to learn not to lick the light switch.
I accidentally touched the output on my Tesla coil when I was 17.
That hurt.
Hopefully that's just a high voltage, not high.
Yeah, not a lot of current, but...
Still hurts.
That hurt.
God, I'm still looking at this fuser thing.
I've lost Christopher.
I want to build one or find out where the closest one is so I can move further away.
Yeah, they think that people are building those in their garage.
So, back to Hackaday while he's off surfing the web was there something about the contest
that was more difficult than it looked i mean you mentioned deadlines which i honestly hadn't
really considered um because my deadlines were read stuff after your deadlines not
they weren't as arduous but was there something else that was just
neat or odd or more difficult than you might have expected from the onset or from being a
outside of it uh i think the documentation and the videos were probably harder than actually building the project. At least for me. Because the videos,
there's something, I don't know,
I have to do something and feel good about it.
So I didn't feel good about the third video at all. That was a
horrible example. And the second video, I didn't feel good about it either.
But the deadlines, i had to make certain concessions to get everything done in time
you know uh so yeah i think that was probably the hardest thing for me was making the concessions to
meet deadlines with the documentation and the videos and actually with the project itself
um that makes sense.
I mean, that's a very engineering perfectionist sort of,
I don't want to release this until it's perfect.
And if you didn't have deadlines, you might never release it because it will never be perfect.
Yeah.
That goes back to motivation.
That's, for a project that you're doing for yourself.
Documenting things doesn't come first to me.
Yeah, typically when I work on something,
when I'm done for the day is when I do my documentation.
And usually when I'm done for the day it's about 6 in the morning so I'm not always
most coherent when I'm doing my documentation but I try
So you mentioned the Raspberry Pi
but you've also got the embed nucleo
on there as well, what is that doing?
Yeah, so I have three of the embed processors.
The ST-Micro, and I started off with the Nucleo development boards.
But one of them handles the CCD for imaging,
and that takes pretty much all of it to do that.
The other one is for handling the, the grunt work like moving the motors and handling, you know,
all of the, the housework involved.
And the other one handles pretty much the interface.
There's probably a way that I could have integrated all that down um but with the
time frame and everything else it was it was pretty much easier to do it that way yeah sometimes when
you have more money than time especially if you're only building one it's easier to yeah and they're
only ten dollars a piece so they're actually not Really? Yeah. I'm used to the embed boards with the NXP processors, and those are...
Those are expensive.
Slightly freakishly expensive.
Yeah, the embed proper is like $60, I think.
Yeah.
Yeah, I started off with those, and I've probably bought several of them but when these when the nuclear boards came out and
it's only ten dollars for the development board complete with a usb interface and everything i
mean that's amazing i love the cheap dev boards i remember when these things used to cost thousands
of dollars and now now they're clearly not making money on them, and they may be losing in an effort to get us to buy their processors.
Yeah, and that was actually another nice thing is
STMicro actually contacted me.
They did a write-up on you, too.
They did.
They did a write-up on me, and they were very, very supportive,
and they were just great.
Like, really, I have to say, they were just great like really I have to say they were amazing
are you
I mean you said you were surprised
at how many people were
following you and sort of reaching out
wanting to help
in some ways
any good stories from that?
oh boy
from people you know that's tough there's been a lot and um yeah actually there's a couple of
people uh that have contacted me and they started off contacting me with questions about the CCD, actually,
and have gone back and forth in emails,
and it kind of turned into almost a collaborative effort
in refining the code for the CCD
and getting more integration time out of it and things like that.
So it's been very helpful and uh i was contacted um i
mentioned about the aluminum for the uh to replace the 3d printed parts um there's been people
contacting me about that about helping with casting and machining parts and things like that
so yeah it's just everybody seems to have something to contribute which is great
so one of the things that i got excited about with your project is actually
related slightly it's something i've worked on in the past for a number of companies called
optical coherence tomography which i think i've mentioned on the show before
um i don't know if you're familiar with it but, but it involves spectroscopy as part of the system.
It's a way to do microscopy for very high resolution through, say, skin or tissue.
And what it can do is allow you to look with great detail at very small structures.
Um, and it's really short.
The way it works is you either shine a broadband light source, uh, and some light gets scattered
back, uh, from your sample and then interferes with your source.
Uh, and then you can look at that interference pattern to determine the intensity levels of the scattering at various depths.
Yes.
And so you can keep doing that and you can build up a whole image,
a 3D image or a 2D image, depending on how you're scanning.
You can also do it with a swept source laser instead of a broadband source,
and that's usually done with fiber optics.
But when I looked at your project
i said wow this is really interesting because i wonder if we could apply this to oct and make a
lower cost oct system and it turns out probably not because the optical sort the light sources
for oct are much much much more expensive than say the rest of your optics um but it's still turning around in my mind and
uh i think i think this has applications i think 3d printing of optical trains may have applications
in a more broad sense and i kind of got excited about that and i wondered if you had been thinking
along those lines is like well okay we can do a raw month spectrometer this way can we do
some other kind of spectrometer or can we do this kind of scanner
and you know quickly get away from kind of the optical bench uh set up for prototyping which can
be very useful but expensive i wonder if 3d printing would allow us to just quickly prototype
things that are more stable um and move to something that could be a product really quickly.
Yeah, I absolutely think that.
I've been kicking around the idea in my head of other projects to start on it.
I've thought of things like a 3D printed microscope or definitely a standalone spectrometer
because the spectrometer that is included in
the Roman Pi will actually work standalone by itself as a regular
spectrometer so seeing different ways to
use that
I definitely think that's a path that we could look at.
Well, keep an eye on things.
It would be nice if certain parts got less expensive.
But for my applications, it's always dominated by a $10,000 or $15,000 thing.
Right.
And, you know, actually the funny thing is when I first started
and I was doing the funny thing is when i first started and i was i was doing the
original design um one of the things i thought of was just coming up with a sort of you know a lego
set of of optical bench components that are 3d printed and just make those available yeah i think
that would be brilliant but i don't know how much how much
interest there would be in that generally it's hard to gauge yeah beyond a final system because
your final system is cool in and of itself and there's big applications but but even the optical
i mean as you're making kits that that would be an interesting sub kit of here's here's some
optical widgets that usually cost a thousand dollars each but since
i 3d printed them and you're going to have to tune them a little bit yourself now they're 20
dollars each that would be fairly magical and there's been times when we've prototyped stuff
that it it's hard to get the budget to start the prototype. Yeah.
This would be a neat proof of concept before getting to machined aluminum.
I don't know.
I'm still so fascinated.
But I think we are about out of time.
Do you have, Mark, any last thoughts
you'd like to leave us with?
You know, just that I would like to thank everybody for the support, the interest, the hackaday for all of their efforts.
You guys for doing the judging.
I mean, just everybody has been amazing.
And it's just, I'm blown away.
So I'm definitely going to be sharing more stuff in the future.
That's great to hear.
I think we're pretty blown away too.
So yeah, feelings mutual.
Thank you so much for chatting with us.
And if you ever want to talk about that bigger project
or you start looking at OCT, I'd sure like to hear more.
I will definitely contact you.
My guest has been Mark Johnson, creator of Ramen Pie and one of the Hackaday finalists.
A link to Ramen Pie on Hackaday will be in the show notes, along with those excellent videos and build instructions.
Let us know if you build your own.
Email us, show at embedded.fm, or hit the contact link on embedded.fm.
If you want to talk to Mark, there's a contact link on his Hackaday page,
and he is on Twitter, which will be in the show notes.
Thank you. Thank you to him for being here.
Thank you to Christopher for producing and co-hosting,
and thank you all for listening.
Now remember, if you've got a talk proposal in mind, now is the time, especially if you want to be in Silicon Valley this spring or summer. The Silicon Valley Embedded Systems
Conference, O'Reilly's Solid Conference, and the Embedded Linux Conference all have their due dates
very, very soon after this show goes up.
I'd say get them all in by January 9th and you'll be safe.
Now, a final thought for this week.
From one of my favorite authors and scientists, Carl Sagan,
somewhere, something incredible is waiting to be known.