Our Trucks Won’t Need No Batteries! Electric Trucks Look To Overhead Wires For Power

As the world grapples with the spectre of the so-called “hockey stick” graph of climate change, there have been a variety of solutions proposed to the problem of carbon emissions from sectors such as transport which have become inseparable from the maintenance of 21st century life. Sometimes these are blue-sky ideas that may just be a little bit barmy, while other times they make you stop and think: “That could just work!”.

Such an idea is that of replacing the diesel engines in trucks with electric motors powered not by batteries but from overhead cables. An electric tractor unit would carry a relatively small battery for last-mile transit, but derive its highway power by extending a pantograph from its roof to a high-voltage cable above the road. It’s extremely seductive to the extent that there have even been trials of the system in more than one country, but does it stack up to a bit of analysis?

Time’s Up For Those Big Rigs

Siemens and Scania are justifiably proud of their electrified stretch of autobahn and electric trucks in Germany.
Siemens and Scania are justifiably proud of their electrified stretch of autobahn and electric trucks in Germany.

One thing that should be obvious to all is that moving our long-distance freight around by means of an individual fossil-fuel-powered  diesel engine for every 38 tonne or so freight container may be convenient, but it is hardly either fuel-efficient or environmentally friendly The most efficient diesel engines on the road are said to have a 43% efficiency, and when hauling an single load they take none of the economies of scale afforded to the diesel engines that haul for example a freight train. Similarly they spread any pollution they emit across  the entirety of their route, and yet again fail to benefit from the economies of scale present in for example a power station exhaust scrubber. However much I have a weakness for the sight of a big rig at full stretch, even I have to admit that its day has passed.

The battery technology being pursued for passenger cars is a tempting alternative, as we’ve seen with Tesla Semi. But for all its technology that vehicle still walks the knife-edge between the gain in cost-effectiveness versus the cost of hauling around enough batteries to transport that quantity of freight. Against that the overhead wire truck seems to offer the best of both worlds, the lightness and easy refueling of a diesel versus the lack of emissions from an electric. In the idealised world of a brochure it runs on renewable wind, sun, and water power, so all our problems are solved, right? But does it really stack up?

Continue reading “Our Trucks Won’t Need No Batteries! Electric Trucks Look To Overhead Wires For Power”

ESPFLIX Brings Streaming Video To The World Of Microcontrollers

These days, if you’ve got a TV that’s a little too old to directly access streaming services, you’ve got plenty of options. Apple TV, Chromecast, and a cavalcade of Android boxes are available to help get content on your screen. However, if you’re really stuck in the past, ESPFLIX might just be for you.

Control of the system is achieved by an Apple TV remote.

Yes, that’s right – it’s an online streaming service running on an ESP32. [rossumur] has achieved this feat through a careful use of codecs, and some efficient coding strategies to make it all come together. Video is MPEG1, at just 352×192 resolution. Audio is via the SBC codec, originally intended for use with Bluetooth devices. It’s chosen here for its tiny sample buffers, making it easier to decode in the limited RAM of the ESP32. Output is via composite video, generated on the ESP32 itself.

The titles themselves consist of public domain content, running off an Amazon Web Services instance. With limited RAM on the ESP32, there’s not much buffering to be had, so [rossumur] is bankrolling an AWS Cloudfront instance which should make it possible to use ESPFLIX from most places around the world with a solid internet connection.

We’ve seen [rossumur]’s work before, with the ESP_8_BIT serving as a prelude to this project’s capabilities. Video after the break.

Continue reading “ESPFLIX Brings Streaming Video To The World Of Microcontrollers”

3D Printable Kinematic Couplings, Ready To Use

Time may bring change, but kinematic couplings don’t. This handy kinematic couplings resource by [nickw] was for a design contest a few years ago, but what’s great is that it includes ready-to-use models intended for 3D printing, complete with a bill of materials (and McMaster-Carr part numbers) for hardware. The short document is well written and illustrated with assembly diagrams and concise, practical theory. The accompanying 3D models are ready to be copied and pasted anywhere one might find them useful.

What are kinematic couplings? They are a way to ensure that two parts physically connect, detach, and re-connect in a precise and repeatable way. The download has ready-to-use designs for both a Kelvin and Maxwell system kinematic coupling, and a more advanced design for an optomechanical mount like one would find in a laser system.

The download from Pinshape requires a free account, but the models and document are licensed under CC – Attribution and ready to use in designs (so long as the attribution part of the license is satisfied, of course.) Embedded below is a short video demonstrating the coupling using the Maxwell system. The Kelvin system is similar.

Continue reading “3D Printable Kinematic Couplings, Ready To Use”

Glasgow Uses An FPGA As An Embedded Systems Multitool

Everyone who builds embedded systems wants tools to help build and debug systems faster, so it isn’t uncommon to see boards outfitted with various tools like serial port sniffers. We’ve seen a few incarnations and the latest is Glasgow. The small board uses an FPGA and claims to do the following:

  • UART with automatic baud rate determination
  • SPI or I2C
  • Read and write common EEPROMs and flash chips
  • Read and write common EPROMs including a data rescue function
  • Program AVR chips via SPI
  • Play back JTAG SVF files
  • Debug ARC and some MIPS CPUs
  • Program XC9500LX CPLDs
  • Communicate to several wireless radios and CPUs
  • Do sound synthesis
  • Read raw data from floppy drives

