Today I build a basic node for temperature (DS18B20) and analog input. Most of my nodes feature a DS18B20 connection as it only 'costs' a 4k7 resistor and a connector.
PCB is etched.
Best posts made by boozz
-
RE: What did you build today (Pictures) ?
-
RE: 5v cable
and a simple 'trick' to allow higher currents if necessary:
A network cable has 8 leads in it. Any spare pair of leads not used for something else (e.g. data....) can be used to increase the current strength of the 5V and return (GND) line.
-
RE: What did you build today (Pictures) ?
Today I finally found some time to put a few modules together.
A cheap solar cell (€1.35 a piece) with recharcheable battery which feeds via a step-up converter (€0.70 /pc) a pro-mini (5VDC). The DS18B20 is read every 5 minutes.
Now I’m Interested how long this sensor will do its job. -
RE: [solved]Capacitor for radio module
The purpose of the capacitor (use an elco for this) is to make sure that the voltage remains smooth (no ripple or sudden drops) by buffering a small amount of energy (capacity). From that point of view: the larger the value, the better.
The next question would be if your source is able to supply the current to keep the capacitor filled. From that point of view a small capacitor would be the better choice, but too small would give you too less buffered capacity....The practicial approach is to test it; I've done that and I found out that a 4.7 uF was good enough. Up to values of 100 uF (never tested with higher values of elco's) worked as well, but these are larger....
Better is worse than 'good enough'
Have fun!
BR,
Boozz
-
RE: some problem in sensor + repeater !
@Reza
just try it and see what happens -
RE: Dallas sensors puzzle - sensors.begin()
@zboblamont
Although I didn't completely analyse your sketsch I remember from some time ago that I ran into problems once I moved the one-wire- pin from 3 to another pin. No idea why, and never actually took the time to troubleshoot this, but when I brought it back to pin 3 all my problems disappeared with the dallas sensors.Hope it helps.
BR,
Boozz
-
RE: 💬 Arduino UNO NRF24L01+ Shield
@mfalkvidd
I think you’re right. I only had a look at the first image and there the C1 location was not visible as the nrf-module was in front of it.
My bad -
RE: to debug or not to debug
Thank you both for the contributions.
@mfalkvidd: Thanks a lot for pointing me towards the technique to turn it on /off. This will become very handy in the future for sure.
BR,
Boozz
-
RE: Creating Wireless Sensor Network
@codergirl56
Reading your question, I think your starting point is to have a look at the pingpong example (see below for the direct link) which comes with the mysensors library and try to modify it such that it starts sending the RFID data.direct link to pingpong example
First you'd need to install the mysensors library of course, see the download page. How to do that is in the "Getting Started" as mentioned by @AWI. Just start reading and you'll be guided to it.
good luck
Boozz
-
RE: Ultra low temperature (-80ºC) monitoring probes
@emc2
According to some datasheets a K-type thermocouple would be my first choice. Look here for a table on K-typesa MAX31855 can be used to interface to the arduino. See some explanations here and here.
I haven't read all of the information above, but the datasheet for the MAX31855 tells us that it can be used from -270º up to 700º.
Could be a starting point I think.
Good luck,
Boozz
-
RE: How to find out if message was successfully delivered?
You could also use code like this:
bool delivered = gw.send(kwhMsg.set(kwh, 4)),true); if !(delivered){ // put code here to take corrective actions, ... }
BR,
Boozz
-
RE: connection problem between node and serial gateway
@Reza
Maybe it's worth going through the "Getting Started" section which can be found on top of the homepage for MySensors. If you read your way through all the info given, and a lot is explained in detail in those sections, then you come across the section where the network topology is explained.I made it somewhat simpler for you: just click here to reveal a nice picture showing the network topology
BR,
Boozz
-
RE: Uno stops sending
I agree that powering the nrf via the uno's onboard 3.3V can be problematic. Unfortunately I experience the same issues with my pro-mini's and here the nrf's are powered via an external 3.3V LDO voltage regulator (MCP1700, TO-92). Now and then a sensor or repeater simply stops.
Cut and paste from Jim Danforth: Hitting reset button makes it reconnect and instantly update.I've never tested my nrf's (china, ebay) but I guess this could be the source of the problems we're experiencing.
I think it's worth trying the quality meter as discussed in this tread
BR,
Boozz
-
RE: some problem in sensor + repeater !
@Reza
You can change your code yourself: replace gw.sleep(sleep_time) by gw.wait(sleep_time).Given the posted code I think you use the MySensors 1.5 libraries.
BR,
Boozz
-
RE: connection problem between node and serial gateway
You'll find that info here.
A sensor can act as a repeater, but it doesn't have to do so. I have to use some repeaters around my house as I've got to get the signal going through very thick glass (with a coating on it) and through walls of stone. It's a bit of a faraday's cage I live in :-).
Most of the repeaters have a DS18B20 sensor on it so I can log the temperature at that point as well. This makes them a little bit more functional than 'just being a repeater'.
If your nodes function for some time, the capacitor is Ok. Occasionally I use 10uF, but 4.7 uF should be Ok. I think the problem is your walls. Use an amplified nrf24L01+ version or place an repeater at one or both sides of the wall.
Try what happens if you place your node at lets say 5 mtrs. from the repeater. Does it still disconnect after some time?Succes!!
BR,
Boozz
-
RE: Water pressure sensors?
Have a look at freescale sensors. i.e. MXP-type sensors. You could ask for samples (they will provide up to 5 pcs. for free). Cost around $15 pcs. normally.
You'd mount such a sensor on top of a riser (air-tight) and when the (sewage) water rises, the air-pocket is compressed proportionally. This is how I measure the ground-water level at my location and it helps me to keep my basement free of water. Works flawlessly!
BR,
Boozz
-
RE: some problem in sensor + repeater !
@Reza
Instead of asking people in the forum at every step you take, you could use the trial and error method.BR,
Boozz
-
RE: Unknown battery drain
@richard-van-der-plas
get yourself a boost converter. Something like this:DC-DC 0.9V -> 5V
I remove the USB connector, disable the LED's and it increases the battery voltage to 5VDC.You need an extra cap on the 5VDC output as it will otherwise compromise the working of the nrf24L01+.I use 5V pro-mini's as well on batteries and my NiMH batteries last at least one month, doing a somewhat similar thing as what you have in mind.
I have to power a pressure sensor which is used to monitor the ground-water level around my house. This sensor takes slightly less power than your water sensor.I do agree with @mfalkvidd a 3.3V pro-mini would be better for this as you do not have to get the 5VDC down to 3.3VDC for the nrf24L01+, but the 5V version is the next best option in my opinion.
-
RE: BME280 sensor variability
Looks to me as if the sensors perform as specified (acc. to the datasheet etc.):
Relative Humidity: absolute accuracy tolerance of the RH: +/- 3
Temperature: in the range 0-65ºC: +/- 1.0 ºC
BTW: The datasheet says the following about the temperature:
BR,
Boozz
-
RE: 1.5.4 and 2.0 on the same computer
@gloob
thanks for the hint. I've done this today. Renamed the Mysensor files (added an 'X' at the end of every .h and .cpp files) and dependencies insides these files and everything compiles again under 1.5.4, so next thing is to install 2.0.BR,
Boozz
-
RE: twm 1000 flowtransmitter
Hi,
If you'd like someone to answer on this, I think it's good to give a little more background.
As you're getting readings it tells me that it's been hooked up, but not if it's hooked up correctly. Please provide some info on how that's done. Images as well as schematics will be helpful.
BR,
boozz
-
RE: BME 680 SPECIFIC INFORMATION SEARCHED
@maartend
See for the link below. It's one of the first hits when searching on google with the words "BME680 raspberry pi":Reading a sensor on a raspberry pi 4B can't be much different from older raspberry versions I guess. The OS might have changed with the new version. Python hasn't.
-
RE: Modular sketch to be configured with JSON (idea)
@kimot @monte
It appears to me as what has been described by @monte is almost completely covered by the Tasmota project: https://github.com/arendst/Tasmota -
RE: nRF24L01+ Communication Failure: Root Cause and “Solution”
@mfalkvidd
Thanks!
I guessed something like that, but couldn't find it in the API section -
RE: 1.2 MPa pressure transducer
Maybe something like this?
This comes from: https://issuu.com/process1/docs/pii-june-2019
Page 14 and further
-
RE: Waking up 3.3v Pro Mini
Have a look at the examples as supplied with the mySensors library. Both ways are implemented extensively.
The gw.sleep(...) function will be the way to go for the 12 hrs. you'd like to put the sensor asleep. This is used in many examples
For waking up with interrupt have a look at the example for the power meter. It wakes up the sensor when an interrupt occurs.Be my guest to find your own way of programming this, but as @mfalkvidd already pointed out: MySensors has its own functions!
Good luck,
Boozz.
-
RE: My experiences with MySensors
@rodaman
Although fully agree with @mickecarlsson and @tbowmo (I have been lucky with really cheap nrf24L01+ modules I think) and have a similar experience as @TheoL (MySensors works fine with nr24L01+ modules) I can state that mySensors is very much alive.However, I'm interested in your Wemos setup.
I've got some questions from which I'm sure you can give me the right quidance:
I guess it used some bandwith in your Wifi network? can I use it similar as mySensors topology or even with mySensors libraries?
Can it be used with batteries (sleep modes and so on) for a long time?thank you in advance for your values answers,
BR, Boozz
-
RE: Laptop recommendation
@arraWX
Just wondering,Will your son control minicraft via some remote construction in which mySensors is involved?
As far as I can see from the use of my son, there's no particular need for desktop speed while using minecraft. He's using one of my older laptops (laptop age: 5-6 years) and never complains about speed, although he often ends up as a winner in battles. This implies IMHO that minecraft is not a processor / video demanding application as far as I can see.
Choose the cheapest one, he'll need his money for beer
drugsand preservatives in a few years timegood luck,
Boozz
-
RE: What did you build today (Pictures) ?
Yes these are 'molex' pcb connectors.
An ebay alternative can be found at: Ebay shop cayin34
-
RE: Use another node than gateway for control
@mfalkvidd
Serial input will come from a windows based PC. Probably the same as the one that acts as the datalogger.
The actuator could be any actuator-node.To give you some more info:
I have some lights in my shed (mancave actually.... ) that should turn on when pressing a button, somewhere nearby, i.e. near the door. This button is connected to a node that sends the command to the actuator node. setdestination will play a role in this node.
There's also an automation scheme to turn on (and more important: off) the lights. As the shed is quite far away it is very handy to turn off the lights when I have returned to my home and forgotten to turn of the lights (for whatever reason). For this purpose I will use this specific node. Once I manage to controll the lights in the shed, I will be able to controll some more things around. -
RE: Frequency usage regulations
It's good to come up with this and I fully agree that we should respect the regulations. You explained it well by the 'stealing' analogy.
I think the links you've inserted are good, but they provide an awfull lot of information which most probably is not all applicable for our mySensors users. Would it be an option to elaborate what the limits are for us in e.g. using the nrf24L01+ antenna's?
I'm using 3 nrf24L01+PA+LNA SMA Antennas (amplified) as well as approx. 15 small nrf24L01+ modules in my network. I'm wondering am I still acting within the regulations if I use an amplified nrf24L01+ LNA etc. in max power mode (NRF_PA_MAX) using Channel 24?
I would really appreciate it if you can tell me if I comply with the regulations.
Thanks,
Boozz
-
RE: Two Mysensors Network in Same Location
I have two networks running in the same area, with the same purpose as yours.
One is running at Channel 13, the other at Channel 58. Works perfectly.
Boozz
-
RE: Over current protection
I think that if you'd type these 3 words as you've used in the title of your post in any search machine you would get the info you're looking for.