Archive for the ‘Applications’ Category

Stepper Motors (Part 9)

Part 1, 2, 3, 4, 5, 6, 7, 8, 9 Let’s go back with an easier application. Still for my friend Valerio, the puppets magician, who built this adorable model-phonograph: It is all wooden made and powered by… a stepper motor, using the electronics which has been described in previous post and showed again here A switch […]

Simple command parser (Part 2)

Part 1, 2 In the previous version, the command parser is using one single alpha character as an opcode while the argument is computed on the fly using simple arithmetic. In this version, the opcode is extended to (almost) any number of characters and the argument is stored in a vector which is then converted […]

Simple command parser (Part 1)

Part 1, 2 Many applications require some interaction with the user. And one of the most basic manner to interact with an application is to use the serial communication port. Using Serial.print command is probably one the earliest command we all used to debug applications. The proposed command parser uses Serial.available() and functions and […]

Picture of the day

Could DSP produce some sort of modern art on some occasion ? Do you want to reproduce that ? Well, here is the recipe … Get a function generator and set the signal pattern to ramp, sweep frequencies from 80 to 90 Hz with 0.1 Hz steps every second. Connect the output to PlainDSP* and starting […]

Incremental rotary encoders (Part 10)

Part 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Let’s have some fun with encoders. As I was thinking about an alternative solution for the stepping motors of our friend Valério’s puppet, I started playing around with some DC motors which are quieter than servo-motors and less greedy and less complex to drive than the steppers. Problem is that DC-motor […]

Random number generator (Part 3)

Part 1, 2, 3 The early tests presented in this series of posts were dealing with a limited number of data. The risk exist that a long term repeated pattern may not be seen using these statistical tools. Here is an other approach to testing the randomness of data. It consists in creating a black […]

Random number generator (Part 2)

Part 1, 2, 3 Here is a noisy signal sampled at 100 kHz with an Arduino UNO. The signal has 8 bits of resolution and the divider bridge of the final amplifying stage has been set so that the ADC range matches (without exceeding) the input signal range. Here is the illustration of a vector of 1024 […]

Ultrasonic scanner (Part 2)

Part 1, 2 Most of the electronic diagram shown here should look familiar to the readers of arduinoos posts. The ultrasonic sensor is added to what was described as the test bench for stepper motors. Here is the list of the required components: An Arduino UNO baord (Should I introduce it to you ?) A […]

Ultrasonic scanner (Part 1)

Part 1, 2 And now, something completely different : here is arduinoos’s ultrasonic scanner ! This ultrasonic scanner results from the combination of two main components: an ultrasonic sensor and a stepper motor. Both have already been covered in this blog (here and there). Both component form the head of the scanner which is screwed on top […]

Publication of the day

Raymond McNamara from the NUI Galway committed his final year works to “Embedded Implementation of Embedded Algorithms of Power System Monitoring” Quality of AC power is definitely a contemporary problem. Many disturbances are generated by the variety of power sources including, and the list is non-exhaustive, solar power, wind power, hydroelectric power. Harmonic frequencies in the […]