The revC board is the first to be relatively functional and sports 16 I/O pins operating at up to 100 MHz, although the documentation hints that 6 MHz might be the top of what’s easily accomplished. The software is written in Python and the iCE40 FPGA toolchain that we’ve talked about many times in the past.

This already looks like a useful tool and the reconfigurable nature of FPGAs makes it a good platform to expand. The documentation discusses the difficulty in debugging things for the board, so the base software offers support such as a built-in logic analyzer to help.

We have seen dev boards become bench tools, like using the iCEstick as a logic analyzer. It’s nice to see dedicated tools like this one built up around the speed and versatility of FPGAs.

Continue reading “Glasgow Uses An FPGA As An Embedded Systems Multitool”

Modular Vibrating ‘Bots Made From PCBs

Printed circuit boards, they’re a medium designed primarily to mount electrical components with the wires themselves places as copper traces on the boards. To accommodate wide range of needs that have arisen over decades, board houses have evolved all manner of advanced techniques in routing and plating. To our benefit, this also makes it possible to leverage PCBs in an entirely artistic way, taking advantage of the highly-optimized manufacturing process. [GeeekClub] did just that, creating awesome vibrating robots out of custom-made PCBs.

The ‘bots come as a single PCB, with the parts snapped out akin to removing parts from sprues in a plastic model kit. They can then be assembled, with a pair of pager vibration motors installed to provide motive power. But really it’s the aesthetic of the boards and not the functionality that make these so incredible.

The design nestles a coin cell in the base of each bot, providing power and using the weight to help keep them upright. There’s a smattering of LEDs on board, and the art style of the ‘bots draws from Hopi Indian, Asian, and South American influences.

Cyphercon 2017 featured these exciting cubic badges, created from PCBs and soldered by hand.
This Star Trek inspired piece shows just how far you can go with the right color soldermask and some creativity.

This “flat-pack” style of PCB design that comes to life with creative use of angles and layers is becoming its own sub-genre of the art. The Star Trek Enterprise inspired build in another great example. We’ve also seen a growing trend of using the PCB as enclosures, take the Cyphercon badge and Queercon badge projects from 2017 as examples. Get yourself up to speed on design techniques for using FR4 as an enclosure from [Voja Antonic’s] in-depth guide.

Raspberry Pi Gets PATA/IDE Drive Via GPIO Header

By and large, the Raspberry Pi is a computer that eschews legacy interfaces. Primarily relying on SD cards for storage and USB ports for further expansion, magnetic hard drives are a rare sight. However, [Manawyrm] decided that some 40-pin goodness was in order, and set to making a PATA IDE adapter for the platform.

To achieve the task of interfacing now-vintage IDE devices with the Raspberry Pi, [Manawyrm] elected to use the single board computer’s GPIO pins to get the job done. 23 pins are required, with 16 used for the data bus, with the rest dedicated to address lines, strobes, and other features.

The adapter is no speed demon, netting 800 KiB/s on reads and 500 KiB/s on writes with a Raspberry Pi 4. The main bottleneck comes from relying on libgpiod, which [Manawyrm] readily admits is designed for general IO tasks, not data transfers. Despite this, it’s still fast enough to play an audio CD from an IDE CD-ROM drive without skipping. A kernel build is required, however, as Raspberry Pis are unsurprisingly not configured to use ATA disks by default.

Obviously, more serious applications would substitute a dedicated USB hard disk adapter or give the Raspberry Pi a PCI-express (PCIe) card for sata drives instead, but that doesn’t discount the fun inherent in the build. While it may be slow, it shows that talking to PATA hard disks is actually quite straightforward when you understand the basics. Of course, if you want to do the opposite, and have your Raspberry Pi emulate a PATA disk, that’s possible too. Video after the break.

Continue reading “Raspberry Pi Gets PATA/IDE Drive Via GPIO Header”

True Craftsmanship: Pneumatic Powered Drone Wasn’t Made To Fly

From time to time it’s good to be reminded that mechanical engineering can also be art. [José Manuel Hermo Barreiro], also known as [Patelo], is a retired naval mechanic with a love for scale model engines. Using only basic tools and a lathe, he has built a non-flying hexacopter display model, each propeller turned by a tiny single cylinder motor that runs on compressed air. From the tiny components of the valve systems, the brass framed acrylic windows into the crankcases, and the persistence of vision disc on the exhaust, the attention to detail is breathtaking.

One of the six hand crafted pneumatic motors

[Patelo] started the project on paper, and created a set of detailed hand-drawn blueprints to work from. Sadly a large part of the build took place during lockdown, and was not filmed, but we still get to see some work on a crankcase, connecting rod, camshaft, propellers, flywheel, and exhaust tubes. It is very clear that [Patelo] knows his way around his lathe very well, and is very creative with custom tools and jigs. The beautiful machine took approximately 1,560 hours to build, consists of 265 individually made parts held together with 362 screws.

We previously featured tiny V-12 engine that [Patelo] built around 2012. At that time he was 72 years of age, which means he should be around 80 now. We can only hope to come to emulate him one day, and that we get to see more of what comes out of his workshop. Hats off to you, sir.