Forums » Support

Back To Topics

Technical questions

    • 8 posts
    December 23, 2014 2:00 PM CET

    [blockquote]Lénárd Pásztor said:

    Yes, it is ok with the your firmware version, so the SBrick boots up. I'll ask the developers how can I debug it remotely. We tested with iPod Touch and not faced this problem.

    I'll come back you soon.

    [/blockquote]

    Now it suddenly works. Will continue to monitor. I tried with horizon express and had the same issue as Jakob (https://social.sbrick.com/forums/topic/51/port-test-100-turn-off).

    • 224 posts
    December 23, 2014 1:51 PM CET

    Yes, it is ok with the your firmware version, so the SBrick boots up. I'll ask the developers how can I debug it remotely. We tested with iPod Touch and not faced this problem.

    I'll come back you soon.

    • 8 posts
    December 23, 2014 1:46 PM CET

    [blockquote]Lénárd Pásztor said:

    Strange. Please try restart your iPod Touch, and try again. I think it will be a problem in the iOS bluetooth stack. Please tell the results.

    [/blockquote]

     

    no change. I also updated to 8.1.2 and restarted.

    is that normal that the green LED only flashes up once after turning power on?

     

    update: ok, now I have a connection. Strange. But seem to work now.


    This post was edited by Jerome Egli at December 23, 2014 1:51 PM CET
    • 224 posts
    December 23, 2014 1:40 PM CET

    Strange. Please try restart your iPod Touch, and try again. I think it will be a problem in the iOS bluetooth stack. Please tell the results.

    • 8 posts
    December 23, 2014 1:36 PM CET

    Hi all

    How can I connect to SBrick?

    I just received 2 SBrick but I can't connect to any. I used an iPod Touch with Bluetooth 4.0 and iOS 8.1.

     

    When I connect SBrick to a power source and turn on the power I can see flashing a green LED once and shortly on the SBrick.

    In the SBrick app under manage bricks i can see three times "SBrick" (but I have only two). If I try "Identify led" or port tester, nothing happens (connecting to bricks > lost connection).

    What can I do?

    Regards, Jerome

     

    • 169 posts
    December 8, 2014 2:13 PM CET

    Oh, I see.

    The BlueGiga company manufactures a number of devices. Their main profile are electronic modules that can be used by electronic developers.

    They indeed have a dongle called "BLED112" which plugs into the USB port. This dongle can "speak" BLE, and looks like and USD serial port device from within the computer.

    This however won't solve any problem by itself, since it's a development tool, and it's not really for end users.

    ( ( ( Curious fact: we use BlueGiga's BLE113 module inside SBrick ;) ) ) )

    • 17 posts
    December 8, 2014 1:33 PM CET

    Currently WeDo needs a cumbersome wire connection to the PC. I thought I read somewhere Bluegiga plugs into the USB port for wireless connection? I don't know much about SBrick yet but perhaps if SBrick already can connect wirelessly via Bluetooth such stuff not necessary?

    Apologies if I sound ignorant.

    • 169 posts
    December 8, 2014 11:45 AM CET

    Hello Peter,

    no, SBrick doesn't support WeDo, and the current hardware is not suitable for this task.

    Why did you mention BlueGiga? I don't undarstand your last question, can you rephrase it? Thank you!

    • 17 posts
    December 7, 2014 8:55 AM CET
    • 17 posts
    December 7, 2014 8:35 AM CET

    I posted a new thread in the Support forum but perhaps that should have been posted here instead?

    https://social.sbrick.com/forums/topic/43/lego-we-do-robotic-set-for-younger-children

    The Lego WeDo uses the Lego Power Function motor and a wired USB connection to the desktop loaded with Lego WeDo software or the MIT Scratch software. The WeDo hub need to be connected to the computer with a wire to the computer USB hub.

    Will Sbrick work with Lego WeDo? Anyone working on this or anyone have any information on how this may be achieved?

     


    This post was edited by PETER CHEN at December 7, 2014 9:00 AM CET
    • 169 posts
    December 1, 2014 4:39 PM CET

    All profiles can (shold be able to) do that.

    You can add more than one SBrick to a model, and assign function to any number of channel on any brick.

    • 5 posts
    December 1, 2014 4:36 PM CET
    Are there any profiles that allow me to control two SBricks from the same device.
    • 169 posts
    October 30, 2014 11:13 PM CET

    Thank you Jorge, it does look promising, despite that problem.

    I've managed to get my hands on a "proper" BLE dongle that works with bluez. I can do tests with my desktop AND my RPi too.

    • 87 posts
    October 30, 2014 10:12 PM CET

    [blockquote]Jorge Pereira said:

    Tested it at last, it works on Ubuntu:

    ._writeCmd("wr 0x0025 010200FF")

    I'll give more details later.

    [/blockquote]

     

    Argh! Forget it!

    I can send ONE command, just that. So motor keeps spinning for a second, no response to BREAK or COAST.

    Have to investigate more.

    • 87 posts
    October 30, 2014 7:41 PM CET

    [blockquote]Tamás Fábián said:

    This looks promising: https://github.com/IanHarvey/bluepy

    Can you test it please? Unfortunately I don't have any linux running BLE device with python right now (workgin on it ;) ).

    [/blockquote]

     

    Tested it at last, it works on Ubuntu:

    ._writeCmd("wr 0x0025 010200FF")

    I'll give more details later.

    • 169 posts
    October 28, 2014 4:37 PM CET

    Hi! The app will be released to the general public in November.

    Beta testers can ask for access NOW. :)

    The profile designer will be available as a web appication, it's much easiear to drag graphical elements around on the desktop. :) It will be available in December.


    This post was edited by Tamás Fábián at October 28, 2014 4:40 PM CET
    • 5 posts
    October 28, 2014 5:15 AM CET

    [blockquote]Tamás Fábián said:

    [blockquote]Ian Power said:

    Hi Jorge,

    Thanks for the reply. I would be happy enough to have it use the iPhone as a "forwarder" to the SBrick... There are a few gamepad style controllers available (Logitech for example). But I'm guessing the SBrick software on the phone would need to accomodate input from these controllers somehow. Is this a feature that is being considered? If not, it would be great to add to the list of "future features".

    [/blockquote]

    Hi Ian, we're considering this, it would be really cool. This won't be in the first app release though. Once we shipped the first few thousand of bricks, dealt with the first bug reports we can start working on the "feature queue". :)

    [/blockquote]

     

    Excellent news Tamas! Pleased to hear it's on the list. Is there any word on when the iOS app will be released so we can start designing profiles for our SBricks?

     

    • 169 posts
    October 27, 2014 12:11 PM CET

    Yes, unfortunately BLE is not very well penetrated the open source libs and languages yet.

    I'll take a look at PyBlueZ too, since IanHarvey's solution is using bluez too, it might be easier to write a patch to a well established library than poking around in a higly experimental one.

    • 87 posts
    October 27, 2014 11:44 AM CET

    Thanks.

    It would be great if you get/create something "universal" - Linux, Android, OSX, iOS and even Windows.

    My trick (calling gatttool) only works in Linux, perhaps also in Android. And there is no such thing as initialization of the device, persistence of the session, etc... Its good for fast demos but on the long run it's uselless for non-geeks.

    By the way... after just 4 or 5 days of these tricks, my wife and kids are enthusiastic with my beta SBrick, I guess Santa will have to bring some Power Function Motors :D

    • 169 posts
    October 27, 2014 11:41 AM CET

    [blockquote]Ian Power said:

    Hi Jorge,

    Thanks for the reply. I would be happy enough to have it use the iPhone as a "forwarder" to the SBrick... There are a few gamepad style controllers available (Logitech for example). But I'm guessing the SBrick software on the phone would need to accomodate input from these controllers somehow. Is this a feature that is being considered? If not, it would be great to add to the list of "future features".

    [/blockquote]

    Hi Ian, we're considering this, it would be really cool. This won't be in the first app release though. Once we shipped the first few thousand of bricks, dealt with the first bug reports we can start working on the "feature queue". :)

    • 169 posts
    October 27, 2014 11:38 AM CET

    This looks promising: https://github.com/IanHarvey/bluepy

    Can you test it please? Unfortunately I don't have any linux running BLE device with python right now (workgin on it ;) ).

    • 169 posts
    October 27, 2014 11:30 AM CET

    I have a python lib for BlueGiga BLED112 dongles, but that probably isn't what you want. I'm gonna check out the interwebs if there's something useful for us.

    We can always start a github repo for that ;)

    • 87 posts
    October 27, 2014 11:15 AM CET

    I believe the response could be even better.

    I'm using python but I still haven't found a solid python library for BLE, just some hacks. So I'm calling a OS command (gatttool from BlueZ stack), very clumsy.

    I think that with a native python command it will be much better (and easier to extend). Or changing to a compiled languagem like C but I'm confortable with python, started using it with Raspberry Pi and found that most of my scripts work well with Mindstorms EV3 running ev3dev and my laptop running Ubuntu [and as there are LOTS of people using python with Raspberry Pi, it's easy to find working scripts to copy and adapt].

    • 5 posts
    October 27, 2014 2:50 AM CET

    That's great! The response seems very quick too. Nice work. Hurry up and ship these things, Vengit!!! :D :D

    Thanks Jorge :)

    • 87 posts
    October 27, 2014 2:40 AM CET

    I'm not aware of Vengit's roadmap but as I believe this would be a very interesting and also requested feature it might soon be considered.

    In the meanwhile... my Ubuntu laptop works very well as forwarder ;)

    (if I just could put the damn video here!)

    https://www.youtube.com/watch?feature=player_embedded&v=Cm3eSMVfjKA


    This post was edited by Jorge Pereira at October 27, 2014 2:48 AM CET