Shop OBEX P1 Docs P2 Docs Learn Events
TellMe Wearable™ — Parallax Forums

TellMe Wearable™

MacTuxLinMacTuxLin Posts: 821
edited 2013-11-21 21:01 in General Discussion
My latest design & first wearable device. Propeller as tester & for configuration. Suppose to be as programmer too but couldn't get it to work, dunno why...

[video=youtube_share;WpEy9a2XPWc]

Comments

  • SRLMSRLM Posts: 5,045
    edited 2013-11-17 17:36
    Hey, that's pretty cool. I've been working on integrating Android and a Propeller over Bluetooth as well. Care to share any technical specs? Language, hardware, PCB picture?
  • MacTuxLinMacTuxLin Posts: 821
    edited 2013-11-18 08:33
    Thanks. Yes, it is very plausible to use the Prop. Initially, that was what I did but the problem was, the cost just started to add up very quickly. So, I had to find an alternative & tiny was 1/8 the cost of a Prop+EEPROM solution...

    Anyway, on the Android side, I use Eclipse so Java. PCB ... sure you could figure that out :lol:
  • jazzedjazzed Posts: 11,803
    edited 2013-11-18 09:05
    I truly like this idea.

    Does it work well with iPhone or Android ?

    When, where, and how can I get one?
  • ercoerco Posts: 20,256
    edited 2013-11-18 09:34
    Cool product, Kenichi. And Happy Birthday!
  • MacTuxLinMacTuxLin Posts: 821
    edited 2013-11-18 09:35
    Thanks again Steve! :smile:

    The Android version will be the first to release & on sale within these 2 days on my web-site. It'll probably take me another month or so for the iOS version to be ready.

    Cheers.
  • MacTuxLinMacTuxLin Posts: 821
    edited 2013-11-18 09:35
    Thanks (x2) Erco.
  • SRLMSRLM Posts: 5,045
    edited 2013-11-20 12:46
    Here's a question: I noticed that in the video there is a "Bluetooth connection lost" type message. I couldn't find anything in the Android docs that would give that information, and my tests indicate that a connection isn't indicated as disconnected even when the devices are out of range. The only way around this that I could see is a "ping" type system where Android pings the connected device, and if no response assumes a lost connection. Is this what you did?
  • vanmunchvanmunch Posts: 568
    edited 2013-11-20 16:44
    Wow, that's really impressive!
  • MacTuxLinMacTuxLin Posts: 821
    edited 2013-11-21 07:19
    SRLM wrote: »
    Here's a question: I noticed that in the video there is a "Bluetooth connection lost" type message. I couldn't find anything in the Android docs...

    Look at BluetoothSocket.
  • MacTuxLinMacTuxLin Posts: 821
    edited 2013-11-21 07:21
    vanmunch wrote: »
    Wow, that's really impressive!

    Thanks. I'm adding another round of features on social networking app notifications (Twitters, FB msg, Whatsapp) before moving on to iOS development.
  • SRLMSRLM Posts: 5,045
    edited 2013-11-21 11:20
    MacTuxLin wrote: »
    Look at BluetoothSocket.

    The "isConnected()" method? I've looked at it before. I've done some tests where I've moved the Bluetooth devices out of range, and the connection didn't disconnect but it stopped receiving data. My guess is that the isConnected() method returns true not when there is an actual device at the other end, but when you've successfully "connect()"ed. Anyway, that's what I think I noticed a few months back. I take it you're using isConnected()? I may have to revisit my tests for that.
  • MacTuxLinMacTuxLin Posts: 821
    edited 2013-11-21 17:09
    Hur? Communications are blocking functions so must be threaded & use BroadcastReceivers to catch the status.
  • SRLMSRLM Posts: 5,045
    edited 2013-11-21 21:01
    MacTuxLin wrote: »
    Hur? Communications are blocking functions so must be threaded & use BroadcastReceivers to catch the status.

    I put the Bluetooth into a separate thread, but not a separate activity or service. From there, I get the BluetoothSocket of the connection and share that around. The short of my experiment was that isConnected() reflected the sequence of instructions on the Android device, not the actual Bluetooth link.
Sign In or Register to comment.