Tag: Programming

  • From turns to time: timed actions with two requests and one Redis key and PHP 8

    Pulsar Online was an old browser space game that I developed 20 years ago. For most of its life it was turn-based: every move, dock or jump cost a unit of a resource called antimatter, which slowly refilled over the day. That model is simple to build. A request comes in, you check the balance,…

  • How to read PPM signal with Arduino?

    More than a year a published a post called Generate PPM signal with Arduino. Today it’s time for part two: How to read PPM signal with Arduino?. Strange thing: internet does not gives very useful information on this topic. Strange, right? Some links to pages that does it either very very wrong or in not…

  • ATtiny85 Light Sensor – I2C slave device

    ATtiny85 Light Sensor – I2C slave device

    I love AVR ATtinyx5 series microcontrollers. They are cheap, easy to use, they can be programmed just like Arduinos and comparing to their size they offer great features. For example, they can be used as a remote analog to digital converters connected to a master device using an I2C bus. Background: A few years ago…