Jump to content

GianCann

Eurobricks Citizen
  • Posts

    187
  • Joined

  • Last visited

Everything posted by GianCann

  1. Hi guys, there is someone in this forum that use nControl software to manage trains layout? https://www.4dbrix.com/documentation/ncontrol/ I think that this software have a big potential thank to the possibility to using MQTT/WiFi and/or integrate a custom hardware controller based on Arduino or equivalent, over the programming feature with Python script. Does anyone interested on sharing experience/ideas with this software? The documentation is not so well organized, so not every feature are immediately visible. But, after I spent some time playing with the software, I think that could be a simplest as powerful system to manage ad automate trains layout.
  2. Try to disable the Antivirus (if you have one)
  3. M5 Stack Core. Flash it at 115200. Here you can find the library for LED Matrix: https://github.com/m5stack/M5Atom
  4. In the past, it was released for EV3. At this time, if you look better to Pybricks and other technical info obtained from reverse engineering, there are many "unofficial" documentation on hardware/software. The LEGO UART protocol used by Powered Up/Spike Prime and the future Mindstorms, is the same used by EV3: https://github.com/GianCann/technical-info/blob/master/uart-protocol.md I hope, after the release of new Mindstorms, that LEGO could be release other technical info. In the meantime, we continue to explore the (undocumented) feature of PU/Spike device like the TTL/UART comunication implemented in the Spike Hub firmware and that in future will implemented also in Pybricks fw.
  5. I think that the PU Ecosystem has many potential but I'm surprised about TLG don't share other info about hardware/software. Only the (uncompleted) LWP3 documentation was released and only thanks to reverse engineering from some skilled guys has permit to hus to use deeply this new hardware (see Pybricks, for example)
  6. Can you explain better your problem? Have you tried to disable/re-enable the Bluetooth radio of the smartphone before retry the connection?
  7. Yes, I know. But it's called also 'Control+ Hub'. See, for example, https://docs.pybricks.com/en/latest/
  8. Only a simple addition to detailed explanation made by @Mr HobblesHobbles: The Control+ Hub has also an internal gyro sensor. The Move Hub has an internal tilt sensor.
  9. Now, thanks to "Cornelius" (and my suggestion on the NimBLE library) it is possible to use Legoino to manage up to 8 hubs ;) In the video I connected 8 device, changing the led color in a continuous loop
  10. Honestly?... I don't rember Now I am in a train and I cannot check. However I can modify the code for work with any type of motor (if already not work with all)
  11. I have made available the source code of my App (only for Andriod device) to manage up to four LEGO trains based on the Powered Up system. I am available for any clarifications. Feel free to customize / modify it as you wish https://www.bricksandchips.it/2020/08/01/ats-smart-app-lapp-android-per-controllare-i-treni-lego/
  12. I think that is not possible to have a definitive solution with only LEGO products that offer a flexibility of power energy, communication and programming. I preferr a solution with less cable on the layout (just the wire from sensor to hub), getting the power from the 9v track. But this solution requires however an hack to the hub to taken power from the track... However, instead of the Wedo Hub, I think that there is a better solution based on City/Train Hub with Pybricks. In case of lost BLE communication, the hub don't go in power off and you can reconnect to it without problem.
  13. Great job! Too bad that the WeDo 2.0 hub costs too much :(
  14. First par: Port Second par: Mode (each device has many mode) Third par: I think that is the dataset. Some sensor, like the Color and Distance sensore return more than one single value with some mode. I need to investigate better. Take a look here: https://github.com/pybricks/technical-info/blob/master/uart-protocol.md
  15. @Gimmick I tried to get "Dev tab" but without success. Can you tell me some other details to obtain it?
  16. Yes. 5x5 RGB LED matrix, one button (the same "matrix" is clickable) ESP32 support WiFi, BT Classic and Bluetooth Low Energy. You only need to install the right board information (with Arduino board manager). The board has the USB Type-C connector with USB/serial interface. So, yes... I can answer that is ready to use ;) about 8$ Yes
  17. @Gimmick can you give me a picture of this block?
  18. Take a mind that I'm an autodidact in the embedded development. So, some thing can be made more better and efficient of how I made at this time. I came from desktop/database programming...
  19. Hi @JopieK, There is a lot of work to be do, starting from move the parsing of incoming message in the loop () function. But for made some test, it work also if isn't so beautiful code
  20. Starting from an idea of @ruppie I wrote this simple Arduino project useful to emulate a LEGO Technic Hub. It's a very simple starting point... someone can use it to integrate different hardware with the LEGO Powered Up App. Feel free to extend ;) https://github.com/GianCann/ATS/blob/master/ESP32_LEGO/PUPHubEmulator.ino
  21. Yes. Default 'descriptor' for characteristics. I change my code to emulate a City Hub (aka Train Hub) for my comodity, but is so simple to impersonate the Technic Hub. You need only to send more info to the App for the 4 ports and various internal sensors. Now I want to investigate about "Hardware Family" (support, at this moment, only on City Hub). No. Sorry...
  22. I reply to myself I found the problem: The Characteristic was missing the default value 0x2902. Now everything works perfectly: the LEGO App connects to my ESP32, receive the notify of the presence of the (fake) motors on ports A and B, and the ESP32 receive the action commands sent from the App (i.e.: start/stop the motor, change hub light...)
×
×
  • Create New...