iPad como Consola Serie RS232
Hacía tiempo que venia dándole vueltas a usar el iPhone 4 o el iPad como terminales de consola serie para configurar routers o switches así que tras una breve investigación encontré este cable pero un cable serie por 70$ no entraba en mi presupuesto, así he optado por hacerme mi propio cable (13€).
For some time I’ve been thinking to use the iPhone 4 or the iPad as terminal serial console to configure routers or switches so after a little research I found this cable but a serial cable for $ 70 was not in my budget, so I opted for make my own cable (13 €).
Hardware
El iPad tiene un puerto serie escondido en el conector dock de todos los dispositivos móviles de Apple. Poniendo por ejemplo un iPhone o iPad con la pantalla hacia arriba, el pin 1 del conector Dock es el primero de la izquierda y el pin 30 el último:
The iPad has a serial port hidden in the dock connector of all Apple mobile devices. Putting some iPhone or iPad with the screen up, the Dock connector pin 1 is the first on the left and pin 30 the last:
- Pin 12: Serial TxD
- Pin 13: Serial RxD
- Pin 15/16 (either one, two or both): GND
- Pin 18: 3.3v
Se puede consultar todo el pinout aquí.
Pinout can be checked here.
Además del conexionado del puerto Dock es muy importante saber que este puerto serie funciona con 3.3v como un uno lógico mientras que los PCs/switches/routers buenos suelen funcionar a 12v como uno lógico. Si los conectasemos directamente iPad y Cisco seguramente quemariamos el puerto serie del iPad pero eso se soluciona con un conversor de voltajes que nos convierta los unos de 12v a 3.3v y viceversa.
In addition to the Dock port connection is very important to know that this serial port operates as a logic ‘one’ 3.3v while PCs / switches / routers typically operate at 12v as ‘one’ logical. If the iPad and Cisco directly conectasemos surely burn up the serial port of the iPad but that is solved with a voltage converter to convert us about 12v to 3.3v vice versa.
Sabiendo esto es cuestión de comprar un conversor de voltajes y un conector Dock para cablearlos entre sí adecuadamente usando el pinout que conocemos y así obtendremos nuestro cable para poder conectar un iPhone o un iPad a un puerto serie de Cisco y compatibles (HP, 3Com, etc.) por menos de 13€.
Knowing this is a matter of buying a voltage converter and a dock connector to wire them together properly using the pinout we know and so we get our cable to connect an iPhone or iPad to a serial port and compatible Cisco (HP, 3Com, etc..) for less than 13 €. They can be found by searching ‘ipod dock connector’ and ‘rs232 ttl converter’ on ebay.
Software
A partir de aqui se requiere un iPad o iPhone jailbreakeados y con acceso al sistema de archivos. En el iPad utilizo OpenSSH como servidor para obtener una shell e iSSH para conectarme por loopback a OpenSSH; de esta manera tenemos un terminal unix.
From here a jailbroken iPad or iPhone is required to access to the file system. In the iPad I use OpenSSH as server to be able to get a shell and, to connect to loopback, I use iSSH or Prompt.
Por último hay que instalar desde Cydia minicom, que es una aplicación de consola para abrir comunicaciones por el puerto serie de tipo terminal, y configurarlo como sigue:
Finally minicom has to be installed from Cydia, which is a console application to open the serial port communications terminal type, and set it as follows:
- Serial Device: /dev/tty.iap
- Bps/Par/Bits: 9600 8/N/1
- Hardware Flow Control: No
- Software Flow Control: No
y con esto ya tendríamos terminado nuestro terminal serie con el iPad.
and with this we would have finished our series terminal with the iPad.
Yo no la puse y sin embargo me funciona correctamente. Si no funcionase bien el montaje habría que agregarla.
In comments someone indicate that his version didn’t work until he added 6k8 resistor on pin 21 to enable serial port on dock. I didn’t put such resistor to make it work but if yours doesn’t work, try it.
Viernes, Junio 24th 2011 at 7:35 pm
Hola, excelente tema. solo tengo una duda, puedes actualizar el link o fotografia del conversor de voltaje?.
Gracias =)
Sábado, Julio 2nd 2011 at 8:01 am
Es buscar en ebay “RS232 TTL”. Yo encontré un montón de estos y busqué uno que cupiese dentro de la cajita del conector DB9 para mantenerlo oculto.
Sábado, Diciembre 1st 2012 at 7:55 pm
Buenos dias quisiera que me ayudaran compre el rs232 a ttl , lo solde al conector doc, instale el minicom pero no logro tener comunicacion con el router, cabe mencionar que despues de tener mi cable armado conecte un cable azul de consola esclusivo de cisco que va de un db9 hembra a un rj45 que estare haciendo mal, ya configure el minicom y cuando conecto no me aparece nada. mi correo es esteb_99@hotmail.com
Lunes, Diciembre 24th 2012 at 1:41 pm
Prueba cruzando Rx con Tx, posiblemente los hayas puesto del revés.
Viernes, Enero 18th 2013 at 8:41 pm
No amigo no la solución no fue cruzando Rx con Tx, cuando pongas un manual así ponlo completo, sabes perfectamente que tu manual esta incompleto, te falto mencionar el pin 21 o no, en realidad eso era lo que me faltaba que no lo mencionas, así como esta tu cable sabes que no funciona sin tomar encuentra el pin 21 del iPhone.
Domingo, Enero 27th 2013 at 2:50 am
El mio está montado sin la resistencia y funciona bien.
Miércoles, Agosto 10th 2022 at 12:17 pm
imprinted promotional gifts…
Get a top promotional coffee mugs that is now available and with reasonably pricing now only!…
Miércoles, Agosto 10th 2022 at 12:31 pm
This Site…
Locate the best print and mail services now on a best offer and creates efficiency for you immediately!…
Miércoles, Agosto 10th 2022 at 12:33 pm
african bow hunting safari…
Get going right now with with african safari vacation and in addition ROI producing to get started right now!…
Miércoles, Agosto 10th 2022 at 12:58 pm
labor day weekend music festival…
See the best new caveman music that’s in stock in addition on sale you can get now!…
Miércoles, Agosto 10th 2022 at 1:26 pm
engraved pens…
Hire the the top custom printed signage that is now available in addition at good rates now only!…
Miércoles, Agosto 10th 2022 at 2:22 pm
management of diabetes…
Get the best diabetes remision currently now available and at reasonable prices now only!…
Miércoles, Agosto 10th 2022 at 2:33 pm
caveman americana festival…
Find the best available colorado live music festival that’s in stock in addition on sale you can get now!…
Miércoles, Agosto 10th 2022 at 2:36 pm
lion hunting in namibia…
Get the new year started right with luxury african hunting safari that is an awesome strategy to get started right now!…
Miércoles, Agosto 10th 2022 at 2:44 pm
imprinted knee pads…
Get a top personal promotional products that’s now available in addition on sale now only!…
Miércoles, Agosto 10th 2022 at 2:54 pm
venue insurance…
Get going with the best b & b insurance immediately on a best offer and creates efficiency for you immediately!…
Miércoles, Agosto 10th 2022 at 3:56 pm
logo safety glasses…
Get the the top promo items currently now available in addition on sale now only!…
Miércoles, Agosto 10th 2022 at 4:47 pm
insurance for bed and breakfast…
Locate the best hospitality insurance companies immediately on a best offer and gets your business ROI immediately!…
Miércoles, Agosto 10th 2022 at 5:00 pm
mobile detailing charlotte nc…
Get here expert mobile car detailing charlotte nc currently taking on new clients in addition on sale now!…
Miércoles, Agosto 10th 2022 at 5:01 pm
americana music festival colorado…
Find here the brightest new caveman music labor day weekend music festival now now in stock and at the best price you can get now!…
Miércoles, Agosto 10th 2022 at 5:07 pm
badge holder…
Get the best imprinted safety glasses currently now available in addition on sale now only!…
Miércoles, Agosto 10th 2022 at 5:59 pm
bed and breakfast insurance companies…
Get going with top quality event venue insurance now on a best offer and gets your money flowing immediately!…
Miércoles, Agosto 10th 2022 at 7:26 pm
have a peek here…
Start the year the right way with lion hunting africa that is ROI producing to get started right now!…
Miércoles, Agosto 10th 2022 at 7:28 pm
tote bags…
Get the the top reusable face masks that is now available and with reasonably pricing now only!…
Miércoles, Agosto 10th 2022 at 8:32 pm
find more info…
Procure top quality print invoice online today on a best offer and gets your money flowing immediately!…
Miércoles, Agosto 10th 2022 at 9:27 pm
navigate to this website…
Find the the top diabetes wound care that’s now available in addition at reasonable prices now only!…
Miércoles, Agosto 10th 2022 at 9:34 pm
read more…
Find the the top custom lanyards that’s now available and on sale now only!…
Miércoles, Agosto 10th 2022 at 9:39 pm
americana music fest…
Get the best option for caveman music americana festival currently in stock in addition at the best price you can get now!…
Miércoles, Agosto 10th 2022 at 9:43 pm
personalised engraved pens…
Find the the top business gifts currently now available in addition on sale now only!…
Miércoles, Agosto 10th 2022 at 9:59 pm
hotel insurance coverage…
Locate top quality insurance for lodges immediately on a best offer and gets your business ROI immediately!…
Miércoles, Agosto 10th 2022 at 11:08 pm
first aid kits…
Get the the top custom printed face masks currently now available in addition at reasonable prices now only!…
Miércoles, Agosto 10th 2022 at 11:47 pm
weston colorado caveman music festival…
Get the best new best americana music festivals that’s in stock in addition reasonably priced you can get now!…
Miércoles, Agosto 10th 2022 at 11:49 pm
click to read more…
Procure highly amazing hunting lodge insurance now on a best offer and gets your money flowing immediately!…
Jueves, Agosto 11th 2022 at 12:56 am
lodge insurance…
Procure the best event venue insurance now on a best offer and creates efficiency for you immediately!…
Jueves, Agosto 11th 2022 at 2:12 am
hunting cape buffalo with a bow…
Start the year the right way with what does an african hunting safari cost? that’s an awesome strategy to get started right now!…
Jueves, Agosto 11th 2022 at 3:43 am
his comment is here…
Get the new year started right with when is the best time of year for an african safari? that is providing a fantastic ROI to get started right now!…
Jueves, Agosto 11th 2022 at 4:30 am
printed water bottles…
Get the the top business gifts that is now available in addition at reasonable prices now only!…
Jueves, Agosto 11th 2022 at 4:34 am
read more…
Get the best tradeshow signs currently now available in addition at good rates now only!…
Jueves, Agosto 11th 2022 at 4:43 am
rock and roll music festival…
Get the greatest new caveman weston colorado americana music festival now now in stock plus reasonably priced you can get now!…
Jueves, Agosto 11th 2022 at 5:03 am
innkeepers liability insurance…
Procure top quality ski lodge insurance immediately on a best offer and gets your money flowing immediately!…
Jueves, Agosto 11th 2022 at 6:28 am
colorado music festival…
Find the greatest option for caveman weston colorado americana music festival that’s available and at great prices you can get now!…
Jueves, Agosto 11th 2022 at 6:31 am
printed water bottles…
Get the best custom logo design currently now available and at reasonable prices now only!…
Jueves, Agosto 11th 2022 at 6:53 am
hotel insurance companies…
Get going with highly amazing insurance bed and breakfast today on a best offer and gets your money flowing immediately!…
Jueves, Agosto 11th 2022 at 7:01 am
car detailers charlotte nc…
Buy a plan for professional charlotte auto detailing currently taking on new clients and on sale now!…
Jueves, Agosto 11th 2022 at 9:46 am
reusable face masks…
Get the the top imprinted protective eyewear that is now available and at reasonable prices now only!…
Jueves, Agosto 11th 2022 at 9:49 am
weston colorado live music festival…
Find the greatest option for americana festival now in stock in addition on sale you can get now!…
Jueves, Agosto 11th 2022 at 10:24 am
leopard hunting namibia…
Get going right now with with bow hunting in namibia that is ROI producing to get started now!…
Jueves, Agosto 11th 2022 at 11:59 am
Learn More…
Hire a top Printed Gear currently now available and at good rates now only!…
Jueves, Agosto 11th 2022 at 12:00 pm
prediabetes treatments…
Get a top ortho knee doctors near me that’s now available in addition at good rates now only!…
Jueves, Agosto 11th 2022 at 12:07 pm
logo t shirts…
Get a top water bottles with logo that’s now available in addition at reasonable prices now only!…
Jueves, Agosto 11th 2022 at 12:22 pm
bluegrass music festival…
Find here the best available monument lake resort music festival now available plus at the best price you can get now!…
Jueves, Agosto 11th 2022 at 12:40 pm
invoice printing and mailing…
Locate top quality mail processing services immediately on a best offer and gets your money flowing immediately!…
Jueves, Agosto 11th 2022 at 1:34 pm
americana music festivals…
Find the greatest option for u.s. music festivals that are available plus at the best price you can get now!…
Jueves, Agosto 11th 2022 at 2:14 pm
customized water bottles…
Hire the best logo safety glasses currently now available in addition with reasonably pricing now only!…
Jueves, Agosto 11th 2022 at 2:36 pm
mobile auto detailing charlotte nc…
Buy a plan for amazing car detailers charlotte nc currently taking on new clients and on sale now!…