Jump to content

Recommended Posts

Posted

Hi guys

lately I got the LEGO 42100 set and begin to build it  

as software engineer  I try to learn  how to   use the WeDo2 in  software   from my understanding the best is to use BlueGiga   BT  BLE 112  as BT  device  so I got it

but when  I try to use some  software \I download from the net I got some  misunderstanding problems

1) I try to use Lego_Education_WeDo_2.0_SDK that  I got from the lego  site try to run    r=the C# solution  but     for some reason it did not find any BT device when I press "scan " button 

2) I try to use the software download from https://github.com/btframework/WeDo that use   an   library from https://www.btframework.com/bluetoothframework.htm when I try to run  the solution i get a error that "no one bluetooth  radio  found " 

Does any one show my the right path (it can  be in other software language like VB# or Python 

Regards Doron 

 

Posted

Why would the BLE 112 be the best? BlueGiga uses 'yet another scripting language' to implement their bluetooth stack on the module. I did use their modules in the past but the nRF52 modules are much easier to use so I switched over to those, they are also Arduino compatible which is great for rapid prototyping of course! Do you happen to have a Raspberry Pi lying around? I would start their and use Python. See e.g. https://github.com/JorgePe/pyb00st / https://github.com/nathankellenicki/node-poweredup. Boost / WeDo 2.0 / PoweredUP / Control+ only differ a little bit at byte level. I would also first try to use a BLE scanner and then see if you can discover a device. I don't know how you want to connect your C# with the BlueGiga module but you would need to at least use an USB - UART convertor I guess. 

Posted

Why would it only work with the BLE112? BLE is BLE, just the command that you send over it are different (and you WeDo 2.0 is WeDo 2.0 so the commands are what they are). I have done experiments with WeDo 2.0 in the past using Swift on iOS and it works like a charm.

But you still need some bridge between your laptop and the BLE module don't you?! I make my BLE devices always XBee compatible, and when I connect it from my computer I use a XBee - USB serial dongle (https://www.sparkfun.com/products/11697). But maybe you should a simple project first as I am getting the idea that you don't have a lot of experience with embedded systems development. 

At the moment some of my students are trying to connect Connect+ / Boost / PoweredUP / WeDo with a Raspberry Pi, they know how to work with hardware but are not very affluent in software I think (they are electrical engineers, even though we also have embedded systems development students).

Posted

Hi 

I am  not using the ble 112  but the ble dongle  (BLED11D  ) so it is  connected  directly to the USB   port of PC ,Sorry for not  clarify this in my previous response 

 

 

Posted

BLE is only supported for Windows 10 so some products use(d) the BLED11D as "workaround" since it doesn't use the official windows BLE stack. However every BLE compatible dongle should be fine since you use Windows 10.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...