Mobile Raspberry Pi 4 Setup with ANY iPad or iPhone

  Рет қаралды 68,173

Tech Craft

Tech Craft

Күн бұрын

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

Пікірлер: 89
@IngoZelaskowski
@IngoZelaskowski 2 жыл бұрын
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).
@PedroLopes-zyx
@PedroLopes-zyx 2 жыл бұрын
Thank you, this is the video I was waiting for!!
@roripocket6273
@roripocket6273 Жыл бұрын
Great informative video! Thanks
@DoctorAtomTNT
@DoctorAtomTNT 4 ай бұрын
Awesome video!!❤
@SeraphX2
@SeraphX2 2 жыл бұрын
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)
@pedroferreira6318
@pedroferreira6318 2 жыл бұрын
Could you make a setup guide for the pi with an android tablet? Thanks in advance! :)
@chuckrfuller
@chuckrfuller 7 ай бұрын
Hey, Are you going to revise this video for the Pi5 anytime soon?
@drpwnage23
@drpwnage23 2 жыл бұрын
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 2 жыл бұрын
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.
@patrickcoleman5463
@patrickcoleman5463 Жыл бұрын
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?
@murtadha96
@murtadha96 Жыл бұрын
We should have a video about Kitty terminal install / setup / configuration
@EnzoPiloto
@EnzoPiloto 5 ай бұрын
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 Жыл бұрын
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?
@AonghasAnderson
@AonghasAnderson Жыл бұрын
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?
@richardbarakovics8151
@richardbarakovics8151 10 ай бұрын
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)?
@chrismscotland2009
@chrismscotland2009 2 жыл бұрын
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 2 жыл бұрын
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.
@taylorshin
@taylorshin 5 ай бұрын
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.
@ilsgabdullin
@ilsgabdullin Жыл бұрын
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 Жыл бұрын
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.
@alexadvanceautomechanics
@alexadvanceautomechanics 2 ай бұрын
Can u do the video for iphone setup
@johntucker2318
@johntucker2318 Жыл бұрын
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.
@areknoid
@areknoid 2 жыл бұрын
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 2 жыл бұрын
I haven't seen that on my 1.2+ board but I'll do some more testing to verify for sure.
@SaladinoPrince1
@SaladinoPrince1 Жыл бұрын
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?
@wolf3five
@wolf3five 8 ай бұрын
I'm trying to get my pi to run open-iscsi with the otg as mass storage devices I need a little help
@mandychan1019
@mandychan1019 7 күн бұрын
I am using 2022 IPad Pro with a Pi5, set-up the Ethernet connection, the iPad to hub to pi5 (via usb C to usb A) is working. However i would really want to set-up the Ethernet connection via usb-c to usb-c to down-weight the set-up i need to bring out. I have tested out 2 usb-c cables (one from apple, and one from other suppliers, still not working), do you think there is some requirements on the usb-c to usb-c cables that will affect the result?
@Andreasytac
@Andreasytac 2 жыл бұрын
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 2 жыл бұрын
Thanks for the heads up on the USB tethering one!
@JosueRodriguez08
@JosueRodriguez08 2 жыл бұрын
Lol, so pointless you don't even need a freaking pi in order to have a Linux terminal, lol.
@avery2274
@avery2274 Жыл бұрын
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 Жыл бұрын
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.
@sfuoncall
@sfuoncall 2 жыл бұрын
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 2 жыл бұрын
It's essentially the same as the USB-C connection outlined in this video: kzfaq.info/get/bejne/abuAlKxlrdaaZo0.html - RPi OS has Zeroconf networking enabled on `eth0` by default and most clients (not Android) will happily participate in that scheme.
@sfuoncall
@sfuoncall 2 жыл бұрын
@@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.
@muntus
@muntus Жыл бұрын
@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 Жыл бұрын
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 Жыл бұрын
@@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.
@user-nj2uu1tb8j
@user-nj2uu1tb8j 20 күн бұрын
Do you think you could help me doing the same thing but with a Samsung tablet
@xXchannel42Xx
@xXchannel42Xx Жыл бұрын
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 Жыл бұрын
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.
@kamertonaudiophileplayer847
@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?
@prabeshbajracharya99
@prabeshbajracharya99 8 ай бұрын
we need something for raspberry pi 5? Please help
@theespecialist3438
@theespecialist3438 Жыл бұрын
Does anyone use this for iPad 4 with a lightning charging point? I love to revive my iPad 4 using pi.
4 ай бұрын
Can it work with ipad mini 1 (ios 9.3.5)?
@jdog81494
@jdog81494 Жыл бұрын
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 Жыл бұрын
Sadly not. You’ll always have to connect the Pi to whatever WiFi network is nearby
@AndrasBellak
@AndrasBellak 2 жыл бұрын
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 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 2 жыл бұрын
@@tech_craft Great - thanks for the info.
@XaRz2
@XaRz2 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@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 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
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.
@David_Austin
@David_Austin Жыл бұрын
would the raspberry pi 400 work the same with the one cable USB-C method?
@tech_craft
@tech_craft Жыл бұрын
It does indeed.
@adrian35123
@adrian35123 2 жыл бұрын
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 2 жыл бұрын
You definitely can. It works the same way as the USB-C iPad
@ONi404
@ONi404 Жыл бұрын
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 Жыл бұрын
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: kzfaq.info/get/bejne/r9tdYJN2ldu8ink.html
@becca6466
@becca6466 Жыл бұрын
Out of curiosity, could the single cable solution work with Windows on Raspberry Pi? Or is it limited to Linux?
@tech_craft
@tech_craft Жыл бұрын
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!
@igncodmyt6412
@igncodmyt6412 Жыл бұрын
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
@tech_craft
@tech_craft Жыл бұрын
What problem are you seeing?
@anantaggarwal8069
@anantaggarwal8069 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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?
@TheParanoidAndroid79
@TheParanoidAndroid79 Жыл бұрын
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 Жыл бұрын
Iirc there’s no OTG on the 3B, but the tethering approach will work just fine.
@rishibhask
@rishibhask Жыл бұрын
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 Жыл бұрын
I have the same problem. The ipad doesn't seem to register the pi device
@rishibhask
@rishibhask Жыл бұрын
@@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 Жыл бұрын
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
@rhiantaylor3446
@rhiantaylor3446 2 жыл бұрын
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 2 жыл бұрын
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.
@hovasty
@hovasty 2 жыл бұрын
Why not have raspberry pi somewehere in closet and connecting to it remotely via ssh?
@drpwnage23
@drpwnage23 2 жыл бұрын
You can do that, but the idea is to have this as a portable setup
@sfuoncall
@sfuoncall 2 жыл бұрын
@@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.
@AndrewSpec
@AndrewSpec 2 жыл бұрын
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 2 жыл бұрын
That's certainly an option. Another option is make the Pi a hotspot of its own.
@louissmith8700
@louissmith8700 Жыл бұрын
Couldn’t you theoretically run Android on the RPi and connect it to your iPad 🤔
@tech_craft
@tech_craft Жыл бұрын
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.
@AnwarSaputra-um8hn
@AnwarSaputra-um8hn 3 ай бұрын
anyone using ipad 9 ??? really need help🙏
@dreadmn
@dreadmn 2 жыл бұрын
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 2 жыл бұрын
Damn you have to buy 5 adaptors just to get Linux on ipad hahaha
@tech_craft
@tech_craft 2 жыл бұрын
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 Жыл бұрын
Cool! Have you made tutorials on how to do this too? 🤩
Khadas VIM4 - Powerful Mobile Setup with iPad Pro
18:39
Tech Craft
Рет қаралды 46 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 70 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 37 МЛН
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,7 МЛН
What's going on with Windows Laptops?
10:30
Marques Brownlee
Рет қаралды 2 МЛН
Make Your Own Raspberry Pi Cell Phone
18:39
element14 presents
Рет қаралды 328 М.
When Did Raspberry Pi become the villain?
21:54
Jeff Geerling
Рет қаралды 1,5 МЛН
Raspberry Pi 4 Getting Started
24:54
Crosstalk Solutions
Рет қаралды 2,3 МЛН
Inside my iPad Pro SSH Setup - TMUX
19:49
Tech Craft
Рет қаралды 101 М.
Answering your questions about Raspberry Pi and iPad Pro
13:59
Tech Craft
Рет қаралды 108 М.
the Raspberry Pi 5
17:57
NetworkChuck
Рет қаралды 1,1 МЛН
my SUPER secure Raspberry Pi Router (wifi VPN travel router)
30:57
NetworkChuck
Рет қаралды 1,5 МЛН
Midnight Zombie Stop Surprise 🍂🧀😂
0:19
Cheesy Adventures Co.
Рет қаралды 4,4 МЛН