Smartphones and PICs


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2004
    Posts
    46

    Default Smartphones and PICs

    Most smart phones such as the iPhone and Blackberry phones, have wifi built into them. Is there any way to wirelessly transmit information to the smartphone from the PIC using some sort of zigbee or wifi interface? Once the data is in the smartphone then it can be sent up to the internet. Any comments or pointers in such a direction would be most helpful.

    Kind Regards
    Eric

  2. #2
    Join Date
    Feb 2010
    Location
    USA, New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default

    I've only worked with Palm and Windows Mobile phones, but I've found it quite simple to use the Bluetooth serial port profile in the smartphone side. For the PIC I use a model with a USART (18F1330 mostly) and a BT-to-serial module. I looked at WiFi but it seemed too power hungry. That was several years ago so the technology might have changed/improved.

    I'll be curious to know what you finally decide to go with.

    Best Regards,
    Paul

  3. #3
    Join Date
    Oct 2004
    Posts
    46


    Did you find this post helpful? Yes | No

    Default Think I found something

    Paul,
    There is a company called Connect 1 which makes a serial-WiFi device. It does take 200mA at 3V. The link is:

    http://www.connectone.com/products.asp?did=73&pid=98

    I'm going to give them a call on Monday.

    The link below makes a device for connecting to your car's computer wirelessly via an iphone. pretty cool. It certainly can be done.

    http://www.plxkiwi.com/kiwiwifi/hardware.html

    Eric

  4. #4
    Join Date
    Feb 2010
    Location
    USA, New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default

    Thank you Eric, that serial-to-WiFi does look interesting. I didn't see a price so it must be expensive. 8^)

    200mA though...almost everything I do runs on batteries so that would kill two "AA" cells in 10 hours.

    The link for the BT module I use is:

    Parani-ESD200

    It states something like 30mA for class 2 at 9600 baud. I think I'm getting slightly better than this with careful configuration of the ESD200.

    Best Regards,
    Paul

  5. #5
    Join Date
    Oct 2004
    Posts
    46


    Did you find this post helpful? Yes | No

    Default

    Paul,
    As I think about it, the bluetooth does seem to be the way to go. My ITouch has bluetooth as well as my Blackberry. What is the range that you get with your bluetooth set up and if I may inquire, what PIC do you use?
    Eric

  6. #6
    Join Date
    Oct 2004
    Posts
    46


    Did you find this post helpful? Yes | No

    Default

    What's the difference between the ESD100 and the ESD200. It says one is Class 1 and one is Class 2 but I don't really know what that means.
    Eric

  7. #7
    Join Date
    Feb 2010
    Location
    USA, New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default

    Hello Eric,

    Class 2 = low power, range ~30 meters if you have a clear line-of-sight. Way less if not line-of-sight. Since I figure a person has the PDA in one hand and the device in the other, 2 or 3 meters really is enough and real-world world conditions we expect about 10 or 15 meters. That translates to one or two rooms over in a building.

    Class 1 = high power, nominal range 100 meters. I've used this for one application (total of only eight units) where lots of power was available (from vehicles). Now, I've never seen a PDA with anything other than Class 2 built in. Using a Class 1 BT chip doesn't really make things much better because of the limitations imposed by the Class 2 in the PDA. With that said, when able to control both sides of the BT chain, a pair of Class 2 modules with very good antennae, in an outdoor desert environment, can easily go hundreds upon hundreds of meters at 115,200 baud. I haven't had the opportunity to measure it out but I don't doubt the advertised 1,000 meters (again, under the right conditions).

    Mostly, the PICs used are the 18F1330, but I've also done BT with the 16F877 and 18F452. Use a PIC with a USART. Use HSEROUT and HSERIN. Beyond that it is really not much different than using wired RS232.

    Best Regards,
    Paul

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts