Coding for Codgers

In this case, Codgers do not need to be either male or ancient! Coding for Codgers will be open to anyone (Codgettes?).

Your children and/or grandchildren at school are learning 'Coding' - ie how to write computer programs. This group, in Martlesham Heath, is for people who would like to try it themselves. No experience necessary - this is not going to be a serious training course, it's just for fun.

Five of us met for the first time on Friday 28th October 2016 in The Runway cafe at Martlesham Heath. Everyone had a good time - with coffee and cake.

The next meeting will be when the coronavirus has gone away!

For more information, contact

Coronavirus Special

Here's my strip of neopixels, cut into slices and mounted as a 10x15 array on the other side of this board.
The processor is a BBC Microbit.
The power supply was needed as the batteries I had been using couldn't supply the 1.5A current to drive the full display.

The object of the exercise was to compete with the local children drawing rainbows.

Here's what it looks like from the other side Video - unfortunately the colours don't come out too well on the video.

Now it works, I can try playing with different displays.

Initial Project

This warning triangle shows the computer we first played with. It costs less than £10. The program controls the three lights and the pattern depends on the code you write.

It contains a PICAXE computer (see What is PICAXE for more information).

Where do we go after that?

Nonogram Project

This first example works out the possiblities for a single line One Line

Morse Code

Who needs chip forks? (In joke!)Try a mouse!
This counts milliseconds where the mouse is up or down on the Key button. Anything less than 200ms down is a dot, anything more is a dash.
It needs at least 500ms space to realise that it has reached the end of a letter.
Obviously lots of room for improvement, but it seems to work.
When you have sent a few letters, click Analyse to see what it made of your message.

Try Morse-003.htm

Nine to Five puzzle

First attempt at a page to help you solve the Nine to Five puzzles. At present you can only try the puzzle given here - puzzle entry comes later.
Drag to letters of the 9 letter word into the middle of the grid to make five letter words. You can then drag the letter to a different empty square.
Double click a letter to return it to the long word.
Here is the first version and an improved version next version
this does filing without using cookies - but is a bit messy as it has to get round the hazards which would exist if Javascript let me store files!

BBC Micro Bit

Schoolchildren are being given these to play with and learn about programming - so we thought we would try. We now have the traffic lights controlled by a BBC Micro Bit.


Among other things, we've been working on programs to solve Sudoku puzzles. There is an intellectual challenge in solving Sudoku puzzles. The challenge here is firstly to work out how we would do it on paper, then write programs to automate the process.

Here's a selection of web pages which run our programs to solve the puzzles. As time goes by we will add new ones which should be able to solve the more difficult problems.

Latest program

Now we are stuck! If you click puzzle X1 or X2 then click Solve, the program will get stuck and not find a solution.

Can you finish them by hand? If so, please let us know what you did - and more importantly why you did it.

If we know the method used, we can include that in the program and it should be able to solve the more difficult puzzles. As we can't solve them by hand, we don' know what next to put in the program.

Sudoku Reward!

We can make a guess and find the solution, but that counts as cheating. Sudoku puzzles should all be solved by logic - with no guessing

Have a look at our latest program s109.htm. Click on any of the buttons from "Puzzle 1" downwards to see a puzzle - which will have all the potential values in the empty squares. Click "Solve" and the puzzle will be solved.

Try X1 or X2 and you will find that "Solve" gets so far, then gets stuck. In X1, you can guess at "5" for the bottom right "25". Change it, then click "Solve" again - the puzzle will be completed.

The challenge is to find the solution without guessing. If you can do that, and explain how you did it, then we can build your new rules into the program and it should be able to solve other puzzles.

REWARD Free coffee and cake for the first person with a solution!

Our Traffic Lights

We built a set of traffic lights - including a pedestrian crossing light

The lights are built out of Lego and yellow sticky tape. The computer is a PICAXE 18M2 ( a larger version of the computer for the Warning Triangle) and the program is written in PICAXE's very basic form of Basic