frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

ESP32 Bus Pirate 0.5 – A hardware hacking tool that speaks every protocol

https://github.com/geo-tp/ESP32-Bus-Pirate
164•geo-tp•6mo ago
ESP32 Bus Pirate is an open-source firmware that turns your device into a multi-protocol hacker's tool, inspired by the legendary Bus Pirate.

It supports sniffing, sending, scripting, and interacting with various digital protocols (I2C, UART, 1-Wire, SPI, etc.) via a serial terminal or web-based CLI.

Modes for:

- HiZ (default) - I2C (scan, glitch, slave mode, dump) - SPI (flash, sdcard, slave mode) - UART / Half-Duplex UART (bridge, read, write) - 1-WIRE (ibutton, temp sensor) - 2WIRE (smartcard) / 3WIRE (eeprom) - DIO (Digital I/O, read, pullup, set) - Infrared (device-b-gone, send and receive) - USB (HID, mouse, keyboard, gamepad, storage) - Bluetooth (BLE HID, scan, spoofing, sniffing) - Wi-Fi (scan, AP, connect, sniff, deauth) - JTAG (scan pinout, SWD) - LED control (animations, set LEDs) - I2S - CAN

https://github.com/geo-tp/ESP32-Bus-Pirate

Comments

konraditurbe•6mo ago
bought a t embed cc1101 and stickc2 plus boards to try out your project, arrives in a couple days!
geo-tp•6mo ago
That's nice, give me some feedback what you thought once you've used it
yjftsjthsd-h•6mo ago
Hm, maybe this will finally let me network my IR-controlled AC units. There are a bunch of ESP/IR projects, but for some reason I haven't gotten them to work (pretty sure it's a problem with my hand-assembled hardware, in fairness)
roger_•6mo ago
ESPHome is good for that.
nullc•6mo ago
It can be informative to drop an oscilloscope probe on the transmitter.

I recently found a remote that doesn't to the 30kHz modulation-- good luck to me controlling that with anything.

geo-tp•6mo ago
The firmware supports about 83 IR protocols, but even with that, it's not mandatory that it works with all existing devices.
yjftsjthsd-h•6mo ago
If it can run at the right speed or frequency or whatever, I'm perfectly happy for it to work purely by recording and replaying signals that I give it with my remote.
geo-tp•6mo ago
https://github.com/probonopd/irdb

See here for a very large database of IR signals that works with the firmware.

rramadass•6mo ago
Have you looked into "USB IR Toy" (both versions) ? - http://dangerousprototypes.com/docs/USB_Infrared_Toy and http://dangerousprototypes.com/docs/USB_IR_Toy_v2
lostlogin•6mo ago
What is it about AC that makes it impossible to control?

I live in New Zealand where we pretend that it’s never particularly cold or particularly hot. This might be a factor in how sloppy all the installs seem to be.

yjftsjthsd-h•6mo ago
> What is it about AC that makes it impossible to control?

Nothing; there is something about my AC and the badly hand-assembled ESP8266 and IR transmitter I made that doesn't work.

slug•6mo ago
I was able to record/playback fujitsu mini-split commands using a simple wemos d1 IR shield + wemos d1 mini (esp8266) a few years ago.

https://www.wemos.cc/en/latest/d1_mini_shield/ir.html

https://www.wemos.cc/en/latest/d1/d1_mini.html

jasongill•6mo ago
I recently converted all of my (5 in 3 buildings) mini splits on my property to be controlled by Home Assistant. It took some research but all I ultimately needed was:

https://cloudfree.shop/product/ductless-hvac-wi-fi-module/

this USB ESP32 module which works out of the box on Midea-produced units (Carrier, Electrolux, Pioneer). I have a few units that are other generic brands which apparently are rebranded "Aux" brand units, so I re-flashed the ESP32 board above to work with Aux units by doing `brew install esphome` and then `esphome run auxminisplit.yaml --device /dev/tty.usbserial-210` where auxminisplit.yaml is https://gist.github.com/jasongill/35a13e458b6d109ca2bbefeab4...

That worked perfectly for me and should cover like 90% of all minisplits (Midea and Aux make a ton of brands units), let me know if that works for you.

baby_souffle•6mo ago
> (pretty sure it's a problem with my hand-assembled hardware, in fairness)

Certainly could be the case. I've spent more time than I want to admit chasing down what was ultimately a loose wire.

For what it's worth, you can get a cheap ESP32 module and basic IR sensor modules for a few bucks on amazon [0]. As long as you have a basic USB <-> TLL/Serial adapter, you should be able to install ESPHome on that. The module that's on that particular board does not have a ton of room so keep the ESPHome config simple and to the point.

It's a few dozen lines of yaml total to get a basic IR signal decode/dump tool: [1]

[0]: https://www.amazon.com/HiLetgo-Infrared-Transmitter-Receiver...

[1]: https://esphome.io/guides/setting_up_rmt_devices#remote-sett...

yjftsjthsd-h•6mo ago
Thanks; $17 is much cheaper than the time it would take me to fix mine:) And limited space is fine, for my use case I just need to turn MQTT or HTTP POSTs into like three different signals.
jnurmine•6mo ago
No I3C though :)
geo-tp•6mo ago
Fork it and implement it then
4gotunameagain•6mo ago
Sass Pirate 0.5
geo-tp•6mo ago
It might have been poorly worded, English is not my native language, but there was nothing mean in my message. To put it more clearly, I meant: fork it and make a pull request to help me implement it.
jnurmine•6mo ago
Don't worry, at least I didn't think it was mean or anything.

