Punched Cards Are In The Cloud, With This Arduino

Grizzled veterans of the computing industry will relate stories of submitting projects on stacks of punched cards, something those of us who stored their 8-bit works on audio cassettes could only imagine. But for those who fancy experimenting with the format it’s still possible to make a basic card reader using LEDs and light sensors, as [Nino Ivanov] has done using an Arduino Uno as the brains. And these aren’t just for show, each of his cards holds a LISP program that runs in a cloud service.

The Uno does the job of reading, passing its data over its USB serial port to a tablet. On the tablet the serial data is piped to a cloud API to a LISP interpreter. It seems a needlessly complex way to run a factorial program and it’s certainly a little over the top, but on the other hand we love it as a glorious combination of the old and the new. With only 23 characters per card it’s quite an impressive feat to even fit a program on the format, perhaps writing code to fit on minimalist punched cards like this could become a programming challenge in its own right for a generation accustomed to mega-and gigabytes.

If you fancy a go yourself, this isn’t the first punched card reader we’ve shown you.

Continue reading “Punched Cards Are In The Cloud, With This Arduino”

Moon Phase Lamp Uses Rotating Shade

The Moon has fascinated humanity for centuries. These days, though, it’s a trial and a bore to go outside and stare upwards to check on the natural satellite. Instead, why not bring the Moon to your bedside with this rotating phase lamp?

The build comes to us from [payasa_manandhar], who did a good job of replicating the Moon in both form and function. It’s based around a lithophane of the lunar surface, which adequately duplicates the Moon’s grey pockmarked visage thanks to topographical data sourced from NASA. It looks a treat when backlit from the inside. However, this is no mere ornamental lamp. With the aid of a stepper motor controlled by an Arduino, a shade inside the lamp actually rotates to shadow the Moon as per the appropriate phase.

It’s a build that is both fun and educational, in both the electronic and astronomical disciplines. We’ve seen some other great Moon lamps before, too.

Electronic Connect 4 Console Doesn’t Use LCD

You might think that making your own electronic games would require some kind of LCD, but lately, [Mirko Pavleski] has been making his using inexpensive 8X8 WS2812B LED panels. This lets even a modest microcontroller easily control a 64-pixel “screen.” In this case, [Mirko] uses an Arduino Nano, 3 switches, and a buzzer along with some 3D printed components to make a good-looking game. You can see it in action in the video below.

The WS2812B panels are easy to use since the devices have a simple protocol where you only talk to the first LED. You send pulses to determine each LED’s color. The first LED changes color and then starts repeating what you send to the next LED, which, of course, does the same thing. When you pause a bit, the array decides you are done, and the next train of pulses will start back at the first LED.

It looks like the project is based on a German project from [Bernd Albrecht], but our German isn’t up to snuff, and machine translation always leaves something to be desired. Another developer added a play against the computer mode. This is a simple program and would be easy to port to the microcontroller of your choice. [Mirko]’s execution of it looks like it could be a commercial product. If you made one as a gift, we bet no one would guess you built it yourself.

Of course, you could play a real robot. You could probably repurpose this hardware for many different games, too.

Continue reading “Electronic Connect 4 Console Doesn’t Use LCD”

Handheld PC Looks Great

[Bytewelder] fondly remembers the Palm III and Sharp HC-4500, so taking on the design of Decktility, a custom handheld cyberdeck , was a natural next step. The blog post goes into much detail about the design decisions and challenges throughout the project. The end result, though, looks great.

The device uses a Raspberry Pi CM4 and an IPS touchscreen. The bulk of the design work was to get the power system working. There is a custom FET board and an Arduino that manages charging and battery state.

Continue reading “Handheld PC Looks Great”

Hackaday Prize 2023: Uno Plus+ Updates A Classic

As an introduction to embedded electronics and programming in a straightforward environment, there isn’t much out there that can hold a torch to the Arduino Uno. Cheap (especially if you count the clones), easy to find, and quick to deploy, with countless support libraries, it’s a go-to for many a hack. This scribe simply can’t remember how many he’s bought, hacked, and deployed over the years. But can it be improved? [John Loeffler] thinks so, and his 2023 Hackaday Prize entry, the Uno Plus+ could be the one.

If this is too much bling for you, there is a version with LEDs adjacent to non-illuminated headers.

After clearing the top deck of extraneous components (by shoving them on the bottom) there was much more space to expand the header labeling, so there can be no accidental misplacement of those DuPont wires this thing will inevitably sprout randomly.

The board also has an additional Stemma/Qwiic connector and a Neopixel LED for indication duties. Also sitting on the PCB bottom are a ton of opamps, to drive the header indicators. Yes, this board has a full set of colour-coded LED bling indicators, showing the logical state of each and every pin on all headers, giving an easy way to check the desired activity is occurring. Plus it looks cool. Illuminated headers? YES!

Think the Uno too light on resources to perform any meaningful modern workloads? Think again!

Hackaday Prize 2023: 65uino 6502 Learning In A Familiar Package

[Anders Nielsen] presents his entry for the 2023 Hackaday Prize: The 65uino. Which as you might be able to guess, is a 6502-based microcomputer wedged into an Arduino Uno form factor (well, almost wedged in, but we’ll let it slide) The premise is simple, older micros are easier to understand, the board can be build up from new-old or salvaged stock, and that’s more chips on boards and less sitting on a dusty shelf. After all, even though the 6502 in its original form is long obsolete, it’s far better to be pushing some electrons around, than sitting there decaying.

The OLED frame buffer is bigger than the host’s entire RAM. No problem!

From an educational perspective, the first lesson is the hand-soldering of through-hole DIP components and a smattering of straightforward surface mount parts in their supporting roles.  Then on to setting up the cc65 toolchain. To say this is a pure 6502 system is a little misleading, it actually uses the 6507 device variant, which is a die-bond variant of the same device but with only 28 of the pins utilized.

The use of the 6532 RIOT (RAM-I/O-Timer) chip provides two 8-bit ports of GPIO as well as a timer and 128 bytes of SRAM, making the design more compact. There is a socket that will accept a 24 or 28-pin E(E)PROM device, with the extra four pins removable and the PCB snapped off if fitment into a standard ‘Uno case is desirable. Neat!

Full hardware build and PCB design (using KiCAD) are available on the 65uino GitHub page. Just remember folks, with everything minimal 6502 related — some assembly required :D

We see the 6502 a lot, let’s be fair. But why not? Here’s a slightly more practical board with a bit more resources, an absolute beast of a luggable dual-6502 machine, and yet another 6502 verilog implementation ready to be dropped into a spare corner of a FPGA project that needs a little extra.

DIY Metal Detector

If you want to get rich by hunting with a metal detector, you might want to consider how much you invested in the hardware to start with. Finding a tin can with a $200 detector might not make economic sense. But building a metal detector yourself doesn’t have to be hard, as [Mirko] shows in a recent post. His STM32-based pulse induction metal detector looks good and works well, as you can see in the video below.

[Mirko] reports that the device can detect a coin at 30 cm and a large metal object at more than 80 cm. The project uses the Arduino IDE and a Blue Pill STM32 module. The project looks good with an LED module and a rotary encoder to set sensitivity.

Continue reading “DIY Metal Detector”