What Makes A Good Antenna?

It sometimes seems as though antennas and RF design are portrayed as something of a Black Art, the exclusive preserve of an initiated group of RF mystics and beyond the reach of mere mortals. In fact though they have their difficult moments it’s possible to gain an understanding of the topic, and making that start is the subject of a video from [Andreas Spiess]. Entitled “How To Build A Good Antenna”, it uses the design and set-up of a simple quarter-wave groundplane antenna as a handle to introduce the viewer to the key topics.

What makes this video a good one is its focus on the practical rather than the theoretical. We get advice on connectors and antenna materials, and we’re introduced to the maths through online calculators rather than extensive formulae. Of course the full calculations are there to be learned by those with an interest, but for many constructors they can be somewhat daunting. We’re shown a NanoVNA as a useful tool in the antenna builder’s arsenal, one which gives a revolutionary window on performance compared to the trial-and-error of previous times. Even the ground plane gets the treatment, with its effect on impedance and gain explored and the emergence of its angle as a crucial factor in performance. We think this approach does an effective job of breaking the mystique surrounding antennas, and we hope it will encourage viewers to experiment further.

If your appetite has been whetted, how about taking a look at a Nano VNA in action?

Continue reading “What Makes A Good Antenna?”

Your NES Classic Mini Controller, On Your Desktop Computer

The NES Classic Mini was one of the earlier releases in what became a wider trend for tiny versions of classic retro consoles to be released. Everybody wanted one but numbers were limited, so only the lucky few gained this chance to relive their childhood through the medium of Donkey Kong or Mario Brothers on real Nintendo hardware. Evidently [Albert Gonzalez] was one of them, because he’s produced a USB adapter for the Mini controller to allow it to be used as a PC peripheral.

On the small protoboard is the Nintendo connector at one end, an ATtiny85 microcontroller, and a micro-USB connector at the other. The I2C interface from the controller is mapped to USB on the ATtiny through the magic of the V-USB library, appearing to the latter as a generic gamepad. It’s thought that the same interface is likely to also work with the later SNES Classic Mini controller. For the curious all the code and other resources can be found in a GitHub repository, so should you have been lucky enough to lay your hands on a NES Classic Mini then you too can join the PC fun.

The mini consoles were popular, but didn’t excite our community as much as could be expected. Our colleague Lewin Day tool a look at the phenomenon last summer.

An Alternator Powered Electric Bicycle Gives Rotor Magnetic Field Insight

For anyone involved in the construction of small electric vehicles it has become a matter of great interest that a cheap high-power electric motor can be made from a humble car alternator. It’s a conversion made possible by the advent of affordable three-phase motor controllers, and it’s well showcased by [austiwawa]’s electric bicycle build video (embedded below).

The bike itself is a straightforward conversion in which the motor powers the rear wheel via an extra sprocket. He tried a centrifugal clutch with limited success, but removed it for the final version. Where the interest lies in this build is in his examination of Hall effect sensor placement.

Most alternator conversions work without sensors, though for better control it’s worth adding these magnetic sensors to allow the controller to more directly sense the rotation. He initially placed them at the top of the stator coils and found them to be ineffectual, with the big discovery coming when he looked at the rotor. The electromagnet in the rotor on a car alternator has triangular poles with the field concentrated in the centre of the stator, thus a move of the sensors to half way down the stator solved the problem. Something to note, for anyone converting an alternator.

Should you wish to give it a try, a year ago we published a primer on turning car parts into motors.

Continue reading “An Alternator Powered Electric Bicycle Gives Rotor Magnetic Field Insight”

A Few Of My Favorite Things: Amateur Radio

Hackaday has among its staff a significant number of writers who also hold amateur radio licenses. We’re hardware folks at heart, so we like our radios homebrew, and we’re never happier than when we’re working at high frequencies.

Amateur radio is a multi-faceted hobby, there’s just so much that’s incredibly interesting about it. It’s a shame then that as a community we sometimes get bogged down with negativity when debating the minutia. So today let’s talk about a few of my favourite things about the hobby of amateur radio. I hope that you’ll find them interesting and entertaining, and in turn share your own favorite things in the comments below.

Continue reading “A Few Of My Favorite Things: Amateur Radio”

The Sony ScopeMan, Possibly The Best Product They Never Made

