-
Posts
187 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Everything posted by GianCann
-
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.
-
Powered Up and Arduino
GianCann replied to Lok24's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Try to disable the Antivirus (if you have one) -
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.
-
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)
-
Can you explain better your problem? Have you tried to disable/re-enable the Bluetooth radio of the smartphone before retry the connection?
-
Powered Up and Arduino
GianCann replied to Lok24's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
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 -
ATS - AFOL Train System Smart APP for Android
GianCann replied to GianCann's topic in LEGO Train Tech
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) -
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/
-
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.
-
Great job! Too bad that the WeDo 2.0 hub costs too much :(
-
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
-
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
-
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
-
Powered Up - Our own creations, fully compatible with LEGO
GianCann replied to ruppie's topic in LEGO Train Tech
Yes... it can work -
Powered Up - Our own creations, fully compatible with LEGO
GianCann replied to ruppie's topic in LEGO Train Tech
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... -
Powered Up - Our own creations, fully compatible with LEGO
GianCann replied to ruppie's topic in LEGO Train Tech
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...)