Posted May 15, 20204 yr 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
May 15, 20204 yr 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.
May 15, 20204 yr Author Hi ,thanks for help .I read some where that WeDo2 work only with ble112 " https://pypi.org/project/wedo2/" so i got one Do you know if I can use any BLE device ? my OS is WIN10
May 15, 20204 yr 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).
May 15, 20204 yr Author 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
May 16, 20204 yr 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.