Forums » Support

Back To Topics

SBrick Android App

    • 2 posts
    December 23, 2014 8:17 PM CET
    Hello, i have xperia Z, i can connect, and it works but my sbricks led not lit jusy blinks once
    • 9 posts
    December 23, 2014 8:14 PM CET

    [blockquote]Jorge Pereira said:

    Happened at least once with me. Try to disable BT on the Android and power off the SBrick and on again to release all BT connections, then enable BT again. Killing the SBrick App also doesn't hurt :)

    v0.0.20 has just appeared at Google App, please update if you can.

    The LED should stay lit right after connecting power to the SBrick, even without BT connections. After some minutes, the SBrick will "reduce it's presence" and I think the LED be off and just blink once in a while [not sure] - but it will still appear to BT client devices when scanning for BT LE devices.

    [/blockquote]

    Nope - the LED just blinks once on both of my S bricks (changed BB and batteries) nothing...

    I tried again several times your proposed protocol - no success so far... Can anyone at least confirm that Sony Xperia is or is not BLE compatible?

    • 87 posts
    December 23, 2014 7:42 PM CET

    Happened at least once with me. Try to disable BT on the Android and power off the SBrick and on again to release all BT connections, then enable BT again. Killing the SBrick App also doesn't hurt :)

    v0.0.20 has just appeared at Google App, please update if you can.

    The LED should stay lit right after connecting power to the SBrick, even without BT connections. After some minutes, the SBrick will "reduce it's presence" and I think the LED be off and just blink once in a while [not sure] - but it will still appear to BT client devices when scanning for BT LE devices.


    This post was edited by Jorge Pereira at December 23, 2014 7:42 PM CET
    • 9 posts
    December 23, 2014 7:11 PM CET

    [blockquote]Zoltan Tuskes said:

    Hi

    Few question and i try help to you?

    - Your battery have two ON position? (well three: ON Off ON)? If yes then try the the other way on and restart the application. Because sometimes just one way working normally.

    - I know stupid question but: the battery full charged or all AA battery ok? :) In my Battery inside 6 AA battery and if one of them bad then the SBrick not get enough energy for discovering..

    thx Zoltan

    [/blockquote]

    I have tried both positions on AA battery box - batteries are fresh, also tried with the AAA battery box - all the same - no success.

    My mobile devices see the SBrick, but now they wont even pair  with the SBrick. Previously they did. Now I tried all over again - I erased the SBrick from paired devices list, and now they won't even pair. When I click on the SBrick to start pairing it only lasts for a second and then nothing happens anymore...

    I hope you have some more Ideas :)

    What about hte LED light - should it stay lit or should it just blink once like mine?

    Thx, miha

    EDIT:

    Something new occurred - now my phone displays me a message, that it cannot connect to the SBrick, so that happened for the first time. I checked again online - XPERIA SP support Bluetooth 4.0 so there should be no problem with pairing.

    THX in advance for you assistance.


    This post was edited by Majkl Spajkl at December 23, 2014 7:39 PM CET
    • 3 posts
    December 23, 2014 5:52 PM CET

    Hi

    Few question and i try help to you?

    - Your battery have two ON position? (well three: ON Off ON)? If yes then try the the other way on and restart the application. Because sometimes just one way working normally.

    - I know stupid question but: the battery full charged or all AA battery ok? :) In my Battery inside 6 AA battery and if one of them bad then the SBrick not get enough energy for discovering..

    thx Zoltan

     

    [blockquote]Majkl Spajkl said:

    Hi I just received my two SBrick today.

    I tried to connect them to my phone and my tablet. They pair up ok, but when in SBrick application, the #Discovering Sbricks"  sign goes on forever

    Also, it says in the quick setup paper, that the LED light should light up, when it's connected to power source. Both of mine just blink once - is that what is it supposed to be, or is something wrong.

    About my mobile devices - I have Sony Xperia SP mobile phone running Android 4.3 and LG G-Tab running Android 4.4.2

    I couldn't find any actual data that they do or don't support BLE.

    Thanks for your answer.
    Best regards, miha

    [/blockquote]

    • 138 posts
    December 23, 2014 5:35 PM CET

    [blockquote]Jorge Pereira said:

    0.0.16, Sony Xperia Z1, Android 4.4.4

    First run, Manage bricks now shows my SBrick (previously nothing showed up). 3 actions available (Identify led, Port tester and OTA):

    Identify led (does nothing)

    Port tester shows 4 horizontal slides (A, B, C, D) and 4 buttons (reset A, reset B, reset C, reset D) like when editing My linked Sbricks

    but slides seem wrong:
     slide A controls port C
     slide B OK
     slide C controls D
     slide D does nothing but perhaps controls A (A is one of the ports I had problems since the beginning in my python tests)


    OTA: " function available soon"

    This was first run. Next runs and Manage bricks show nothing again. Don't wanto to clear all aplication data again to see if it works again.

    Edit: Powering off the SBrick and turning it on again seems to bring it again so perhaps it has something to do with BLE session.

     

    I now have "Joystick" profile. It gives two controls: Steering and Acceleration. With a motor on A and mapping Steering to A i can control the motor with the position of the phone (there is also a enable button on the display, On/Off, so this control works only when On).

    At the Linked Sbricks, SBrick channels still wrong: B and C are switched, A and D are OK. Strange because in "Manage bricks" B it's OK. More strange: A is working !? What a mess!
    And if tap the arrow it shows "SBrick Port tester", the same 4 slides and 4 reset buttons as above

     

    "Steering wheel 1" and "Steering wheel 2" profiles seem the same as "Joystick": two vailable controls (Steering and Acceleration) and one On/Off button on the display whem running, the only difference seems the location: sw1 in one corner of the display and sw2 in other corner.

     

    [/blockquote]

    Hi Jorge!

    We fixed the port issue in 0.20. Just pushed to google play!

     

     

    • 138 posts
    December 23, 2014 5:25 PM CET

    @Zoltan Tüskés Please help to Majkl in this problem!

    • 9 posts
    December 23, 2014 4:33 PM CET

    Hi I just received my two SBrick today.

    I tried to connect them to my phone and my tablet. They pair up ok, but when in SBrick application, the #Discovering Sbricks"  sign goes on forever

    Also, it says in the quick setup paper, that the LED light should light up, when it's connected to power source. Both of mine just blink once - is that what is it supposed to be, or is something wrong.

    About my mobile devices - I have Sony Xperia SP mobile phone running Android 4.3 and LG G-Tab running Android 4.4.2

    I couldn't find any actual data that they do or don't support BLE.

    Thanks for your answer.
    Best regards, miha

    • 95 posts
    December 23, 2014 4:19 PM CET

    With the new version 0.0.19 I can not add a new set (I just have add a new moc)

     

    • 21 posts
    December 23, 2014 4:18 PM CET

    Hello!
    I have a Samsung s3 gt i9300 (android 4.3).
    Unable to find sbrick - "discovering sbricks" and nothing more.
    I have tried several different bricks.

    Reinstalling the program's nothing changed. 


    This post was edited by Maxim Baybakov at December 23, 2014 4:19 PM CET
    • 57 posts
    December 22, 2014 10:28 PM CET

    Version 0.19
    Samsung Galaxy Pro 12.2
    Android 4.4.2

    Taking some scenes for a video this morning and tested latest version. Found (at least in my case) that Android app has serious problems to control 2 SBricks.
    Only managed to control properly one of them. For some reason, just one or the other works properly. When trying to use motors attached to the second SBrick, they kind of whistle and do not run.

    Ports are still wrongly mapped.
    Port inversion works on port test, but do not with profiles.
    Many problems handling profiles and frequent crashes.
    Had difficulties to add second SBrick, so decided to uninstal/install app again. Then it was possible to add 2nd SBrick and keep it after save.
    Also experienced occasional problems like Sariel, where some controls disappeard from profiles.

    The android version is still quite immature. So I ended shooting some scenes with iPhone app.


    Also something that should be easy and fast to implement. Display the app version somewhere from the home menu.
    Just to make sure we easily know the version we are actually using.

    • 3 posts
    December 22, 2014 3:38 PM CET

    Thank you for your report. We resolved of the port positions and soon release the new version (020).

    Thank you

     

    [blockquote]Istvan Barada said: Hello, I have installed. The B output is port C. The inverter still not working for me. Sometimes very slow response, specially at high Rpm[/blockquote]

    • 2 posts
    December 22, 2014 9:07 AM CET
    Hello,
    I have installed. The B output is port C. The inverter still not working for me. Sometimes very slow response, specially at high Rpm
    • 87 posts
    December 22, 2014 2:50 AM CET

    v0.19

    Identify LED works now.

    No further tests  because my beta SBrick is burried inside my Nativity scene's carriage, just using channel B which was and still is fine.

    • 138 posts
    December 22, 2014 1:03 AM CET

    We are pushed the next alpha version from the app. You can download the v0.19 from the Google Play.

    • 95 posts
    December 21, 2014 4:19 PM CET

    Like Christian says the app need a search function.

     

    Regards,

     

    Frederic


    This post was edited by Frederic Ayrault at December 21, 2014 4:21 PM CET
  • December 14, 2014 11:24 AM CET

    From my first trials with the Android app, the "add Set" function is FUBAR. It starts with a bunch of sets from 1965, and once you found that you have to choose the year from the top right menu, you get a fat selection of all sets in 2014: Duplo, Friends, Valentine promotion, whatever. Somewhere in this armlong list there are the five or six sets that might make sense to use with an SBrick application. You can't search by set number, and you are drowned in an ocoean of sets that even with a mother lode of fantasy nobody will ever consider to equip with an SBrick.

    Come on, guys, whatever set selector you chose here - it definitely was the wrong choice for this project. Why don't you just list the sets that actually HAVE power function items? We're talking of a small subset - A handful of technic models and the train sets. And make it searchable by keyword and number - The year it was issued is a complete trainwreck when it comes to selection criteria. I either have to dig through a few years of sets, or look up the year of issue on BL first.

    I sincerely hope that by the time the SBrick will be available you also will have a usable App.

    Will you provide documentation on the SBrick communication protocol? Or maybe provide a usable, documented API? So far, I haven't written an Android application before, but with the cuttent state of the app I'm tempted to start one.

    Leg bedre,

    Christian

    • 26 posts
    December 14, 2014 3:46 AM CET

    That gives me an idea:

    Maybe the sBrick team can integrate BLE support for android phones and tablets that are on 4.2.2 or lower but have bluetooth 4.0. I think that it should work if it works with external bluetooth 4.0 sticks.

  • December 13, 2014 10:56 PM CET

    Thanks for your help! I'll try Lenovo first, and hope there're no dirty cheap options. :)

    • 87 posts
    December 13, 2014 10:22 PM CET

    BT 4.0 includes Low Energy (BLE), see http://en.wikipedia.org/wiki/Bluetooth#Bluetooth_v4.0

    That's why if your phone has BT4.0 it probably has BLE (unless the vendor made some dirty cheap options, but yours is a Samsung so I doubt it).

    But Google only included support for the BLE part with Android 4.3, that's why you have BT working but only like BT 2.x or BT 3.x. So if you can upgrade to Android 4.3 or even better 4.4 then you will get full BT 4.0 (meaning also BLE) withou loosing anything. You said your phone is rooted so you have more upgrade options.

    The gateway option in another topic with USB OTG will work...but only when Vengit includes support for it in the SBrick App for Android... and they're still at 0.0.16, an alpha version. So if you want SBrick with your S2+ in a few weeks your only option is the upgrade.

  • December 13, 2014 9:56 PM CET

    S2+ already has 4.0. Maybe I can flash 4.3 or 4.4 custom fw on it, but BLE is not backward compatible, is it? So I'm not helped with Android 4.4 and BT 4.0, if BT chip in phone doesn't support BLE itself...

    What about bluegiga ble112 dongle and android app, mentioned in another topic? I already have USB OTG and rooted phone. :)

    • 87 posts
    December 13, 2014 9:43 PM CET

    Well, here it says it has BT 4.0

    http://www.gsmarena.com/lenovo_a536-6674.php

    But you know, don't trust everything you read on the net.

  • December 13, 2014 9:32 PM CET

    Hi Jorge,

    I have Samsung Galaxy S II Plus, the last firmware is 4.2.2, no chance to get 4.3. When I ordered the SBrick, I read a lot after the phone, and it seemed it has 4.0 LE, but only today tried to download the app.

    I planned to buy a cheap Lenovo A536 with android 4.4, but I don't think it has 4.0 LE.

     

    • 87 posts
    December 13, 2014 9:24 PM CET

    Hi.

    If your phone has BT4.0 most probably has LE also, just missing Android support... what's your Android version? 4.3 (or above) has BLE support so if your phone is 4.2 you «just» need to upgrade (easier to say than to do).

  • December 13, 2014 9:17 PM CET

    Hello all Developers!

    I ordered an SBrick in july, I'm an early adopter. Today I got the message that I will receive my brick in days/weeks. Hurray!

    So I thought I have to try out the android app in time, for no surprise.

    I recognized that my phone has BT4.0 but no LE. I can't buy other phone because of the lego remote controll function, so what next?

     

    thx Laci