How Art Became Science In Machining

Machining is one of those fascinating fields that bridges the pre-scientific and scientific eras. As such, it has gone from a discipline full of home-spun acquired wisdom and crusty old superstitions to one of rigorously analyzed physics and crusty old superstitions.

The earliest machinists figured out most of what you need to know just by jamming a tool bit into spinning stock and seeing what happens. Change a few things, and see what happens next. There is a kind of informal experimentation taking place here. People are gradually controlling for variables and getting better at the craft as they learn what seems to affect what. However, the difference between fumbling around and actually knowing something is controlling for one’s own biases in a reproducible and falsifiable way. It’s the only way to know for sure what is true, and we call this “science”. It also means being willing to let go of ideas you had because the double-blinded evidence clearly says they are wrong.

That last part is where human nature lets us down the most. We really want to believe things that confirm our preconceived notions about the world, justify our emotions, or make us feel better. The funny thing about science, though, is that it doesn’t care whether you believe in it or not. So go get your kids vaccinated, and up your machining game with scientific precision. Let’s take a look.

Continue reading “How Art Became Science In Machining”

X-Rays Are The Next Frontier In Space Communications

Hundreds of years from now, the story of humanity’s inevitable spread across the solar system will be a collection of engineering problems solved, some probably in heroic fashion. We’ve already tackled a lot of these problems in our first furtive steps into the wider galaxy. Our engineering solutions have taken humans to the Moon and back, but that’s as far as we’ve been able to send our fragile and precious selves.

While we figure out how to solve the problems keeping us trapped in the Earth-Moon system, we’ve sent fleets of robotic emissaries to do our exploration by proxy, to make the observations we need to frame the next set of engineering problems to be solved. But as we reach further out into the solar system and beyond, our exploration capabilities are increasingly suffering from communications bottlenecks that restrict how much data we can ship back to Earth.

We need to find a way to send vast amounts of data back as quickly as possible using as few resources as possible on both ends of the communications link. Doing so may mean turning away from traditional radio communications and going way, way up the dial and developing practical means for communicating with X-rays.

Continue reading “X-Rays Are The Next Frontier In Space Communications”

Marketing And Selling Hardware Hack Chat

Join us Wednesday at noon Pacific time for the Marketing and Selling Hardware Hack Chat with Shawn Hymel!

It may not be every hardware hacker’s dream, but a fair number of us harbor fantasies of thinking up the Next Big Thing and kissing the day job goodbye forever. It’s an understandable dream and a laudable goal, but as they say, a goal is a dream with a plan and a deadline. What’s your plan for turning your project into a marketable product? Chances are good you don’t have one, and if you ever expect to get to your goal you’re going to need one.

Shawn Hymel is an engineer who led several marketing campaigns for Spark Fun and recently shared his thoughts on marketing with attendees of the first-ever KiCon conference in Chicago. He’ll be dropping by the Hack Chat to talk about everything you ever wanted to know about marketing your hardware projects but were afraid to ask.

join-hack-chat

Our Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, May 8 at noon Pacific time. If time zones have got you down, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.

Hackaday Links Column Banner

Hackaday Links: May 5, 2019

Simulacra and simulation and Kickstarter videos. The Amigo Robot is a 4-wheeled omnibot robot on Kickstarter. It does STEM or STEAM or whatever. Oh neat, injection molded magnetic pogo pins, that’s cool. Watch the video for this Kickstarter, it is a work of postmodern horror. We live in a post-reality world, and this is beyond parody.  You have the ubiquitous cheerful whistling, a ukulele, tambourine and a glockenspiel. You’ve got a narrator that falls squarely into the uncanny valley and a cadence that could have only been generated by a computer. You’ve got grammar that is very much correct, but somehow wrong; ‘It is the key to interact with family pets’. This is really, really bad.

