Downloadable 3D Cockpits Enhance FPV Racing

First Person View (or First Person Video) in RC refers to piloting a remote-controlled vehicle or aircraft via a video link, and while serious racers will mount the camera in whatever way offers the best advantage, it’s always fun to mount the camera where a miniature pilot’s head would be, and therefore obtain a more immersive view of the action. [SupermotoXL] is clearly a fan of this approach, and shared downloadable designs for 3D printed cockpit kits for a few models of RC cars, including a more generic assembly for use with other vehicles. The models provide a dash, steering wheel, and even allow for using a small servo to make the steering wheel’s motions match the actual control signals sent. The whole effect is improved further by adding another servo to allow the viewer to pan the camera around.

Check out the video embedded below to see it in action. There are more videos on the project’s page, and check out the project’s photo gallery for more detailed images of the builds.

Continue reading “Downloadable 3D Cockpits Enhance FPV Racing”

Anti-Lock Brakes For Bike Might Make Rides A Little Safer

Crashing one’s bike is a childhood rite of passage, one that can teach valuable lessons in applied physics. Assuming the kid is properly protected and the crash is fairly tame, scrapes and bruises are exchanged for the wisdom to avoid sand and gravel patches, and how to avoid a ballistic dismount by not applying the front brakes harder than or before the rear brakes.

But for many of us, those lessons were learned long ago using a body far more flexible than the version we’re currently in, and the stakes are higher for a bike ride that includes braking mistakes. To help with that, [Tom Stanton] has been working on anti-lock brakes for bicycles, and in the process he’s learned a lot about the physics and engineering of controlled deceleration.

It seems a simple concept – use a sensor to detect when a wheel is slipping due to decreased friction between the tire and the roadway, and release braking force repeatedly through an actuator to allow the driver or rider to maintain control while stopping. But that abstracts away a ton of detail, which [Tom] quickly got bogged down in. With a photosensor on the front wheel and a stepper motor to override brake lever inputs, he was able to modulate the braking force, but not with the responsiveness needed to maintain control. Several iterations later, [Tom] hit on the right combination of sensors, actuators, and algorithms to make a decent bike ABS system. The video below has all the details of the build and testing.

[Tom] admits bike ABS isn’t much of an innovation. We even covered an Arduino-instrumented bike that was to be an ABS testbed a few years back. But it’s still cool to see how much goes into anti-lock systems.

Continue reading “Anti-Lock Brakes For Bike Might Make Rides A Little Safer”

Hackaday Links Column Banner

Hackaday Links: February 17, 2019

There is a population of retrocomputing enthusiasts out there, whose basements, garages, and attics have been taken over by machines of years past. Most of the time, these people concentrate on one make; you’re an Apple guy, or you’re a Commodore guy, or you’re a Ford guy, or you’re a Chevy guy. The weirdos drive around with an MSX in the trunk of an RX7. This is the auction for nobody. NASA’s JPL Lab is getting rid of several tons of computer equipment, all from various manufacturers, and not very ‘vintage’ at all. Check out the list. There are CRT monitors from 2003, which means they’re great monitors that weigh as much as a person. There’s a lot of Sun equipment. If you’ve ever felt like cleaning up a whole bunch of trash for JPL, this is your chance. Grab me one of those sweet CRTs, though.

Last week, we published something on the ‘impossible’ tech behind SpaceX’s new engine. It was reasonably popular — actually significantly popular — and got picked up on Hacker News and one of the Elon-worshiping subreddits. Open that link in one tab. Now, open this link in another. Read along as a computer voice reads Hackaday words, all while soaking up YouTube ad revenue. What is our recourse? Does this constitute copyright infringement? I dunno; we don’t monetize videos on YouTube. Thanks to [MSeifert] for finding this.

Wanna see something funny? Check out the people in the comments below who are angry at a random YouTuber stealing Hackaday content, while they have an ad blocker on.

