Using CodeBug tethered via USB on a MacBook

It has been a few weeks since our CodeBugs arrived here in Milan and after playing around with some of the sample programs and thinking about their features I have decided to use these with next session’s Year 10 students as an introduction to the iGCSE Computer Science course in September.

While they worked really well with the Raspberry Pi I struggled to get the CodeBugs working with IDLE on the MacBook. Installing packages via Terminal updated the Python 2.7 install that comes with the OS and – for me anyway – Homebrew complicated what should have been a very easy process. In Visual Studio if you wanted to use a module library you simply added it to the project and IDLE does not have this function.

I found PyCharm today – an IDE for Python that allows me to add the codebug_tether module (and any others I need) with the minimum of fuss. Now my CodeBug can be programmed while connected via USB to my MacBook! As an added bonus I learned more about Virtual Environments.

IMAG1237

To make it easier for my students to get going with their CodeBugs in September I created a 20-step guide linked here. It’s CC0 so please feel free to use and adapt as required. If you find any mistakes or it just doesn’t work for you in the same way please let me know.

Ian

Leave a Reply

Your email address will not be published. Required fields are marked *

Computing Science Scotland CPD Personal

freeCodeCamp: Responsive Web Design

This evening I worked my way through a few courses on the Responsive Web Design Certification | freeCodeCamp.org pathway. I really liked the way the tutorial worked. I think it would be a very useful way for NQ students to learn and practice their web design skills (HTML, CSS, simple Javascript). I wonder if freeCodeCamp […]

Read More
CPD Teacher Training + Support

Google Certified Trainer event at Co.Lab, Alloa

It was an early start yesterday to travel down to Alloa, a place I’d never visited before! What struck me was how beautiful the drive from Kinross was, with the snow-capped Ochils accompanying me west through Clackmannanshire. Arriving at Co.Lab I was greeted by owner Pam Currie and Louise Jones and got stuck in to […]

Read More
AH Computing Science Computing Science Scotland Student Engagement

Connecting to a MySQL database using Python 3 #compsci #SQA #AHcomputingscience

Students completing the SQA Advanced Higher Computing Science course need to create their projects with a major and minor in mind. The major – the main area of content their project will showcase – can be either Software Development (e.g. Python), Web Design and Development (PHP) or Database Design and Development (e.g. MySQL). The minor […]

Read More