Interconnected CPU nodes forming a system-wide network

With Luos Rapid Embedded Deployment Is Simplified

Those of us tasked with developing firmware for embedded systems have a quite a few hurdles to jump through compared to those writing for the desktop or mobile platforms. Solved problems such as code reuse or portability are simply harder. It was with considerable interest that we learnt of another approach to hardware abstraction, called Luos, which describes itself as micro-services for embedded systems.

This open source project enables deployment of distributed architectures composed of collaborating micro-services. By containerizing applications and hardware drivers, interfaces to the various components are hidden behind a consistent API. It doesn’t even matter where a resource is located, multiple services may be running on the same microcontroller, or separate ones, yet they can communicate in the same way.

By following hardware and software design rules, it’s possible to create an architecture of cooperating computing units, that’s completely agnostic of the actual hardware. Microcontrollers talk at the hardware level with a pair of bidirectional signals, so the hardware cost is very low. It even integrates with ROS, so making robots is even easier.

Luos architecture

By integrating a special block referred to as a Gate, it is possible to connect to the architecture in real-time from a host computer via USB, WiFi, or serial port, and stream data out,  feed data in, or deploy new software. The host software stack is based around Python, running under Jupyter Notebook, which we absolutely love.

Current compatibility is with many STM32 and ATSAM21 micros, so chances are good you can use it with whatever you have lying around, but more platforms are promised for the future.

Now yes, we’re aware of CMSIS, and the idea of Hardware Abstraction Layers (HALs) used as part of the platform-specific software kits, this is nothing new. But, different platforms work quite differently, and porting code from one to another, just because you can no longer get your preferred microcontroller any more, is a real drag we could all do without, so why not go clone the GitHub and have a look for yourselves?

Continue reading “With Luos Rapid Embedded Deployment Is Simplified”

A Bike Trailer For Any Expedition

One of the greatest challenges for a hardware hacker relying only on a bicycle for transport lies in the regular need to carry more than can be slung from the handlebars or on the luggage rack of your trusty steed. One of our favourite YouTube creators in our sphere, [Laura Kampf], has addressed this problem with a trailer for her electric bike made from a pair of second-hand wheelbarrows. She uses their buckets to make a clamshell box, and their wheels alongside a custom steel chassis to make the rest of the trailer.

As always with Laura’s work it’s a delight to watch, with some careful use of the cutting wheel to install hinges and vents in the upper bucket. Finishing touches are a chequer plate top for the trailer and a spare wheel mounted on the back for that extra-rugged look. Experience with wheelbarrow wheels suggests to us that the slightly more expensive ones with ball bearings are worth the investment over the plastic ones, but either way this is a bike trailer that means business.

We don’t see as many bike trailers as we’d like here at Hackaday, and those few we have are old enough to have succumbed to link-rot. Perhaps this project might tempt a few people to try their hand?

Continue reading “A Bike Trailer For Any Expedition”

Axial Flux Motors For Electric Vehicles

In the everything old is new again folder, [Lesics] has a good overview of axial flux motors. These are promising for electric vehicles, especially aircraft, since the motors should have high torque to weight ratio. The reason this is actually something old is that the early generators built by Faraday were actually of the axial flux type. Soon, though, radial flux generators and motors became the norm.

The simple explanation is that in a radial system, the magnetic flux lines are perpendicular to the axis of rotation. In the axial system, the flux lines are parallel to the axis of rotation. There’s more to it than just that of course, and the video below has nice animations showing how it all works.

While these are not very common, they do exist even today. The Lynch motor, for example, is a type of axial flux motor that dates back to 1979. Usually, the impetus for using an axial flux motor is the ease of construction, but with the right design, they can be quite efficient (up to 96% according to the video).

We’ve seen plenty of PCB motors and most of those are axial in design. Not all of them, though.

Continue reading “Axial Flux Motors For Electric Vehicles”

Autonomous Ground Effect Vehicle Demonstrator Aims To Speed Up Maritime Shipping

Ground effect vehicles, or ekranoplans, have the advantage of being more efficient than normal aircraft and faster than boats, but so far haven’t been developed beyond experimental prototypes. Fortunately, this doesn’t stop companies from trying, which has led to a collaboration between [ThinkFlight] and [rctestflight] to create a small-scale demonstrator for the Flying Ship Company.

The Flying Ship Company wants to use unmanned electric ekranoplans as high-speed marine cargo carriers that can use existing maritime infrastructure for loading and unloading. For the scale model, [rctestflight] was responsible for the electronics and software, while [ThinkFlight] built the airframe. As with his previous ekranoplan build, [ThinkFlight] designed it in XFLR5, cut the parts from foam using a CNC hot wire cutter (which we still want a better look at), and laminated it with Kevlar for strength. One of the challenges of ground effect vehicles is that the center of pressure will shift rearward as they leave a ground effect, causing them to pitch up. To maintain control when moving into and out of ground effect, these crafts often use a large horizontal stabilizer high up on the tail, out of ground effect.

