A family member gave me an old lamp with a fancy glass base. Well, I didn't like the lamp, but the base was nice, so I kept it in my basement for a few years. I found it again the other day and decided it needed to become a new type of lamp. I put a 150 LED strip (WS2812B) inside. I have an STM32 Blue Bill and RFM69HCW to run the light patterns and connect to MySensors.
In Domoticz, I have it set up as a dimmer light, but the node just switches patterns depending on what the dimmer level is.
At first, I wrapped the LED strip carefully around a tube that sits in the center of the glass jar, but it didn't look very good. Somehow just spiraling the strip in the bottom of the lamp has a much better effect.
My wife even liked it, so maybe I will put some finishing touches on it and actually use it as a lamp : )
nagelc
@nagelc
Mechanical engineer for a living, but I love these sensors, processors, radios, and programming, for fun.
Some people meditate . . . I prefer to solder.
Best posts made by nagelc
-
RE: What did you build today (Pictures) ?
-
RE: What did you build today (Pictures) ?
@berkseo
Hey. Our own berkseo is on Hackaday. Congrats!https://hackaday.com/2021/03/11/nrf52-weather-station-gives-forecast-with-style/
-
RE: What did you build today (Pictures) ?
I've been playing with an Adafruit AudioFX board and cobbled together this annunciator. Eventually it will be a MySensors node to play alarms or other sounds. It is using a cheap portable speaker to play the sounds. I got it to work with my doorbell button node today.
-
RE: STM32?
Just got a blue-pill, RFM69 node working. It was a bit of a learning curve moving from Atmega.
- Cheap J-Link: Never got it working. Cheap ST-Link: Worked
- Arduino (and VisualMicro) uploaded blink sketch with ST-Link: no problems
- Uploaded the USB bootloader using the ST-Link: no problems
- Took a while to figure out I didn't have the dfu driver loaded (Windows 10), but after that no problems using the usb
- MySensors security personalizer: no problems.
- Mock MySensors node: no problems. Talked to my gateway. Uses RFM69 encryption.
Seems like this is the Nano of the future, but without needing to level shift for 3.3V. I'm looking forward to making some real blue pill nodes and gateways.
-
RE: What did you build today (Pictures) ?
BT832 Thin Node prototype. Inspired by https://forum.mysensors.org/topic/2067/my-slim-2aa-battery-node and @neverdie nrf5 and am612 research. I noticed the BT832 is about the same width as a AA battery holder. I'm using one AA LiFePo4. This is my first sensor with nrf5, bme280, and am612. I also incorporated a jst-sh 6 pin connector for programming. It includes swd, power, and text. All sensors are working. It did not turn out to be very thin. Need to try some smaller PIR lenses and rearrange components for the next iteration.
-
RE: What did you build today (Pictures) ?
I am testing a node with a DigiPyro, PYD 1598 motion detector. It is advertised to be low power and runs from 1.8 to 3.6 volts, so should run well with a coin cell. They have to be programmed with several options and I have not found a lot of documentation. I went with what seemed like the most sensitive choices and it seems to work so far. More research needed . ...
https://www.excelitas.com/product/pyd-1588-pyd-1598-low-power-digipyrosI bought a couple of these from DigiKey for around $4 each. Now they are more than $12 each and there is no stock. So, these may not be as good a choice as they seemed at first. We'll see . ...
-
RE: Electrodragon NRF Pro Mini Sensor Board
@mfalkvidd Thanks for doing this kind of work (deleting fake users and stopping spam). I am sure it is not as much fun as answering real questions about MySensors topics. But I learn so much from people in these forums, that I would hate to see it overtaken by trolls and spam.
-
RE: Something's cooking in the MySensors labs...
@Yveaux
Another experiment, using 2mm machined pins and sockets. Since the RFM69HCW and the RFM95's share the same pinout, I could switch radios easily for testing. -
RE: RFM69 radio 915Mhz
Unlike the NRF24, the RFM69 is not 5V tolerant on the data pins. The Uno and Nano both have 5V data pins. The NRF24 can work with them as long as it has the 3.3V supply. Unfortunately, the RFM69 needs the data pins to be 3.3V also.
I have used the RFM69 915Mhz successfully with a 3.3V ProMini (all pins 3.3V). To use with the Uno or Nano, you would need to power from the 3.3V supply and use a 5V to 3.3V level shifter on the NSS, MOSI, and SCK data pins. -
RE: What did you build today (Pictures) ?
I finally got a BT832 (NRF52832 from Fanstel) to talk to my NRF24 gateway. I got the NFR5s a while ago. Made a quick breakout board (quick to design, but slow delivery). In the mean time, I configured a STM32 "Blue Pill" as a Blackmagic Probe to program it. I had to get the latest Sandeep Mistry NRF5 files from github in order for it to support the blackmagic probe, but . . . it worked : ) So far I have just run the MockMySensors and it shows up on Domoticz.
Latest posts made by nagelc
-
RE: MySensors Gateway Controller Failed to ACK I_FIND_PARENT Request from Node
Your analysis of the problem seems correct.
This sounds very frustrating, and I am afraid I can't help much.From your earlier post, the transport is just shutting down because it had too many failed attempts to find a parent. That is normal operation. My memory is that it will just try again after a while.
-
RE: Support for CC1101 radios
Nice. I know there are RFM69's, but I've seen quite a few requests for the CC1101. Always good to have options.
I did something similar with the WIO-E5 chips in my repo. The E5 is not quite ready for prime time, but the basics are working.
I have many MySensors nodes, and still adding more. Good to see some new code for it. -
RE: Newbie: confused by the jargon, needing simple guidance...
@Meldrew-s-mate Hi. This site is about building sensors using Arduino that report data back wirelessly to a gateway. There may be some useful information here, but it doesn't sound like what you are really looking for. Try searching on the web for Cerbo GX and Home Assistant. Home Assistant is a popular home control program. Someone may have already figured out how to connect to it, or you might get a link to something helpful.
-
RE: New Setup for Home Environment Monitoring – Using NRF24L01+, Arduino Pro Mini, and BME280
@lostintheethes Sounds like a nice set up. I have had good luck with bme280's without doing anything special. I usually get about a year out of a coin cell battery. I check the temperature every 3 minutes, but I don't send unless it changes more than .1 I haven't really tested accuracy, but it seems about right.
-
BT832X PA / LNA
Has anyone developed a PA LNA driver for the BT832X (Fanstell NRF5 module)? Works quite well without it, but wondering if could be even better.
@NeverDie , you had a remote control using PA. Was there any additional code for that from stock MySensors NRF5? Did you ever do anything with the LNA part? -
RE: 💬 MySensors Library - v2.x
: ) That looks right. I have not written a receiveTime function for years and have just been copying the one in MockMySensors over and over.
-
RE: Getting system time from the controller
I have found that controllers can be very slow to respond to time requests. Same experience for Domoticz and for Homeassistant. Try a wait(1500) after the time request.
-
RE: Compiling Sensor code using BME280 and ESP8266
I didn't see anything obviously wrong, so I tried compiling your code. Your code compiled fine for me. I used ESP8266 Boards (2.5.0-Beta3) -> Generic ESP8266 Module.
Unfortunately, that doesn't help much with figuring out why your compiler is giving the error. -
RE: Adding Listen only device to my system.
This is only a partial answer.
You have to implement a function on the node to receive the data: void receive(const MyMessage &message)
Go to this page https://www.mysensors.org/download/sensor_api_20 and scroll down to "Handling incoming radio messages".
I'm pretty sure I have seen someone on this site doing exactly what you are looking for, but I didn't find it when I looked. They had a node with an LCD display they could send text to.
Hope this gets you started : ) -
RE: Nb of possible nodes in a mysensors networks with domoticz
Another thing to check if you updated MySensors after a long time. The update overwrites the MyConfig.h file. If you had any custom settings in that file, you have to go back and reset them. This used to get me because I use 915Mhz with the RFM69 radios. Updates would change it back to the default, and I would have to go change it back.