Who is Satoshi? The creator of Bitcoin, a person or persons known as Satoshi Nakamoto, has been an open question for years now, with many people claiming they are the one that invented Bitcoin (with the implication that they’re in control of the first coins and therefore a multi-Billionaire). Newsweek found someone named Dorian Nakamoto, but that guy didn’t make Bitcoin. Wired magazine used back-dated blog posts to identify the creator of Bitcoin. Needless to say, the creator of Bitcoin has not been identified yet. Now, there’s an unveiling of sorts coming up. gotsatoshi.com has a live countdown and doesn’t use Rockapella as a house band. This bears repeating, again: there is exactly one way to prove the identity of Satoshi Nakamoto. To prove you are Satoshi, all you need to do is move some of the first Bitcoins. That’s it, that’s all you need to do, and it’s not going to happen when the gotsatoshi.com countdown hits zero.

CNC machines controlled by a Pi abound, but here’s a word of warning about buying a ‘bargain’ CNC machine from China from [Rob] via our tips line:

In the “homebrew” community, I know some people have their own CNC machines – I’ve seen a hundred and one projects using Raspberry Pis to run homemade CNCs and so on, so I guess there is a good supply of open-source/freeware to software to control them with.
However, some people, like a mate at work, might be tempted by a good “bargain” from China.  No names, no pack drill, but just before last Christmas, my mate bought a “cheap” CNC system from China – It was about three or four thousand Euros, if I remember rightly.  It has been working well and he done some work for our work as well. No problems.
Last week, our firm was contacted by Siemens. They claimed that someone at our firm has been using unlicensed Siemens software.  At first no-one knew what they were on about.  Someone thought it might be about some CAD system or other – we had been trialing a few to see which suited us best, but we had stuck well within the restrictions for the trials.
Then we found out it was the software on his CNC machine.  Because he had used his work laptop with it, the system had “phoned home” and alerted Siemens that an unlicensed version was being used.  Siemens then demanded EUR 32,000 – yes, thirty two THOUSAND Euros to license the software.  That was something like EUR 27,000 for the commercial license and EUR 5 000 for the second one.  It was explained that he had bought the CNC system from where-ever and had a license issued by the manufacturer.  I license that Siemens do not acknowledge.  They have now accepted that he bought and used it in good faith that it was fully legit, so they waived the commercial license and are now demanding “only” EUR 5,000, but that still comes with the threat – pay up or we take you to court…

We’re all very familiar that Dassault Systems will start hitting you up for that Solidworks license you didn’t pay for, but this is effectively firmware for a CNC machine that is phoning home through a laptop. In effect it’s a reverse Stuxnet, brought to you by a cheap Chinese CNC machine.

Here’s a hot tip for anyone who wants to do something people want. Direct to garment printers (DTG printers) are pretty much inkjet printers modified to print on t-shirts. ‘dtg printer’ is one of Hackaday’s perennial top search terms, most likely because of a post we did ten years ago. If you want to join the cool kids club and do something people desperately want, find a cheap inkjet and turn it into a DTG printer.

Red Hat has changed its logo. Red Hat, the company that somehow makes money on Open Source software, changed their logo this week. The branding for Red Hat hasn’t been very good since 2016 or thereabouts, and the branding for the Fedora project has been taking hits for just as long, m’lady. Beyond that, customer surveys revealed that the old ‘Shadowman’ logo evoked feelings like, ‘sinister, secretive, evil, and sneaky’. The new logo removes the shadowman entirely, and makes the hat the focus of attention. There is now official confirmation that there is a black band around the crown of the hat (in the Shadowman logo, this band could be confused for a shadow), and the crown is sharper. The jury is still out on the fedora vs. trilby argument, and indeed the argument is even more divisive now: the difference between a trilby and a fedora is in how they are worn, and by removing the Shadowman from the logo we now have fewer context clues to make the determination. Bet you didn’t think you were going to read two hundred words about the Red Hat logo today, did you?

New Part Day: Lynxmotion Smart Servos

Anyone who shops for robotics kits would have come across a few designed by Lynxmotion. They’ve been helping people build robots since 1995, from robot arm kits to hexapod chassis and everything in between. We would expect these people know their motors, so when they launched their own line of servo motors called Lynxmotion Smart Servos (LSS), it is worth spending a bit of time to look over what they offer.

