Hi guys,
I'm trying to build a wireless accelerometer. I think I have everything I need:
-Arduino Uno
-Adafruit battery shield+battery
-Adafruit accelerometer ADXL335
-hc-05 - bluetooth unit.
I don't understand how to connect both the accelerometer and the bluetooth unit at the same time and how to send data from the arduino to my mac through the bluetooth and not from the USB.
Thank you for your help!
What exactly are you having trouble with? The ADXL335 accelerometer can use the Arduino's analog pins and the bluetooth module needs the tx and rx pins. The voltage should be 3.3V for the accelerometer and 5V for the bluetooth module.
**Dont forget to crosswire the tx and rx pins between the arduino and bluetooth module, otherwise it will not work correctly.
As far as sending the data to your MAC, it should be simple enough to use a terminal program like Putty or RealTerm to talk to the module. However, the onboard bluetooth module in your MAC may not work with the HC-05 bluetooth module, so you may need to use an external bluetooth USB dongle.
Hi,
Google is your friend, there a quite a few tutorials on how to connect BT and your accelerometer.
google arduino bluetooth ADXL335
Tom..... 
Hi Tom,
thanks for your replay.
I understand what you're saying and how it should be connected. it just I don't know how to write the code. :\
Can you send the data to a serial monitor with bluetooth disconnected?
If yes, disconnect serial monitor, connect bluetooth to pins 0,1 and away you go. If that doesn't work, the problem is at the Mac end.