Apple 1 Emulator Is A Perfect Fit For Supercon Badge

Supercon badge hackers had to be ready to present their show-and-tell by 6 pm Sunday evening. This ruthless unmoving deadline meant every badge hack on stage represents an accomplishment in time management, and some luck, in addition to their own technical merits. But that deadline also meant a few fantastic projects lost their race against the clock. We were rooting for [Jac Goudsmit] to build an Apple I emulator as his badge expansion, but he wasn’t quite done when our badge hack ceremony began. After Supercon he went home, finished the project, and documented everything in a detailed writeup.

Our 2018 Supercon badge is built on a retro-computing theme, and the default firmware came with a BASIC interpreter as well as a Z80 emulator running CP/M. So an Apple 1 emulator should feel right home with its contemporaries. Mechanically speaking, all the parts were a tight fit on the badge expansion board given out to every attendee at Supercon. So tightly that [Jac] had to file down the two main chips in order to fit them side by side. The breadboard-like pattern of connected holes on the expansion board, intended to help ease in beginners for their badge hack soldering, proved to be an inconvenience in tightly packed arrangements such as this.

With all the work [Jac] had invested, it was heartbreaking to know he was only five minutes of soldering and 30 minutes of coding away when time ran out. Time pressure was part of the challenge faced by every Supercon badge hacker, and while we’re sad [Jac] missed the deadline for stage time we’re happy to see him finish and write it all up. We hope every badge hacker would write up their stories of frantic weekend projects. Those who do so on hackaday.io are encouraged to tag their project with “Supercon” and get them added to our list of badge hacks for everyone to admire.

ESP8266 Wi-Fi Instant Camera Is A Simple Shooter

If a camera that combines the immediate gratification of a Polaroid with cloud hosting sounds like something that tickles your fancy, look no farther than this ESP-powered point and shoot camera created by [Martin Fasani]. There’s no screen or complicated configuration on this camera; just press the button and the raw picture pops up on the online gallery. Somehow it’s simultaneously one of the most simplistic and complex implementations of the classic “instant camera” concept, and we love it.

The electronics in the camera itself, which [Martin] calls the FS2, is quite simple. At the core, it’s nothing more than the ESP board, an ArduCAM camera module, and a momentary button for the shutter. To make it portable he added a 2000 mAh Li-ion battery and an Adafruit Micro Micro USB charger. [Martin] added support for an optional 128×64 OLED display for user feedback. Everything is housed in a relatively spacious 3D printed enclosure, leaving some room for possible future hardware.

There are firmware versions for both the ESP8266 and ESP32, so fans of either generation of the popular microcontroller are invited to the party. Processing images is obviously a bit faster if you go with the more powerful 32-bit chip, but on the flip side the ESP8266 uses 3MB of SPI flash as a local buffer for the images during upload, which helps prevent lost images if there’s a problem pushing them to the cloud. The camera is intended to be as simple as possible so right now the only option other than taking still images is a time-lapse mode. [Martin] hopes to implement some additional filters and effects in the future. He’s also hoping others might lend a hand with his firmware. He’s specifically looking for assistance getting autofocus working and implementing more robust error correction for image uploads.

We’ve seen some impressive DIY camera builds using everything from a salvaged thermal sensor to film and molten aluminum. But the quaint simplicity of what [Martin] has put together here really puts his project in a whole new category.

Continue reading “ESP8266 Wi-Fi Instant Camera Is A Simple Shooter”

Hotend Becomes The Z Probe With A Kinematic Coupling

3D Printer tool changers are bedazzling to watch, but even failed attempts at tool changers can yield something marvelous. Such is the case for [Raymond] who transformed a tool changer attempt into a perfectly capable z-level probe that uses the hotend itself as a limit switch.

The secret sauce behind this mechanism: a kinematic coupling. This coupling takes two planar surfaces and perfectly constrains them relative to each other by mating them together at exactly 6 points of contact. The result is that repeatedly separating and joining the two surfaces will always land them in the same spot within a few microns. To transform these surfaces into a switch, we need only run a small current between the points of contact. That was easy since there were all-metal balls and pins making the connection. Both surfaces are held together with magnets with the upper surface holding the hotend. To trip the limit switch, the printer simply lowers the z-height until the hotend “probes” the bed, defeating the magnets and breaking the current. Presto! No switches or P.I.N.D.A. probes. Just good old fashioned electricity and steel pins.

With so much focus on pricey probes and repeatable switches, it’s great to see some good old-fashioned geometry guiding the precision behind this printer’s sensing. It’s also heartwarming hear that the whole project was actually inspired by another coupling-equipped 3D printer that landed here a few years ago! Finally, if you’re curious to see some other folks getting some more mileage out of kinematic couplings, have a look at this homebrew CNC touch probe.

