My new gateway with leds for state and the only node I have: A wireless arcade button controller
Danielo Rodríguez
@Danielo Rodríguez
Best posts made by Danielo Rodríguez
-
RE: What did you build today (Pictures) ?
-
RE: Which pins should I use for status led on a wemos d1 mini gateway
At the end I was able to use D0,D1 and D4 for status leds. Something interesting is that I can use the actual
DN
nomenclature because there is a header file that maps them properly. The weird thing is that such file is arduino.h (I'm using platformio) so I'm not sure if it is specific for the D1 mini or if D1 is compatible with arduino pinout.
I used a 220 ohm resistor and, dam it, the leds are bright as hell, haha.
Everything is working now, it's very pleasant to see the leds blink when I turn on other node. Thanks to all the people on this forum for the great support. -
RE: Sensor presentation failure
@yveaux thanks for that piece of information!!
This was driving me crazy. I know this is an old thread, but this is still a problem today.
I think this should be added to the documentation and probably add one example with this setup properly working. -
RE: Can a gateway talk to itself?
Wow, that is very nice @mfalkvidd
So I can override the indication function and it will be called on the same events that are now handled automatically right? So if I define this function I have to handle all the enum options right?
Thanks -
RE: Node not working after adding some wires and a capacitor
@mfalkvidd thanks again.
@mfalkvidd said in Node not working after adding some wires and a capacitor:
I see that the nrf24 on your gateway is the variant with the "blob" instead of a chip. If the radio is in a socket, try replacing it with one that has the chip.
I have several of both, I'll try to put one of the "good ones" on the gateway to see if that makes a difference.
@mfalkvidd said in Node not working after adding some wires and a capacitor:
The antenna on the gateway is pretty close to the metal in the protoboard. Some extra distance could be good, at least to check if the protoboard is messing with the signal.
The picture is taken from above, and seems the antena is quite close to the board, but in realyti it is not that bad. I'm posting here another image to show how far it is from the bottom. Also you can see that there is a capacitor attached (same values as the node)
What disturbs me the most is that it worked for an entire week, then just some nodes and now anything works. This is kinda crazy...
Thanks for your help, I'll try with your suggestion of changing the radio
-
RE: Node not working after adding some wires and a capacitor
@kimot said in Node not working after adding some wires and a capacitor:
Your NRF is 2.4GHz. Your Wemos and home WiFi network is 2.4GHz too.
Maybe your WiFi router randomly switch wifi channels to the chanel of your NRF network.
Try set fixed channel on your router.That is a good and smart advice, however:
- My router is already set to fixed channel 11
- My router is on my bottom floor while I'm doing my tests on my first floor. Maybe the interferences are not that bad? Probably I just said a stupid thing
- I have the following on my nodes and gateway:
#define MY_RF24_CHANNEL 80
and since 80 is not even an available channel on wifi (not at least on my router) it should be fine even if it were not fixed
But I appreciate that you pointed it out.
Now I have good news that doesn't feel good. I did what @mfalkvidd suggested and I swapped the radio on the gateway with a version without the blob on the chip. After that everything has been working flawlessly. All my test nodes work without any problem, the ones using good radios and the ones using the radio with the blob. They all work, not a single drop. Sometimes if I touch the radio with my hands, I can see a error appearing
!TSF:MSG:LEN=8,EXP=7
but does't seem to affect the operative of the module.
Why does this feel bad? Because I was on a similar situation a week ago, where everything was working perfectly for an entire week and then everything started to fail so, how do I know this is not going to fail in a week? I can'tNow I have to experiment without fixed IDs. I never got it working using automatic IDs and I can't understand why. At first I thought it was because I didn't had a "join mode button", but seems that such button has a totally different usage. If somebody could explain me how that button is supposed to work and if it is required for dynamic IDs to be assigned I will be also very grateful.
Regards.
-
Which pins should I use for status led on a wemos d1 mini gateway
Hello,
Sorry if this has been answered before, but I could not find any answer to this particular thing.
I have a wifi gateway built using a d1 mini. It is working great, but I want to have some feedback about what is going on, so I decided to add some status leds. I already wired all the leds to 5v, and when I was about to check wich other pins to use I realized that the information is for an arduino gateway, so, what are the pins that ai can use on the D1 mini for this?
Latest posts made by Danielo Rodríguez
-
Where to buy senserbender from spain
Hello.
I just discovered the awesome senserbender module. The price seem reasonable for something that small and flexible. However, when I went to checkout the price increases up to 40$ with shipping to Spain. This makes it very inconvenient for small projects that I wanted to be budget friendly, specially because my skills will not allow me to build something very impressive.
So what I want to get is some advise about where to buy it with a reasonable shipping to Spain. I am not able to solder smd yet, so it must be assembled.Thanks!
-
RE: Robotic lawn mower supervisor
Can you provide more details on wiring and more close ups of the circuit and the sensor itself?
Thanks -
advise to buy a noob PCB
Hello.
I want to build a battery powered presence sensor. It should have a PIR sensor (not sure if mandatory or just recommended) and a distance sensor (that I have a bunch of). It is exactly like this project:
https://forum.mysensors.org/topic/3629/robotic-lawn-mower-supervisor?_=1634468560128However that project doesn't have much details and I am a noob (and I always be because I have no time with all my other hobbies).
Ideally I want to use the same noob board for some other sensors too because I think buyin 10 or 20 is the most budget friendly solution. Being as small as possible is a nice have but I'm willing to sacrifice it a bit for convenience. Also the more budget friendly the betterWhich noob PCB is more recommended for my situation? I'll buy them through openhardware to support this awesome project.
-
RE: What did you build today (Pictures) ?
My new gateway with leds for state and the only node I have: A wireless arcade button controller
-
RE: Can a gateway talk to itself?
Wow, that is very nice @mfalkvidd
So I can override the indication function and it will be called on the same events that are now handled automatically right? So if I define this function I have to handle all the enum options right?
Thanks -
RE: Can a gateway talk to itself?
@BearWithBeard thanks for your response.
Yesterday it was way less common to see this blinking, probably due to my networking problems and probably longer disconnected periods.It is not annoying me at all, it is just that I didn't expected the RX and TX leds to blink with communication that is not about the radio and the nodes, but it probably makes sense.
Thanks
-
Can a gateway talk to itself?
Hello,
Recently I updated my gateway to add 3 status leds to it. They are working great and they allowed me to notice a singular pattern. Yesterday was the first day with the three leds and my hassio wasn't working very well. From time to time, I was seeing the green led turning on. Normal, it is looking for devices, I told myself. But today that I restarted my hassio after fixing some networking problems, I am noticing a much more frequent led blinking and not only the send one, but also the receiving one. This is what I see on the logs:2020-07-29 09:57:15 DEBUG (MainThread) [mysensors] Sending 0;255;3;0;2; 2020-07-29 09:57:15 DEBUG (MainThread) [mysensors] Receiving 0;255;3;0;2;2.3.1 2020-07-29 09:57:25 DEBUG (MainThread) [mysensors] Sending 0;255;3;0;2; 2020-07-29 09:57:25 DEBUG (MainThread) [mysensors] Receiving 0;255;3;0;2;2.3.1 2020-07-29 09:57:35 DEBUG (MainThread) [mysensors] Sending 0;255;3;0;2; 2020-07-29 09:57:35 DEBUG (MainThread) [mysensors] Receiving 0;255;3;0;2;2.3.1
I only have two nodes, and the other node is battery powered and turned off, so, who is my gateway talking to? Is it sending packets to itself?
-
RE: What did you build today (Pictures) ?
@monte Where do you buy that e-ink displays? they look awesome
-
RE: What did you build today (Pictures) ?
@tbowmo said in What did you build today (Pictures) ?:
atmega32u4
Next step: build an entire keyboard and flash QMK to it!
Nice project, I thought about something similar but to operate a fan, which is way harder than communicating with a computer, I should have started with that.
Very little nice sensor that one... -
RE: PlatformIO instead of official Arduino IDE?
I also want to highlight one problem of the arduino IDE, and that is that it is very local to your machine. It makes hard to share your projects with others or even to migrate to a different machine of yours. This may not be a problem for casual editions, but as soon as you have build 5 or 10 things this starts to be a concern. People should be able to store their projects whenever they want and not be tied to specific paths/configs on a particular machine.