A major feature of this demonstrator is automatic altitude control using a LIDAR sensor mounted on the bottom. This was developed by [rctestflight] using a simple foam board ekranoplan and [Think Flighs]’s previous airframe, with some custom code added to ArduPilot. It works very well on smooth, calm water, but waves introduce a lot of noise into the LIDAR data. It looks like they were able to overcome this challenge, and completed several successful test flights in calm and rough conditions.

The final product looks good, flies smoothly, and is easy to control since the pilot doesn’t need to worry about pitch or throttle control. It remains to be seen if The Flying Boat will overcome the challenges required to turn it into a successful commercial craft, and we will be following the project closely.

Continue reading “Autonomous Ground Effect Vehicle Demonstrator Aims To Speed Up Maritime Shipping”

1981 Called, Here’s Your Software

How many of us who have a few decades of adulthood under our belts would like to talk to our 17 year old selves? “Hey kid, it’s all gonna be OK. Also, Duke Nukem Forever does come out eventually, but it’s not going to be pretty!” Being honest, exposure to the hot takes of one’s naive teenage self would almost certainly be as cringeworthy as the time-worn-but-familiar adult would be to the teenager, but there’s one way in which you can in a sense have a conversation with your teenage self. [Mad Ned] had this opportunity, when he discovered a printed BASIC listing for a game he’d written for the TRS-80 back in 1981. Could he make it run again, and what did it tell him about his teenage years?

Grizzled 8-bit veterans will tell you of countless hours spent typing poorly-reproduced listings found in magazines, and the inevitable pain that followed as all those mistypes were ironed out. [Ned] eschewed all that retro experience because this is the 21st century, and we now have much more powerful computers to do our bidding! The reality of incomplete OCR is one we’ll no doubt all be used to, and for 8-bit fans also the debugging that was needed to get the listing to run. Breaker Ball is an odd hybrid of Breakout and Space Invaders, and it’s his analysis of the teenage thinking that led to the game being the way it is that rounds off the piece.  Sadly we’re not treated to the entire listing, but there’s a short gameplay video we’ve placed below the break.

Continue reading “1981 Called, Here’s Your Software”

Borehole Camera Rig Makes Life Easier In Mining

Much of mining involves digging and drilling holes in the ground. Often, these holes need inspecting, but [Dean Harty] found that existing borehole inspection solutions weren’t up to snuff. Resolution was poor, and often live-view devices made recording footage a pain. Instead, he set about the development of the Sneaky Peaky, going through several revisions in the process.

The first revision was nothing more than a GoPro strapped to a small penny board, paired with a bright flashlight. The 4K resolution of the GoPro provided useful footage, and the assembly could be lowered into boreholes on a rope and retrieved easily. Rugged and water resistant, the gear worked well, and was remarkably cheap compared to more obscure mining industry hardware.

An early version of the Sneaky Peaky

Later revisions ditched the skateboard, replacing it with a pipe-style housing instead. Key to the design was that the device could readily be destroyed and flushed out of a borehole with an air blast in the event it got stuck.

Eventually, mining outfit Metrologi got involved, having worked with [Dean] on several borehole backfill operations. A 3D-printed chassis was developed to hold an action camera and twin torches, held together with plastic zip ties. These are attached to the pull rope, and if the camera becomes jammed, a sharp pull will snap the ties and cause the device to fall apart. Steel cable ties are then used to create flexible guides to center the assembly in a variety of pipe diameters.

It’s a great example of people on the ground hacking together the tools they need, combined with iterative design to integrate improvements over time. We don’t talk about boreholes much around here, but they can be musical if properly employed, as it turns out. If you’ve got your own great mining hacks, however, do drop us a line!

Dial A For Arduino

A lot of phrases surrounding phones don’t make sense anymore. With a modern cellphone, you don’t really “hang up” and there’s certainly no “dial” to be had. However, with [jakeofalltrades’] project, you can read an old-fashioned phone dial using an Arduino.

The idea behind a phone dial is actually pretty simple. When you pull the dial back to the stop using one of the numbered holes and release it, it causes a switch to open and close the same number of times as the hole you selected. That is, if you pull back the 5 hole, you should get 5 switch closures. The duration of each switch event and the time between switch events is a function of the speed the dial moves because of its internal spring. The zero hole actually produces ten pulses.

There are standards for how precise the timing has to be, but — honestly — it’s pretty loose since these were not made to be read by precise microcontroller timers. In the United States, for example, the dial was supposed to produce between 9.5 and 10.5 pulses per second, but the equipment on the other end would tolerate anything from 8 to 11.

Even if you don’t want a rotary dial in your next project, the code has some good examples of using ATmega328 timers that you might find useful in another context. However, a dial would add a nice retro touch to any numeric input you might happen to need.

If you need project inspiration, how about a volume control? Or, why not a numeric keypad?