Skip to main content

Posts

Showing posts with the label physical computing

Connecting the SPOKE board with Sonic Pi in Chrome

In a recent post ( First play with a SPOKE capacitive touch MIDI board ), I shared some first impressions of getting the SPOKE board connected, trying the web-based examples, and using it as drums in GarageBand. At the end of that post, I mentioned that the next thing I wanted to try was looking at the coding side of things., image taken from https://www.spokeboard.com/ Because the SPOKE board acts as a MIDI controller, my mind immediately went back to Sonic Pi . As I mentioned in an earlier post ( Spooky Hot-Cross Buns - Sonic Pi ), I have no musical ability at all, but I really enjoy creating with Sonic Pi—it is free, fun, and a brilliant bit of software. Putting the two together seemed like an obvious next step. For this experiment, I connected the SPOKE board as before, but instead of using an installed desktop app, I ran the web version of Sonic Pi ( https://sonic-pi.net/code.html ) straight in Chrome with no special set-up. This is a really useful option when you are working on a...

CodeBug at code club

These little devices provide something different to a code. To see the coding interface go to  http://www.codebug.org.uk/  (or see figures 1 and 2) and click on create. Last two weeks Week 1  The code clubbers initially shared machines, playing with the CodeBug environment, practice downloading to the bug, writing a routine to scroll their short message. The challenge was then to develop a routine to have a smiley face and a grumpy face scroll across the screen. Week 2 All have access to the simulation and code generation on codebug.org.uk but this time they don’t have the CodeBug each, they have complete a challenge and run it on the simulation before get a CodeBug to try it. This week's challenge was to get the smiley and grumpy face from week 1 to be selected via the buttons (A and B) - so it involved a loop and conditional statements. Most of them picked it up very quickly. Two version were built - I reconstructed the ideas in f...

Playing with Smurf the Robot

Experimenting with an Aldebaran NAO robot - nicknamed Smurf - to get the robot to deliver a short welcome. The video below show the robot being simulated using the code in figure 1 and then shows the 'Smurf' actually carrying out the routine (the bottom video show this bit without the simulator). The only difference in the code on the simulator and the one running on the actual robot was an extra command was added at the start of the one on the robot to only start when the top of the head is tapped. figure 1. Choregraphe program for the routine. All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with.

Drone at Code Club

We are putting our coding to the test at Code Club after school. pic.twitter.com/CcFi5Mg4PK — St Luke's Primary (@DustonStLukes) May 24, 2016 Recently i have been taking a Parrot minedrone and the Tickle App ( https://tickleapp.com/en-us/ ) to Code Club session, as an extra activity. For those there actually programmed something that flies and it is quite engaging - having something you are controlling being able to move in all directions. I wish the mini-drone had a little bit more battery time (I would suggest getting an extra battery). Combining with the drone and the Tickle App does add something to the experience, rather than just control it directly (though that is fun). The noise is also not to everyone's taste so it has to be used carefully in that context, but also from a safety point of view. All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any ass...

MakeyMakey at Beavers

Recent had a great time playing with a MakeyMakey board (see an example below taken from an Amazon site) with some Beaver Scouts.  The basis of the activity was a very simple scratch program; where the 'space' key (banana number one) played one recording and 'left key' (better know as banana number two) played another recording.  Started with a few drum sounds, but when the session really took off was when they started recording their own sounds. Lots of shouts, shrieks and names but it engaged them…and left me with two very smashed up bananas. Details of the MakeyMakey boards can be found at:  http://www.makeymakey.com/ All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with.