Skylight In Any Room

Despite a glut of introvert memes, humans need sunlight. If vitamin D isn’t your concern, the sun is a powerful heater, and it helps plants grow. Sadly for [mime], their house is not positioned well to capture all those yummy sunbeams. Luckily for us, their entry into the 2020 Hackaday Prize is their sun-tracking apparatus that redirects those powerful rays throughout the house. It uses a couple of mirrors to redirect the light around their shed and into the house. For those who work in a dim office, no amount of work is too great for a peek of natural sunlight.

Movie spoiler alert: We saw this trick in the 1985 movie Legend and it was enough to vanquish the Lord of Darkness.

This project started in 2014 and sat on hiatus for more than five years, but it is back and prime for improvements fueled by half-a-decade of experience. The parts that aren’t likely to change are the threaded struts that adjust the positioning mirror’s angle, the driving motors, and power circuitry. Their first plan was to build a solar-powered controller with an Arduino, DC motors, and sun telemetry data, but now they’re leaning toward stepper motors and a computer in the house with a long cable. They are a finalist this year, so we will keep our eyes peeled for further development.

Porting QMK To A Cheap Mechanical Keyboard

Over the last couple of years, we’ve seen an incredible number of DIY keyboard builds come our way. Some have had their switches nestled into laser-cut aluminum and others 3D printed plastic. They may be soldered together on a custom PCB, or meticulously hand-wired. But however they were built, they almost all shared one thing in common: they ran some variant of the open source QMK keyboard firmware.

But what if you just want to run an open firmware on the keyboard you picked up for $50 bucks on Amazon? That’s exactly where [Stephen Peery] found himself nine months ago with this DK63 gaming keyboard. Since so many of these small RGB LED mechanical keyboards are very similar to existing open source designs, he wondered what it would take to blow out the original firmware and replace it with a build of QMK.

While [Stephen] doesn’t have everything working 100% yet, he’s nearly reached the end of his epic reverse engineering journey. The first step was tearing apart the keyboard and identifying all the components it used, then pulling the original firmware out of the updater. From there, between Ghidra and Serial Wire Debug, he was able to figure out most of what the stock firmware was doing so he could replicate it in QMK.

According to his README, the RGB LEDs and Bluetooth functionality don’t currently work, but other than that it seems QMK is up and running. If you’re OK with those concessions, he has information on the page about flashing his build of QMK to the stock DK63 with the ST-Link V2 so you can give it a shot. Though you do so at your own risk; we wouldn’t recommend doing this on your only keyboard.

We’ve seen commercially manufactured keyboards running QMK before, but it usually involves completely replacing the original controller with new electronics. That [Stephen] got this all working on stock hardware so other owners can follow in his footsteps is really a considerable accomplishment.

[Thanks to Baldpower for the tip.]

An LED Cube To Display CPU Vitals

LED cubes are all the rage right now. High-end hardware capable of driving large arrays keeps getting cheaper in price, and 3D printers and pre-built boards can make assembly a snap. After attending a major hacker con and seeing the builds on display, [Sebastian] wanted a piece of the action, so set out to build his own.

While many elect to build an LED cube you can hold in your hand, [Sebastian] preferred a stationary tabletop design. This would reduce costs, allowing him to only use 3 LED boards, as the base and remaining two sides would face away from him and not be visible when placed on his desk. The 64×64 arrays are driven by an Adafruit LED matrix bonnet on top of a Raspberry Pi 2. The Pi was a tactical choice, as [Sebastian] had one lying around, and it packed enough processing power to run an OpenGL shader that creates an image for the cube that varies with the CPU load and temperature on his main desktop. As a nice final touch, the Raspberry Pi is set up to have a read-only filesystem. This allows the project to be turned off suddenly without risk of corrupting the SD card.

It’s a tidy build, and one which gives [Sebastian] useful information at a glance. We’ve featured a few stylish cubes before, and even a LED D20 that really breaks the bank. Video after the break.

Continue reading “An LED Cube To Display CPU Vitals”

Teaching An Old Lathe New Tricks With A Programmable Power Feed

Ask anybody whose spent time standing in front of a mill or lathe and they’ll tell you that some operations can get tedious. When you need to turn down a stainless rod by 1/4″ in 0.030″ increments, you get a lot of time to reflect on why you didn’t just buy the right size stock as you crank the wheel back and forth. That’s where the lead screw comes in — most lathes have a gear-driven lead screw that can be used to actuate the z-axis ( the one which travels parallel to the axis of rotation). It’s no CNC, but this type of gearing makes life easier and it’s been around for a long time.

[Tony Goacher] took this idea a few steps further when he created the Leadscrew Buddy. He coupled a beautiful 1949 Myford lathe with an Arduino, a stepper motor, and a handful of buttons to add some really useful capabilities to the antique machine. By decoupling the lead screw from the lathe’s gearbox and actuating it via a stepper motor, he achieved a much more granular variable feed speed.

If that’s not enough, [Tony] used a rotary encoder to display the cutting tool’s position on a home-built Digital Readout (DRO). The pièce de résistance is a “goto” command. Once [Tony] sets a home position, he can command the z-axis to travel to a set point at a given speed. Not only does this make turning easier, but it makes the process more repeatable and yields a smoother finish on the part.

