Answers.Body: <p>I'm going to guess that USB would most likely required a jailbroken iPad. The NXT uses a custom USB protocol, so you would need raw access to the USB via IOKit.</p>
  
  <p>If neither Bluetooth nor USB works, then there is no alternative other than using another computer to communicate to the NXT.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-30T14:52:10.590Z
Answers.Text: You could implement a server somewhere which uses bluetooth to talk to the NXT (assuming NXT has no Wifi capabilities). Give this server a web interface and then use the iPad to connect to this interface. That should allow you to remotely control the NXT. LeJOS might be a good place to start should you want to pursue this. I used this approach for my (still unfinished) native Scratch to EV3 software (using EV3's WiFi capabilities with an external dongle).
Answers.UserDisplayName: Phil B.
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-30T17:35:13.963Z
Answers.Text: How close does a server need to be to connect with the bluetooth of a device?
Answers.UserDisplayName: Sonarholster
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-30T18:13:43.777Z
Answers.Text: Bluetooth range depends on the actual location (e.g. how much interference is there?), but a typical range is about 10 meters (30 feet).
Answers.UserDisplayName: David Lechner
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-30T13:59:03.273Z
Answers.LastActivityDate: 2017-08-30T13:59:03.273Z
Answers.UserDisplayName: David Lechner
Body: <p>I'm looking to take advantage of the older generation LEGO Mindstorms NXT robots by developing a companion app for the iPad. I'm aware that non-jailbroken iPads cannot communicate with the robot via bluetooth, but is there a way to send code from the iPad to the NXT robot through the USB port?</p>
  
  <p>Is there another way to have kids write code from the iPad which makes it onto the robot without using another computer?</p>
  
Tags: <mindstorms><nxt><ios>
Title: How can I connect the LEGO Mindstorms NXT with an iPad?
UserDisplayName: Sonarholster
ThreadText: # How can I connect the LEGO Mindstorms NXT with an iPad?
  
  (Asked by: username_0 on 2017-08-30)
  
  I'm looking to take advantage of the older generation LEGO Mindstorms NXT robots by developing a companion app for the iPad. I'm aware that non-jailbroken iPads cannot communicate with the robot via bluetooth, but is there a way to send code from the iPad to the NXT robot through the USB port?
  
  Is there another way to have kids write code from the iPad which makes it onto the robot without using another computer?
  
  **Tags:** mindstorms, nxt, ios
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-08-30. Score: 1 | Accepted answer
  
  I'm going to guess that USB would most likely required a jailbroken iPad. The NXT uses a custom USB protocol, so you would need raw access to the USB via IOKit.
  
  If neither Bluetooth nor USB works, then there is no alternative other than using another computer to communicate to the NXT.
  
  > **Comments:**
  > **username_2**: You could implement a server somewhere which uses bluetooth to talk to the NXT (assuming NXT has no Wifi capabilities). Give this server a web interface and then use the iPad to connect to this interface. That should allow you to remotely control the NXT. LeJOS might be a good place to start should you want to pursue this. I used this approach for my (still unfinished) native Scratch to EV3 software (using EV3's WiFi capabilities with an external dongle).  
  > **username_0**: How close does a server need to be to connect with the bluetooth of a device?  
  > **username_1**: Bluetooth range depends on the actual location (e.g. how much interference is there?), but a typical range is about 10 meters (30 feet).  
  
  ---
  
  