The "joke" was that implementing bitbanged I3C on an ESP32 (!) sounds absurd. Like doing raytracing on C64. (Of course some crazy folks have done it though)

myself248•6mo ago
Is it a derivative of the original Bus Pirate in some way, or just reusing the name?
geo-tp•6mo ago
Both in a way. Bus Pirate, both the hardware and the software, is completely open source. It's not the same version, things are different, but it's largely inspired by it.

However, the entire implementation is new, it's not a copy

Brian_K_White•6mo ago
Then you should not use their name.
schoen•6mo ago
Maybe it could be called "Bus-caneer"?
geo-tp•6mo ago
See here: https://github.com/geo-tp/ESP32-Bus-Pirate/issues/7
Brian_K_White•6mo ago
Nothing there adresses the problem. No one should have to tell you why it's wrong to use someone elses (reconized earned) name, or how "prefixed by esp32" does not change anything. Do what you want but don't delude yourself that you're in the right.
flowerthoughts•6mo ago
Plus this assumes the reader knows the actual Bus Pirate doesn't use ESP32.
Brian_K_White•6mo ago
Not to mention, what if the original bus pirate developers wanted to support esp32? It's just wrong all around.

Tomorrow I'm going to make one based on pi pico, and I want to sell them. But I have 2 problems:

1 I suck at embedded code and electronics design so my product barely works. It isn't reliable, accurate, or safe for the device under test.

2 there are already a ton of cheap mcu logic analyser projects and products...

How can I get mine to be popular instantly despite those problems? I'll just use someone else's popular recognized and well-regarded name that they earned the hard way. I'll call it the "Flipper Bus Pirate". This is totally ok because "Flipper Bus Pirate" is not "Bus Pirate" and it's also not "Flipper Zero". I don't understand why you are yelling at me.

47282847•6mo ago
I generally agree, and also do in this particular case, but one could argue that bus pirate is so successful that it turned into a genericide (Kleenex, Hoover, Thermos, Zipper, …).
petre•6mo ago
Too bad ir doesn't do CAN-bus, either using ESP32's integrated TWAI controller and a hardware interface with a transciever or a MCP2515 controller. The M5 has a CAN-bus transciever¹. Thay way it would be really useful on cars and more recent e-bikes.

1. https://docs.m5stack.com/en/unit/can

geo-tp•6mo ago
already supported

SectorC: A C Compiler in 512 bytes

https://xorvoid.com/sectorc.html
97•valyala•4h ago•16 comments

The F Word

http://muratbuffalo.blogspot.com/2026/02/friction.html
43•zdw•3d ago•9 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
23•gnufx•2h ago•19 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
55•surprisetalk•3h ago•54 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
97•mellosouls•6h ago•175 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
144•AlexeyBrin•9h ago•26 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
100•vinhnx•7h ago•13 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
850•klaussilveira•1d ago•258 comments

I write games in C (yes, C)

https://jonathanwhiting.com/writing/blog/games_in_c/
138•valyala•4h ago•109 comments

First Proof

https://arxiv.org/abs/2602.05192
68•samasblack•6h ago•52 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
7•mbitsnbites•3d ago•0 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
1093•xnx•1d ago•618 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
64•thelok•6h ago•10 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
235•jesperordrup•14h ago•80 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
519•theblazehen•3d ago•191 comments

Reinforcement Learning from Human Feedback

https://rlhfbook.com/
94•onurkanbkrc•9h ago•5 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
31•momciloo•4h ago•5 comments

Selection Rather Than Prediction

https://voratiq.com/blog/selection-rather-than-prediction/
13•languid-photic•3d ago•4 comments

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
259•alainrk•8h ago•425 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
186•1vuio0pswjnm7•10h ago•267 comments

A Fresh Look at IBM 3270 Information Display System

https://www.rs-online.com/designspark/a-fresh-look-at-ibm-3270-information-display-system
48•rbanffy•4d ago•9 comments

France's homegrown open source online office suite

https://github.com/suitenumerique
615•nar001•8h ago•272 comments

72M Points of Interest

https://tech.marksblogg.com/overture-places-pois.html
36•marklit•5d ago•6 comments

We mourn our craft

https://nolanlawson.com/2026/02/07/we-mourn-our-craft/
348•ColinWright•3h ago•414 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
125•videotopia•4d ago•39 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
99•speckx•4d ago•116 comments

Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

https://github.com/sandys/kappal
33•sandGorgon•2d ago•15 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
211•limoce•4d ago•119 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
288•isitcontent•1d ago•38 comments

History and Timeline of the Proco Rat Pedal (2021)

https://web.archive.org/web/20211030011207/https://thejhsshow.com/articles/history-and-timeline-o...
20•brudgers•5d ago•5 comments