Interfacing Propeller with MATLAB
allan_melvin
Posts: 16
Dear all,
I have planned to use propeller for my project. I need to have wireless communication between my board and the laptop in two way communication. The sensors I want to use is connected to the propeller board and the sensor values are sent to laptop for processing with MATLAB. Then, the processed value have to be sent back to the propeller for display in LCD. Is there any chances of such a process to be carried out using the propeller? Kindly advice.
-Allan-
I have planned to use propeller for my project. I need to have wireless communication between my board and the laptop in two way communication. The sensors I want to use is connected to the propeller board and the sensor values are sent to laptop for processing with MATLAB. Then, the processed value have to be sent back to the propeller for display in LCD. Is there any chances of such a process to be carried out using the propeller? Kindly advice.
-Allan-
Comments
You can open a com port in MATLAB, look at the docs.
If you want to see schematics of the bluesmirf, and example projects, just buy·· Making things talk·· by· Tom Igoe,·· it is my favourite electronic book, plus, at page 114, you can see a picture of the Ybox, a propeller based project [noparse]:)[/noparse]
hope it helps...
There are many options for wireless data via the Propeller. Parallax.com has some devices and all should be supported in the Object Exchange if not via this Forum. I suggest you look at Parallax first. That said, there are a lot of wireless dongle/break-out type boards at the likes of SparkFun (Google it).
Perhaps you can be more specific about what you are trying to do: range, data rate, full vs. half-duplex, RF environment, on-and-on. The best way this Forum can support you is for you to tell us with as much detail as possible what you are trying to achieve.
As for MATLAB, that's something you're probably going to have to deal with separately unless someone has actually interfaces a PC with ANY wireless device. But there is a chance that there maybe someone here that has done that before. But this has nothing to do with the physical (and perhaps) link layer capabilities of MATLAB communicating with any device.
Best Regards, David
Post Edited (Drone) : 11/23/2009 3:40:35 PM GMT
Thank you for the useful information. My research is to detect the sound and vibration signals from the interior of the car using microphone and accelerometers. The sensors are controlled by the propeller. 3 microphones and 2 accelerometers are used. Once all the data from the 5 sensors are collected, the data will be sent to the Matlab via wireless communication for processing with neural networks. The neural network will give a index. The index value have to be returned to the propeller via wireless communication for display in LCD. These are the flow of the project.
The range of the transmission is within 10 to 50 meters, fast data transmission, full duplex.
Thank you.
-Allan-
Serial out from Matlab:
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f92576.html
Serial over bluetooth:
http://www.bluetooth.com/Bluetooth/Technology/Works/SPP.htm
Bluetooth to serial doohicky:
http://www.sparkfun.com/commerce/product_info.php?products_id=582
Thanks Fred, really enlightening , nice to know what is possible.
Graham