Archive for December 2010

Greetings

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

Tilt sensor (Part 4)

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

Tilt Sensor (Part 3)

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

Tilt sensor (Part 2)

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

Tilt sensor (Part 1)

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

Tips and Tricks (8)

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

Measuring temperatures with TMP03/04 (Part 5)

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

Successful update!

Arduinoos blog has been successfully updated to WordPress rev. 3.0.2!

Coming soon!

A series of post dedicated to tilt sensing using a tri axis, low g accelerometer..