While these new devices have a PWM mode compatible with classic remote control servos, unleashing their full power requires bidirectional communication over a serial bus. We’ve previously given an overview of three serial bus servos already on the market for comparison. A quick look at the $68-$100 price tags listed on Lynxmotion’s parent company RobotShop made it clear they do not intend to compete on price, so what interesting features do these new kids on the block have?

Digging into product documentation found some great details. Acceleration and deceleration rates are adjustable, which can help with smoother robot movement. There’s also an adjustable level of “stiffness” that adds some “give” (compliance) so a robot won’t have to be as stiff as… well, a robot!

Mechanically, the most interesting internal component is the magnetic position sensor. They are far more precise than potentiometers, but more importantly, they allow positioning anywhere within full 360 degrees. Many other serial bus servos are constrained to positions within an arc less than 360 degrees leaving a blind spot.

An interesting quirk of the LSS offerings is that the serial communication protocol uses human-readable text characters, so sending a number 255 means transmitting a three byte string ‘2’, ‘5’, and ‘5’ instead of single byte 0xFF. This would make debugging our custom robot code far easier, at the cost of reduced bandwidth efficiency and loss of checksum for detecting communication errors. It’s a trade-off that some robot builders would be happy to make, but others might not.

Externally, these servos have bountiful mounting options including some we didn’t know to ask for. Historically Lynxmotion kits have used a wide variety of servo mounting brackets, so they are motivated to make mechanical integration easy. The most novel offering is the ability to bolt external gears to the servo body. A set of 1:3 gears allow for gearing the servo up or down, or you can use a set of 1:1 gears for a compact gripper.

As you’d expect of servos in this price range, they all have metal gears, but they also have the ability to power the motor directly from a battery pack (a 3 cell lithium polymer is recommended). There are additional features, like an RGB LED for visual feedback, which we didn’t cover here so dig into the documentation for more. We look forward to seeing how these interesting little actuators perform in future robotics projects.

Hackaday Podcast 017: Are Cheap Microcontrollers Worth It? Android On Your Bike. Plus Food Printers And Coffee Bots

Join Editors Mike Szczys and Elliot Williams as they recount a week of fascinating hacks. We take a good look at the PMS150C, a microcontroller that literally costs pennies but can only be flashed once. SNES emulators have a new trick up their sleeves to make low-def a lot less low, and you retro enthusiasts will either hate or love the NES zapper chandelier. Elliot’s enamored by a bike computer running Android core, and both Mike and Elliot delve into the food hacking scene, be it meat, chocolate, coffee, or of course frosting!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 017: Are Cheap Microcontrollers Worth It? Android On Your Bike. Plus Food Printers And Coffee Bots”

How-To: Mapping Server Hits With ESP8266 And WS2812

It has never been easier to build displays for custom data visualization than it is right now. I just finished one for my office — as a security researcher I wanted a physical map that will show me from where on the planet my server is being attacked. But the same fabrication techniques, hardware, and network resources can be put to work for just about any other purpose. If you’re new to hardware, this is an easy to follow guide. If you’re new to server-side code, maybe you’ll find it equally interesting.

I used an ESP8266 module with a small 128×32 pixel OLED display connected via an SSD1306 controller. The map itself doesn’t have to be very accurate, roughly knowing the country would suffice, as it was more a decorative piece than a functional one. It’s a good excuse to put the 5 meter WS2812B LED strip I had on the shelf to use.

The project itself can be roughly divided into 3 parts:

  1. Physical and hardware build
  2. ESP8266 firmware
  3. Server-side code

It’s a relatively simple build that one can do over a weekend. It mashes together LED strips, ESP8266 wifi, OLED displays, server-side code, python, geoip location, scapy, and so on… you know, fun stuff.

Continue reading “How-To: Mapping Server Hits With ESP8266 And WS2812”