Connecting ADXL345 (wireless)
#1
Posted 23 February 2012 - 03:18 PM
So I'm asking here just to make sure:
Is there a possible way to connect the ADXL345 sensor with Netduino wirelessly?
...
One more thing .. since I am new on this and still I'm not an owner of a Netduino I am curious; can I power the Netduino from my PC using USB and at the same time let Netduino and PC communicate (send data such as ADXL345 inputs) using the same USB wire? Or am I talking gibberish?
The picture below made me confused
Can't I use the USB connected from Netduino and PC to send the data from the ADXL345 rather than having another USB wire as shown in the picture.
#2
Posted 23 February 2012 - 03:45 PM
- xikky likes this
#3
Posted 23 February 2012 - 03:54 PM
#4
Posted 23 February 2012 - 04:21 PM
I'm now getting a clear picture, thanks for your reply. My primary goal was to have an ADXL to send data wirelessy (and directly) to the intermediate subject - Netduino. But now I understand why this ain't possible and so I am concluding that I need 2 Netduino boards to make this functional.
Do you have any ideas and answers for me for my second question about the USB connection?
You cannot use the USB connection... The additional board you see there is a FTDI board connected to a serial port on the ND. This allows communication from your PC to the Netduino via serial communication.
- xikky likes this
#5
Posted 23 February 2012 - 04:47 PM
You cannot use the USB connection... The additional board you see there is a FTDI board connected to a serial port on the ND. This allows communication from your PC to the Netduino via serial communication.
sorry for my ignorance .. but what is the other USB wire used for then? Can you please describe me the difference between the two?
#6
Posted 23 February 2012 - 07:01 PM
sorry for my ignorance .. but what is the other USB wire used for then? Can you please describe me the difference between the two?
The one built onto the Netduino board is the default for software deployment to the Netduino as well as debugging using Visual Studio or MFDeploy. The one that is added on with the FTDI card is for serial communication however using the modified MFDeploy that allows you to switch the debug port, you can then deploy and debug via serial (the FTDI card).
- xikky likes this
#8
Posted 24 February 2012 - 06:55 PM
- xikky likes this
#9
Posted 24 February 2012 - 09:05 PM
As to my previous question about connecting ADXL345 with Netduino wireless, I found this project which seems that they managed to make this happen. see this link: My link
I don't understand what is mbed, and code seems not in C# :S
On that project there are 2 "parts":
-rover with mbed+xbee+power wires
-controller with mbed+adx345+xbee+power wires
Now, what I think you are trying to accomplish is:
-take measurements using adxl345+wireless transmitter+battery powered
-netduino receives data and sends it to computer=>netduino+wireless receiver+usb powered
Since the adxl345 talks SPI and I2C, you will need a microcontroller to interface it with your transmitter OR a transmitter with that functionality built in. Popular wireless transmitter(transceivers actually) are the xbee and the nrf24 devices from Nordic. In fact Nordic has some SoCs that already contain a programmable 8051 microcontroller.
On netduino's side, you will use the corresponding receiver and you can have it transmitting data to your pc via virtual serial port and powered using a 5V FTDI cable. Note that you will still need Netduino's built in usb connector for debugging and deployment using this approach.
I hope to have cleared some of your questions.
- xikky likes this
#10
Posted 25 February 2012 - 07:56 AM
On that project there are 2 "parts":
-rover with mbed+xbee+power wires
-controller with mbed+adx345+xbee+power wires
Now, what I think you are trying to accomplish is:
-take measurements using adxl345+wireless transmitter+battery powered
-netduino receives data and sends it to computer=>netduino+wireless receiver+usb powered
Since the adxl345 talks SPI and I2C, you will need a microcontroller to interface it with your transmitter OR a transmitter with that functionality built in. Popular wireless transmitter(transceivers actually) are the xbee and the nrf24 devices from Nordic. In fact Nordic has some SoCs that already contain a programmable 8051 microcontroller.
On netduino's side, you will use the corresponding receiver and you can have it transmitting data to your pc via virtual serial port and powered using a 5V FTDI cable. Note that you will still need Netduino's built in usb connector for debugging and deployment using this approach.
I hope to have cleared some of your questions.
thanks for the answer! i can see the horizon someway better now
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users