Painting With Light And A Little G-Code

Most photographs are made in the fraction of a second that the camera’s shutter is gathering reflected light from the scene. But there’s fun to be had by leaving the shutter open and directing light into the camera. Called light painting, it can be as simple as a camera on a tripod in a dark room and a penlight spelling out dirty words – not like we’d know – or as complicated as this CNC dot-matrix light printer.

The first idea that [Jeremy S. Cook] had for this build didn’t go so well. He fitted an LED to the gantry of his 3D-printer, intending to send it G-code representing bitmaps. The idea would be to set it up in a dark place, open the shutter, and let the machine build up the image by rastering through the X- and Y- axes while blinking the LED on and off at the right time. But since the gantry only moves in one axis, he abandoned the printer in favor of his CNC router. He printed a collar to fit the dust collector shroud we previously featured, added a battery-powered LED, and affixed a pushbutton switch to the let the Z-axis turn on the light. It took some tweaking such as adding a translucent PLA diffuser, to get decent images, but in the end it worked. We like the soft look of the floating voxels, which were really helped by the later addition of a Nano and a Neopixel. Check out the build in the video below.

One thing we’d suggest is better reflection control. [Jeremy] used a black platen as a background, but it wasn’t quite enough. We suggest going none more black next time.

Continue reading “Painting With Light And A Little G-Code”

Engine Turning Aluminum The Easy Way

Engine turning, or jeweling, or guilloché, or a whole host of other names, is the art of polishing a pattern of circles on a piece of metal. You see it on fine watches, and you’ll see it on art-deco metal enclosures. [Ariel] decided to explore this technique and ended up getting good results with a pencil eraser and toothpaste.

The process begins with a piece of aluminum, in this case an aluminum Open Source Hardware logo. The only other required components are a number 2 pencil, some toothpaste, and any sort of rotary tool, in this case a drill press. Toothpaste is spread over the piece to be turned, and a pencil is put in the chuck. It’s just a matter of putting circles on the aluminum after that.

This is, incidentally, exactly how engine turning and jeweling are done in the real world. Yes, the tools are a bit more expensive, but you’re still looking at a somewhat soft tool scraping a fine abrasive into a piece of metal. The trick to engine turning comes in getting a consistent pattern on the piece, something that could easily be done with a CNC machine. If anyone out there feels like putting a pencil in the collet of a CNC router, we’d love to see the results.

Continue reading “Engine Turning Aluminum The Easy Way”

What Hardware Lies Beneath? Companies Swear They Never Meant To Violate Your Privacy

“Don’t Be Evil” was the mantra of Google from years before even Gmail was created. While certainly less vague than their replacement slogan “Do the Right Thing”, there has been a lot of criticism directed at Google over the past decade and a half for repeatedly being at odds with one of their key values. It seems as though they took this criticism to heart (or found it easier to make money without the slogan), and subsequently dropped it in 2018. Nothing at Google changed, though, as the company has continued with several practices which at best could be considered shady.

The latest was the inclusion of an undisclosed microphone in parts of their smart home system, the Nest Guard. This is a member of the Nest family of products — it is not the thermostat itself, but a base station for a set of home security hardware you can install yourself. The real issue is that this base station was never billed as being voice activated. If you’re someone who has actively avoided installing “always-listening” style devices in your home, it’s infuriating to learn there is hardware out that have microphones in them but no mention of that in the marketing of the product. Continue reading “What Hardware Lies Beneath? Companies Swear They Never Meant To Violate Your Privacy”

Learning Through Play Hack Chat With Greg Zumwalt

Join us Wednesday at noon Pacific time for the Learning Through Play Hack Chat!

You may think you’ve never heard of Greg Zumwalt, but if you’ve spent any time on Instructables or Thingiverse, chances are pretty good you’ve seen some of his work. After a long career that ranged from avionics design and programming to video game development, Greg retired and found himself with the time to pursue pet projects that had always been on the back burner, including his intricate 3D-printed automata. His motto is “I fail when I decide to stop learning,” and from the number of projects he turns out and the different methods he incorporates, he has no intention of failing.

Please join us for this Hack Chat, where we’ll discuss:

  • Lifelong learning through play;
  • Toy-building as a means to skillset growth;
  • Sources of inspiration and getting new ideas; and
  • What sorts of projects Greg has in the pipeline.

