Mobile Raspberry Pi 4 Setup with ANY iPad or iPhone

Sdílet
Vložit
  • čas přidán 9. 07. 2024
  • In this video we'll explore a bunch of different options for connecting the Raspberry Pi to your smartphone or tablet. We'll cover
    * USB-C iPads
    * Lightning iPads and iPhones
    * Android tablets and phones
    * Power options using USB hubs
    * A fallback configuration using standard Ethernet connections
    * Inside my iPad/Pi Setup: • Mobile Raspberry Pi Se...
    * Simple OS configuration guide: techcraft.co/videos/2022/5/ra...
    CHAPTERS
    ==========
    00:00 - Start
    01:31 - USB-C iPads
    02:06 - Using The Magic Keyboard
    02:38 - Using A USB-C Hub
    03:39 - About USB-OTG
    04:39 - Using Lightning Devices
    07:03 - Android Devices
    10:44 - Tethering on iOS
    11:57 - Using Ethernet
    GEAR
    =====
    * iPad Pro 11" - geni.us/H0qJ
    * iPad Air Gen 5 - geni.us/QieLq3X
    * Samsung S8 Ultra - geni.us/rhZdv
    * Apple Magic Keyboard - geni.us/8uBg
    * Anker USB-C 7-in-1 Hub - geni.us/ArHsNBk
    * Anker Thunderbolt 3 Cable - geni.us/BTOsQ
    * Apple USB3-Lightning Camera Adapter - geni.us/VUPp
    * UGREEN USB-A Hub - geni.us/yBfyE
    * USB-A to USB-C Adapter - geni.us/HfN4Y
    * Aluminium Armour Case - geni.us/M5ph
    SUPPORT THE CHANNEL
    =====================
    * Buy me a coffee - www.buymeacoffee.com/techcrafted
    * Support me on Patreon - / techcrafted
    AFFILIATE LINKS
    ==============
    Tech Craft is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk
  • Krátké a kreslené filmy

