Remix.run Logo
Raspberry Pi Pico W as USB Wi-Fi Adapter(gitlab.com)
154 points by byb 8 hours ago | 61 comments
polpo 6 hours ago | parent | next [-]

Interesting that Gemini said it was infeasible. It should be aware that using a Pico W as a transparent ethernet bridge has been done several times over in open source projects, for example on BlueSCSI (emulating a Daynaport SCSI-Ethernet adapter) and PicoMEM and my own PicoGUS project (emulating an NE2000 Ethernet adapter).

tehlike 2 hours ago | parent | next [-]

It's often good to approach what llm said as a guidance, and not as ground truth.

You can ask follow up questions or point to potential feasibility and it will change its answer.

byb 4 hours ago | parent | prev | next [-]

Exactly, bit banging an 8-bit bus isn't that different from pushing the data out of the USB port. It would be great to try an LLM trained on pre-1900 documents and ask it if powered flight is possible.

Great work on PicoGUS.

dofm 4 hours ago | parent | next [-]

You can probably try this:

https://news.ycombinator.com/item?id=46590280

tonyhart7 3 hours ago | parent | prev [-]

does the LLM speak old english ???

alexjurkiewicz 2 hours ago | parent | prev | next [-]

It was Gemini Flash, probably an even faster variant optimised for immediate response on search pages.

rvz 2 hours ago | parent | prev [-]

> Interesting that Gemini said it was infeasible.

Unless there is a hardware limitation or the hardware does not support it, anything in software is possible.

Gemini and all these other LLMs are designed to convince you that they have "awareness" which they do not have any of the sort. They are neither sentient nor do they have consciousness

whywhywhywhy 16 minutes ago | parent | next [-]

Something doesn’t have to be sentient or have consciousness to answer a technical question like that.

dTal an hour ago | parent | prev [-]

Bad take. Some things are feasible and some things are not, "anything is possible" is a useless framework. Example: go convert two smartphones to communicate p2p over their 4g radios - it's all software!

LLM "awareness" is similarly irrelevant. They process information usefully, in a way grounded in reality, and that's that.

arcza 2 hours ago | parent | prev | next [-]

Meta comment: nice to see someone NOT putting their FOSS project on Microslop (GitHub) and using another platform for hosting their code. I respect that, thank you for standing up to GitHub's dominance. I wish more projects didn't give GitHub such monopoly power by defaulting to using it.

nolok an hour ago | parent [-]

Meta comment to your meta comment : this is a very personal opinion but I cannot stop myself from thinking less about your message (even though I agree with it), just because of that edgy wannabe way to go about naming Microsoft. You want to say Microsoft say that, you want to say Github say that but if you say a vaguely insulting name only to have to specify what you actually mean... It doesn't bring anything to the conversation, except lower the level, and if a company has flaws as big as Microsoft you don't need to resort to childish name calling to expose them. This is my personal opinion.

LearnYouALisp a few seconds ago | parent | next [-]

It means GH is now full of slop and pointing out it's owned by Microsoft, for those who may not have known or LMS who did not until recently

joejohnson 11 minutes ago | parent | prev | next [-]

I thought it brought something to the conversation

techbrovanguard an hour ago | parent | prev [-]

won’t somebody please think of the billion dollar company?

nolok an hour ago | parent [-]

This has nothing to do with the billion dollar company, and I have no lost love for Microsoft.

It's about quality of discourse among us, and Microsoft has nothing to do with that.

bhouston an hour ago | parent | prev | next [-]

Interesting project.

In a similar but opposite vein, I am going on a vacation and I wanted to share the stupidly expensive internet in my room at night with the family so I am likely bringing a raspberry pi to have as a travel router attached to my Mac. In this case, I can use the RaspAP project: https://raspap.com/

This is slightly different in that I do want a NAT.

KJs6ZxELzQM37O an hour ago | parent | prev | next [-]

