Software Development On The Nintendo Famicom In Family BASIC

Back in the 1980s, your options for writing your own code and games were rather more limited than today. This also mostly depended on what home computer you could get your hands on, which was a market that — at least in Japan — Nintendo was very happy to slide into with their ‘Nintendo Family Computer’, or ‘Famicom’ for short. With the available peripherals, including a tape deck and keyboard, you could actually create a fairly decent home computer, as demonstrated by [Throaty Mumbo] in a recent video.

Continue reading “Software Development On The Nintendo Famicom In Family BASIC”

Dealing With Intermittent Water Utilities

In many places, municipal water from a utility is something that’s often taken for granted. A local government or water utility will employ a water tower or pumping facility to ensure that there’s always water available to every home and business connected to it, all day, every day, and at a relatively constant pressure. This isn’t true the world over, though, and in [Sameer]’s home of Rajasthan he has to deal with a particularly onerous problem with the local water supply. Although he is connected to a utility, there is only water available at certain times of day, and not on a reliable schedule or at a particularly high pressure. This causes all kinds of problems, but he was able to employ an ESP32 to solve some of the headaches.

Continue reading “Dealing With Intermittent Water Utilities”

Can A Scan Tool Kill A Car?

It’s no real secret that modern-day cars are basically a collection of computers on wheels, which also means that we get all the joys of debugging complex computer systems and software with cars these days. Rather than a quick poke under the hood to rebuild a carburetor and adjust the engine timing by hand, you’ll be pulling out a scan tool to gain access to the computer and figure out why the darn thing won’t start after someone else used a scan tool on it, as happened to [DiagnoseDan].

The question was whether the third-party scan tool that was used by the owner had done something to the software settings that would prevent the engine of this 2012 Renault Megane RS from starting, such as erasing keys, or if it was something more subtle. With no stored fault codes and the engine having healthy fuel, spark, and cam sensor readings, the conclusion was that the ECU was not doing its fuel injector things for some reason.

Ultimately, the root cause was that the ECU had been modded, with a re-mapping performed in 2020, meaning that the scan tool that [Dan] was using couldn’t properly interact with the ECU. Reflashing the ECU with the original manufacturer’s firmware was thus the next step, which is pretty involved in itself.

Reinstalling the OS on the car proved to be the solution. Likely, the modded firmware had stored some fault codes, as the ECU normally doesn’t start the engine if there are active codes stored. The third-party scan tool was thus likely blameless, but the inability to just clear fault codes was the real issue.

Continue reading “Can A Scan Tool Kill A Car?”

Nobody Can Complain When You Fart, If It’s For Science!

There are some stories that you can tell a writer has enjoyed composing, and, likely, whoever wrote the piece for Medical Express reporting on new smart underwear to measure human flatulence was in their element. It follows a University of Maryland project to create a clip-on hydrogen sensor that can be attached to a set of underwear to monitor gaseous emissions.

Lest you think that this research has a non-serious tone to it, it seems that gastroenterologists have incomplete data on what constitutes normal activity. The aim of this research is to monitor a large number of people to create a human flatus atlas that will inform researchers for years to come. Better still, they’re recruiting, so if you’re a regular Johnny Fartpants who misspent their youth lighting farts while drunk and would like to atone, get in touch.

We know that gut problems can be no fun at all, so fart jokes aside, if this research makes advancements in their study, it can only be a good thing. Meanwhile, if you are one of those superproducers they mention, perhaps you need to build the FartMaster 3000.

GameCube Dock For Switch, Revisited

While modern game consoles are certainly excellent, there is still something magical about the consoles of yore. So why not bring the magical nostalgia of a GameCube controller to the Switch series of consoles?

This isn’t [Dorison Hugo’s] first attempt at building a Switch dock, but with seven years of development, there are a lot of updates in the project to unpack. One version allows the user to play on the Switch’s screen instead of on a docked display, and another comes with a mechanical lock to prevent the console from being stolen. But what really caught our eye is the modifications made to the OEM Switch docks.

As it turns out, there is enough space inside a Switch dock to stuff in four GameCube ports. Short of spinning a custom board, the trick was picking the right commercial adapter to start with. The Wii U branded adapter [Dorison] was using wouldn’t fit. However, a rather small third-party adapter from Input Integrity got the job done. Space was still rather tight, and the ports needed to be removed from the board to fit. Some cables with simple connectors on the GameCube connector side make cable management a bit simpler later. Holes have to be very neatly cut into the front of the Switch dock to complete the look, with the mods held in with some superglue, epoxy, and hot glue.

Shortly after the completion of the dock, the Switch 2 was released, so naturally, that dock went through a similar process. While there is more internal space for cable management on this iteration of the console, there is too little space for the ports to fit without modification. Shaving off a few millimeters from the top of the ports allows them to fit inside the case, but makes cutting professional-looking holes in the front panel all the more challenging. Unfortunately, there is no good way to connect the adapter’s USB cable to the dock’s PCB, so an extra USB cable became necessary.

Regardless of any imperfections, both modified docks look excellent, with near-OEM quality!

Continue reading “GameCube Dock For Switch, Revisited”

The WalMart Atomic Clock

In the realm of first-world problems, your cheap wall clock doesn’t keep time, so you have to keep setting it. The answer? Of course, you connect it to NTP and synchronize the clock with an atomic time source. If you are familiar with how these generic quartz clock movements work, you can probably guess the first step is to gut the movement, leaving only the drive motor.

The motor is somewhat like a stepper motor. The ESP8266 processor can easily control the clock hands by sending pulses to the motor. The rest is simple network access and control. If the network time is ahead, the CPU gooses the clock a little. If it is behind, the CPU stalls the clock until it catches up.

Continue reading “The WalMart Atomic Clock”

Real-Time 3D Room Mapping With ESP32, VL53L5CX Sensor And IMU

ST’s VL53L5CX is a very small 8×8 grid ranging sensor that can perform distance measurements at a distance of up to 4 meters. In a recent video,[Henrique Ferrolho] demonstrated that this little sensor can also be used to perform a 3D scan of a room. The sensor data can be combined with an IMU to add orientation information to the scan data. These data streams are then combined by an ESP32 MCU that streams the data as JSON to a connected computer.

Continue reading “Real-Time 3D Room Mapping With ESP32, VL53L5CX Sensor And IMU”