Posted on 22 Dec 2010, 10:07, by Didier, under
Information.
I wish you all a merry Christmas and a happy new year. May your life be dotted with beauty, whatever its manifestation: nature, arts, soul, … technology? In 1877, Monet painted scenes from the real life, like railway stations: iron, coal, glass, steam… If Monet had lived in 2010, would he have painted an Arduino […]
Part 1, 2, 3, 4, 5, 6, 7, 8, 9 Let’s for coding now. Firstly we need to set the analog reference to Internal as follows analogReference(INTERNAL); and build a simple acquiring / converting routine double analogReadMv(uint8_t channel) { double analogValue = 0; for (uint8_t _sample = 0; _sample < _samples; _sample++) { analogValue += analogRead(vAdcPin[channel]); /* Sum measurements */ } analogValue /= _samples; […]
Part 1, 2, 3, 4, 5, 6, 7, 8, 9 It is possible to run the accelerometer “out of the box”, but the results will be difficult to use without some adjustments and interpretation. Here is a flow diagram of how the accelerometer can be used as a tilt sensor, or, in other words, how to convert the chip position versus gravitational force in […]
Part 1, 2, 3, 4, 5, 6, 7, 8, 9 Prior to writting any code, we must care about the interface to the Arduino Board. The output from the ADXL335 accelerometer depends on the strength of the acceleration force and may vary in a linear way between 0 and VSS. The mid point (VSS/2) corresponds to a “no force” condition. By default, Arduino analog […]
Part 1, 2, 3, 4, 5, 6, 7, 8, 9 Accelerometers are among the sensors that have experienced the greatest development in the ten past years. From automotive to gaming applications not talking about phones, they are included in many equipements. As a consequence of this massive use, their price is falling down to acceptable prices for the hobbyst! The choice of an accelerometer […]
Previous T&T Fed up setting parameters remotely to your Arduino based application? Why wouldn’t we use the built EEPROM space for storing data? Note: Read the reference pages before getting any further in order to understand the fundamentals about EEPROM. The EEPROM functions come from a library, so that the first thing to do is […]
Part 1, 2, 3, 4, 5, 6, 7, 8 And here is an example of use of the library /* PlainTEMP01_01.pde is an example of use of PlainTMP library, which reads temperatures from AD TMP03/04 and TMP05/06 sensors Copyright (C) 2010 Didier Longueville This program is free software: you can redistribute it and/or modify it under the terms of the […]
Arduinoos blog has been successfully updated to WordPress rev. 3.0.2!
A series of post dedicated to tilt sensing using a tri axis, low g accelerometer..