[gbaman] has figured out a simpler way to program the new Raspberry Pi Zero over USB without modifying the board. Why is this useful? One example which appealed to us was setting the Zero’s USB port up as a mass storage device. Imagine plugging in your Pi powered robot, dragging and dropping a Python script into the mass storage device that shows up, and pressing a button on the robot to run the new script. Pretty fancy for $5.00.
You can get the PI to emulate a whole range of devices from a USB MIDI controller to a simple USB serial interface. We’re excited to see what uses people come up with. Unfortunately the Pi Zero is still out of stock most everywhere as we wait for the next production run to finish. Though if you’ve got one, why not check out a few of our thoughts and experiences with the device!
[gbaman] based his work off the work done by [Dave-0] and others over at the Raspberry Pi forums. [LadyAda] also has a version of this hack, which we covered, that involves soldering a header to the pi and using a UART adapter.
[via Hacker News]
Custom USB Storage Device with additional WIFI to add easy WebDAV access on every computer you have to work on + little LiPo to give enough juice to power down safely would be IMHO to perfect accessory for work.
If you could use a supercap, it’d require less management than a battery. Of course fixing the bloody filesystem would be preferable.
Well, a starting point would be to try to understand the issue, before fixing it. The fs is fine, it’s the nature of flash drives which requires care. But rather then fixing those, if you want to use the Pi as a embedded system (i.e. without diaglogue with the user to please properly shut down before cutting power) you’d better off using a Linux distribution meant for such applications, e.g. something based on OpenWRT, which operate out of a RAM disk. Or if it needs to be Debian based then try the flashhybrid package.
It should be also possible to make this work on model A and A+, it’s not only for Zero. Besides, it’s not that bad with Zero availability if you follow main resellers on Twitter.
i don’t think the availability is the point the point is i don’t need a bundle for 15$ and more… just two pi zero for the announced price and thats not possible in the moment.
Has anyone tried https://blackfin.uclinux.org/doku.php?id=linux-kernel:usb-gadget:ethernet
https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget?view=all#ethernet-gadget
There is a tutorial from Adafruit:
https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget?view=all#ethernet-gadget
Ah that is it, perfect, thanks!
Kinda “rad”, sure.
This is now available as a PiKitchen recipe, so you can deploy this directly to an SDCard:
https://github.com/PiHw/Pi-Kitchen
Write the SDCard and let it automatically install when you add power. Also have internet connection sharing working from the host PC to the Pi.
Here is a crazy thought I had since I “Lost” my n900 in some snowboarding falls.
Could you modify and fit one of those new small boards into a n900?
No need to shove the Pi into a N900, if all you want is to lose it.
I’d like to see AdaFruit do with the zero what it did with the ESP8266. The Pi Huzzah??
What features would you add?
I need to get one of these and try this. YEARS ago I started trying to turn a NSLU2 “Slug” into a USB OTG Gadget. My ultimate goal was something I could select a disk image, plug in, and boot another PC with the disk image I selected. I wanted a library of bootable disks without lugging around a CD binder. I can’t imagine now…a 64GB SD card full of images, a LCD with buttons and a simple program to select an img and mount it as file backed USB Gadget storage….
Not a hack, but FYI: DriveDroid does this on Android phones with root.
Neat. I wonder if it would be possible (with new firmware) to have the pi zero become a usb micro SDcard reader if no bootable OS is found. Maybe even allow for a serial tty link. That way you could flash without a card reader.