I recently bought Pico 2 W for DualSense (https://github.com/awalol/DS5Dongle).

byb 8 hours ago | parent | prev | next [-]

pico-usb-wifi is firmware for the Raspberry Pi Pico W that turns it into a driverless USB Wi-Fi adapter, enumerating as a USB CDC-NCM device.

fragmede 8 hours ago | parent [-]

Hah! That's neat! So much fun stuff to be had with that particular bit of kit.

palata 2 hours ago | parent | prev | next [-]

> Average 4.75 Mbits/sec throughput

Isn't that slow for WiFi?

I mean it's an interesting learning experience, but isn't that strictly worse than pretty much any WiFi dongle?

tehlike 2 hours ago | parent | next [-]

Yes, the guy clearly spent more of his time than it's worth - you can buy a wifi dongle for a few bucks on aliexpress.

But that's exactly the point of such experience. It's a challenge, and the guy/gal nailed it.

moffkalast 40 minutes ago | parent [-]

Well Claude nailed it, but they get credit for the idea.

tehlike 16 minutes ago | parent [-]

Yes, just yesterday I got codex to write me a home assistant plugin for reticulum lxmf. For the fun of it. It got things wrong, I got it to fix.

teaearlgraycold 2 hours ago | parent | prev [-]

The Pico is USB 1.1, so the upper bound is 12 Mb/s.

drop-volley 7 hours ago | parent | prev | next [-]

Can you have the Pico operate as an access point? Would love to be able to use this to connect over wifi to a printer (printer in client mode), with the printer and macos talking directly over IP without needing to configure any other routing/forwarding on macos.

bdcravens 6 hours ago | parent | next [-]

Wifi printer, where both your machine and the printer are connected to the same AP? yes

If you'd rather just expose a USB printer to the network, a Pi Zero is a better fit.

teaearlgraycold 2 hours ago | parent | prev [-]

The Pico W can host an AP.

GL26 5 hours ago | parent | prev | next [-]

one million Claude Tokens (assuming you are on opus) = 5 USD = the very dongle you tried to replace. Add the cost of the rasberry pico, you'll have an easier time buying the wifi dongle. The project is cool thought to learn about networks, NAT, Proxys, ect...

byb 4 hours ago | parent | next [-]

No, it's not really easier to buy a Wi-Fi dongle. My target device is the Spotify Car Thing and SuperBird doesn't have Wi-Fi components. My Claude Code Pro subscription was idle, so it cost me nothing. Also, according to an article from Tom's Hardware from two years ago, four million Picos have already shipped, so I've unlocked this ability for let's say 500,000 devices. Finally, my day job is in the Wi-Fi industry... this wasn't a learning exercise.

farfatched 3 hours ago | parent | prev | next [-]

The author's tone when they discuss the cost of the project is self-deprecating. They know it would have been simpler to just buy one.

But also, the author has given the community a great gift, both directly (the blog post and the project!) and indirectly (the idea: what else can be implemented in similar ways).

Mashimo 37 minutes ago | parent | prev | next [-]

Finally hacker news on .. Hacker News. No need for it to be economical cheap.

bdavbdav 4 hours ago | parent | prev | next [-]

It’s nice that it doesn’t need the WiFi stack or host side configuration though. This would be great for headless machines.

throwwwll 2 hours ago | parent | prev | next [-]

> The project is cool thought to learn about networks, NAT, Proxys, ect...

The author learned nothing though...

teaearlgraycold 2 hours ago | parent [-]

Eh maybe a few tidbits. But the world gained a new WiFi adapter!

lithiumii 4 hours ago | parent | prev [-]

except now we don't need to spend that $5

hellweaver666 4 hours ago | parent | prev | next [-]

Oooooh, now I'm thinking... you could design a simple circuitboard that holds multiple picos (surface mounted) and uses the USB data pads on the back to pull all the USB ports out to an onboard USB hub basically allowing you to add a multitude of wifi adapters to a project in one USB cable. Would be great for War Driving!

raffael_de an hour ago | parent | prev | next [-]

what is this useful for?

nicman23 6 hours ago | parent | prev | next [-]

close enough, welcome back 56(0)k

amelius 3 hours ago | parent | prev | next [-]

How many Mbps?

smilespray 3 hours ago | parent [-]

6

tonyhart7 2 hours ago | parent [-]

not very a lot are they

tehlike 2 hours ago | parent | next [-]

Yes, but why does it matter. People do all sorts of things for fun.

InsideOutSanta 2 hours ago | parent | prev [-]

6 is all you need in all cases, depending on the unit.

vardump 4 hours ago | parent | prev | next [-]

Thanks! Now I potentially have ~20 USB WiFi adapters I didn’t have yesterday.

Even better, no need to hassle with the WiFi settings on the target system.

In wrong hands, Pico W is actually a bit terrifying device, because it combines USB and wireless.

JSR_FDED 7 hours ago | parent | prev | next [-]

Love the way the author labels each of his diagrams as “AI Slop”!

Tepix a minute ago | parent | next [-]

The pic "AI Slop 2. A Real World Situation" is great, the USB cable is connected to the wrong end of the Pico!

byb 5 hours ago | parent | prev | next [-]

It's one of the neat features of the AsciiDoc language. The user is able to change captions mid document, in this case :figure-caption:. AsciiDoc and Antora are things I've invested a lot of my time into

https://baiyibai-antora.gitlab.io

MgB2 2 hours ago | parent | prev [-]

I'm kind of fascinated by the first diagram on the page. It sits so firmly in the uncanny valley for me and I can't put my finger on why. By itself every part looks ok and normal, but as a whole it just screams AI to me. I don't know if its the color choices or the composition or something else. It all just feels that little bit off.

I mean, I know its AI, the page says so itself, no one is trying to hide it. But it also just gives me AI vibes on such a subliminal level that I can't figure out why.

mhl47 2 minutes ago | parent | next [-]

Absolutely can relate. Thats why I would say: Do your own diagrams! At least the text and formatting.

Where I do think it ads value is "AI slop 2". This is somehow even better comprehensible than an average photo.

kalleboo 6 minutes ago | parent | prev [-]

To me there's something about the "AI Slop Font" where it instantly triggers that uncanny valley. I guess since it's kind of an average of a bunch of fonts so it's somehow familiar but also unfamiliar at the same time.

andrewstuart 6 hours ago | parent | prev | next [-]

Google Gemini is that naysayer senior developer who confidently tells you it can’t be done.

Claude is that easy to get along with smart hard working guy who just gets on with it and builds it double quick.

ChatGPT is the eager senior developer who says it can be done but can’t actually work it out and fluffs it.

lionkor 3 hours ago | parent | next [-]

Actually, all of them are fallible, very incompetent machines that are good at writing text. They're not people, they don't have any qualities of people except the really bad ones, and they are absolutely miserable at reasoning.

The only people I know who use Gemini are unemployed.

The only people I know who use Claude vibe-code everything, often including their communication -- they probably let Claude kiss their kids goodnight.

Everyone else uses ChatGPT, and the world is worse off for it.

They are machines. "it" is the only acceptable pronoun, and personifying these machines adds emotion into the discussion and the use of the tool. They are not people. They do not behave like people. If you feel like they do, and you're e.g. autistic, that's entirely fair, so please take my word that they do not behave sufficiently like people in any way.

Nothing they do mirrors the behavior of engineers. They instead mimic the language of engineers. I understand that this is all it takes in a lot of circles to gain respect, which is quite a sad state for those circles, but that doesn't mean its a universal experience.

mechazawa 4 hours ago | parent | prev | next [-]

Gemini writes pretty shitty code in my experience. We tried it out for a grand total of half a day at work before deciding it wasn't worth our time and switched back to Opus.

ChatGPT writes like it's life depends on it and refuses to correct its own mistakes. It'll figure out a way to write 4k lines for something that could've been done in 500

puppymaster 4 hours ago | parent | prev | next [-]

DeepSeek will just wing it and tell you it's done only for you to find 1 major + 3 edge case bugs.

petesergeant 4 hours ago | parent | prev [-]

ChatGPT is very good at code-reviewing Claude’s work and finds the howlers in it fairly reliably

throwwwll 2 hours ago | parent | prev | next [-]

AI Slop.

ranger_danger 7 hours ago | parent | prev | next [-]

> I spent two days of a long holiday weekend and about one million Claude Code tokens building this firmware.

gavinsyancey 5 hours ago | parent | prev [-]

You can do this by installing OpenWRT on the Pi and controlling it from the web interface.

matthewmacleod 5 hours ago | parent [-]

But this is a Pi Pico, which is a microcontroller and not a Linux system.

hparadiz 4 hours ago | parent [-]

Two arm cores at 133 MHz. That's already more powerful than my first computer. For $4. It qualifies as a computer on it's own. It runs Linux just a hacked version with an emulated MMU

https://github.com/tvlad1234/pico-rv32ima

RossBencina 2 hours ago | parent [-]

> This project uses CNLohr's mini-rv32ima RISC-V emulator core

I wonder why not use the Pico's RISC-V cores.