Komentáře • 88

  • @PedroLopes-zyx
    @PedroLopes-zyx Před 2 lety

    Thank you, this is the video I was waiting for!!

  • @IngoZelaskowski
    @IngoZelaskowski Před 2 lety +12

    Single cable solution also works on the Pi zero (2), just use the USB-OTG port on the Pi. Yes you need a different cable (USB-C to µUSB). I use this setup for my sensors to get some enviromental data (temperature, humidity, air flow, etc).

  • @DoctorAtomTNT
    @DoctorAtomTNT Před 4 měsíci

    Awesome video!!❤

  • @roripocket6273
    @roripocket6273 Před 11 měsíci

    Great informative video! Thanks

  • @SeraphX2
    @SeraphX2 Před 2 lety +4

    I was, for awhile trying to use my phone with Andronix and Termux. Now that I have a SteamDeck, the Linux desktop there is vastly superior and cleaner than anything I've installed in the past. I have a portable LED panel, portable accessories and I'm golden. Portable gaming or 1080p gaming and a desktop if I absolutely need one (which I rarely do when I travel anyway)

  • @drpwnage23
    @drpwnage23 Před 2 lety

    Thank you so much for your guide. This works so far on my Samsung galaxy tab s6 lite, and the power from the raspberry pi is enough to keep it charging. I don't know much about these kind of technical things, but do you think it is safe to go into developer settings and enabling USB tethering under default USB configuration so you don't have to re-enable tethering every time you reboot the raspberry pi?

    • @tech_craft
      @tech_craft  Před 2 lety +1

      It should be safe to do that, but you'll lose the ability to attach devices like hard drives to your tablet until you switch tethering back off.

  • @richardbarakovics8151
    @richardbarakovics8151 Před 9 měsíci

    Does the Apple's USB-C Digital AV Multiport Adapter work aiming to be able to connect the ipad to a monitor via the HDMI port, powering the ipad via the usb c and connecting to the pie via usb a (ethernet)?

  • @EnzoPiloto
    @EnzoPiloto Před 4 měsíci +1

    Tried using your config with my Raspberry Pi 5 but I can't seem to get it to work. The ethernet connection wouldn't show up on my 2018 ipad pro. Only attempted to edit the config and cmdline files, since your RPi images are for the RPi4. Would you plan to ever upgrade your setup to use the RPi5 instead of the 4?

  • @alexkrstic8
    @alexkrstic8 Před 11 měsíci

    If I go with the USB-C hub option, will the standard iPad Pro charging cable and a 30w Apple USB-C charger be enough to both power the RB Pi 4 (8GB) and charge the iPad Pro at the same time or do I need a more powerful USB-C charger and cable?

  • @taylorshin
    @taylorshin Před 4 měsíci

    I found this 6-to-1 usb-c adapter for iPad Pro that has HDMI, 3.5mm headphone, USB-C PD and Data (yes, separate usb C ports!) and a couple of USB-A 3.0 ports. Perhaps it can provide similar set up without the expensive Apple keyboard case?
    Also, if I set up my Pi4B as OTG.. would it prevent Pi4 to use anything on its USB slots? I am thinking about this because this Pi4B will be controlling some lab apparatus with GPIB-to-USB interface. So, Pi4 needs to be a host for this lab machine yet, also needs to be a slave for iPad.

  • @chuckrfuller
    @chuckrfuller Před 6 měsíci +2

    Hey,
    Are you going to revise this video for the Pi5 anytime soon?

  • @chrismscotland2009
    @chrismscotland2009 Před 2 lety +3

    Yeah I've had a littany of issues with Android devices seeming to get "confused" as to which is the host - I don't remember it on older devices so I can only assumes its a bug in a one of the newest versions of the Android OS as it seems to occur on any of my devices

    • @tech_craft
      @tech_craft  Před 2 lety +1

      I'm glad it's not just me that has that issue. I'm going to keep trying but so far I've had little success.

  • @patrickcoleman5463
    @patrickcoleman5463 Před rokem +7

    I’ve been following your videos and they’ve been great! Thank you! I’m using a 12.9 inch M1 iPad with magic keyboard and connecting the Raspberry Pi 4 over USB C. Everything’s working great, except I’m not able to easily share internet from my iPad to my Pi. If I’m at home, I can easily connect both my iPad and Pi to the same WiFi network. If I’m on the road, I have been sharing my iPad’s cellular connection via personal hotspot and connecting the Pi to the iPad’s WiFi network. This gets me internet. I’ve been editing the /etc/netplan files to do this. But if I’m on a plane, I connect my iPad to the plane’s WiFi and there’s no cellular network available. The iPad won’t let me create a personal hotspot when I’m only connected to WiFi. Is it possible to share internet over the same USB C cable that is powering the Pi and that I’m using to ssh into the Pi over ethernet?

  • @johntucker2318
    @johntucker2318 Před rokem

    I have been struggling with getting my any of my RPi's (4B w/2GB, 4B w/4GB, 4B w/8GB and finally a CM4 w/4GB in a Waveshare board) to work with my new iPad Pro 2022 11inch w/the Apple M2 processor. I can find nothing wrong with the RPi setup in that it works perfectly with both my Apple Macbook Air w/M1 processor and my Dell XPS 13 w/Ubuntu 22.04. When I use an JXMOX USBC to USBC cable from Amazon the RPis power on and suppies a DHCP address to the iPad Pro/Air/XPS. Only the Air and XPS can ssh/ping the address of the RPi. Both blink and prompt on the iPad Pro fail. I thought that it might be the cable in that the cable listed was a Thunderbot/USBC cable so I first tried an Apple Thunderbot cable (because one was available locally) and when that failed I ordered the exact Anker cable from Amazon. In both cases the RPi did not even powerup. Can anyone help? Do I have a defective iPad Pro or is the USBC interface (HW/SW) on this newest iPad Pro different. I wish I had access to an older iPad Pro w/USBC to test.

  • @wolf3five
    @wolf3five Před 7 měsíci

    I'm trying to get my pi to run open-iscsi with the otg as mass storage devices I need a little help

  • @SaladinoPrince1
    @SaladinoPrince1 Před rokem

    I wanted to set up a setup to use the ipad as a vnc client, but with a mouse and keyboard connected directly to the Raspberry Pi, is it possible?

  • @pedroferreira6318
    @pedroferreira6318 Před rokem +1

    Could you make a setup guide for the pi with an android tablet? Thanks in advance! :)

  • @ilsgabdullin
    @ilsgabdullin Před rokem

    Great setup! Did you try power both an iPad and a rpi at the same time through USB-C HUB? What wattage do you use to power rpi through USB-C HUB?

    • @tech_craft
      @tech_craft  Před rokem

      In the scenario where the iPad is the host and the Pi is the device, this works perfectly. I've had success with anything 30W+. In the scenario where the Pi is the host and the iPad is the device, you can't get enough power to the iPad regardless of input power - at least with the hubs that I have.

  • @areknoid
    @areknoid Před 2 lety

    Hi, great video! I have a Pi 4 (v1.1) connected using USB-C to an M1 iPad Pro 12.9”. It works well but whenever the iPad goes into sleep, the Ethernet connection to the Pi dies and the IP disappears from settings. I tried switching to static IPs but it didn’t help. Is this behavior expected or is it possible that my USB-C cable is at fault (especially since my board is pre-v1.2)?

    • @tech_craft
      @tech_craft  Před 2 lety +1

      I haven't seen that on my 1.2+ board but I'll do some more testing to verify for sure.

  •  Před 3 měsíci

    Can it work with ipad mini 1 (ios 9.3.5)?

  • @prabeshbajracharya99
    @prabeshbajracharya99 Před 7 měsíci +1

    we need something for raspberry pi 5?
    Please help

  • @theespecialist3438
    @theespecialist3438 Před rokem

    Does anyone use this for iPad 4 with a lightning charging point? I love to revive my iPad 4 using pi.

  • @avery2274
    @avery2274 Před rokem

    when connected over usb ethernet to the pi, can you also access the internet from the ipad? or are you stuck with only being able to ssh, or search the internet one at a time?

    • @tech_craft
      @tech_craft  Před rokem +1

      You can access the Internet from the iPad but the Pi does not get Internet from the iPad except in the tethering cases. You can always connect the Pi to whatever WiFi network the iPad is connected to.

  • @xXchannel42Xx
    @xXchannel42Xx Před rokem

    Is there a way to use the pi and iPad combo without having wifi? I have an iPad Pro M1 and a pi4. I want to use this setup to code in VSCode on the go, but as far as I understood it, you can only use this when the iPad and pi are connected to the same wifi?

    • @tech_craft
      @tech_craft  Před rokem

      In your setup, you can connect the two machines over USB-C and you don't need WiFi at all. I use this setup on the go without WiFi without any issues.

  • @alexadvanceautomechanics
    @alexadvanceautomechanics Před měsícem

    Can u do the video for iphone setup

  • @kamertonaudiophileplayer847

    I have the following configuration now: wifi-to-Ethernet device gives Internet connectivity to a receiver, and then the receiver has Ethernet switch and share the connection to RPi. I want to get rid of the wifi-to-Ethernet device. Since the receiver has only Ethernet connectivity, I will need Ethernet sharing the Internet from RPi. Is it possible? How?

  • @AonghasAnderson
    @AonghasAnderson Před 11 měsíci

    Just to double check, the ipad and PI still connect via wifi as opposed to data tethered through the cable? The cable just provides power to the pi?

    • @sebastianforbes1
      @sebastianforbes1 Před 2 měsíci

      my thoughts exactly, I don't see any method for the picture to be transferred

  • @David_Austin
    @David_Austin Před rokem

    would the raspberry pi 400 work the same with the one cable USB-C method?

  • @jdog81494
    @jdog81494 Před rokem

    I have an issue I’m running into. All works well if I do not connect to a different network with my iPad. I’m assuming this is due to setting up the network initially on the pi. Is there a way to not have to edit the network details of the pi every time I want to switch networks?

    • @tech_craft
      @tech_craft  Před rokem +1

      Sadly not. You’ll always have to connect the Pi to whatever WiFi network is nearby

  • @muntus
    @muntus Před rokem

    @techcraft I was thinking about mobile setup as well, but im not sure if this is better then having cloud server for this. Advantage of it is, you can ssh into it with bad internet speed, and on the server you will have much better connectivity for download etc.
    For setup with iPad - I don't get one, and price is comparable to macbook air with M1, which is also small and lightweight.
    So why trying this instead of simpler solution?

    • @tech_craft
      @tech_craft  Před rokem

      I had an iPad and wanted a way to always have Linux with me when I carried it. That's how this started.

    • @muntus
      @muntus Před rokem

      @@tech_craft The way i was doing it was, connecting to home via VPN, or to DigitalOcean machine etc. Have you considered such solution as well? This is nice especially when you need download for example some docker images, and your mobile network is not always the fastest.
      I'm thinking about my mobile device and im thinking about foldable keyboard + ipad/iphone, but probably will be connecting via ssh to something.

  • @adrian35123
    @adrian35123 Před rokem

    Im wondering if I can use my MacBook Air just the same. I've been looking it up online and I haven't found a conclusive answer.

    • @tech_craft
      @tech_craft  Před rokem +1

      You definitely can. It works the same way as the USB-C iPad

  • @sfuoncall
    @sfuoncall Před 2 lety

    Question about the Ethernet cable solution: How does the networking work?
    Does the Pi and iPad recognize it as a peer to peer connection and therefore use a default IP address? Or some other way?

    • @tech_craft
      @tech_craft  Před 2 lety

      It's essentially the same as the USB-C connection outlined in this video: czcams.com/video/3UPaI4Hp66Y/video.html - RPi OS has Zeroconf networking enabled on `eth0` by default and most clients (not Android) will happily participate in that scheme.

    • @sfuoncall
      @sfuoncall Před 2 lety

      @@tech_craft Cool. I want to see if I can Zeroconf to connect the Pi running FreeBSD using Ethernet. mDNSResponder seems to be available and there is a Forum post on how to configure it. Hopefully, I can work on that this weekend.

  • @XaRz2
    @XaRz2 Před rokem

    Perhaps has been answered in other video or I've missed something. How about energy management? I've used this video today and used in my rpi4 and Ipad Pro with initial good results. But when Ipad goes to sleep the rpi4 hangs...I need to halt the rpi4 and I don't like it Only option is to remove the sleep function on ipad?

    • @tech_craft
      @tech_craft  Před rokem +1

      This is an issue. If you need to move around a lot without stopping the Pi, you might find it better to use a battery for power rather than the iPad.

    • @XaRz2
      @XaRz2 Před rokem

      @@tech_craft thanks. But I work mostly at home. I find your setup interesting for web dev and thinking about apache and a dev env for show project to clients or so. Thanks very much for your efforts, I was years searching to find out something like this.
      But one more thing: I think I’m not understanding well if the rpi has internet on the go shared with ipad pro 5g (my model) when wifi is not available. Any luck there?

    • @XaRz2
      @XaRz2 Před rokem

      I'm answering myself.Seems that currently internet on pi is via celular ipad tethering, phone tethering or wifi. No internet is shared through usb-c atm.

  • @cubano100pct
    @cubano100pct Před 2 lety

    Have you tried connecting a Acasis 10-in-1 Hub with SSD to the iPad and the Pi to the Hub? Would this configuration work?

    • @tech_craft
      @tech_craft  Před 2 lety

      I haven't tried that but I see no reason why it wouldn't work. The thing to bear in mind is that only the host device will see the SSD from the hub, so you'll either have the iPad as the host or the Pi as the host depending on which of the configurations you choose.

  • @igncodmyt6412
    @igncodmyt6412 Před rokem

    My ipad air 4 is a wifi model, i have connected the pi to my wifi router using ethernet cable, and in blink i connected pi enabled ssh, but not able to get access to the code server I need help

  • @AndrasBellak
    @AndrasBellak Před 2 lety

    In the iPad - USB C configuration, how does the Pi get to the Internet? Via the USB-C connection and the iPad internet connection over OTG? Or do you need to configure the Pi with it's own wifi connection?

    • @tech_craft
      @tech_craft  Před 2 lety +2

      In the USB-C configuration the Pi needs to connect to WiFi itself. This can be your cellphone or cellular iPad hotspot.

    • @AndrasBellak
      @AndrasBellak Před 2 lety

      @@tech_craft Great - thanks for the info.

  • @ONi404
    @ONi404 Před rokem

    What should I do when I don’t own a Magic Keyboard for my iPad? I want to use my iPad as monitor and power supply and control the raspberry with an wireless keyboard. Any tips?

    • @tech_craft
      @tech_craft  Před rokem +2

      In these setups the iPad is acting as a window on to a remote desktop on the Pi. One option that does work is to use something like x11vnc to setup that desktop. This shares the default desktop rather than creating virtual desktop. That way any keyboard/mouse attached to the Pi will work just fine.
      I showed this vnc setup in my Kali video: czcams.com/video/yu--0E0uXZE/video.html

  • @murtadha96
    @murtadha96 Před rokem

    We should have a video about Kitty terminal install / setup / configuration

  • @becca6466
    @becca6466 Před rokem

    Out of curiosity, could the single cable solution work with Windows on Raspberry Pi? Or is it limited to Linux?

    • @tech_craft
      @tech_craft  Před rokem

      I don’t see why it couldn’t work, but my up-to-date experience with Windows is almost zero so I can’t say for sure!

  • @TheParanoidAndroid79
    @TheParanoidAndroid79 Před rokem

    Stupid question. I have a Pi 3B+ on hand. Is OTG->hub->RPi possible using the micro USB input of the Pi 3?

    • @tech_craft
      @tech_craft  Před rokem +1

      Iirc there’s no OTG on the 3B, but the tethering approach will work just fine.

  • @anantaggarwal8069
    @anantaggarwal8069 Před rokem

    Hi, i am a Newbie in terms of Raspberry Pi, though not really in terms of Tech, i just Wished to know if it is possible to run/operate/code a Raspberry Pi Computer Entirely through an iPhone itself, of course through the use of Connectors and Hubs as You have shown in the Video, as well as through some Apps?, or is it that a Standalone Computer is Always needed anywhere at any Time for a few Basic Operations?
    i am asking this out of a few Visual concerns which don't allow me to use Tablets/Laptops/Desktop Computer Screens.
    i'll buy a Raspberry Pi only if i get an Affirmative.
    Please do let me know.
    Thanks
    anant

    • @tech_craft
      @tech_craft  Před rokem

      It’s possible, but you’ll need some hub setup that will power the Pi and the iPhone.
      I’ve tried this setup before and I found it a little difficult to work with. You might like to try accessing another computer remotely from your phone first before investing in the Pi

    • @anantaggarwal8069
      @anantaggarwal8069 Před rokem +1

      @@tech_craft All right, Thanks for letting me know.
      Do You have a Video for this Hub Method for Standalone iPhone Connection to Raspberry Pi?

  • @rishibhask
    @rishibhask Před rokem

    Hi I have a Raspberry Pi 4 and an iPad Mini 2 and am trying to use the iPad as a monitor. I bought all the cables/adapters necessary and I've connected my iPad to the Raspberry Pi via Lightning to USB-A OTG -> USB-A to USB-C Adapter -> USB-C Hub -> USB-C to USB-A wired cable to my Raspberry Pi. Yet, it's not working, not sure what to do from here. Please somebody help me ASAP, would be greatly appreciated

    • @PolyMathWannaBe62
      @PolyMathWannaBe62 Před rokem

      I have the same problem. The ipad doesn't seem to register the pi device

    • @rishibhask
      @rishibhask Před rokem

      @@PolyMathWannaBe62 I don't know what iPad you have, but for my iPad Mini 2, it didn't work because the USB-C is not able to transmit incoming video. So, I ended up using TeamViewer to connect both screens wirelessly, as VNC nor SSH work IOS 9.3.5. Please let me know if you're able to find a solution.

    • @tech_craft
      @tech_craft  Před rokem +1

      In this setup, the iPad is really acting as a screen share client rather than a monitor.
      One common issue is that older Pi 4s - board revision 1.1 or older - need special cables.
      There’s a list here: www.tomshardware.com/news/raspberry-pi-4-usb-c-cables-that-work,39869.html

  • @hovasty
    @hovasty Před 2 lety

    Why not have raspberry pi somewehere in closet and connecting to it remotely via ssh?

    • @drpwnage23
      @drpwnage23 Před 2 lety +1

      You can do that, but the idea is to have this as a portable setup

    • @sfuoncall
      @sfuoncall Před 2 lety

      @@drpwnage23 Agreed. And if you want to do that. It would be easier to just pay the $5 a month for a Linux VM from Linode or Digital Ocean.

  • @Andreasytac
    @Andreasytac Před 2 lety +3

    Good summary of all the ways I've found myself over the last year+. Sad to see you didn't find a way to make Android do hostnames either, but that was expected. Android is such a pointless OS at times.

    • @tech_craft
      @tech_craft  Před 2 lety

      Thanks for the heads up on the USB tethering one!

    • @JosueRodriguez08
      @JosueRodriguez08 Před 2 lety

      Lol, so pointless you don't even need a freaking pi in order to have a Linux terminal, lol.

  • @rhiantaylor3446
    @rhiantaylor3446 Před 2 lety

    I have always been concerned about using other than brand name (e.g. Apple) USB C power sources to power an iPad/iPhone. That extends to intercepting that power connection via a no-name hub - I have heard of iPads being killed by the higher voltages available from USB C power units if not handled properly by the hub. You seemed less concerned about this ?

    • @tech_craft
      @tech_craft  Před 2 lety

      I’ve used a ton of different USB-C power in and out accessories with the iPad Pro since the original one came out. I’ve never had the issue you describe.
      That said, I’m usually buying hubs from known brands like Anker, Kingston or Satechi.

  • @AndrewSpec
    @AndrewSpec Před 2 lety

    I just don't get it what is the purpose of that setup. You can use termux with wifi Hotspot and the pi can be powered by a standard power supply sitting somewhere nearby.

    • @tech_craft
      @tech_craft  Před 2 lety +1

      That's certainly an option. Another option is make the Pi a hotspot of its own.

  • @AnwarSaputra-um8hn
    @AnwarSaputra-um8hn Před 3 měsíci

    anyone using ipad 9 ??? really need help🙏

  • @louissmith8700
    @louissmith8700 Před rokem

    Couldn’t you theoretically run Android on the RPi and connect it to your iPad 🤔

    • @tech_craft
      @tech_craft  Před rokem +1

      In theory I see no issue. Where it might go wrong is if the Android on Pi isn't spinning up the correct USB-OTG setup.

  • @dreadmn
    @dreadmn Před rokem

    Well I just install a Linux chroot distro on Android theres no reason to do this on Android as you install the sames programs as rpi and will work better

    • @dreadmn
      @dreadmn Před rokem

      Damn you have to buy 5 adaptors just to get Linux on ipad hahaha

    • @tech_craft
      @tech_craft  Před rokem

      I’ve been doing the same on my S8 tablet for the last few months. That part of the Android experience is really nice.

    • @DJDiskmachine
      @DJDiskmachine Před rokem

      Cool! Have you made tutorials on how to do this too? 🤩