CamJam EduKit in partnership with The Pi Hut

CamJam EduKit v2 landscape_smPartner

From this page you can visit pages for all our EduKits. The EduKits are compatible with all models of the Raspberry Pi.

Worksheet Licence

cc_by_sa All CamJam EduKit worksheets are covered by a Creative Commons licence.

Press

If you need some information on the EduKit for press use, please visit our DropBox at http://goo.gl/XoGUkp to download a press release and associated images.

54 thoughts on “CamJam EduKit in partnership with The Pi Hut

      1. I would like to contribute to them, and also make a gpiozero version to make it a little more accessible for younger childeren.

        1. We do plan to develop GPIOZero versions, but I need to take a break after writing the EduKit 3 worksheets, organising PiWars, and working on another BIG event!

  1. On edukit 3 – worksheet 2 page 3, the diagram has incorrect polarity for Motor A, the photo on page 4 has the correct polarity.

      1. As the worksheets say, the polarity does not matter at that stage as we cannot guarantee that the motors are wired up in exactly the same way (i.e. red to the same, black to the same terminals). Therefore we ask you to test them and swap the wires if necessary.

        1. I think I might have the same problem here. Motor A is not working. I have swapped the motors and the one plugged in A would not work. Any idea?

  2. Great robot. Built mine on the excellent 3d printed chassis. I have also written a program to allow for keyboard control of the robot via an ssh link. The two files required can be downloaded from https://goo.gl/JX14tP
    copy the zip file to your Robot Pi, unzip and put the two files with your other robot files and run with python3 control.py. Use the keys a,w,s,z and spacebar for left,forwards, right, backwards and stop. Based on Worksheet 6– Varying the speed of each motor with PWM.
    If you have tuned your motors for best straight line performance then add the amended values for the dutycycle variables.

    1. I am working in a primary school with a group of y6s – they have built and programmed the camjam3 kit – now they want to control it remotely via keyboard – one of them googled and tracked down your post – but your link is broken – could you please advise?

      1. Hi. We’re actually currently working on remote control instructions. So I know it will at least satisfy YOUR requirements, how are you intending to connect remotely?

      2. I may not be the author of the original post but you can control from logging on to the Pi from another computer or tablet or phone that uses ssh over wifi to communicate with the Pi.

    1. They are, yes. The GPIO header of the Zero will need to be soldered on, obviously, but there’s no reason why the kit shouldn’t work with the Zero as it’s the same software running.

    1. Hi Nigel,
      I’m afraid there isn’t a forum specific to the EduKit. We just don’t have the manpower to moderate it. However, I would encourage you to use the Raspberry Pi Foundation forums as they’ve got the critical mass of people to support it. 🙂

      Mike

  3. Hi am having problem with adding …
    Forwards()
    time.sleep(1)
    Backwards()
    time.sleep(1)
    StopMotors()
    I get an error …name ‘Forwards’ is not defined ….. And the motors do not stop running?
    I’ve gone over all spellings etc and can see no problems. There were no errors before I entered the 5 lines before the final GPIO.cleanup()

  4. Thanks Michael, I’ve gone over it a number of times but can’t see any ‘case’ issues. Not able to do more now, but will go over it again tomorrow night. Has anyone else had this issue?

  5. Hi there, just received the first two EduKits and am enjoying the worksheets. The robotics kit seems to be sold out everywhere, any idea on when it will next be available?

  6. I have a problem with CamJam Kit 3. I am having great fun with it but cannot get the Ultrasonic Module to work correctly. In worksheet 6, the distance it reads just keeps getting larger no matter at what distance an object is placed in front of it. In worksheet 9 it goes into avoidance mode all the time whether there is an object or not. It my module faulty? I have checked the code and all seems to be correct.

  7. Haven’t tested it yet, but just wrote up this gpiozero version of Worksheet 9 code:
    —————————————————————————————————————————————————————–
    from gpiozero import CamJamKitRobot
    #from gpiozero import RyanteckRobot #use if you’re using the ryanteck robot motor controller
    from gpiozero import DistanceSensor
    from time import sleep

    robot = CamJamKitRobot()
    #robot = RyanteckRobot() #use if you’re using the ryanteck robot motor controller
    sensor = DistanceSensor(17,18) #standard pins for the edukit
    sensor.threshold_distance = 0.015 #how close (in meters) should an obstacle be before the robot tries to avoid it

    def AvoidObstacle():
    robot.backward()
    sleep(0.5)
    robot.right()
    sleep(0.75)

    sensor.when_in_range = lambda: AvoidObstacle()
    sensor.when_out_of_range = lambda: robot.forward()
    —————————————————————————————————————————————————————–
    I will not be able to test it as my CamJam kit is at work and i’m stuck at home due to Houston flooding until Monday at the earliest. I did open the python interpreter on a separate pi with nothing connected to GPIO and imported this script without any errors (poor man’s syntax checker).

    Guess I’ll be buying another camjam kit for home. Now that i think about it, it would probably need some sort of signal.pause for it to really do anything. Again, haven’t tested, just coding blind.

        1. Yes, that should be fine. The chip on the motor controller board is very similar, though not the same. Should work in the same way providing you connect it up correctly.

  8. How can I check if I have a faulty motor board? When I run the code from worksheet 3 I don’t get any response from the motors?

  9. Hi, I have got an EduKit 3 and am using a Pi zero, both of which are brilliant. I have worked through the work sheets and am now working through sheet 6. Everything has worked perfectly to this point, however, I am having a problem with the ultrasonic sensor. I have checked and re checked the wiring and coding and I can’t find any errors. The problem is the distance displayed remains between 0.3 and 0.4 and will then randomly display other figures, (0.2, 0.7….0.4) regardless of how far the sensor is from a wall. Has anyone any idea what I could be doing wrong? I am relatively new to this type of stuff. Many Thanks Jez.

  10. Hi guys, when I connect up my battery pack supplied with the kit, nothing happens. No lights, no booting. Not sure if I’m doing something wrong but I suspect the pack or the control board to be faulty (batteries are fine). Any suggestions on what to do next please?

  11. Hi Guys,

    Really enjoying these worksheets, I am just a bit stuck on the Advanced Challenge on Worksheet 6. I have managed to get the buzzer to sound a dot when pressed. I can also get it to sound a dash when pressed by changing the function I’m calling when the button is pressed. The bit I’m stuck on is how to differentiate between the two, how do I do a dot then a dash ? Or am I looking at the challenge the wrong way ?

    Keep up the great work

    Thanks
    Matthew

  12. Hi, After a bit more checking and re checking ‘Ive got the distance sensor working – I had some of the indents in the code wrong……there is loads of resources out there for this kit and was able to check my code against others !!

  13. Hi Guys

    I have left a couple of posts but they keep disappearing. I am working on the Advanced Challenge on Worksheet 6 and I have been able to get the buzzer to sound when I press the button. However, it only sounds a “dot”, I am a bit stuck on how I get it to sound a “dash” when pressed, or am I misunderstanding what is required for the challenge.

    Kits are brilliant by the way 🙂

    Thanks
    Matthew

  14. Is it possible to power the motors from USB (using the +-5v pair). I have built a chassis from Lego with a large battery pack to power the pi but I wanted to avoid having a second battery pack for the motors but don’t want to damage the motors or board.

    1. I’m afraid not. The motors require 6V. It *is* possible to cobble together a power regulator set-up where you can power the Pi and the motors from the AA battery pack.

  15. Ive got an edukit 3 and I want to add 2 more ultrasonic sensors and 2 more line detector modules so that it can more accurately follow lines and doesn’t bash into walls at the side.
    The motor control board supplied only supplies 1x5v and 1x3v3. I need more than this to power extra sensors don’t I? And if I do need more power, how do I supply it?

    Thanks

    1. Fair enough. I think what would be best is if you attach a breadboard and use jumper wires to bring whichever power supply you need out to that. Then, you’ll have more flexibility in using power rails and more workspace.

  16. Out of 15 kits purchased, i have one bad line following sensor, one bad motor controller board, and one bad rangefinder. Verified by switching out sensors/boards from other kits, maintaining everything else (pi, code, jumpers, breadboard, motors, batteries, etc.) the same. Anybody know what i can do about an RMA?

  17. Hi there, can someone help? When I connect the line following sensor in worksheet 4, the pi will no longer turn on, however as soon as its disconnected, pi works fine again. Iv had people check the wiring and have tried different wires and breadboards yet all the same result. Any suggestions? Thanks

Leave a Reply