These features may not seem so alien to those used to working with modern CNC lathes, but to the vast majority of us garage machinists, [Tony]’s implementation is an exciting look at how we can step up our turning game. It also fits nicely within the spectrum of lathe projects we’ve seen here at Hackaday- from the ultra low-tech to the ludicrously-precise.

Continue reading “Teaching An Old Lathe New Tricks With A Programmable Power Feed”

Cleaning Up The Yard With AI — Avian Intelligence

Despite epithets like “bird-brain,” our feathered friends are actually pretty smart. Being able to maneuver in three dimensions at high speed must have something to do with it, and the cognitive abilities of birds are well-documented and still being researched. So it naturally makes sense to harness avian brainpower to keep one’s yard clean, right?

For the record, the magpies that [Hans] is training are very intelligent and strikingly beautiful birds who delight in swooping down to harass people, and who will gladly steal food from other birds and then poop on it and fly away. So they’re jerks, but that doesn’t mean they can’t be useful jerks. The goal with his BirdBox system is to use classic operant conditioning, where a desired voluntary behavior is reinforced by a reward. In this case, the reward is a treat dispensed by a 3D-printed vibratory dispenser when the bird collects a bottlecap from the yard and deposits it in the proper slot. The video below shows the birds doing exactly what they’re supposed to do.

[Hans] tells us that the trick is getting the birds to accept the BirdBox and to have them integrate it into their “patrol schematic” of their territory. Once that’s done, it’s a simpler matter to have them associate the bottlecaps with the reward. The other challenge is making everything bulletproof, or in this case magpie-proof. Did we mention that magpies are jerks?

The possibilities for trading peanuts for yardwork are endless; [Hans] mentions plans he has for fallen fruit clean-up, and mentions a persistent garden slug problem that the birds might be employed to remediate. If you want to try this, it might be a good idea to brush up on the work of [B.F. Skinner] and his pigeons of war.

Continue reading “Cleaning Up The Yard With AI — Avian Intelligence”

Indian RISC-V Chip Is Team’s Third Successful Chip

There was a time when creating a new IC was a very expensive proposition. While it still isn’t pocket change, custom chips are within reach of sophisticated experimenters and groups. As evidence, look at the Moushik CPU from the SHAKTI group. This is the group’s third successful tapeout and is an open source RISC-V system on chip.

The chip uses a 180 nm process and has 103 I/O pins. The CPU runs around 100 MHz and the system includes an SDRAM controller, analog to digital conversion, and the usual peripherals. The roughly 25 square mm die houses almost 650 thousand gates.

This is the same group that built a home-grown chip based on RISC-V in 2018 and is associated with the Indian Institute of Technology Madras. We aren’t clear if everything you’d need to duplicate the design is in the git repository, but since the project is open source, we presume it is.

If you think about it, radios went from highly-specialized equipment to a near-disposable consumer item. So did calculators and computers. Developing with FPGAs is cheaper and easier every year. At this rate it’s not unreasonable to think It won’t be long before creating a custom chip will be as simple as ordering a PCB — something else that used to be a big hairy deal.

Of course, we see FPGA-based RISC-V often enough. While we admire [Sam Zeloof’s] work, we don’t think he’s packing 650k gates into that size. Not yet, anyway.

Continue reading “Indian RISC-V Chip Is Team’s Third Successful Chip”

Faster Desktop Ethernet With Server Network Adapters

As far as consumer network hardware goes, we’re all expected to be pretty happy with 802.11n WiFi and Gigabit Ethernet over Cat 6 cables. For most home users, that’s plenty of bandwidth for streaming movies and posting K-pop fancams to Twitter on a daily basis. If you want a fatter pipe, things can get expensive, fast. However, [TobleMiner] found a way to use surplus server-grade cards in a regular PC – providing huge bandwidth on a budget.

The adapter is designed to allow a FlexibleLOM card to fit into a regular ATX PCI-E card slot. A small additional bracket should be used to fix the card in place with the typical bracket retention screw.

HPE’s FlexibleLOM standard consists of a special edge connector on HPE servers that lets the end-user fit a variety of network adapters in a form factor designed specifically for blade and rack mount servers. At the electrical level, it’s simply PCI-Express 8x. FlexibleLOM network cards are built for high-speed data center use, often featuring SFP+ and QSFP+ interfaces capable of 10 gigabit and 40 gigabit speeds, respectively.

These cards can be had for under $20 on eBay, but won’t fit in a standard PCI-Express slot. Enter [ToberMiner]’s adapter, which hooks up the relevant PCI-Express lines to where they need to go, and mechanically adapts the FlexibleLOM hardware to fit in a regular ATX PC case.

It’s a great way to get server-grade network adapters in your home rig, without breaking the bank. We’ve featured other attempts at high-speed home networking before, too. If you’ve got the low down on a great way to get multi-gigabit speeds out of cheap surplus hardware, you know who to call.

[Thanks to Marco for the tip!]