You are, of course, encouraged to add your own questions to the discussion. You can do that by leaving a comment on the Learning Through Play Hack Chat and we’ll put that in the queue for the Hack Chat discussion.

join-hack-chatOur Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, March 13, 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.

Quadcopter Uses Bare Metal STM32

[Tim Schumacher] got a Crazepony Mini quadcopter and has been reprogramming it “bare metal” — that is to say he’s programming the STM32 without using an operating system or do-it-all environment. His post on the subject is a good reference for working with the STM32 and the quadcopter, too.

If you haven’t seen the quadcopter, it is basically a PC board with props. The firmware is open source but uses the Keil IDE. The CPU is an STM32 with 64K of program memory. In addition, the drone sports a wireless module, a digital compass, an altimeter, and a gyro with an accelerometer.

Although the post is really about the quadcopter, [Tim] also gives information about the Blue Pill which could be applied to other STM32 boards, as well. On the hardware side, he’s using a common USB serial port and a Python-based loader.

On the software side, he shows how to set up the linker and, using gcc, control output ports. Of course, there’s more to go to work the other peripherals, and Tim’s planning to investigate CMSIS to make that work easier. Our earlier post on STM32 prompted [Wassim] over on Hackaday.io to review a bunch of IDEs. That could be helpful, too.

Engineering For The Long Haul, The NASA Way

The popular press was recently abuzz with sad news from the planet Mars: Opportunity, the little rover that could, could do no more. It took an astonishing 15 years for it to give up the ghost, and it took a planet-wide dust storm that blotted out the sun and plunged the rover into apocalyptically dark and cold conditions to finally kill the machine. It lived 37 times longer than its 90-sol design life, producing mountains of data that will take another 15 years or more to fully digest.

Entire careers were unexpectedly built around Opportunity – officially but bloodlessly dubbed “Mars Exploration Rover-B”, or MER-B – as it stubbornly extended its mission and overcame obstacles both figurative and literal. But “Oppy” is far from the only long-duration success that NASA can boast about. Now that Opportunity has sent its last data, it seems only fitting to celebrate the achievement with a look at exactly how machines and missions can survive and thrive so long in the harshest possible conditions.

Continue reading “Engineering For The Long Haul, The NASA Way”

ESP8266 Gets Its Game On With Open Source Engine

This is likely not to come as much of a shock to you, but the ESP8266 is pretty popular. At this point, we’re more surprised when a project that hits the tip line doesn’t utilize this incredibly cheap WiFi-enabled microcontroller. If you’re making a gadget that needs to connect to the Internet, there’s a good chance some member of the ESP family is going to be a good choice. But is it a one-trick MCU?

ESP Little Game Engine Logo

Well, judging by software frameworks like the “Little Game Engine” created by [Igor], it looks like the ESP is expanding its reach into offline projects as well. While it might not turn the ESP8266 into a next-gen gaming powerhouse, we’ve got to admit that the demos shown off so far are pretty impressive. When paired with a couple of buttons and a TFT display such as the ILI9341, the ESP could make for a particularly pocket-friendly game system.

The game engine that [Igor] has developed provides the programmer with a virtual screen resolution of 128×128, a background layer, and 32 sprites which offer built-in tricks like collision detection and rotation. All while running at a respectable 20 frames per second. This environment is ideal for the sort of 2D scrolling games that dominated the 8 and 16-bit era of gaming, and as seen in the video after the break, it can even pull off a fairly decent clone of “Flappy Bird”.

In addition, [Igor] created an online emulator and compiler which allows you to develop games using his engine right in your web browser. You can load up a selection of example programs and execute them to see what the engine is capable of, then try your hand at developing your own game before ever having to put the hardware together. Incidentally, the performance of this online development environment is fantastic; with even the fairly complex “Flappy Bird” example code compiling and starting in the emulator nearly instantaneously.

This isn’t the first handheld game we’ve seen powered by the ESP8266, but it would be fair to say this one is a generational leap over its predecessors. Of course, if you really want to start throwing around some pixels, you might want to make the leap to the ESP32; which is the heart of the incredibly awesome (and tiny) PocketSprite.

Continue reading “ESP8266 Gets Its Game On With Open Source Engine”