Ender V2 Layer Shift Problem Rectified With Cooling

Released in early 2020, the Creality Ender V2 is a popular desktop 3D printer in the maker market. However, some users began having problems with machines ordered in the latter half of the year, with repeated layer shifts occuring during long prints. After much investigation, it appears a fix has been found.

After much experimentation by [Fountain_of_Wisdom], it was determined that layer shifts were occuring at the same time as loud thumps or knocks from the printer. This was often during long X or Y traversals, and when these noises occurred, the print head would shift slightly, perpendicular to the axis of travel. Further investigation led to suspicion of the drive signals to the stepper motors, and it was then determined that the driver chips were becoming excessively hot during long prints. The solution landed upon was to install a fan and improve venting to cool the driver electronics, which curtailed the layer shift problem entirely.

However, such problems aren’t the norm, and since then, owners of the affected units with version 4.2.2 motherboards have been advised to upgrade to version 4.2.7. The exact root cause of the problem is not clear, but we’ve seen earlier Ender models upgraded with newer stepper drivers before; perhaps a similar fix is what makes the later revision motherboard a winner in the V2. If you’ve got insight into the problem, sound off in the comments!

[Thanks to Prodigity for the tip!]

Minimal MQTT With Micropython

I have been meaning to play around with MQTT for some time now, and finally decided to take the plunge one evening last week. I had three cheap home temperature and humidity sensors, and was bothered that they often didn’t agree. Surprisingly, while the analog one had a calibration adjustment in the back, I have no idea how to calibrate the two digital ones. I took this as a sign that it was time to learn MQTT and be able to install my own, accurate sensors. Of course, I began by ordering the cheapest sensors I could find, but I can always upgrade later on.

Three Cheap Sensors

While we have written quite a bit about MQTT in Hackaday, I had to go all the way back to 2016 to find this introductory four-part series by Elliot Williams. Five years is a long time in the tech world, but I decided to give it a try anyway. Continue reading “Minimal MQTT With Micropython”

This Stackable Pi Portable Is Ready To Rumble

The proliferation of desktop 3D printing and powerful single-board computers like the Raspberry Pi has given rise to an absolute explosion of small bespoke computing devices. Whether or not you think these cobbled together devices are close enough to Gibson’s original vision to call them cyberdecks, it’s a remarkable shift from the norm that brings us closer to the “High Tech, Low Life”  philosophy so prevalent in cyberpunk literature and films.

[Jay Doscher] has been on the front lines of this movement for some time now, producing several very popular designs. His latest creation leans hard into the more utilitarian aspects of the cyberpunk ethos, inspired more by the grit of The Expanse than the lusciously upholstered interiors of Star Trek’s Enterprise-D. The culmination of lessons learned over the last several years, the new Kuiper Deck is cheaper and easier to build than his previous designs, thanks at least in part to the fact that you no longer need to go out and get an expensive Pelican case.

Like his previous designs, the Kuiper Deck makes extensive use of 3D printed components. But this time around, [Jay] is using an array of smaller pieces that are bolted together on an acrylic front panel. This not only means the project is compatible with a wider array of machines, such as the Prusa Mini, but it’s also easier to print as larger parts have an annoying tendency to warp. The downside is that you’ll need some way to get the acrylic panel cut to shape, though you can buy one through him if you don’t have any way to get it made locally.

In place of the Pelican case his previous designs used as an enclosure, [Jay] has found a heavy-duty stackable plastic tote available from McMaster Carr for $12 USD. It’s not particularly nice looking, nor is it waterproof. But that’s also sort of the point. If you’re just trying to put together a small computer that you can toss around the shop and not have to worry about breaking, the Pelican case was always a bit overkill.

The electronics bill of materials is similarly sparse, comprising mainly of the Raspberry Pi 4, a cooling fan, and a 10 inch LCD from Pimoroni. Everything gets screwed to the rear of the panel and connected with pre-made cables, making assembly very simple. That said, there’s still plenty of room inside the case for custom hardware should you want to put something custom together such as a mobile software defined radio rig.

