I’ve made ScratchGPIO5 the “stable” version and it’s available here

The main fundamental change is to go back to early philosophy and set pins 11,12,13,15,16 and 18 as outputs and all other pins as inputs with internal pull-up resistors enabled.

This makes it very easy for beginners on a budget to get going using breadboards as switches just have to be wired between pins and 0V to produce input changes.

ScratchGPIO 5 Plus icon launches exactly the same program as ScratchGPIO 5 but all pins are set as inputs with no pull-ups enabled.

This should satisfy both beginners and advanced Scratchers who don’t want their home fusion setup to scram the reactor when the program launches :)

Any comments and suggested improvements and bug reports always welcome either here or on twitter @cymplecy


About these ads

24 responses »

  1. Great news !!! Thanks a lot for all your work, I’ll try it as soon as as possible.

  2. Everything works fine ! No problem with PiRoCon shield.
    Thanks for your work !

  3. tubluv56@gmail.com says:

    Hi Simon, Following a very successful introduction of Scratch 4 to my grandson, I see there is now version 5 available. Do I have to remove version 4 before installing version 5 or can I just do “apt-get update” Thanks Alan

    TTFN Alan

  4. rbn2013 says:

    Hi just loaded version 5 and tried it with PiRingo programs. The one below works perfectly on scratchgpio4 but on version 5 spurious leds light at the wrong time.
    any ideas why?

  5. rbn2013 says:

    Further to last post the problem is that Set Led11On turns on Led 1 as well.

  6. rbn2013 says:

    Thanks. I can confirm that the problem is fixed in the 5dev version.

  7. Jezz says:

    Hi, is there any support for the RPi Camera module with Scratch5 .
    Thanks in advance.

  8. Jezz says:

    Be interesting to see how you get on with that and be great if it was possible.

  9. Hi, I’ve just installed ScratchGPIOv5 to use with the PiBrella and I’m loving it. One small problem I’ve found is that I’m using the inputs A to C as switches for a wire buzzer game, i.e. where you move the loop from start to finish without making the buzzer sound. The problem is if the loop touches the wire very briefly then scratch doesn’t always detect the input even though the built-in LED on the PiBrella triggers. Is there some way to buffer the inputs in your addon so that they could be read say, for up to a few hundred millsecs after they’ve triggered as I suspect Scratch is busy doing something else and so misses the very short input. Thanks.

  10. alistair mann says:

    i have installed gpio5 and it has given me the two new icons on the desktop but when i open them it is still 1.4 ?

    • cymplecy says:

      Its all fine – don’t worry :)

      What ScratchGPIO icons do is simultaneously launch Scratch (1.4) and a background program that lets Scratch talk to the GPIO pins.

      Does that make sense?


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s