Ben Shockley
S03:E27

Ben Shockley

Episode description

Ben Shockley, creator of Mini Fig Boards joins the show. He and Paul chat about the Mini Fig boards and how they came to be, how CircuitPython has helped in development, advice for new PCB designers, and more.

Show Notes

00:22 Ben’s start with computers and electronics

1:27 The MiniFigure boards - what are they and how did they start?

6:40 Comparing the two MiniFig boards

8:53 How has CircuitPython helped with designing the boards ?

9:51 Advice for people starting out in PCB design

11:50 Which board?

Download transcript (.srt)
0:00

Welcome to the Circuit Python Show. I'm your host, Paul Cutler. This episode, I'm joined by Ben Shockley.

0:08

Ben is a program manager, aerospace engineer, geek and explorer who loves to tinker, research and learn.

0:14

Ben, welcome to the show.

0:17

Thanks a lot. I'm happy to be here, happy to support it.

0:21

How did you first get involved with computers and electronics?

0:24

It's been a while and this may date me, but let's see here back in school

0:28

I remember the very first real computer experience would be

0:31

How to be Oregon Trail on the Apple - and you know the green screen and everything and you know

0:37

That was just a little bit of usage here and there

0:39

I think my real foray into computers started when my parents got one of their very first multimedia computers

0:45

I started to really figure out all the different things that you can do with this and then I started tinkering with it and

0:53

You know, after a while sometimes a computer would mess it up and family would get mad

0:58

and I'd fix it of course and get it back working again.

1:01

But after that I just think they decided to go ahead and get me my own computer in high

1:05

school because I think more or less they were tired of me messing with theirs.

1:09

So you know ever since then I've just been tinkering with computers and building them

1:14

myself and you know pretty much doing everything I can think of with a computer and enjoying

1:20

every minute of it.

1:21

That's great. I have a similar story with Oregon Trail and Apple too. It's still

1:25

very fun place for me. Tell me about the minifigure circuit boards that you designed.

1:30

Well first, what are they and how did they start? Sure, so they are basically a development board

1:36

similar to many dozens of other boards available today that run a micro little chip on it and you

1:43

know it's kind of you can think of it as a small computer with IO on it. But what makes them a

1:47

a little bit unique, I think, and kind of special is that they're shaped just like a

1:52

minifigure and their size. I tried to match it as best as I could one for one with a minifigure

1:58

and they started many, many years ago. What really started was I kind of got interested

2:03

in circuit board design. I wanted to see, "Hey, is this something I can do myself? Is

2:08

it possible? Can I teach myself how to do this?" And started searching and researching

2:14

about it and quickly figured out, yeah, I think I could probably do this. And it started

2:18

with very basic audio circuitry. I wanted to make like a headphone amplifier and started

2:25

digging into that and researching that and kind of quickly said, okay, I think I could

2:30

do that. Made a couple of things here and there. And then it moved over to, well, what

2:34

if I could do something a little bit more? And I had seen all these various boards out

2:38

there I think we all kind of at one point maybe started with an Arduino and I think I kind of

2:44

started with that. At the time Adafruit has some new boards coming out with you know some different

2:49

chips something you know into the 32-bit range and I thought oh that that looks kind of cool what if I

2:54

try something like that and you know the first board that I made was a basic rectangle shape

2:59

thing it was pretty much mimicking what else I saw but I thought you know that's kind of fun but

3:03

what else could I do? And I started to morph it into this, you know, I love Lego and grew up

3:11

playing with it and I thought that would be kind of neat. So it started to morph and the first few

3:17

rounds of design were more of a blob that kind of looked like a mini figure. And as I started

3:24

to explore the capabilities of really the PCB manufacturers, I could design anything in the

3:29

world, right? But whether it could be built or not was a different question. And I started learning,

3:33

yeah they can really start to do some of these finer details that I was wanting to put in there.

3:37

And so you know I think at first there was no gap between the legs and the arms just kind of

3:42

were stuck right at the side of the minifigure and that kind of thing. And I soon learned now I can

3:46

I can put these smaller details in here because it's all a hobby stuff I do in the you know my

3:51

free time. I just developed it more and more and more and it became more like an actual minifigure.

3:56

I think the first one that I would call a success was based on a Sandee 21 board by Atmel or Microchip, I guess now.

4:07

Made a bunch of those by hand.

4:09

I think I started sharing my results on like Twitter and in various places like that.

4:14

Hey, you know, this is kind of fun.

4:15

I and to my surprise, maybe I shouldn't have been.

4:19

But to my surprise, people were really loving these things.

4:22

And I started getting questions.

4:23

Hey, can I get one for me?