Mechanisms: Lead Screws And Ball Screws

Translating rotary motion to linear motion is a basic part of mechatronic design. Take a look at the nearest 3D-printer or CNC router — at least the Cartesian variety — and you’ll see some mechanism that converts the rotation of the the motor shafts into the smooth linear motion needed for each axis.

Hobby-grade machines are as likely as not to use pulleys and timing belts to achieve this translation, and that generally meets the needs of the machine. But in some machines, the stretchiness of a belt won’t cut it, and the designer may turn to some variety of screw drive to do the job.

Continue reading “Mechanisms: Lead Screws And Ball Screws”

Alice Evans: Brucellosis, Or Why We Pasteurize Milk

It’s easy to forget how much illness and death was caused by our food and drink just one hundred years ago. Our modern food systems, backed by sound research and decent regulation, have elevated food safety to the point where outbreaks of illness are big news. If you get sick from a burger, or a nice tall glass of milk, it’s no longer a mystery what happened. Instead we ask why, and “who screwed up?”

In the early 20th century though, many food-borne illnesses were still a mystery, and microbiology was a scientific endeavor that was just getting started. Alice Catherine Evans was an unlikely figure to make a dent in this world at the time, but through her research at the United States Department of Agriculture’s (USDA), and later at the Hygienic Laboratory (now the National Institute of Health) she had a huge impact on the field of bacteriology, the dairy industry, and consumer safety. Continue reading “Alice Evans: Brucellosis, Or Why We Pasteurize Milk”

Unique Flat-Screen Display Put To Use In CRT Game Boy

The cathode-ray tube ruled the display world from the earliest days of TV until only comparatively recently, when flat-screen technology began to take over. CRTs just kept getting bigger over that time until they reached a limit beyond which the tubes got just too bulky to be practical.

But there was action at the low end of the CRT market, too. Tiny CRTs popped up in all sorts of products, from camcorders to the famous Sony Watchman. One nifty CRT from this group, a flat(tish) tube from a video intercom system, ended up in [bitluni]’s lab, where he’s in the process of turning it into a retro Game Boy clone with a CRT display. The display, which once showed the video from a door-mounted camera, was a gift from a viewer. Date codes on the display show it’s a surprisingly recent device; were monochrome TFT displays that hard to come by in 2007? Regardless, it’s a neat design, with the electron gun shooting upward toward a curved phosphor screen. With a little Google-assisted reverse engineering, [Bitluni] was able to track done the video connections needed to use his retro game console, which uses an ESP32 that outputs composite video. He harvested the intercom speaker for game audio, added a temporary Nintendo gamepad, and soon he was playing Tetris in glorious monochrome on the flat screen.

The video below is only the first in a series where the prototype will be stuffed into one nice tidy package. It certainly still needs some tweaking, but it’s off to a great start. We can’t wait to see the finished product.

Continue reading “Unique Flat-Screen Display Put To Use In CRT Game Boy”

Low-energy ESP8266-based Board Sleeps Like A Log Until Triggered

Given the popularity of hacking and repurposing Amazon Dash buttons, there appears to be a real need amongst tinkerers for a simple “do something interesting on the internet when a button is pressed” device. If you have this need but don’t feel like fighting to bend a Dash device to your will, take a look at [Kevin Darrah]’s trigBoard instead.

The trigBoard is a battery-powered, ESP8266-based board that includes some clever circuitry to help it barely sip power (less than one microamp!) while waiting to be triggered by a digital input. This input could be a magnetic reed switch, push button, or similar, and you can configure the board for either normally open or normally closed switches.

The clever hardware bits that allow for such low power consumption are explained in [Kevin]’s YouTube video, which we’ve also embedded after the break. To summarize: the EPS8266 spends most of it’s time completely unpowered. A Texas Instruments TPL5111 power timer chip burns 35 nanoamps and wakes the ESP8266 up every hour to check on the battery. This chip also has a manual wake pin, and it’s this pin – along with more power-saving circuitry – that’s used to trigger actions based on the external input.

Apparently the microcontroller can somehow distinguish between being woken up for a battery check versus a button press, so you needn’t worry about accidentally sending yourself an alert every hour. The default firmware is set up to use Pushbullet to send notifications, but of course you could do anything an EPS8266 is capable of. The code is available on the project’s wiki page.

The board also includes a standard micro-JST connector for a LiPo battery, and can charge said battery through a micro-USB port. The trigBoard’s full schematic is on the wiki, and pre-built devices are available on Tindie.

[Kevin]’s hardware walkthrough video is embedded after the break.

Continue reading “Low-energy ESP8266-based Board Sleeps Like A Log Until Triggered”