Skip to content

ceptimus

puzzler

Category archives: Programming

Fast, small, and simple Arduino SPI RAM chip routines.

The 8-pin chip, 23LC1024, is a good candidate for adding extra RAM to simple Arduinos such as the Uno, Nano, Mini.  It provides 128K of RAM (the ATmega328 chip that these Arduinos use only has 2K of internal RAM). The chip works at 5V (anything from 2.5V to 5.5V) and uses SPI so it only […]

Posted byceptimusDecember 5, 2015December 5, 2015Posted inArduino, Programming1 Comment on Fast, small, and simple Arduino SPI RAM chip routines.

Untangle, Planarity.

I’ve been writing some code (in Java) to solve this fun puzzle.  I’ve played the puzzle for many years – it’s part of the excellent and free Simon Tatham’s Portable Puzzle Collection which has been available on many platforms for ages and has recently been ported to Android too.  Untangle was inspired by Planarity, written […]

Posted byceptimusNovember 22, 2014November 22, 2014Posted inProgramming, PuzzlesLeave a comment on Untangle, Planarity.

ATmega328P-PU 12MHz bootloader

It took me an embarrassingly long time to get a 328 with a 12MHz crystal working so that it would allow a normal (serial / FTDI) upload from the Arduino IDE. There are a few older guides around but I didn’t find one that used the newer optiboot bootloader. If you don’t want to compile […]

Posted byceptimusFebruary 24, 2014March 2, 2014Posted inArduino, Programming4 Comments on ATmega328P-PU 12MHz bootloader

Controlling the Raspberry Pi camera from C

I wanted to be able to stop and start the camera driven by events instead of just calling raspivid to record for a preset time. My code is really just a simple wrapper around raspivid using the SIGUSR1 option to stop the video under program control rather than after a preset time. The example main() […]

Posted byceptimusJanuary 18, 2014January 18, 2014Posted inProgramming3 Comments on Controlling the Raspberry Pi camera from C

Flash Rubik Cube Simulator

Above is a snapshot image.  Here’s the real thing. It works for any size of cube from 2 x 2 x 2 up to 11 x 11 x 11.  Actually, 11 is an arbitrary limit – the same code would work for any size of cube.  Use the little + and – buttons up in the top […]

Posted byceptimusMarch 1, 2013March 1, 2013Posted inProgramming, PuzzlesLeave a comment on Flash Rubik Cube Simulator

The Minimum Attack Problem

Place five queens on a chess board so that every square on the board is attacked.  It’s an old and famous problem; there are lots of solutions and it’s pretty easy to find one.  Try it for yourself and see! Now try using just three queens and two rooks.  Not so easy this time; the […]

Posted byceptimusFebruary 25, 2013March 1, 2013Posted inProgramming, Puzzles1 Comment on The Minimum Attack Problem

Posts navigation

Newer posts 1 2

Recent Posts

  • Arduino Due in Microchip Studio Part 1
  • Decoding FrSKY telemetry data with an Arduino – Part four
  • Decoding FrSKY telemetry data with an Arduino – Part three
  • Solids of constant width – the Meissner Tetrahedron – in OpenSCAD
  • E-paper display module driven by Arduino

Recent Comments

  • Simon on Decoding FrSKY telemetry data with an Arduino
  • Roderick on Word Ladder Solver
  • Arang on An Arduino-based programmer for the AT89C2051 chip
  • Pavel Kalina on ISP programmer for the STC89C51 and STC89C52
  • Maurits on Decoding FrSKY telemetry data with an Arduino – Part four

Archives

  • November 2020
  • March 2019
  • January 2018
  • December 2017
  • October 2017
  • April 2017
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2014
  • February 2014
  • January 2014
  • March 2013
  • February 2013

Categories

  • 3D printing
  • Arduino
  • Programming
  • Puzzles
  • UAV
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
ceptimus, Proudly powered by WordPress. Privacy Policy