JeroenH
Posts: 2
Joined: Mon Jun 13, 2016 5:10 pm

2018: CamJam Edukit3 & Scratch2 EdukitMotorBoard

Wed Feb 14, 2018 9:25 pm

Dear all,

Please could you lend me a hand ?

I tried to let pilot my CamJan Edukit 3 Robot with Scratch2 on my Raspberry PI for my 8 year old son, and I don't succeed.

I have thus a Raspeberry Pi 2 Model 8 V1.1
Running with the latest version of Raspbian Strech of 2017-11-29
Did a complete update following : https://www.raspberrypi.org/documentati ... pdating.md

But when I tried to program my CamJam Edukit (http://camjam.me/?page_id=1035) with Scratch 2 , following :
https://www.raspberrypi.org/documentati ... /README.md or http://camjam.me/?page_id=2082 or even by downloadnig projects as https://scratch.mit.edu/projects/106704810/ my motors don't start.

However, as proof that my CamJam Edukit 3 Motor pack is correctly fitted on my Raspberry PI, I installed : https://github.com/recantha/EduKit3-RC-Keyboard and this is correctly working.

Thus my conclusion is that the issue should be between Scratch2 and Raspberry PI, or between Scratch2 and the CamJam Edukit3 somewhere.

Also not clear, is if in Scratch2 I need to add the extension "Pi GPIO". Although the above listed Scratch Programs, with or without this extension do not work while thus the python application https://github.com/recantha/EduKit3-RC-Keyboard is working.

I must have missed a link between Scratch2 and the EdukitMotorBoard Addon I think, but I don't succeed to get it working.

Already thanks for your help,

Best regards,

Jeroen

Forris
Raspberry Pi Certified Educator
Raspberry Pi Certified Educator
Posts: 236
Joined: Fri Jan 06, 2012 7:46 pm

Re: 2018: CamJam Edukit3 & Scratch2 EdukitMotorBoard

Fri Feb 16, 2018 3:13 pm

Hi.

The Scratch guide that you are using relates to Scratch 1.4 (the most recently, and the last, updated version), NOT Scratch 2. As far as I can see there are no worksheets for the CamJam kits using Scratch 2, but you should be able to reproduce it. This blog post about it may help;

https://www.raspberrypi.org/blog/scratc ... pberry-pi/

Shout again on here if you need any further help.

Darren.

ghp
Posts: 1170
Joined: Wed Jun 12, 2013 12:41 pm
Location: Stuttgart Germany
Contact: Website

Re: 2018: CamJam Edukit3 & Scratch2 EdukitMotorBoard

Sat Feb 17, 2018 4:48 pm

Hello,
I do not own a copy of this kit, but based on the descriptions I have setup a config file for scratchClient
config_camjam_edukit.xml
ScratchClient works both with scratch1.4 and scratch2

Steps to do:
- download scratchClient code distribution from http://heppg.de/ikg/wordpress/?page_id=6
- install
- start pigpiod server when using scratch2; is automatically started when using scratch1.4
- start scratchClient

Code: Select all

cd ~/scratchClient
python3 src/scratchClient.py -c config_camjam_edukit
- use a browser and go to http://localhost:8080 , there are directions how to use the system for scratch1.4, scratchx and scratch2 on pi (which is under work, so block descriptions differ).

scratch 2 slows down operation when in background, for a robot scratch1.4 might be better.

Hope it works for you,
Gerhard

Return to “Scratch”

Who is online

Users browsing this forum: No registered users and 3 guests