Updated 3rd Oct – connect added
We now have a Scratch clone for the IPad called Pyonkee
This is great news at last as a lot of Scratchers only have Ipads nowadays and not desktop/laptop computers at home
I’ve managed to get it to be be used to play with ScratchGPIO by doing the following
On Ipad
Find out the Ip address of your IPad (its in wifi info button) = lets assume 192.168.0.5
run Pyonkee
select sensing blocks
press and hold down last block labelled sensor button pressed until enable remote sensor connections comes up and then click on that to enable it
(this can be a bit tricky to do but once sucessful you should see Remote Sensor connections enabled message)
On Raspberry Pi there are 2 ways of connecting your Pi to the IPad
Method 1
Run ScratchGPIO6 and make
on Green Flag
broadcast Connect 192.168.0.5
and then press Green Flag
Method 2
run LX terminal
cd scratchgpio5
sudo python scratchgpio_handler5.py 192.168.0.5
Eithre way, Your Pi should now connect to your IPad and you can now do all the normal ScratchGPIO commands on it 🙂
Simon
This is fantastic,
Thanks
Sent from my iPad
>
please be aware if you have updated to iOS8 – PYonkee is NOT compatible 😦 New version coming out soon according to MIT labs – we hope !!
Pyonkee 1.7 is out! It works fine on iOS 8.
BTW, Pyonkee is developed by SoftUmeYa under the Scratch Source Code License from MIT. Scratch Team is not involved in this app. So please do not ask them about it.
We discuss about Pyonkee at the following forum.
http://scratch.mit.edu/discuss/topic/50458/
you managed to control motors yet Si ??
Yep-I’ll find the vine
Yep – enable remote sensor connections on Pyonkee and find out Ipads IP address
on a Pi – don’t run ScratchGPIO – reboot and run LX terminal
if using ScratchGPIO5 then
cd scratchgpio5
sudo python scratch_gpiohandler5.py 1.2.3.4
where 1.2.3.4 is Ipad IP address
Simon
Works fine now had trouble with iOS 8 on iPad Mini , clean install iOS 8.1β yesterday , reinstall Pyonkee from ‘Scratch’ (moohhahahahahaa), works like a dream now 😛
Sorry put this in the wrong thread at first:
Don’t know what or if I am doing anything wrong – but can NOT get sGPIO6 to run with the RTK-003 board – also tried the ‘broadcast’ method for Pyonkee – but NoGo with sGPIO6 ; tested on both B and B+
Used these comands to install GPIO6:
wget http://git.io/nFwadg -O isgh6alpha.sh
sudo bash isgh6alpha.sh
jazza
Can you reboot, run LX terminal. CD opt/scratchgpioalpha6
Sudo python scratchgpio_handler6.py
And see if any major error reported
Then run normal Scratch and load your script and go back to terminal and see what error is occurring please
Simon
1st instance;
ImportError: No module named smbus
I presume you mean ‘VanillaScratch’ NOT ScratchGPIO on 2nd Instance ????
Yep – ta for error – what line number – just take a pic of screen and send it to me please
Yes, vanilla scratch when running hand let program manually
Yuuupp smbus either not there or corrupted, re-installed python smbus, rebooted; sGPIO6+ now working direct and the handler script + Pyonkee works as well – thanks for your help 😛