10 years, 8 months ago.

how can connect camara to lpc11u24?

Elmicro Computer wrote:

Hi Tanja,

the ADXL345 delivers its axis values using digital interfaces (SPI or I²C). The ADXL335 offers three analog values which can easily be sampled by using the mbeds analog inputs. It operates at 3,3V.

So just connect the breakout board (you have the Sparkfun board, I assume?) to VOUT, GND and then A1/2/3 each to an analogue input. Use the AnalogIn function of the mbed library.

Start by periodically outputting the three axis' values via printf through the virtual serial port (use e.g. the freeware "HTERM" for displaying the output on your PC).

Happy developing! Stefan.

Question relating to:

Be the first to answer this question.