The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
A Netduino, an iPhone and a Bluetooth Low Energy Module
I'm thinking about extending the previous post on IR and putting the two together to get a multifunction remote control.
I have a little more work on the iOS framework to get a better understanding of the Bluetooth 4.0 libraries so that I can work with other modules. Perhaps get the iPhone talking to the PC.
I did try connecting to the AGENT emulator using a SerialPort but got no where. I could connect the iPhone to the BLEMini and then the BLEMini to an FTDI cable. This appeared on the PC as COM3. I verified that the iPhone application would talk to the PC using a console application and data was being sent through to the PC OK.
I then modified the AGENT emulator config to contain the following:
Hi Mark,
There used to be a bug in NETMF where the DataReceived event needed to be wired up _after_ the serial port was opened. We fixed that in Netduino, but I'm not sure if it's fixed in the emulator BSP. I'll check on that.
If you'd like to work through the emulator issue over on the AGENT forums, we'd be happy to diagnose. It would be cool to see all of these working together.
Chris
Now we just need an Internet -> Bluetooth passthrough of some sort so that the Netduino can do web requests/responses...
You mean like this (sorry it's blurry):
The first step is to connect to the iPhone and the Netduino using Bluetooth LE using the upper button. The lower button gets the weather from Yahoo and then sends a summary of the data to the Netduino Plus 2. The Netduino then displays the weather on the LCD screen.
The application running on the iPhone calls the Yahoo weather API to get the weather for York and Paris alternatively.