Lok24 Posted August 26, 2020 Posted August 26, 2020 (edited) Hi all, just finished my first tests with the M5stack ATOM Matrix and the legoino library. A little program is installed to connect a hub and a remote control, you can choose between two profiles how they shold act. Profile 1 is like the app or remote with a train hub. Here is a little video (1:34), have fun! Edited August 26, 2020 by Lok24 Quote
GianCann Posted August 26, 2020 Posted August 26, 2020 Great work! The ATOM Matrix is a very useful board. I have 5 of this :) Quote
Toastie Posted September 1, 2020 Posted September 1, 2020 Very nice!!! Now, I have a question for you, @GianCann and @Lok24: The Legoino library does not (yet - Cornelius will work on this he said though) support the LWP "StartSpeed" sub command (0x07/0x08) of the output command 0x81. The 2I/O hub supports that - as well as it allows defining "profiles". As I will not have access to my VB6 programs for some time, where I used already the LWP StartSpeed (Speed, MaxPower, UseProfile) command with MaxPower 100(%) and UserProfile = 0 (no profile), I can't further investigate this right now. The PID controlled speed setting works >really< nice. You set speed to 5% and the hub will control the PUp L-motor to do exactly that. The Crocodile and any other PUp L- or the like motor (but not the train and M-motor) propelled train can be speed-controlled in a very nice fashion. What I like most about this mode is that trains don't slow down in curves and can be reliably operated at very low speeds. Question is: Once I have defined the profiles in the hub, lets say "slow acceleration" as UserProfile 0 and "fast acceleration" as UserProfile 1 do these stay in the hub's memory or do I need to define them every time I turn on the hub? Thanks in advance! All the best, Thorsten Quote
Lok24 Posted September 1, 2020 Author Posted September 1, 2020 My hub starts motors always "normal", even whena profile was used before. So I would assume: not stored permanently. Quote
Toastie Posted September 1, 2020 Posted September 1, 2020 BTW - had to migrate to my old Dell Precision M4700 because I dumped some white wine on my Dell 7530 ... cat1 (brother, Romeo) was chasing cat2 (sister, Giulietta) like crazy, I exploded from my chair, so did the white wine, all over the keyboard, a blink later it went dead and a moment later there was a weird sound accompanied by bad smell ... How-ever ... installed all the updated Arduino stuff along with ESP32 etc etc board managers: Compilation for ESP dev board goes much faster, upload is smoother and faster as well. It is all a matter of tens of seconds. Best Thorsten Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.