4:24

Can I get one for you?

4:24

And sure.

4:26

Yeah.

4:26

hold on, let me do this. And it was all assembled by hand at the time. You know, in my designs,

4:31

I kept trying to do that because I had no idea how to engage someone to go manufacture these for me.

4:37

So I just had to work with what I could possibly do. I think I bought myself a hot air gun. And

4:43

then I started thinking, okay, I guess I got to get templates for solder paste and, you know,

4:47

things of this nature as components started to get a little bit smaller because it is a very small

4:52

board to work with so the components had to be pretty small. Yeah I guess I you

4:56

know I just started making them by hand and then moved up saw an M4 chip the

5:01

SAMD51 and I thought ooh you know let's go to that one and see what else we can

5:07

do and so you know made a my mini SAM M4 was kind of the one that I'd made for a

5:11

while and I've made hundreds of those that was the one I started actually get

5:15

produced by someone for me because I just couldn't couldn't hand make them in

5:19

quantities people are wanting them. And that was several years ago. I think I had my last major

5:25

buy for that. Unfortunately, like a lot of people, the chip shortage hit me pretty hard and I couldn't

5:31

find those anymore. At the same time, Raspberry Pi Foundation came out with this RP2040 chip and

5:37

I thought that's a nice looking little chip. I started reading about it. Their documentation was

5:42

great. The support looked great. The chip itself was less than a dollar and I was paying several

5:48

dollars per chip for the for the microchip version. I thought, yeah, maybe it doesn't need something like the M4.

5:54

Maybe an RP2040 is more like what it really takes. And there were times when there might be several months between

6:01

development work or effort on it that, you know, life takes over, right? And I think in between all of this, I, my wife and I

6:09

had a daughter, she's six now, so that kind of dates how long I started all this many, you know, years before that. But

6:15

But eventually I finally picked it up again and the last couple months really been running

6:19

with it trying to finalize that RP2040 version of the chip which I named FigPi for semi-obvious

6:26

reasons.

6:27

Yeah, it's been again a pretty big hit I guess and I've got a few boards on hand that I had

6:33

assembled and I think there were about three or four iterations of prototyping before I

6:37

got it right but I'm getting a little bit better at it.

6:41

How did the two boards compare?

6:42

Were you able to add any new functionality to the FigPi?

6:45

Yes, a little bit.

6:46

I think one of the biggest issues that I had personally with the MiniSam M4 was the fact

6:52

that I just didn't have any good way of putting I/O on there.

6:57

So it currently has these 1.27 millimeter spaced holes and they're pretty small.

7:04

And it just honestly trying to actually work with it is pretty hard to do.

7:09

And so one of the goals with the FigPi was to make connecting to it a little bit easier.

7:14

So what I ended up doing with that one is on the back of it, I've got several...

7:18

They're JST...

7:19

I might get this wrong, but I think it's SH.

7:22

They're the one millimeter spaced connectors.

7:26

And most of them are four pin, which matches the Stemma QT or the Qwik style connectors.

7:33

And I did that on purpose for a couple of reasons.

7:35

Two of the ports are actual Stemma QT Qwik ports.

7:39

I2C based with the pins in the right order and everything.

7:42

So any of those boards that you find on Adafruit, the Stemic-QT boards, or any of the Qwik boards

7:47

you can find on SparkFun, and I think the Seed Studio Grove boards also have the same

7:54

kind of basic wiring setup, are all compatible and should just plug and play, and all the

7:59

wires and the connectors are available for a couple dollars here and there.

8:03

And that was intentional, because again, I wanted people to be able to connect to it,

8:08

I didn't want to have to design my own sensors and whatnot.

8:12

I wanted to have this great already developed ecosystem that I could just plug into.

8:18

So that's what I added there, and I think that's probably the thing I like the most.

8:22

The other addition that I kind of enjoyed doing was I added some additional RGB, I guess

8:27

you could call them NeoPixels basically.

8:30

The original, the SAM M4 has just a single one, which is more or less to support the

8:35

Circuit Python.

8:36

What's great about CircuitPython is it does give you feedback if you made a mistake here

8:41

or there through that RGB LED.

8:43

But with the 3x3 now, you can also use that to create other little things like I made

8:48

a heart or I made it count to 10 or stuff like that.

8:51

So that's kind of nice.

8:53

Speaking of CircuitPython, how has CircuitPython helped with designing the boards?

8:57

So I will say, without a doubt, without CircuitPython, without Adafruit supporting it, without all

9:03

the great people, many of whom you've interviewed, supporting it, there would be no way I would

9:09

be where I'm at today. I would have no idea how to write firmware. I'd have no idea how

