You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on a project to control multiple train motors around a circuit. Using colour sensors the trains transmit their location to a central control hub which then instructs the train to either wait or move forward.
So far so good and I've had three trains running through five blocks at home without issue.
Took the layout to a lego show this weekend and wasn't able to get it to work. My assumption being that at a busy show there are too many other BLE devices and the messages simply weren't getting through. UPDATE: Just seen that a similar issue was reported here: https://github.com/orgs/pybricks/discussions/1593
I reverted to driving the trains manually using the stock lego firmware and remote controls. This worked fine. Does the fact that the devices are paired make them not subject to the same interference?
This being the case, is it possible to pair devices using PyBricks, and therefore potentially working around the problem?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all
I've been working on a project to control multiple train motors around a circuit. Using colour sensors the trains transmit their location to a central control hub which then instructs the train to either wait or move forward.
So far so good and I've had three trains running through five blocks at home without issue.
Took the layout to a lego show this weekend and wasn't able to get it to work. My assumption being that at a busy show there are too many other BLE devices and the messages simply weren't getting through. UPDATE: Just seen that a similar issue was reported here: https://github.com/orgs/pybricks/discussions/1593
I reverted to driving the trains manually using the stock lego firmware and remote controls. This worked fine. Does the fact that the devices are paired make them not subject to the same interference?
This being the case, is it possible to pair devices using PyBricks, and therefore potentially working around the problem?
Many thanks for any suggestions
Beta Was this translation helpful? Give feedback.
All reactions