Discuss Scratch

mikado79
New Scratcher
2 posts

Using scratch to access the GPIO ports on the raspberry Pi

Hi,
I have a raspberry Pi and can access the GPIO Ports with python but how do I do it from scratch, please?
Thanks to anyone who can help or at least point me to some reading matter on the subject.
Also when will scratch 2 be available to download?
Mikado79
joshuaho
Scratcher
1000+ posts

Using scratch to access the GPIO ports on the raspberry Pi

Post Deleted.

Last edited by joshuaho (Oct. 11, 2013 20:31:52)

nathanprocks
Scratcher
1000+ posts

Using scratch to access the GPIO ports on the raspberry Pi

joshuaho wrote:

The rasberry pie thing belongs to help with scripts forum. Please post there if you want help with scripting. Now.... about the Scratch 2.0... I’m not sure when the downloadable version will be released, but it think that it will be released in late summer.


 Sorry about the weird text, my computer was being a little stupid.
Actually it does belong here.
GP1
Scratcher
100+ posts

Using scratch to access the GPIO ports on the raspberry Pi

mikado79 wrote:

Hi,
I have a raspberry Pi and can access the GPIO Ports with python but how do I do it from scratch, please?
Thanks to anyone who can help or at least point me to some reading matter on the subject.
Also when will scratch 2 be available to download?
Mikado79
Scratch 2.0 will be available for download nearing the end of summer (So right about now, i would say.

Which Scratch version are you planning on using? Im assuming 1.4, it comes with the Raspberry Pi.
If you are planning on using Scratch 2.0, I would not recommend it. It runs slow on mine. Use Scratch 1.4, which has a protocol called Remote Sensors Protocol. Check out this http://mv.ezproxy.com.ezproxyberklee.flo.org/wiki/Remote_Sensor_Connections
Remote Sensors Protocol is basically where you take your Python program, and hook it up to communicate with Scratch. There is a specific example on the wiki for Python, but you can use other languages as well. I managed to do it in C#.

Last edited by GP1 (Aug. 17, 2013 17:33:11)

blob8108
Scratcher
1000+ posts

Using scratch to access the GPIO ports on the raspberry Pi

joshuaho
Scratcher
1000+ posts

Using scratch to access the GPIO ports on the raspberry Pi

nathanprocks wrote:

joshuaho wrote:

The rasberry pie thing belongs to help with scripts forum. Please post there if you want help with scripting. Now.... about the Scratch 2.0... I’m not sure when the downloadable version will be released, but it think that it will be released in late summer.


 Sorry about the weird text, my computer was being a little stupid.
Actually it does belong here.
Oh noes, my bad!!! X(
I'm so stupid!!
mikado79
New Scratcher
2 posts

Using scratch to access the GPIO ports on the raspberry Pi

Thanks blob 8108 for that link, it is exactly what I wanted

Mikado79
ClayChips
Scratcher
500+ posts

Using scratch to access the GPIO ports on the raspberry Pi

joshuaho wrote:

The rasberry pie thing belongs to help with scripts forum. Please post there if you want help with scripting. Now.... about the Scratch 2.0... I’m not sure when the downloadable version will be released, but it think that it will be released in late summer.


 Sorry about the weird text, my computer was being a little stupid.
Your not the only one.
joshuaho
Scratcher
1000+ posts

Using scratch to access the GPIO ports on the raspberry Pi

ClayChips wrote:

joshuaho wrote:

The rasberry pie thing belongs to help with scripts forum. Please post there if you want help with scripting. Now.... about the Scratch 2.0... I’m not sure when the downloadable version will be released, but it think that it will be released in late summer.


 Sorry about the weird text, my computer was being a little stupid.
Your not the only one.
You are right!

Last edited by joshuaho (Aug. 21, 2013 08:14:17)

davidkt
Scratcher
1000+ posts

Using scratch to access the GPIO ports on the raspberry Pi

ClayChips wrote:

joshuaho wrote:

The rasberry pie thing belongs to help with scripts forum. Please post there if you want help with scripting. Now.... about the Scratch 2.0... I’m not sure when the downloadable version will be released, but it think that it will be released in late summer.


 Sorry about the weird text, my computer was being a little stupid.
Your not the only one.
How do you do that?
joshuaho
Scratcher
1000+ posts

Using scratch to access the GPIO ports on the raspberry Pi

davidkt wrote:

ClayChips wrote:

joshuaho wrote:

The rasberry pie thing belongs to help with scripts forum. Please post there if you want help with scripting. Now.... about the Scratch 2.0... I’m not sure when the downloadable version will be released, but it think that it will be released in late summer.


 Sorry about the weird text, my computer was being a little stupid.
Your not the only one.
How do you do that?
I don't know. Maybe you need a stupid computer to do that.
davidkt
Scratcher
1000+ posts

Using scratch to access the GPIO ports on the raspberry Pi

joshuaho wrote:

davidkt wrote:

ClayChips wrote:

joshuaho wrote:

The rasberry pie thing belongs to help with scripts forum. Please post there if you want help with scripting. Now.... about the Scratch 2.0... I’m not sure when the downloadable version will be released, but it think that it will be released in late summer.


 Sorry about the weird text, my computer was being a little stupid.
Your not the only one.
How do you do that?
I don't know. Maybe you need a stupid computer to do that.
snail-tony
New Scratcher
3 posts

Using scratch to access the GPIO ports on the raspberry Pi

http://www.pridopia.co.uk/rs-pi-set-scratch.html

new interface for scratch v1.4 can control,rs-pi v2 P5 ( got extra GPIO 28,29,30,31) use GPIO number , not use p1 pin number.

can support i2c /32/64/128 GPIO
i2c temp sensor/RTC/ i2c servo motor
GPIO stepper Motor, relay…
h-bridge Motor control up to 6 DC motor

joshuaho
Scratcher
1000+ posts

Using scratch to access the GPIO ports on the raspberry Pi

davidkt wrote:

ClayChips wrote:

joshuaho wrote:

The rasberry pie thing belongs to help with scripts forum. Please post there if you want help with scripting. Now.... about the Scratch 2.0... I’m not sure when the downloadable version will be released, but it think that it will be released in late summer.


 Sorry about the weird text, my computer was being a little stupid.
Your not the only one.
How do you do that?
I think that you need to set it to Chinese… but I don't really know more about that.
w1ll222
Scratcher
1 post

Using scratch to access the GPIO ports on the raspberry Pi

what is the rasberry pie

Last edited by w1ll222 (Dec. 23, 2013 22:03:22)

drmcw
Scratcher
1000+ posts

Using scratch to access the GPIO ports on the raspberry Pi

w1ll222 wrote:

what is the rasberry pie
A small cheap computer, here.
mattvenn
Scratcher
5 posts

Using scratch to access the GPIO ports on the raspberry Pi

Simon's got some new updates (only for scratch 1), it works really well with the Pi.
http://cymplecy.wordpress.com/scratchgpio/

Powered by DjangoBB