Archive for the ‘Arduino’ Category

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 Serial.read() functions and […]

News and Moods

Some time ago, I suggested to append the keyword Arduino to any search for some advanced techno oriented questions. Arduino acts as an amplifying or magnifying factor as you look for the latest developments, the smartest solution in any kind of technology. It sounds like a password whispered at the entrance of a secret society […]

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 […]

Alternate IDE (Part 2)

Part 1, 2 Well Notepad++ is really my editor of choice for coding Arduino. Although I am aware of many other powerful editors, I like the style as well as the price (It is free!). Anyway, I felt like Notepad++ was lacking something handy available elsewhere: running external applications. As my first attempts to use […]

DC-motors (Part 1)

Part 1, 2, 3 DC-motors are every where in many form factors, many performances and configurations. The aim of this series of posts is not to cover all aspects of DC-motors as there are so many publications available, most of them being of excellent quality. Firstly, I will concentrate on the most common brushed DC-motors . Next […]

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 1)

Part 1, 2, 3 As I was stumbling the web looking for advanced information on thermal noise, I found some very interesting papers on RNGs, aka Random Number Generators. These devices feature hardware components which are responsible for a generating unpredictable random numbers ! This is a very interesting matter as it involves physics, electronics, […]

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 […]