From the perspective of a later decade it’s sometimes quaint and amusing to look back at the technological objects of desire from times past. In the 1980s for example a handheld television was the pinnacle of achievement, in a decade during which the Walkman had edged out the transistor radio as the pocket gadget of choice it seemed that visual entertainment would surely follow. Multiple manufacturers joined the range of pocket TVs on offer, and Sony’s take on the format used a flattened CRT with an angled phosphor screen viewed from behind through its glass envelope. [Niklas Fauth] took one of these Sony Watchman devices and replaced its TV circuit board with one that turned it into a vector display. The Sony Scopeman was born!

The schematic is deceptively simple, with an ESP32 receiving audio via Bluetooth and driving the deflection coils through a pair of op-amps and a set of driver transistors. These circuits are tricky to get right though, and in this he acknowledged his inspiration. Meanwhile the software has two selectable functions: a fairly traditional X-Y vector ‘scope display and a Lorenz attractor algorithm. And of course, it can also display a vector version of our Wrencher logo.

We like the Scopeman, in fact we like it a lot. There may be some discomfort for the retro tech purist in that it relies on butchering a vintage Watchman for its operation, but we’d temper that with the observation that the demise of analogue broadcast TV has rendered a Watchman useless, and also with the prospect that a dead one could be used for a conversion project.

[Niklas] has had more than one project appear on these pages, a memorable example being his PCB Tesla coil.

A Miniature VT102 Running A Miniature PDP11

We spend a lot of time looking at retrocomputing in the form of gaming and home computers, but it’s true to say that minicomputers are less common than hardware projects. Perhaps it’s the size, cost, or even relative rarity of the original machines, but DEC minicomputers are a bit unusual around here. [Sprite_TM] hasn’t bought us a PDP11 or a VT102 terminal, but he’s done the next best thing in the form of a miniature working VT102 that also conceals a PDE11 emulator. It runs Tetris, which was originally developed on a Russian clone of the PDP11 architecture, and the 2.1BSD operating system.

Powering it all is an ESP32 module, and the PDP11 emulator is the well-known SIMH software. Porting this to the slightly limited environment of the microcontroller required a few compromises, namely the network stack and the configuration interface. In a particularly clever move [Sprite_TM] enabled BSD networking by writing an ESP32 layer that takes network packets via SIMD directly from BSD. It includes its own DHCP client and wireless network configuration tool, allowing an ancient UNIX-derived operating system from the 1970s to connect to the 21st century Internet through an emulator with its network code stripped out.

The case is a masterwork in OpenSCAD, a complete VT102 unit in miniature with a tiny LCD screen that when printed on a resin printer is a remarkable facsimile of the real thing. It doesn’t have a keyboard counterpart, but even with a miniature Bluetooth ‘board it still looks pretty impressive. In the video below the break he boots it into 2.1BSD, and importantly since it is a server operating system, logs into it from his laptop and plays a game of Zork.

[Sprite_TM] has brought us so many impressive projects over the years using the ESP32 and other parts. Maybe you have a favorite, but for us it’s the PocketSprite Game Boy-like tiny handheld console.

Continue reading “A Miniature VT102 Running A Miniature PDP11”

AT Keyboard Becomes Child’s Speaking Toy

Just as cats find sitting on a keyboard to be irresistible, so do children find pressing their keys. After throwing some ideas around with other parents, [Peter] came up with the idea of transforming an old AT  keyboard into a learning toy by making each key press “speak” its corresponding letter.

The donor keyboard is a nondescript late-80s AT compatible PC. Before readers imagine that a sought-after mechanical ‘board is being defiled, these were manufactured in their millions back then with exactly the same lackluster actions as modern cheap input devices. This one had plenty of space inside for an Arduino Nano that emulates an AT keyboard host and plays WAV file samples from an SD card to one of its PWM outputs. An op-amp low pass filter cleans up the noise from this rudimentary DAC, and feeds a little speaker through an audio amplifier. The keyboard supports both male and female voices, as well as a piano.

Hours of juvenile fun will no doubt result, but we can’t help wondering whether this could become the bane of a parent’s life in the manner of so many other noise-producing toys. Meanwhile, [Peter]’s work has graced these pages in the past, most recently with an automatic cooker hood.