Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 4 months ago.
how can connect camara to lpc11u24?
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.