Jump to content

Recommended Posts

Posted (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 by Lok24
Posted

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   

Posted

My hub starts motors always "normal", even whena  profile was used before.

So I would assume: not stored permanently.

 

Posted

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 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...