Teenage Engineering’s OP-1 is back in production. What is it and why does it matter? The OP-1 is a new class of synthesizer and sampler that kinda, sorta looks like an 80s Casio keyboard, but packed to the gills with audio capability. At one point, you could pick one of these up for $800. Now, prices are at about $1300, simply because production stopped for a while (for retooling, we’re guessing) and the rumor mill started spinning. The OP-1 is now back in production with a price tag of $1300. Wait. What? Yes, it’s another case study in marketing: the best way to find where the supply and demand curves cross is to stop production for a while, wait for the used resellers to do their thing, and then start production again with a new price tag that people are willing to pay. This is Galaxy Brain-level business management, people.

What made nerds angry this week? Before we get to that, we’re gonna have to back track a bit. In 2016, Motherboard published a piece that said PC Gaming Is Still Way Too Hard, because you have to build a PC. Those of us in the know realize that building a PC is as simple as buying parts and snapping them together like an expensive Lego set. It’s no big deal. A tech blog, named Motherboard, said building a PC was too hard. It isn’t even a crack at the author of the piece at this point: this is editorial decay.

And here we are today. This week, the Internet reacted to a video from The Verge on how to build a PC. The original video has been taken down, but the reaction videos are still up: here’s a good one, and here’s another. Now, there’s a lot wrong with the Verge video. They suggest using a Swiss army knife for the assembly, hopefully one with a Philips head screwdriver. Philips head screwdrivers still exist, by the way. Dual channel RAM was completely ignored, and way too much thermal compound was applied to the CPU. The cable management was a complete joke. Basically, a dozen people at The Verge don’t know how to build a PC. Are the criticisms of incompetence fair? Is this like saying [Doug DeMuro]’s car reviews are invalid because he can’t build a transmission or engine, from scratch, starting from a block of steel? Ehhh… we’re pretty sure [Doug] can change his own oil, at least. And he knows to use a screwdriver, instead of a Swiss army knife with a Philips head. In any event, here’s how you build a PC.

Hackaday writers to be replaced with AI. Thank you [Tegwyn] for the headline. OpenAI, a Musk and Theil-backed startup, is pitching a machine learning application that is aimed at replacing journalists. There’s a lot to unpack here, but first off: this already exists. There are companies that sell articles to outlets, and these articles are produced by ‘AI’. These articles are mostly in the sports pages. Sports recaps are a great application for ML and natural language processing; the raw data (the sports scores) are already classified, and you’re not looking for Pulitzer material in the sports pages anyway. China has AI news anchors, but Japan has Miku and artificial pop stars. Is this the beginning of the end of journalism as a profession, with all the work being taken over by machine learning algorithms? By vocation, I’m obligated to say no, but I have a different take on it. Humans can write better than AI, and the good ones are nearly as fast. Whether or not the readers care if a story is accurate or well-written is another story entirely. It will be market forces that determine if AI journalists take over, and if you haven’t been paying attention, no one cares if a news story is accurate or well written, only if it caters to their preexisting biases and tickles their confirmation bias.

Of course, you, dear reader, are too smart to be duped by such a simplistic view of media engagement. You’re better than that. You’re better than most people, in fact. You’re smart enough to see that most media is just placating your own ego and capitalizing on confirmation bias. That’s why you, dear reader, are the best audience. Please like, share, and subscribe for more of the best journalism on the planet.

How To Program A Really Cheap Microcontroller

There are rumors of a cheap chip that does USB natively, has an Open Source toolchain, and costs a quarter. These aren’t rumors: you can buy the CH552 microcontroller right now. Surprisingly, there aren’t many people picking up this cheap chip for their next project. If there’s no original projects using this chip, no one is going to use this chip. Catch 22, and all that.

Like a generous god, [Aaron Christophel] has got your back with a working example of programming this cheap chip, and doing something useful with it. It blinks LEDs, it writes to an I2C display, and it does everything you would want from a microcontroller that costs a few dimes.

The CH552, and its friends the small CH551 all the way up to the CH559, contain an 8051 core, somewhere around 16 kB of flash, the high-end chips have a USB controller, there’s SPI, PWM, I2C, and it costs pennies. Unlike so many other chips out there, you can find SDKs and toolchains. You can program the chip over USB. Clearly, we’re looking at something really cool if someone writes an Arduino wrapper for it. We’re not there yet, but we’re close.