9:13

to write the boot software for the SAM M4, which you have to do. It would have been just

9:18

me completely lost. Their support, again, has been invaluable. They've been excellent

9:23

at answering questions on Discord and places like that. If I run into an issue, I've just

9:27

posted real quick, "Hey, I can't get this to work." And I think a couple of times they've

9:32

piped up, "Hey, I think you've got the wrong size capacitor in there.

9:35

You really should probably put this one in there." Or, "Oh yeah,

9:38

you need to change your firmware or your board definition to say this and that,

9:42

and that'll get you what you're looking for." And so again,

9:44

it's just been invaluable. And then just without that community,

9:48

I don't know where I'd be. So yeah, love it.

9:50

That's great to hear. As a self-taught PCB designer,

9:54

what advice would you have for people just starting out designing their own

9:57

PCBs?

9:58

Do your research on the tool you want to use first.

10:03

There's a lot of good ones out there.

10:04

I started with EagleCAD back when it was,

10:08

you know, it was its own company.

10:11

I think Autodesk bought them.

10:13

I still used Eagle for a while

10:15

because I have a grandfathered in license.

10:19

And so it's kind of hard for me to give that up.

10:21

But I have, the FigPy actually was designed in KiCad.

10:25

And so I have moved over from Eagle to a KiCad setup.

10:30

And I like them all.

10:32

They're all very similar, just like any sort of CAD tool.

10:36

They all have the same type of thing as just learning

10:38

where each of those tools is.

10:40

And then once you kind of, once you find your tool,

10:43

just jump in, spend a little time, goof around.

10:46

I downloaded a lot of examples from other people

10:49

just to see how they did it.

10:51

And I think that helps a lot.

10:53

You know, it's just, it's like anything.

10:54

There's a learning curve to it, but anyone can do it.

10:57

It's possible.

10:59

- Are the minifig boards open source?

11:01

Do you share the design files as well?

11:04

- I do.

11:05

Everything I have is open source.

11:07

So I use GitHub or I'm kind of moving maybe

11:10

over to my own GitLab set up on my own server.

11:12

But yeah, I share everything out there.

11:15

I even have oshpark.com.

11:18

I don't know if you've ever used them,

11:19

but they're great for prototyping circuit boards.

11:23

They've been also very helpful.

11:24

and very supportive of me throughout the years as well.

11:27

And that's, I use them for all my prototyping

11:29

because they're fast, great quality, really helpful.

11:33

I have some of my boards already added to that.

11:36

So you can, if you don't even want to do the design aspect

11:39

and you just want to order a board,

11:41

I have links on my website to just click order a board

11:44

and you can get some boards sent to you,

11:46

the bombs available, stuff like that.

11:47

So yeah, everything's open source, ready to go.

11:50

- Well, that's great.

11:51

Last question I'd like to ask each guest.

11:53

You're about to start a new project.

11:55

Which microcontroller board do you reach for?

11:58

- Well, I would say my own, but the reality is,

12:02

yeah, I've got a lot of the Adafruit boards as well,

12:04

including the Circuit Python Express,

12:06

I think was what it was called,

12:07

the kind of the round one that has everything built into it.

12:11

It's a great board because it has so many peripherals

12:14

built in, so many things to try out and test and figure out.

12:18

And it's been a great tool to use as well,

12:20

But you know, sometimes I'll, whatever board happens to be

12:25

whatever's closest to my hand when I'm,

12:27

oh, I need something real quick,

12:28

and reach out and grab it,

12:29

and whatever's there is what I use.

12:31

But I think we all tend to have like that drawer

12:35

full of boards, right, that you open up,

12:37

and hmm, hmm, hmm, which one do I want today?

12:40

- Just full of boards in anti-static bags everywhere.

12:43

- Yep.

12:44

- And if people wanna learn more about the Mini Fig boards,

12:46

where should they go?

12:47

So minifigboards.com is what I'll say is the great place to start.

12:53

It has details about the boards there and like I said it has links there to my GitHub

12:59

repository to, links directly to order boards.

13:02

Again, if you don't want to have to open up a tool to look at the design or whatnot, then

13:07

you can go directly there to get a board.

13:10

You can also order boards through the website as well if you want to skip all of that and

13:14

and just order something already made and tested.

13:18

- Ben, thanks so much for being on the show.

13:19

- Yeah, I appreciate it.

13:20

This has been a lot of fun.

13:22

- Thank you for listening to the Circuit Python Show.

13:26

For show notes and transcripts,

13:27

visit circuitpythonshow.com.

13:29

Until next time, stay positive.

13:32

[Music]

13:39

(electronic music)