Hackaday Newsletter 0xF5 - Opritek

Opritek blog is a blog for Blogging tips | life hacks tips |gospel articles | educational |news

click the drop down menu to read blog in your preferred language

Friday, 30 October 2020

Hackaday Newsletter 0xF5

Standing on each other's shoulders, and scratching our own itches.
HACKADAY

Bringing High Temperature 3D Printing to the Masses Read Article Now»

Scratching That Itch

By Elliot Williams

I did something silly. I bought a lot of ten "broken" cheesy indoor quadcopters on eBay -- to hopefully cobble one working one together and to amuse my son. At this point, I've got eight working. The bad news is that they all come with dirt-cheap transmitters that aren't really conducive to flying at all. They'd be a lot more fun if they could be controlled with a real remote. Enter the hackers.

Most all of the cheap quads are based on one of a handful of radio chipsets, although they use different protocols. An enterprising hacker could conceivably just bundle together this handful of radio modules, and the rest would be a simple matter of software. That's exactly what Pascal Langer's DIY Multiprotocol TX and supporting firmware does. This hobby project was so successful that compatible hardware is manufactured by more than a few Chinese companies, and is becoming ever more popular. The module lets you control virtually anything that uses 2.4 GHz. Of course, I've got one of them.

I opened up the cheesy drone's transmitter, found that it used a popular chipset, and worked through all the different supported protocols that used it. No dice. But the radio module did have nicely labeled SPI lines, so I reached out to Pascal. A couple of Sigrok sessions later, he'd figured out that it was trying to bind on a different channel, I'd recompiled the firmware, and was playing with the drone's other functions.

I just love a good SPI-sniffing session. sigrok-cli -d fx2lafw -c samplerate=4000000 -P spi:clk=D0:mosi=D1:cs=D2 -A spi="mosi transfer" --continuous | grep A0 | uniq reads the SPI lines, decodes the packets, filters out the commands, and removes duplicates, in real-time. All that's left to do is wiggle the sticks, mash buttons, and take good notes.

None of this was hard, and certainly none of it was expensive. I got my drones under the control of my fancy-schmancy remote, and have a good foothold into controlling them algorithmically later on thanks to everyone's previous work on reverse engineering these protocols. Support for DF Drone's SkyTumbler will be included in the next DIY Multiprotocol TX release, and I spent about four or five pleasant hours on this project. Maybe only a handful of people will stumble on this particular protocol -- or maybe it will just be me. I did it mostly just to scratch my own particular itch.

But that's one way open source works, thrives, and grows. Thanks to you all out there, from the Deviation team, who did a lot of the early drone protocol reverse engineering, to Pascal for the DIY Module, to the Sigrok folks who made the tools accessible for me to piggyback on everyone's previous work. Keep on hacking!

From the Blog


Clacker Hacker: Popping a Cap in a Brother EP43 Thermal Typewriter

By Kristina Panos

Fixing up a stinky exploded capacitor yields a thermal-paper scroll typerwiter. Read more »

Tracking Satellites with a Commodore PET

By Chris Lott

In the 1980s, tracking satellites wasn't easy, but it was worth it. Read more »

Engine Trouble Delays SpaceX's Return to the ISS

By Tom Nardi

Warning signs on a satellite carrying mission scrub a manned mission on a similar rocket. Read more »

Hackaday Podcast

Hackaday Podcast 091: Louisville Exploder, Generating Japanese Joinery, Relay Retrocomputer Rally, and Chop the Robopup

By Hackaday Editors

What happened last week on Hackaday? Editors Mike Szczys and Elliot Williams get you up to speed.  Read more »

If You Missed It


Let The Solar Free

Battery Swap Gives Nissan LEAF New Lease on Life

Complex Wood Joints, Thanks To New Software's Interactive Features

Take This 3D-Print Post-Processing Method with a Grain of Salt

What's In A USB-C Connector?

A Transistor-less Sound Synthesizer

Hackaday

NEVER MISS A HACK

Terms of Use

Privacy Policy

Hackaday.io

Hackaday.com

This email was sent to opezeroy.News@blogger.com

why did I get this?

unsubscribe from this list

update preferences

Hackaday.com · 61 S Fair Oaks Ave Ste 200 · Pasadena, CA 91105-2270 · USA

No comments:

Post a Comment

Please drop comments align to post
Thanks a trillion