To program these chips, [Aaron] first had to wire up the microcontroller into a circuit. This was just a bit of perf board, a resistor, a few caps, and a USB A plug. That’s it, that’s all that’s needed. This is a fairly standard 8051 core, so writing the code is relatively easy. Uploading is done with the WCHISPTool software, with options available for your favorite flavor of *nix.

But it gets better. One of the big features of the CH552 is USB. That means no expensive or weird programmers, yes, but it also means the CH552 can emulate a USB HID device. The CH552 can become a USB keyboard. To demo this, [Aaron] programmed a CH552 board (DE, here’s the Google translatrix) loaded up with touch pads and LEDs to become a USB keyboard.

If you don’t feel like soldering up one of these yourself, there are some suppliers of CH554 dev boards, and the files for [Aaron]’s projects are available here. Check out the videos below, because this is the best tutorial yet on programming and using some very interesting chips that just appeared on the market.

Continue reading “How To Program A Really Cheap Microcontroller”

A Lightweight AVR IDE

It’s entirely possible to do your coding in vim or emacs, hammering out hotkeys to drive the interface and bring your code to life. While working in such a way has its charms, it can be confronting to new coders, and that’s before even considering trying to understand command line compiler settings. The greenhorn coder may find themselves more at home in the warm embrace of an IDE, and [morrows_end] has now built one for those working with AVR assembly code.

The IDE goes by the name of Simple AVR IDE, or savr_ide for short. Programmed in C++ with the FLTK widget library, [morrows_end] has tested it on Windows XP, but notes that it should successfully compile for Linux, Unix, and even MacOS too.

All the basic features are there – there’s syntax highlighting, as well as integration with the AVRA assembler and AVRDUDE for programming chips. It’s a tool that could make taking the leap into assembly code just that little bit easier.  For another taste of bare metal coding, check out [Ben Jojo]’s discussion of x86 bootloaders.

Infinity Icosahedron Is Difficult To Contemplate Even Looking Right At It

Cubes and pyramids are wonderful primitive three-dimensional objects, but everyone knows that the real mystical power is in icosahedrons. Yes, the twenty-sided polyhedron does more than just ruin your saving throws in tabletop RPGs – it can also glow and look shiny in your loungeroom at home.

[janth]’s build relies on semitransparent acrylic mirrors for the infinity effect, lasercut into triangles to form the faces of the icosahedron. The frame is built out of 3D printed rails which slot on to the acrylic mirrors, and also hold the LED strips. [janth] chose high-density strips with 144 LEDs per meter for a more consistent effect, and added frosted acrylic diffusers to all the strips for a clean look with less hotspots from the individual LEDs.

An ESP32 runs the show, and the whole assembly is epoxied together for strength. The final effect is very future disco, and it’s probably against medical advice to stare at it for more than 5 minutes at a time.

The infinity effect is a popular one, and we’ve seen a beautiful cube build by [Heliox] in recent times. Of course, if you do manage to build an actual portal through time and space, and not just a lamp that looks like one, be sure to send us a tip. Video after the break.

Continue reading “Infinity Icosahedron Is Difficult To Contemplate Even Looking Right At It”

Command Line Utilities… In The Cloud?

Although many people think of Linux-based operating systems as graphical, really that GUI is just another application running over the bare operating system. Power users, remote administrators, and people running underpowered computers like a Raspberry Pi have a tendency to do more with command line tools. [Igor] did a FOSDEM19 presentation you can see below about how he’s providing web-like services to the command line using web servers and curl as a client.

This is subtly different from just accessing an ordinary web server via curl. The output is meant for display in the terminal. Of course, you could also hit them with a web browser, if you wanted — at least, for some of them. [Igor’s] tools include a weather reporter, a QR code encoder, information and graphs for currency and cybercurrency rates, and an online help system for programmers.

Continue reading “Command Line Utilities… In The Cloud?”