Cool stuff for Raspberry Pi, Arduino and all electronics hobby projects
Notifications
Clear all

Witty PI 5 - usb drive

5 Posts
2 Users
0 Likes
44 Views
(@stefan)
Posts: 3
Active Member Customer
Topic starter
 

How I can access the witty pi 5 usb drive from the Pi 5 itself?
Or how I can write my schedule file with a script on the raspberry itself?
With wittypi 4 that was just a folder but now the folder is on a "witty pi 5 USB drive" what I can't access.

What I tried is:
I set the power source priority to V-IN that Wittypi5 not thinks I want to power it from the USB power.
and then connect the USB-C to the USB-A from the raspberry.

If I then make lsusb I get:
pi@raspberrypi:~ $ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID cafe:4003 UUGear Witty Pi 5
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsblk gives me:
pi@raspberrypi:~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 1 0B 0 disk
mmcblk0 179:0 0 57.6G 0 disk
├─mmcblk0p1 179:1 0 512M 0 part /boot/firmware
└─mmcblk0p2 179:2 0 57.1G 0 part /

How I can mount that usb drive? or is it not working by connecting it from Pi USB to Wittypi USB ?

Also I hope that 8mA standby current will be fixed. its too much.

Thx in advance!
Stefan

 
Posted : 13/06/2025 5:54 pm
(@admin)
Posts: 624
Member Admin
 

In order to access Witty Pi 5's USB drive, you need to connect Witty Pi 5 to Raspberry Pi's USB port. This can not be done if you are powering the device via the USB-C connector on Witty Pi 5.

You may consider using one of the two methods methoned on page 18 in the user manual:

  • Power Witty Pi 5 via the KF350 terminal block
  • Power Raspberry Pi directly (via its own USB-C connector), but in that case Witty Pi 5 can not control the power to Raspberry Pi

Once your Witty Pi 5 has connected to Raspberry Pi, it should be automatically mounted to /media/pi/Witty Pi 5

In your case, lsusb already listed Witty Pi 5, so most probably you can already find in on "/media/pi/Witty Pi 5" directory.

 
Posted : 13/06/2025 6:09 pm
(@stefan)
Posts: 3
Active Member Customer
Topic starter
 

@admin thx for the quick reply!

Yes I powered the PI via KF350 at 13V 
The Wittypi USB-C is connected to the Pi5 USB A port.

unfortunately the directory "/media" is empty.
pi@raspberrypi:/media $ ls -al
total 8
drwxr-xr-x 2 root root 4096 May 6 15:22 .
drwxr-xr-x 18 root root 4096 Jun 13 17:56 ..

Any other idea how I can access/mount the USB drive?
I installed gparted...also not see any device there except the microSD card.

 
Posted : 13/06/2025 6:48 pm
(@admin)
Posts: 624
Member Admin
 

@stefan with Raspberry Pi OS, the connected USB drive should be automatically mounted.

My guess is that the USB drive was ejected. This can happen if the firmware tries to write data to a file on the USB drive (for example, writing a log). The USB drive has an automatic eject mechanism to keep the data consistent.

If your Witty Pi 5 is not connected to the Raspberry Pi's GPIO header, you can unplug the USB cable and plug it back in so that the USB drive can be detected again. However, if your Witty Pi 5 is mounted on the GPIO header, unplugging the USB cable will not fully power cycle its MCU, so it will not have any effect.

 
Posted : 14/06/2025 10:43 am
(@stefan)
Posts: 3
Active Member Customer
Topic starter
 

@admin Thank you I finally got it working.

I connected the WP (WittyPi) to an external Computer with Windows, there I saw in the Disk Management a device
with 14MB ( I guess thats the WP Disk) with "No Media". That confirms your theory with the ejected USB Drive.

Then I booted the external Computer with Linux Mint and then the disk "Witty Pi ..." was finally visible.
Now I can see it also under Windows as a normal drive.

Not sure what Linux Mint did but it fixed the problem. Before I couldnt make it work.
I powered everything off several times, made a new PI image etc.
The drive just wasnt connecting.

Maybe you could add into the WP5 script/program an entry to "restart" the drive somehow.
I'm afraid more people will run into that problem.

Thx again!

 
Posted : 14/06/2025 12:12 pm
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.