Kategorie: Programming

  • The Purpose of Being Agile

    Introduction Why, would you think, are we (oh!) so agile? Why do we do Kanban or Scrum? a) To have more fun?b) To become a better team?c) To follow industry standards? „Take a wild guess!“ Laury Anderson It is neither of it. To give you a hint, I quote the very first Google hits for […]

  • Arduino photo resistor with potentiometer++

    If we knew what we were doing, it wouldn’t be called research.  Albert Einstein In https://www.youtube.com/watch?v=dp_gSye8ke4 Dom’s MOBa channel the author wants to improve a simple photo resistor sketch/circuit by throwing a potentiometer into the game. His primary idea seems to be: with a separate potentiometer he could adjust the threshold of the circuit without […]

  • Model Railroad Block Detection with Arduino.

    Here we show how to secure a certain track section by signaling in which direction a train enters the section is occupied and if the block has been left again.  In pseudo code the system works like this:

  • Arduino IR sensor to trigger onboard LED

    Use this sketch to detect an object very close to the IR sensor. This could be useful for model railroading where a train should be detected to trigger a warning light at a level-crossing. // hardware: Arduino UNO, IR sensor from funduinoshop.de // https://funduino.de/arduino-infrarot-abstandssensor // port connected to analog read of IR sensor module const […]

  • How to control effects via MIDI with a Teensy 3.6/LC

    Introduction A friend of mine, a keen professional guitar player, wanted a small box to control settings of a looper (a box with which can be used to store audio fragments, loop and stack these fragments). MVP MIDI out (DIN) at least three (configurable) push buttons which send a MIDI control change message a configurable […]

  • Arduino state machines with function pointers

    Rudysmodelrailway implements a railway crossing with blinking lights by introducing a state rdudiagram, which he then in turn implements by switch statements. Here is my take on the state diagram of a (one way) railway crossing with sensor S1 detecting an incoming train and sensor S2 detecting if the train has passed the crossing: This looks a […]