Forums » Support

Back To Topics

Technical questions

    • 159 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 ;) ).

    • 159 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
    • 5 posts
    October 27, 2014 1:19 AM CET

    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".

    • 87 posts
    October 26, 2014 12:58 PM CET

    [blockquote]Ian Power said:

    Hi, I have a question - will the SBrick be able to be controlled with an external controller? It would be great to be able to control our models with an xbox style gaming controller either via the iPhone/Android or directly with the SBrick via Bluetooth (somehow you can program the SBrick using your phone and send the config to the SBrick)?

    [/blockquote]

     

    It is possible but don't know if as straight as you want.

    I can already use a Playstation-like gamepad connected to my laptop (or my Raspberry Pi or my LEGO Mindstorms EV3, as long as it runs Linux and has a recent release of BlueZ) to generate input to a program that talks with the SBrick so it will be possible to do the same with iPhone/Android as long as the phone/tablet have some kind of support for the gamepad.

    But making a gamepad talk directly to the SBrick is another thing, I don't know if the internal chipset (essencially a 8051 clone with BLE extensions) has enough resources for that. Tamás might give you more details.

    • 5 posts
    October 23, 2014 5:30 AM CEST

    Hi, I have a question - will the SBrick be able to be controlled with an external controller? It would be great to be able to control our models with an xbox style gaming controller either via the iPhone/Android or directly with the SBrick via Bluetooth (somehow you can program the SBrick using your phone and send the config to the SBrick)?

    This would allow us to have some tactility while controlling our models - touch screens aren't so easy when you're controlling a fast remote control car, for example.

    • 159 posts
    October 14, 2014 2:29 PM CEST

    Hi people,

    yes, you have to have BLE to get SBrick running. However this baby: https://www.bluegiga.com/en-US/products/bluetooth-4.0-modules/bled112-bluetooth-smart-dongle/ is not quite as expensice as a new smartphone. It plugs into an USB port. Also Android 3.1 and higher supports USB host functionality.

    If the demand is big enough, we will consider building an Android app version that supports BlueGiga's dongle via USB host, or can control one that is plugged into a PC over the network.

    Our current priority is to make the basic apps to be ready on all platforms for the launch, so these functions are quite likely won't be in the first versions.

    Thanks for the heads up though, we will pay attention to this.

    • 26 posts
    October 10, 2014 6:54 PM CEST

    The problem is that (almost) no one has an android device with 4.3 or higher. I couldn't use an sbrick if I wanted to because my tablet has 4.2 and another device I can access has 4.1. It would make the sbrick much more expensive if you have to buy a phone/tablet for 100€ in addition to the sbrick which costs 50€ (which equals 150€; You can get almost 8 Power Functions IR Receivers and a train remote for that price. Or a full Power Functions collection including a battery box, a train remote, four receivers and eight M-Motors for 163€).

    Anyways, much luck with your sales :)

     

    /edit

    Maybe you can cooperate with Anders so that he can include your lib into the MonoBrick Communication Library: http://www.monobrick.dk/software/monobrick/. That would be really awesome!


    This post was edited by Technicmaster0 . at October 10, 2014 6:55 PM CEST
  • October 10, 2014 3:44 PM CEST
    Okay.
    I just asked earlier if it would run on Windows tablets.
    But we'll, depend on how to define a tablet. ;)
    Just need to buy a cheap android tablet, with the newest os.
    • 138 posts
    October 10, 2014 3:27 PM CEST

    Yes, you right. Surface pro 3 is a "PC" which runs Windows 8.1 Desktop OS.

    We are planning PC clients for Windows/Mac/Linux on 2015 Q2.

  • October 10, 2014 3:24 PM CEST
    So I wouldn't be able to run it on a Microsoft Surface pro 3
    • 138 posts
    October 10, 2014 3:04 PM CEST

    Sorry, I mean Windows phone 8.1.

     

    • 26 posts
    October 10, 2014 2:24 PM CEST

    Okay. But are you going to write an application for Windows 8.1 which works on computers (not smart devices)?

    • 138 posts
    October 10, 2014 10:18 AM CEST

    We can't support Android < 4.3 and Windows < 8.1 because the BLE not supported at OS level.

    • 26 posts
    October 10, 2014 12:23 AM CEST

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

    We support Android 4.3+ because BLE support introduced on this version.

    [/blockquote]

    So you will not support Android 4.2/ 4.1? What's about Windows 7/8/10 compatibility?

    • 138 posts
    October 9, 2014 11:31 AM CEST

    No, you will need an extension wire.

    • 1 posts
    October 9, 2014 8:06 AM CEST

    again regarding SBrick height... does that design allow to attach it to a PF battery box without cable?

    • 138 posts
    October 8, 2014 10:25 PM CEST
    Yes. We also thought about this, and about how cool it would be. Our app will do precisely this and it won't require any programming. If you have any other ideas, please let us know. :)
    • 1 posts
    October 8, 2014 9:24 PM CEST

    Is it possible to programm the Sbrick some way so i can make warning lights?

    Like something i have made on my Mercedes Actros. Just to get rid of the old 9v flashing lights.

    Maybe it is possible with an add-in in the app which makes it possible to choose between a set of different light patterns.

    • 138 posts
    October 7, 2014 3:36 PM CEST

    We support Android 4.3+ because BLE support introduced on this version.

  • . .
    • 1 posts
    October 7, 2014 9:13 AM CEST

    is the app compatible with android 2.3.6

    • 138 posts
    October 1, 2014 8:46 PM CEST
    When we designed SBrick we wanted to kerp the size to a minimum. Perhaps you can raise the SBrick with LEGO blocks to where you need. I think the current design makes it easier to pass cables through it or to it.
  • October 1, 2014 8:00 PM CEST

    just a simple question of pure curiosity: Why is the Sbrick designed so that the powercable connector is NOT level with the bottom of the brick??