How can i quickly get started with my puckjs on my iphone 7+? #1915
Replies: 17 comments
-
Posted at 2016-12-14 by @gfwilliams To get something going quickly, you should be able to install an app called You can then use that to connect to the Puck, and can send commands. For instance In the KickStarter video I used the Adafruit Bluefruit app, but you do need to have put a little bit of software onto the Puck first for that. It is possible to do it using the nRF UART App, but if you could connect to it on a desktop first with the Web IDE that'd be easiest. If you upload the code below using the Web IDE, then disconnect and reconnect with the Adafruit app then you can use the buttons to control the LEDs:
Note that when you do that, you'll have to remove the battery and put it back in again if you want to reprogram it to something else. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-14 by @gfwilliams Just to add: Sadly Apple don't seem to have much interest in implementing Web Bluetooth for iOS web browsers - but I've contributed some of the KickStarter money to help make an app that will allow you to use Web Bluetooth webpages on your iPhone. First demo video here: https://www.youtube.com/watch?v=HdItzm20uzk But I hope we'll have something on the App Store (or at least submitted and waiting for Apple's approval) by the new year. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by Wilberforce
What about setting up the button press on the puck to reinstate the console? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-15 by @gfwilliams Good point:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-17 by iAmNimrod i was able to test and make my 2 pucks using windows 10 and the downloaded Web IDE but still i cannot make this work on my iphone7+ with your instruction above. i have downloaded nrf toolbox app which contains the nrf uart. i sent a command using LED1.set();\n but i wasn't able to turn the led on. from the youtube video you shared here, do you have a complete instruction/steps on how to get this done? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by @gfwilliams The YouTube video is showing something that we're working on - it's not available right yet. How did you send the newline via the nRF toolbox app? If you just sent |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by iAmNimrod noted on the youtube video. As mentioned on my previous post i used "LED1.set();\n" for both iphone and android. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by @gfwilliams Can you try sending with a proper newline, and no quotes? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by iAmNimrod oops sorry for the qoute but the code that i set was no qoute. i just use the qoute to emphasize my code. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by @gfwilliams And the newline? Did you use |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by iAmNimrod i keyed in myself. as there is no press enter in ios. it only have ok and done button. i also tried to put a semicolon after the \n but still no light. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by @gfwilliams You mentioned you had an Android phone earlier - any chance you could try it with that and pressing enter, just to make sure? You might have to do it twice, as if you've sent a load of commands previously without a newline there might be junk in the input buffer |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-09 by user72351 I have the same problem here with my Iphone 5s. Did you solve the problem? what would be the right syntax to put in the nrf toolbox commandline? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-09 by user72351 whatever i type my puck disconnects and i cant find it anymore if i scan so i have to take the battery out to reset it |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-10 by @gfwilliams Hopefully the Web Bluetooth iOS app will arrive in the next 2 weeks and life will be a lot more interesting. Please can anyone else with an iPhone confirm exactly what you need to do to get this to work? Does the Adafruit Bluefruit app work any better? My iOS devices here don't have BLE so I can't test at the moment. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-10 by Wilberforce I have cut and paste code from examples and then saved on the phone in notepad. Then you can cut and paste lines, into the Nordic app, and execute them on the puck. If you leave a carriage return between the statements, they are easier to cut and paste. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-10 by @gfwilliams @wilberforce thanks! Actually I just heard back that the Adafruit app is much easier than copy/pasting. Install the Adafruit Bluefruit app - connect in UART mode, and then there's an option in there to send a carriage return after each line which you can click, and it works perfectly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-12-14 by iAmNimrod
Im trying to connect with my puckjs on my iphone7+ but it seems that it is not as easy as what i've seen on the unpacking video. Can anyone help me to quickly get started with it? 😊👍🏻
Beta Was this translation helpful? Give feedback.
All reactions