CamJam EduKit in partnership with The Pi Hut
From this page you can visit pages for all our EduKits.
The CamJam EduKits are compatible with all models of the Raspberry Pi microcomputer and include worksheets to help you get to grips with the components.
The components can also be used with microcontrollers, such as the Raspberry Pi Pico, but there are no prepared worksheets available yet.
All CamJam EduKit worksheets are covered by a Creative Commons licence. CC-BY-NC-SA.
If you need some information on the EduKit for press use, please drop us a line.
87 thoughts on “CamJam EduKit in partnership with The Pi Hut”
Thanks Guys will have a read then buy kit if its not to much for my old age brain. lol
Where can I find the source for the instruction sheets?
We currently don’t offer them for download. Can I ask why you need them?
I would like to contribute to them, and also make a gpiozero version to make it a little more accessible for younger childeren.
I agree; a GPIOZERO version would be really handy. I will try to adapt the Robot worksheets to GPIOZERO and share them…
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!
More than happy to assist with writing them Tim…
I’ve made a GPIO version of the obstacle avoidance. Since OOP strategies differ slightly from standard programming, i’m not sure the best way to break it up.
from time import sleep
from gpiozero import CamJamKitRobot, DistanceSensor
bot = CamJamKitRobot()
front = DistanceSensor(24,25)
Dang, the indents didn’t make it into the post. Everything after the while is indented. Also visible here: http://pastebin.com/MQSSaYZa.
On edukit 3 – worksheet 2 page 3, the diagram has incorrect polarity for Motor A, the photo on page 4 has the correct polarity.
sorry, not worksheet 2, worksheet 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.
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?
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.
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?
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?
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.
Are these kits compatible with the raspberry pi zero?
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.
Thank you Micheal. I am a complete noob at this stuff, where can I find a “getting started user guide?” Thanks in advance.
Hi Rick. Try this getting started guide and see if it’s what you’re after: http://www.recantha.co.uk/blog/?page_id=11986
If it’s not quite what you’re after, also try some of the pages here: https://www.raspberrypi.org/help/
Let me know if you’ve still not got what you need 🙂
Is there a forum to discuss issues relating to specific edukit projects on this website or is this the only forum?
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. 🙂
Hi am having problem with adding …
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()
It’s case-sensitive. Check the case of Forwards vs forwards. Alternatively, if you can cut-paste your entire script into the comments box I’ll check it.
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?
Not that we know of. Happy to help to get your issue resolved – post your code up or email to firstname.lastname@example.org and we’ll get it sorted.
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?
We hope that EduKit 3 will be available again in the next month. We’ve been experiencing some problems with our Chinese supplier and Chinese New Year got in the way too.
EduKit 3 is now available!
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.
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
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.
Thanks Stuart! Just what we need to get ourselves going on converting the worksheets to gpiozero 🙂
can I use Sense HAT with Camjam edukit robot and it’s motor controller board?
I’m afraid not. The SenseHAT takes up all the GPIO pins
when I may try using L293D chip for powering motors instead of this motor controller board. should it be fine?
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.
thanks for answering my question!
I noticed little emoji below the footer, at the end of the page 🙂
Yes you can follow this YouTube tutorial https://www.youtube.com/watch?v=kHMwcdIjQeg. This works because the sense hat doesnt use all the GPIO pins. However, you may have to attach wires in different places but it will still work.
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?
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.
My apologies, I am working through Sheet 5 not 6!!
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?
I would suggest buying a power bank as they last longer and are less faulty. However, if you do not want to but one (they are cheap) I would send a email to where ever you got the kit from.
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
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 !!
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 🙂
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.
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.
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?
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.
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?
Hi Stuart. I’ve just replied to you by email with the information you need. 🙂
Hi, do you know when the robotics kit will be back in stock at the Pi Hut. Thanks.
We’re just waiting for some more motor controller boards to be produced. It might be 6-8 weeks before it is back in stock. Our apologies for the delay.
No problem, thanks for your quick reply. He has enough to play with in the meantime!
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
Hmmm. Has the line sensor *ever* worked?
Are the Camjam Edukit Worksheets available in another language than english? Or can I get the sources so I can translate them myself? I am planning Camjam Edukit3 class here in Germany in November, and not all the kids speak english at a sufficient level to understand the original worksheets.
We are happy to supply the original documents to individuals for translation, as long as you are able to send the translated ones back so we can put them on our site for everyone else to use.
I will send you the documents.
I just received the 3 kits and wish to use them in class. Is it possible to have the edukit worksheets sources too, i will translate them in french and give the translations back.
Thx in advance
I would be interested in the French version too! And willing to contribute for sure!
Hi Tim. Is it possible to get the originals for kit 2? I want to try to translate it to German as well. Happy to share the results.
@Silverday, have you made progress with the translation to German of kit 3?
Could you send me the original Docs for Kit 2? I would like to try to translate them into German.
Hi Marcus, Mike here. I’ve asked Tim to do that. When you’re done translating, would you mind emailing the German versions back to me at email@example.com so we can make them available to everyone?
We have a Kano which runs it’s own version I am failry sure of Rasbery pi OS. Is this compatible with the kits?
I have Kano too. It will definitely work as you just have to download the python library and write the code.
Hi All, any idea when the robot kits are expected back in stock?
Hi. Got email letting me know they’re in today.
What type of resistors are in the Edukit (ohms)?
3 x 330ohm, 1 x 4.7k ohm. Basically, the 330s are used to make sure you don’t burn the LEDs out and the 4.7k is used as a pull-down for the button.
There’s a RPi online course starting soon (endorsed by Pi foundations – got an email from them yesterday) that requires 330 ohm resistors, along with breadboard, swtiches, and jumpers.
Maybe a marketing opportunity exists for you?! 🙂
We know 🙂 Thanks for prompting 🙂
Have you finished writing the GPIO ZERO version for the robotics kit?
Not yet, I’m afraid.
Having a great time reliving my youth by building the robot car! Gone through all the worksheets expect Obstacle Avoidance (that’s tonight) using a Pi Zero. One issue I did have was detecting a printed line. Tried various printers, papers, colors, etc. Just would not see the black printed line. Solved the problem for now by using 3/4″ black, electrical tape. Finds the line and follows the course. Any ideas as to printing a line the detector can see? Would like to do some fancy course – just for fun! Thanks
I believe it depends on the paper stock and the printer. Black electrical tape does seem to be the best way if the print-out doesn’t work, unfortunately.
I got a Cam Jam Edu Kit 3 for Christmas and i have built it but it is not moving. I think it is the motor board or battery pack because the code is running with no problems and i have changed the battery. Any sugestions??
Will reply via email – be easier.
Hi, just wondered what is the maximum voltage that can be used for edukit 3 motor controller board. I wanted a power supply that would power both the rpi (via a UBEC) and the motors. I am using a model car rechargeable batteries which are about 11V I haven’t blown anything yet!! Mind you, I had to use PWM control on the motors to reduce the speed using the batteries. Duty Cycle 10 on 20cps seems to give me a manageable speed.
By the way, the ultrasonic sensor does not seem to work on the version 1 rpi, i.e. the echo is not detected.
Thanks for designing the kit, keeps this pensioner’s brain going…
Hi Hamzah. Max voltage is 10.5V or thereabouts, so I suspect you’ve got lucky with 11V. I bet it’s quite speedy at that voltage! Careful, though, as the battery voltages are 6V or thereabouts so you’re more likely to strip a motor at that level. Ultrasonic doesn’t seem to work on v1? Weird, no-one else has mentioned it, but we’ll look out for that.
Glad you’re enjoying the kit! 🙂
Actually, just spoke to Gareth (4tronix, who designed the board, great guy) – he said that because you’ve also got a diode in the circuit that it takes it to just over 11V on the input, so you’re fine. You’re right on the limit, though. Would love to see your robot as a video so we can judge the speed and maybe use photos of your set-up as an example of how to power both! 🙂
By the way, how do I post videos or photos?
Suggest uploading to YouTube for videos and elsewhere for photos. We can always embed the YouTube and drag the photos down and upload them again.
Thanks for the super quick reply. Yes it’s quite speedy when using full volts that’s why I decided to opt for PWM control. I will send a video once I get the robot to reverse and turn when it detects an obstruction so that it can roam round a room.
By the way, the rechargeable batteries are rated at 9.6V but will output 11V when fully charged. Also I am experimenting using scratch too so that my 8year old grandson who has taken an interest can control the robot. That seems to work well too as it can use PWM control too. His interested started when I used his lego set to build the robot.
Are these kits compatible with the new Raspberry Pi Zero W?