[Jay] created the original Raspberry Pi Field Unit in 2015, but it wasn’t until he unveiled the revised Raspberry Pi Recovery Kit in 2019 that the idea of sticking a Raspberry Pi into a Pelican case became something of hacker meme. It sounds like the Kuiper Deck is going to be his final word on the subject for now, but it’s a safe bet we’ll be seeing folks putting together similar builds for years to come.

Custom Firmware For IKEA’s ORSALA Lamp

These days, home appliances are equally as likely to have soft buttons and rotary encoders as they are to have a simple old clunk/clunk power switch and an analog knob for controls. This is all well and good if the device aligns with your personal philosophy about how such controls should work; otherwise, it’s absolutely maddening. [j-zero] ran into this problem with their ORSALA lamp from IKEA, and set about rectifying the problem with some custom firmware.

The ORSALA lamp uses a rotary encoder for setting both brightness and color temperature, with a button to toggle modes. A long press is required to switch the lamp off. The custom firmware modifies this behaviour, such that the lamp can be switched on and off with a simple button press. Turning the encoder modifies brightness, and turning it to minimum switches the lamp off too. Meanwhile, the less commonly used color temperature setting can be modified by using the button while adjusting the encoder.

The hack was executed by reprogramming the ORSALA’s onboard microcontroller, the STM8S003F3P6, via its SWIM interface. The pads for the interface are easily located on the board, making the hack easy. Other than the inputs, the lamp packs separate TTP932 LED drivers for the warm white and cool white LEDs, making it easy to code a custom firmware to handle all the necessary functions.

It’s a great example of a hacker taking control of their own device and remaking it to suit their needs. Of course, if you want to go for another hacker trope, just stuff a Raspberry Pi in there instead!

Arduino Announces Board Based On Raspberry Silicon

The Raspberry Pi Pico burst onto the microcontroller scene last month with much fanfare, and is already popping up in projects left, right and center. Notable for its high clock speed and exciting IO features, it’s a breath of fresh air in a market slowly weaning itself onto ARM architectures and away from 8-bit staples. Not one to miss out on a slice of the action, Arduino have announced their own upcoming board based on the Pico’s RP2040 chip.

The board is named the Arduino Nano RP2040 Connect, a moniker that’s not just a mouthful but likely to be confused with existing Arduino Nano products. It sports several differences to the Raspberry Pi Pico, namely packing WiFi, Bluetooth, and an IMU on board which should make developing motion-sensitive and IoT projects easier, particularly in cases where the Pico’s flexible IO could be useful.

Naturally, Arduino IDE integration will be a major plus point that gets many makers on board, and we can imagine there will be swift development of libraries leveraging the RP2040’s PIO subsystem. If you still haven’t gotten the low down on the Raspberry Pi Pico yet, though, never fear – our own [Elliot Williams] can tell you everything you need to know!

[Thanks to Darrell Flenniken for the tip, via Tom’s Hardware]

Software Challenge’s Solution Shows Reverse Engineering In Action

[0xricksanchez] participated in a software reverse-engineering challenge and recently wrote up the solution, and in so doing also documented the process used to discover it. The challenge was called Devil’s Swapper, and consisted of a small binary blob that output a short message when executed. The goal of the challenge? Discover the secret key and the secret message within. [0xricksanchez]’s writeup, originally intended just as a personal record, ended up doing an excellent job of showing how a lot of reverse engineering tools and processes get applied to software in a practical way.

What’s also great about [0xricksanchez]’s writeup is that it uses standard tools and plenty of screenshots to show what is being done, while also explaining why those actions are being chosen and what is being learned. It’s easy to follow the thought process as things progress from gathering information, to chasing leads, and finally leveraging what’s been learned. It’s a fascinating look into the process of applying the reverse engineering mindset to software, and a good demonstration of the tools. Give it a read, and see how far you can follow along before learning something new. Want more? Make sure you have checked out the Hackaday 2020 Remoticon videos on reverse engineering firmware, and doing the same for PCBs.

