jasconcierge.blogg.se

Wedo 2.0 app
Wedo 2.0 app







wedo 2.0 app wedo 2.0 app

– (from your EV3Dev posting, I got most of the motor control codes)

wedo 2.0 app

getting feedback from the proximity and tilt sensor So, I’m wondering if you’ve deciphered the rest of the control and data codes for the Smart Hub? Mainly, I’m looking for: Anyway, I could control the WeDo from RPi as well using the gatttool and the python libraries as well. Next, I was able to make do the same based upon your tutorial in the site using my BrickPi (RPi 3B…compiling the python GATTRequester was quite easy on that platform (not nearly the headaches you mentioned with the EV3 brick). Good.so I can check off controlling the motors from Android. I’ve followed your example from above, and built the same WeDo app in App Inventor…quite easy like you said. Thanks a lot for your blog on Lego and especially Lego WeDo2.0. Damn easy to create an BLE Android app! Autor Major Alvega Publicado em 8 de Setembro de 2016 Categorias Sem categoria Now that I finally started, I think I will use App Inventor some more times. So I tried another block, “call BluetoothLE.WriteIntValue”. WriteStringValue” but I couldn’t find a way to convert an hexadecimal string (“06040109”) to a proper string to send. Then I tried a block called “call BluetoothLE. So I had to go back to my notes and find the Service UUID and the Characteristic UUID: service_uuid = 00004f0e-1212-efde-1523-785feabcd123Ĭharacteristic_uuid = 00001565-1212-efde-1523-785feabcd123 Just needed to add the BLE extension to start working, getting a connection was easy but writing to the handle took a while since App Inventor BLE extension doesn’t use handles, just UUIDs. When using gatttool that’s done with just char-write-cmd 3d 06040109 I just wanted to connect to the WeDo 2.0 Smart Hub and change the color to RED. I’ve never used App Inventor before but I had already installed the Companion once in my Android Phone because I read something somewhere and found it quite similar to Snap! and Scratch (and also just because it is from MIT… I have a fetiche for MIT back from when I was at college and read Nicholas Negroponte articles on Wired). Rocha is trying to use MIT App Inventor to control the WeDo 2.0 Smart Hub RGB LED.









Wedo 2.0 app