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
Great news !!! Thanks a lot for all your work, I’ll try it as soon as as possible.
Everything works fine ! No problem with PiRoCon shield.
Thanks for your work !
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
No just simply re-download and re-install via the install page
https://cymplecy.wordpress.com/scratchgpio/scratch-raspberrypi-gpio/
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.
http://r.newman.ch/rpi/problemonScratchgpio5.png
any ideas why?
No but I’ll look into it 🙂
Further to last post the problem is that Set Led11On turns on Led 1 as well.
Aah 😦 I’ll see v what I can do about that. Ta for info
Found and fixed (I hope)
Can you install the dev version and try it out via the extra desktop icons (won’t affect main ScratchGPIO5 at all)
and let me know if all OK for you now
https://cymplecy.wordpress.com/2013/11/26/scratchgpio-development-testing/
Simon
Thanks. I can confirm that the problem is fixed in the 5dev version.
Excellent – I’ll let you know when in stable version 🙂
Thanks for feedback
Simon
Hi, is there any support for the RPi Camera module with Scratch5 .
Thanks in advance.
No, none at all. What sort of support were you thinking about?
Thanks for the reply.
Well, basically just being able to enable, access and control the camera from scratch. For example, Trigger a photo or video recording using an ultra sonic sensor.
ooh – that’s a biggy – let me see if I can dig out my camera (got one but never really used it)
Simon
Be interesting to see how you get on with that and be great if it was possible.
To be honest – its not going to happen in near future 😦 – maybe in the summer holidays when I’m bored 🙂
Since I posted this, Matthew Venn has said he is going to look into adding camera control into the code so there may be some movement before the summer 🙂
Ahh that’s great news. I look forward to seeing the results 🙂
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.
Thanks for this feedback. Can you post link to Scratch prog that has the issue – just in case its your prog and not mine 🙂
But likely to be mine 🙂
Simon
I’ve changed the input handling so that it should latch any input changes for 0.1 secs its in dev version https://cymplecy.wordpress.com/2013/11/26/scratchgpio-development-testing/ – can you try it out and see if it does the job for you please?
Simon
hi
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 ?
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?
Simon