Live data from Hacker News

Ask HN: How to get started with practical hardware?

news.ycombinator.com

11–20 of 26 posts

Re: Ask HN: How to get started with practical hardware?

#11
Embedded tech here! There are many ways to get started but since you seem to be interesting in the practical, modern, IoT centric way it makes things a lot easier.

This is all quickly typed on mobile:

The first thing to do is to check out this online simulator and get a sense of basic circuit theory: https://www.falstad.com/circuit/

The first thing not to do, is to buy a bunch of random junk. Buying stuff is a fun hobby but it is very different from actually doing projects and learning!

You will probably want a good multimeter, but I can't recommend a good affordable one. They are all pretty OK these days, but the current "Really nice one everyone likes" changes every few months or so as they change the models. Probably all the same chips inside...

You'll probably want an ESP32 development board with USB-C, some random sensor modules, whatever happens to interest you, maybe some relay modules, etc.

After that, you'll want to try out some breadboard projects, but I think you might quickly want to move on from that, and start doing PCB design. It's so cheap and easy these days.

and a soldering iron. I suspect you will want a Pinecil, and the thumb screw upgrade for said pinecil. I have a similar one but haven't tried the pinecil itself, this stuff changes fast. It's about $25.

SMD breakout boards are a good way to learn surfaces mount soldering while still doing breadboard stuff.

Eventually you'll want to do a project with just a bare microcontroller, if you're serious about learning. I don't ever actually do this in real life because I don't do high volume work, and IMHO using modules just makes so much more sense if you're making 10 of something custom that's hand-assembled.

But I'm glad I know how to, even if I don't generally need to.

You do not need a bench supply till you get a bit more advanced, very basic stuff can all be done on USB.

If you really are serious about this stuff, you're probably gonna want to learn some math if you're not already a math person, and maybe look into FPGA work, because there seems to be lots of jobs these days doing pretty high end advanced stuff.

A Coffee machine microcontroller seems like a simple enough starting point.

Stuff to consider:

How will you interface with the machine? Will you be switching 120vac? That of course requires lots of caution and you shouldn't mess with it till you actually know what you're doing.

But there are power strips with control voltage inputs that essentially abstract away the dangerous part in a professionally made box.

For an SMS controlled bot, you have a couple challenges that are all pretty independent.

First you need a source of power, and protection and charging for said power. I like to just use modules for that, but it might be fun to do that yourself on a PCB.

You need motor drivers and motors.

You need the mechanical side, for me this would be the hard part.

You need a microcontroller, and some kind of modem. They don't have to be on the same device, maybe you have a 4G gateway device that sends commands over WiFi to the bot, or maybe it's all onboard.

There's always lots of possibilities. Modern tech is basically just tiny computers with different IO, and computers allow a ton of creative freedom.

And you need to figure out how it all connects. Will you breadboard, use modules and jumpers, or go straight to a PCB design?

Once you generally know how electronics works(A simulator will greatly aid this), pick a project, pick a subsystem, and research all the ways that subsystem could be implemented.

I started pretty much just by jumping in. Arduino is the classic place to start and it's pretty nice. PlatformIO is even better these days.

Re: Ask HN: How to get started with practical hardware?

#12
A particularly well-suited project is to make a (mech) keyboard.

It is good because the basics are simple, and you can "complicate" it in any dimension:

- Weird shape? Check - Add a trackball? Check - Crazy layout? Check - Add a mini-lcd screen? Check - Get nuts with actuation points? Check

It has a large and healthy community, and people are receptive to nuts ideas.

Re: Ask HN: How to get started with practical hardware?

#13
Mechanical or Electrical with software applications?

A search engine(s) can provive a way to explore/find specific diy project(s) of interest.

A few diy project sites [0][1][2][3] and/or ready made kits[3] starter examples.

[0] : https://www.openhardware.io/explore / https://hackaday.com/

[1] : https://www.hackster.io/

[2] : https://www.instructables.com/projects

