Archive

Posts Tagged ‘interrupt’

Macro definitions for handling interruptible POSIX system calls.

October 16, 2014 Leave a comment

In this article I will present to you some macro definitions for handling interruptible system calls.

Read more…

A simple function implementation for parsing RFID Tags in Arduino.

May 23, 2013 Leave a comment

In this article I’ll show you how you can handle / parse the following RFID Tags from Sparkfun Electronics :

1) RFID Glass Capsule (125kHz) – Product ID: SEN-09416

2) RFID Button – 16mm (125kHz) – Product ID: SEN-09417

3) RFID Tag (125kHz) – Product ID: COM-08310

Read more…

Arduino: LEDs animations controlled by a button.

October 18, 2012 Leave a comment

This project refers to an Arduino sketch which is used to produce animations with more than one LED. You can place several LEDs in a row or in any order you wish and enjoy the flow of traffic. Furthermore, if you wish to change the animation you can choose the next in line by pressing a special button. One such application might remind you of the Christmas lights.

Read more…

Function implementation to generate true random numbers from the Linux kernel.

July 15, 2010 Leave a comment

Before I mention the function that I have developed for the production of random numbers from the monolithic Linux kernel, I would first like to say something about the issue of random numbers.

The issue of producing truly random numbers is important and had even since the beginning puzzled computer scientists. In mathematics, it is very difficult to define the random and, generally, randomness is very difficult to prove with no assumptions. In the past, many scientists tried to develop mathematical models and algorithms to develop random number generators.

One of the greatest scientists of Computer Science, John von Neumann (the basic idea of the architecture of all computer systems today was his own design) jokingly said: ‘Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin.’.

Read more…

Arduino: LEDs animations controlled with a button and a 8-bit 74HC595 shift register.

June 29, 2010 Leave a comment

This project refers to an Arduino sketch which is used to produce LEDs animations. So, we use an 8-bit shift register (namely the 74HC595). This way we can drive 8 different LEDs in the output committing only three PINS of the Arduino.

If we want to drive more LEDs, we connect into a cascade form two or more (depending on the number of LEDs we want to support) shift registers and act accordingly.

Read more…