Hackaday Links Column Banner

Hackaday Links: February 16, 2021

This is it; after a relatively short transit time of eight months, the Mars 2020 mission carrying the Perseverance rover has almost reached the Red Planet. The passage has been pretty calm, but that’s all about to end on Thursday as the Entry Descent and Landing phase begins. The “Seven Minutes of Terror”, which includes a supersonic parachute deployment, machine-vision-assisted landing site navigation, and a “sky-crane” to touch the rover down gently in Jezero crater, will all transpire autonomously 480 million km away. We’ll only learn about how it goes after the eleven-minute propagation delay between Mars and Earth, but we’ll be glued to the NASA YouTube live stream nonetheless. Coverage starts on February 18, 2021 at 11:15 AM Pacific Standard Time (UTC-8). We’ve created a handy time zone converter and countdown so you don’t miss the show.

As amazing as the engineering on display Thursday will be, it looks like the US Navy has plans to unveil technology that will make NASA as relevant as a buggy-whip company was at the turn of the last century. That is, if you believe the “UFO Patents” are for real. The inventor listed on these patents, Dr. Salvatore Pais, apparently really exists; he’s had peer-reviewed papers published in mainstream journals as recently as 2019. Patents listed to Dr. Pais stretch back to 2004, when he invented a laser augmented turbojet propulsion system, which was assigned to defense contractor Northrup Grumman. The rest of the patents are more recent, all seemingly assigned to the US Navy, and cover things like a “high-frequency gravitational wave generator” and a “craft using an inertial mass-reduction device”. There’s also a patent that seems to cover a compact fusion generator. If any of this is remotely true, and we remain highly skeptical, the good news is that maybe we’ll get things like the Epstein Drive. Of course, that didn’t end well for Solomon Epstein. Or for Manéo Jung-Espinoza.

Of course, if you’re going to capitalize on all these alien patents, you’re going to need some funding. If you missed out on the GME short squeeze megabucks, fret not — there’s still plenty of speculative froth to go around. You might want to try your hand at cryptocurrency mining, but with GPUs becoming near-unobtainium, you’ll have to get creative, like throwing together a crypto mining farm with a bunch of laptops. It looks like the Weibo user who posted the photos has laptops propped up on every available surface of their apartment, and there’s also a short video showing a more industrial setup with rack after rack of laptops. These aren’t exactly throw-aways from some grade school, either — they appear to be brand new laptops that retail for like $1,300 a pop. The ironic part is that the miner says this is better than the sweatshop he used to work in. Pretty sure with all that power being dissipated in his house, it’ll still be a sweatshop come summer.

A lot of people have recently learned the hard lesson that when the service is free, you’re the product, and that what Google giveth, Google can taketh away in a heartbeat, and for no discernable reason. Indie game studio Re-Logic and its lead developer Andrew Spinks found that out last week when a vaguely worded terms-of-service violation notice arrived from Google. The developer of the popular game Terraria was at a loss to understand the TOS violation, which resulted in a loss of access to all the company’s Google services. He spent three weeks going down the hell hole of Google’s automated support system, getting nothing but canned messages that were either irrelevant to his case or technically impossible; kinda hard to check your Gmail account when Google has shut it down. The lesson here is that building a business around services that can be taken away on a whim is perhaps not the best business plan.

And finally, we watched with great interest Big Clive’s secrets to getting those crisp, clean macro shots that he uses to reverse-engineer PCBs. We’ve always wondered how he accomplished that, and figured it involved some fancy ring-lights around the camera lens or a specialized lightbox. Either way, we figured Clive had to plow a bunch of that sweet YouTube cash into the setup, but we were surprised to learn that in true hacker fashion, it’s really just a translucent food container ringed with an LED strip, with a hole cut in the top for his cellphone camera. It may be simple, but you can’t argue with the results.

Continue reading “Hackaday Links: February 16, 2021”