Posts Tagged ‘Application’

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

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

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

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

User Interface (Part 5)

Part 1, 2, 3, 4, 5 I brought several improvements since the introduction of the early design of a simplified however yet powerful human interface. Among them the possibility to display variables that the user can change and variables or constants that the user cannot change. Thus the introduction of a new set of menu types: /* Menu types */ […]

analogRead alternatives (Part1)

Part 1, 2 Long story short: I never met wizards before Valerio knocked on quai-lab‘s door. And we all committed to help him to ‘augment’ the experience of his magic puppets. However, it’s long road from puppets to bytes and bits. But Valerio is not this sort of person who gives up easily and this post is […]

FreeCAD (Part 1)

Part 1 For various reasons, I decided to investigate the field of open source CAD software for designing and printing mechanical parts. So I spent some time surfing the web for CAD applications and found a dozen of software which are topping the hit list. Blender software happens to be trusting the top of this list. A couple of […]