686 points · by Venn1 · 1y ago · 186 comments
One thing I'd suggest, for any hardware product, is that when doing your bill of materials to provide links and show estimated costs. Sure, these will change but having a rough idea of the costs is really helpful, especially when perusing on from things like HN. It can be a big difference for someone to decide if they want to try it on their own or not. It is the ballpark figures that matter, not the specifics.
You did all that research, write it down. If for no one but yourself! Providing links is highly helpful because names can be funky and helps people (including your future self) know if this is the same thing or not. It's always noisy, but these things reduce noise. Importantly, they take no time while you're doing the project (you literally bought the parts, so you have the link and the price). It saves yourself a lot of hassle, not just for others. Document because no one remembers anything after a few days or weeks. It takes 10 seconds to write it down and 30 minutes to do the thing all over again, so be lazy and document. I think this is one of the biggest lessons I learned when I started as an engineer. You save yourself so much time. You just got to fight that dumb part in your head that is trying to convince you that it doesn't save time. (Same with documenting code[0])
Here. I did a quick "15 minute" look. May not be accurate
Lidar:
One of:
LD06: $80 https://www.aliexpress.us/item/3256803352905216.html
LD19: $70 https://www.amazon.com/DTOF-D300-Distance-Obstacle-Education/dp/B0B1V8D36H
STL27L: $160 https://www.dfrobot.com/product-2726.html
Camera and Lens: $60 https://www.amazon.com/Arducam-Raspberry-Camera-Distortion-Compatible/dp/B0B1MN721K
Raspberry Pi 4: $50
NEMA17 42-23 stepper: $10 https://www.amazon.com/SIMAX3D-Nema17-Stepper-Motor/dp/B0CQLFNSMJ
That gives us $200-$280 before counting the power supply and buck converter.[0] When I wrote the code only me and god understood what was going on. But as time marched on, now only god knows.
I can’t tell you how depressing it is to go from having access to cheap learning materials for introducing kids (and adults) to electronics, and now it’s being taxed away in the name of improving the US competitiveness or something. Total footgun.
Putting together PCBs, reading and replicating schematics, designing my own hardware. It’s been really fun and has paid dividends for my career (firmware). If the US is interested in bringing knowledge of manufacturing back this is a very very bad way to do it. How many undergrad projects are now impossible because the BOM has quadrupled? How many future mechanical/electrical engineers are not going to get into hardware because of this?
It’s all going to be gone. I’ve spent roughly $1200 last year having PCBs and ordering sensors etc. that goes to $4000 with these executive orders.
It’s insanity, pure insanity.
Use VR / simuations to cut down on Milton Hershey[1] cost issues. Simulations can allow for 'timing the tarrifs'.
North American FPGA's may be a thing again! (once pi systems superceeds lambda systems as the multi-FPGA board connection theory of choice :-)
Save on robotic automation costs via software scripts!
Perhaps 3d printed circuit boards will now be a more realisitic alterntative than traditional outsourcing board production? [2][3][4]
Perhaps there'll be some motivation/inspiration for creating/combining standard programming logic/language/3d 'threaded' sock it programming by combining (2021) mathematics of knitting[5]; and more modern / inexpensive / upgraded 'general computational device' derived from apollo guidence computer[6] concept. aka instead of wasm, weave-em.
Do have to get over the 'stich in time, saves nine', since most modern computation 'saves in 8'. Easy to unravel program(s). Tight knit spreadsheets!
But, computational e-ink might scale better using DBOS concepts[7].
-------------------------------------------------------
[1] : https://hersheystory.org/milton-hershey-history/
[2] : https://www.reddit.com/r/3Dprinting/comments/1ajll6s/3d_prin...
[3] : direct desk top printed circuits on paper flexible electronics : https://www.nature.com/articles/srep01786
[4] : 3d printed circuit board : https://all3dp.com/1/3d-printed-circuit-boards-pcb/
[5] : https://www.sciencenews.org/article/how-one-physicist-unrave...
I'd call the tariffs the second death of hardware though. The first was when we killed all the parts stores. That was a slower death, coupled with the loss of right to repair. But we've been making big strides in that domain, so I hope we can undo that death. If we can also undo the dumb tariffs too then ironically we might have a chance to bring back hardware which somewhat seems inline with what that party (claims to/pretends to) wants.
We ran out of people buying from parts stores - hobby electronics became less popular.
Eras of hobbies:
Mechanical
Chemical
Electronic
Computer hardware
Computer software
[What's now?]E.g. in Sweden, PostNord has a government granted monopoly and charge about $20 per imported package, which adds up fast.
It really sucks, free trade and competition is what we need.
Only for Americans, though.
Plenty of kids in third world countries can benefit from the technology involved in this project - and will.
That is a net gain for the world, in spite of what America is doing to itself.
Similarly, Wikipedia doesn't elaborate on the etymology. [1]
Short-sighted and egotistical.
There likely have been deaths and injuries that would have been prevented by lidar, and there will likely be more in the future.
>Tesla Vision is, currently, legally below minimum human vision requirements and has historically been sold despite being nearly legally blind.
I'm not sure why you'd think HN has a monolithic opinion, this is a site with myriad different users.
Personally now I'll not buy any vehicle without assisted camera parking and apparently many people will agree with this important feature including Marques Brownlee [1].
[1] Reviewing my First Car: Toyota Camry Hybrid! [video]:
Why, we will perhaps never know. But likely they were early and it was deemed too expensive back then, or didn't find a supplier they could work with. Now there's too much prestige in it and they can never back down which would be admitting to a mistake.
It would be one thing if it was a one time event but then they repeated that playbook with the lack of a rain sensor.
People will die (and have already died) horrifically because of this decision. It’s morally bankrupt.
Operating radar at a specific frequency, such as 2.45 GHz (a microwave frequency often used due to its affordability), can be ineffective in environments rich in water droplets (e.g., rain), as these can dominate the radar signals. Higher frequencies enable the detection of smaller water droplets, but switching between frequencies can be expensive. Additionally, varying the radar's detection range to identify objects of different sizes complicates the calculations, involving factors such as minimum and maximum range, power, and time on target.
Cameras typically detect non-moving objects by comparing successive images. In contrast, radar can identify both stationary and moving objects and determine their direction relative to the sensor by emitting a frequency and analyzing the reflected pulses. Lidar, on the other hand, uses light to measure the distance to objects in its path, employing a photoreceptor to capture the reflected light.
> With a horizontal field of view of 30° or more and 576 ranging points (24 x 24), the sensor supports a frame rate of 30 fps, with a reduced 15 fps mode for maximum distance operation.
+ the salaries of everyone working on that stuff, not just assembly but also writing the code to support it
Not that I disagree, either: at the volumes that a modest car company puts out, I'd assume it's easily worth the, say, 3% cost premium on the car's total price to have something that can actually see things you don't see and thus makes a safer system. It might even reduce costs by having lower requirements for the vision hardware and software, but that's not something I can know. There's a lot of unknowns here that I think mean we can't really do a good comparison indeed
As the article notes, Tesla conveniently “fixed” their thermals and durability issue that caused by inventing a feature called cabin overheat protection and marketing it as for people/animals overheating and not for the non-automotive-spec electronics in the cabin.
If you can’t bring auto quality electronics to the car, just change the car so it avoids standard auto thermal conditions ¯\_(ツ)_/¯
https://www.thedrive.com/tech/27989/teslas-screen-saga-shows...
I guess it's simply a big numbers thing. If you sell lots of cars, shaving a couple of hundred dollars of each car adds up.
https://news.ycombinator.com/item?id=33397093
Of course he was working for Tesla back then. His opinions might be different today given that Elon is no longer signing his paycheck.
After all car sales don't drive the stock market. Public opinion does.
I have driven a Tesla once but not with the added feature.
Well you fucking do it then.
I know that my time is so short (because I have a family) that if I can even do a project then I'm almost certainly not going to document it because getting it done will be enough of a stretch for me, and if I need to come back and re-do it again, I am probably not going to even bother. Not all of us live in mom's basement and have the luxury of extra time.
It was a general suggestion for everyone doing hardware projects and OP did a lookup and provided the additional info / links, which sparked further discussions.
Chill.
> Well you fucking do it then.
I did > I know that my time is so short
My argument was to do this BECAUSE your time is short. Helping others is the side benefit. There are completely selfish reasons to document. It's more important to document when your time is short and more when it gets interrupted. Unless you have a perfect memory, write it down. Not all of us have the luxury to continually work on a project to maintain context continuously.Max range 12 meters. That's when it seems to start to get expensive. The light source, filters, and sensors all have to get better.
Good enough for most small robots. Maybe good enough for the minor sensors on self-driving cars, the ones that cover the vehicle perimeter so kids and dogs are reliably sensed. The big long-range LIDAR up top is still hard.
Here's a top of car LIDAR you can buy for about US$27,000.[1] 128 pixels high sensor, spinning. This is roughly comparable to Waymo's sensor.
But to be alive when it's possible for gifted individuals to create technology like this is just incredible.
Not sure how must they cost though.
Can the measurement system touch or be affixed to it?
Sounds like a pair of nice calipers might work. So depending on your precision needs, you might get away with the same approach: sliding grid of capacitive cells that slide over the measurement cells. Microcontroller measures them as it slides through. Atan2() for the final result. The meter only part of this is called a DRO(Digital ReadOut)
If your project is not budget constrained, than there are complete closed-loop stage solutions around:
Best of luck, and prepare yourself for sticker shock... lol =3
What counts as cheap to you?
I'm thinking about automating something a long these lines:
https://youtu.be/hnHjrz_inQU?si=dNzXVBVFsr7e8m_6
Off the shelf lasers and camera sensors can be hacked around with DIY for some pretty unexpected precision.
https://www.youtube.com/watch?v=j-u3IEgcTiQ
https://www.youtube.com/watch?v=ucuVsReDze0
https://en.wikipedia.org/wiki/Michelson_interferometer
Note those 532nm green DPSS lasers are repeatable within +-1nm across their normal operating temperature. Adding a 20nm wide OD6 narrow band-pass filter to a $5 5mW DPSS laser module is the cheapest precision money can buy these days.
Really depends what one can get away with in the mechanism being built. Note, many machines will fall under export restriction, and as a company people have to decide whether that encumbrance is worth the hassle.
Best of luck =3
The term of art that I'm exploring is called "Holographic Interferometry".
Sibling poster gave you a link to regular interferometry.
But basically, if you split the laser beam, one goes straight into the camera sensor, and the other off your object, you can do some pretty amazing things. Depending on a lot of little details (The devil is hiding here).
I found 3Blue1Brown's explanation to be the best, but less "ready to use".
The mouse controls are confusing the heck out of me. It shows a 'grab' icon but nothing about it grabs as the movement direction is the opposite, feels completely unnatural.
It may be in the project as I just scanned through i (but will read through it properly soon), but do you have any of the data for accuracy? Say, over 10M (Or less, if this lidar doesn't work at that distance).
I'm familiar with the FARO scanners which have a different type of mechanism. Their accuracy is good enough for building things.
I've discovered there's several markets for scanners… among those are people who need accuracy and people who are creating content for media like games.
Thank you so much for sharing this project. It's truly unbelievable.
What does the software post-processing look like for this? Can I get a point cloud that I can then merge with other data (like DSLR photographs for texturing)?
I see in their second image[1] some of the wall is not scanned as it was blocked by a hanging lamp, and possibly the LIDAR could not see over the top of the couch either. Can I merge two (or more) point clouds to see around objects and corners? Will software be able to self-align common walls/points to identify its in the same physical room, or will that require some jiggery-pokery? Is there a LIDAR equivalent of coded targets or ARTags[0]? Would this scale to multiple rooms?
Is this even worth considering, or will it be more hassle than its worth compared to well-done photogrammetry?
(Apologies for the peak-of-mount-stupid questions, I don't know what I don't know)
0: https://en.wikipedia.org/wiki/ARTag 1: https://github.com/PiLiDAR/PiLiDAR/raw/main/images/interior....
So it's not a model for processing data but rather a hardware hack for having a real lidar - as in real depth data.
You can throw anything you like on it.
I'll have to look into this as a starting point I get back from Easter vacation
It would be great to clarify what it is in the first sentence.
Not to make everything political, but I wonder how the US tariffs will affect electronics-adjacent hobbies. Anecdotally, the flashlight community on Reddit has been panicking a little about this.
I know the Hong Kong post also recently blocked outbound packages entirely sent to the US [2], so I don't know how that's impacting shipments of tech like this & etc byt would be curious to know.
[1] Arduboy creator says his tiny Game Boy won’t survive Trump’s tariffs https://www.theverge.com/news/645555/arduboy-victim-trump-ta...
[2] Hong Kong suspends package postal service to the US after Trump’s tariff hikes https://www.cnn.com/2025/04/15/business/hong-kong-suspends-p...
For what it's worth, this type of Lidar scanner was possible to make well over a decade ago with ROS1, a Phidgets IMU, a webcam, and a lidar pulled out of a Neato vacuum (the cheapest option at the time). This would be around the difficulty of a course project for an undergraduate robotics class and could be done with less than 200 USD of salvaged parts (not including the computer). Hugin was also around over a decade ago.
It's still a nice little project!
Being all polite and non-political and shit is what brought us to this pass.
Never lose an opportunity to make the people who voted for the current state of affairs feel isolated, rejected, guilty, and generally bad. Being nice to them doesn't work.
I logged in to make a comment regarding something within my area of expertise: the technology present in the parent link and how this technology has been accessible to hobbyists for over 10 years.
You’re feeding into the confirmation bias I already have about how the opposition thinks, which only serves to affirm the choice I made.
I hope they decide to develop some disruptive stereo/structured light/tof cameras eventually too, those are still mostly overpriced and kinda crap overall.
How China/US interact will determine the longer term future of that economic relationship but many companies are already adjusting because he future is currently uncertain. With the free trade agreement with the EU and more producers moving to the US I think that it's been a good disruption even if I'm now also scrambling to find alternative PCB manufacturers.
There is no such agreement.
>more producers moving to the US
How many will follow through with these announcements? During Trump's first term, announcing huge projects in the US and then not following through was a common tactic for companies dealing with Trump. Foxconn, for example, announced a new $10 billion factory in Wisconsin. They made some initial investments and stopped when people stopped paying attention. Instead of the promised 13.000, they now employ about 1.000 people there.
And what about all the companies that will have gone out of business by then? This mainly affects small companies, which are exactly the companies you need for a healthy economy. In some cases, they have shipments already paid for that they can't accept because they don't have the liquid assets to pay the unexpected tariffs, so these companies are now at risk of going out of business completely unnecessarily.
It never makes sense to use tariffs for economic reasons. It just does not work. Tariffs can make sense for strategic reasons if you're willing to take an economic hit to lower dependence on other countries for critical industries or technologies. However, the idea that taxes are ever "a good disruption" for the economy does not bear out.
This week two USA companies from which I bought some products from Europe sent me an email explaininig how they have to rise their prices due to tariffs, as they need to import from China for now.
Guess who will be faster: these companies finding an alternative supplier in the US that match China quality-price, or I finding an alternative supplier from China? They just admited that they are buying from China anyways.