Replies: 3 comments 3 replies
-
Have you had this kind of experience? If so, how did you resolve the problem? That's really interesting. What kind of behaviors did you see? Was it getting "the wrong data", or "less data"? For example, if you did only this, what would it print in your case?
I'm not really sure what that is. Did you mean that your friends' Bluetooth devices/applications also stopped working when Buwizz was activated, completely independent of Pybricks? If that is the case, maybe Buwizz isn't using Bluetooth correctly, or "nicely". I wonder if it is also constantly broadcasting and observing.
This might be a good idea. Maybe this is something we should build in. It doesn't have to be very long; perhaps a 2 or 4 byte checksum will do. This will reduce the available data that the user can send, though.
Good to hear that this was working. You could also calibrate the colors for increased performance. |
Beta Was this translation helpful? Give feedback.
-
The thing is, there are some (cough) devices made by some (cough) companies, who do not observe the rules of the 2.4GHz band, in which Bluetooth operates. One of the rules is not to hog the bandwidth. There's no free lunch: the frequencies available to BT are shared by all BT devices and the idea is that not all devices send data at the same time and none of them sends data all the time, so they will be able to share the bandwidth. Think a classroom discussion: each kid takes turns talking, so they can all say something, but none can talk all the time. Since in crowded environments this does not work very well - think school cafeteria where every kid tries to talk at the same time and they scream over each another, which means almost no data can be transmitted, things like bluetooth LE were introduced, where the communication power is much smaller, so that the distance of the connection is smaller, so that device pairs that are say, few meters apart, can each communicate on the same frequency without disturbing each other. Think school library, where everyone whispers, so many conversations could happen at the same time, but only kids close to each other hear each other. Now, you can't at the same time have good range of communication and a lot of devices communicating. What one could try is having a shielding around the installation, since most LEGO will be at table level, a boundary fence of conductive material shielding at least the direct line-of-sight contact from other tables might be enough to establish communication again. However, for big events I'd still think about working with train orders, like they did it on real railways in the past. Either make trains stop close to a building where the commanding brick is, so at close range they can communicate reliably and make the commanding brick send encoded instructions to the train so that it can autonomously complete a circuit, or even use color signaling, like semaphores, only embedded into the track, so that no radio communication is necessary. |
Beta Was this translation helpful? Give feedback.
-
Okay, so you have a few issues here, some of them are home-made.
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
Not being good in English, I use Google to translate. I am French.
I use a set of 7 hubs to manage 2 trains on the same track:
The scenario:
the trains turn in the same direction and wait on a relief track while the other train turns.
The switch hub manages the switch and gives the tempo to the controller hubs.
The controller hubs receive instructions from the switching hub and color tiles then give orders to the locomotive hubs assigned to it.
Although the colored tiles are not always well seen, the alternation of the trains works perfectly.
This weekend during a Lego exhibition, nothing was working.
The table in front of me, the exhibitor was using Buwizz blocks and when he used them, that's when everything went wrong in my programming.
For additional information, my friend had a bluetooth hypoglycemia sensor and it found itself disconnected from the smartphone.
Have you had this kind of experience? If so, how did you resolve the problem?
I told myself that in the transmission list to add a complex and long code so if this code is not sent in the list then the hubs do not take into account the signals received.
Additionally, can you tell me if there is a sensor/tile distance so that the tile is systematically seen?
Thank you for the time you took to read me
Bonjour à tous,
N'étant pas bon en Anglais, je m'aide de Google pour traduire. Je suis français.
J'utilise un ensemble de 7 hubs pour la gestion de 2 trains sur une même voie :
Le sénario:
les trains tournent dans le même sens et attentdent sur une voie de délestage pendant que l'autre train tourne.
Le hub aiguillage gére l'aiguillage et donne le tempo aux hubs controlleur.
Les hubs controlleur reçoivent les instructions du hub d'aiguillage et des tiles de couleurs puis donnent des ordres aux hubs locomotives qui lui sont attribuées.
Bien que les tiles de couleurs ne soient pas toujours bien vu, l'aternance des trains fonctionnent nickel.
Ce week end pendant une exposition lego, plus rien ne fonctionnait.
La table en face de moi, l'exposant utilisait les blocs Buwizz et quand il les utilisait, c'est là que tout dérapé dans ma programmation.
Pour l'information complémentaire, mon pote avait un capteur bluetooth de hypoglycémie et ce dernier se retrouvait déconnecté du smartphone.
Avez-vous eu ce genre d'expérience? Si oui, comment avez vous fait pour lever le problême?
Je me disais que dans la liste de transmission de rajouter un code complexe et long ainsi si ce code n'est pas envoyé dans la list alors les hubs ne prennent pas en compte les signaux reçus.
De plus, pouvez-vous me dire s'il y a une distance capteur/tile pour que la tile soit systématiquement vu?
Merci du temps que vous avez pris à me lire
Beta Was this translation helpful? Give feedback.
All reactions