[3] : https://shop.evilmadscientist.com/directory https://www.thingiverse.com/tag:diy_projects https://makezine.com/

https://www.colorado.edu/faculty/bogatin/projects-students/w...

Re: Ask HN: How to get started with practical hardware?

#14
post #7

It depends, on what you want to do. - Electronics is now huge, and have few extremely different parts, which could be all in one project. As example, you mentioned 3d printers, they have digital part, power electronic part and some could have optic (vision) part. To be honest, in University typical person learn few years, and become master in one part, and learn others by books or now by videos. What I see from my ex…

Chemistry? I barely studied that at all.

Re: Ask HN: How to get started with practical hardware?

#15
post #7

It depends, on what you want to do. - Electronics is now huge, and have few extremely different parts, which could be all in one project. As example, you mentioned 3d printers, they have digital part, power electronic part and some could have optic (vision) part. To be honest, in University typical person learn few years, and become master in one part, and learn others by books or now by videos. What I see from my ex…

Chemistry? I barely studied that at all.

Ok, how you will learn polymer capacitors without chemistry? Or for you normal to make broken tech, just because you don't know chemistry specifics?

Re: Ask HN: How to get started with practical hardware?

#17
post #15

Earlier quoted context omitted.

Chemistry? I barely studied that at all.

Ok, how you will learn polymer capacitors without chemistry? Or for you normal to make broken tech, just because you don't know chemistry specifics?

You don’t need to know chemistry. Read the spec sheet for voltage and temperature limits. Observe voltage polarity, if necessary. If you need more general information on how to choose which type of capacitor, read The Art of Electronics.

Re: Ask HN: How to get started with practical hardware?

#18
post #12

A particularly well-suited project is to make a (mech) keyboard. It is good because the basics are simple, and you can "complicate" it in any dimension: - Weird shape? Check - Add a trackball? Check - Crazy layout? Check - Add a mini-lcd screen? Check - Get nuts with actuation points? Check It has a large and healthy community, and people are receptive to nuts ideas.

Seconding this. It's how I got into electronics myself. I'll add that you can complicate the software in much the same way-- the basics are pretty trivial, but you can go nuts with customization. For one of my keyboards, I implemented my own USB handling using the hardware USB registers just for "fun" (and education, and to be able to say I wrote every line of code running on it).

Re: Ask HN: How to get started with practical hardware?

#19
I found the following books quite useful in my study of "Embedded Systems/Hardware" coming from a purely Software background. Without overwhelming you they provide just the right level/amount of Hardware knowledge to get you going.

1) Designing Embedded Hardware by John Catsoulis.

2) Introduction to Embedded Systems: Using Microcontrollers and the MSP430 by Manuel Jimenez et al.

3) Prototype to Product: A Practical Guide for Getting to Market by Alan Cohen.

You can also look at using Digilent equipment (eg. Analog Discovery 3 or 2) and learning materials along with Arduino/MSP430/whatever to get better practical insight into your system - https://digilent.com/reference/landing and https://digilent.com/reference/learn/start

Re: Ask HN: How to get started with practical hardware?

#20
post #12

A particularly well-suited project is to make a (mech) keyboard. It is good because the basics are simple, and you can "complicate" it in any dimension: - Weird shape? Check - Add a trackball? Check - Crazy layout? Check - Add a mini-lcd screen? Check - Get nuts with actuation points? Check It has a large and healthy community, and people are receptive to nuts ideas.

Agreed that keyboards are a good early project. To add to that, if you play video games, leverless arcade controllers can be a fun build also. Pretty similar overall as far as parts and shape, but the firmware they run (stuff like GP2040-CE or HayBox) make them act as controllers instead of keyboards, and they can even work on game consoles. Specifically I'd recommend the Flatbox rev 5[0] and the Open-Frame1[1].

[0] https://github.com/jfedor2/flatbox

[1] https://github.com/GregTurbo/Open-Frame1

Post reply on HN