Iphone for PIC microcontroller control

I am interested in writing an application that sends messages via an IP address (using 3g, not necessarily on the same WiFi network as the receiving side) to a PIC microcontroller connected to the router (via ethernet or wifi).

I saw several descriptions and examples of how to send messages on one network, not sure if just providing a different IP address, it will work outside the network. I was wondering how it can be obtained by PIC (I still have not decided which PIC depends on the ability to do this) and, in turn, depends on the received msg, the PIC will perform an action, for example, a certain LED in the LED matrix lights up.

I have a sending side (an application sending over IP) and a receiving side (PIC that lights up with LEDs) I'm just not quite sure what to send, or if such a "transfer" is even possible.

I searched on the Internet, but could not find anything like it except a ready-made kit (for example, for cars with RC) Thank you. Carmel

+3
source share
3 answers

Here's the UDP library I created for Mac / iOS, wrapped in a simple Cocoa that sends UDP packets to the IP address of your choice. Comes with a sample client application.

These are common UDP packets, so you just need to listen to them on the other end (regardless of what is on this platform) and read the contents. Let me know if you need help with this.

https://github.com/Shein/Mac-UDP-Client-Server

+1

, PIC TCP , , UDP, , . IP- iPhone , .

PIC , . , XML/SOAP

+1

http://electronics.stackexchange.com.

SPI, Microchip MRF24WB0MA/RM, PIC ( AdHoc, AdHoc).

If you use the MCC compiler, then you also have a library available for this module in Microchip Application Libraries .

The TCP stack takes up some memory space. PIC18F will do, but you will be better off with PIC24F (they are usually cheaper than 18F).

+1
source

All Articles