This one looks better for outside use I think, because the sensor itself is more protected for water.
Posts made by rnollen
-
RE: Waterproof Lux Sensor
-
RE: Waterproof Lux Sensor
@alexsh1 said in Waterproof Lux Sensor:
@rnollen This is not a waterproof box. I have the same one and I can confirm that there is a moisture ingress over time (I used this one outside)
Yep, I also think it is totally not waterproof. I also say humidity inside the box. I think I do suggestions here, where I place the sensor itself in a little plastic bag to make it more waterproof. I think it will work better then? Or anyone got another suggestion?
-
RE: Waterproof Lux Sensor
@alexsh1 said in Waterproof Lux Sensor:
My BH1750 has been working flawlessly for many months. I put it on my window (from inside) to avoid any humidity issues, but the idea was to move it outside with my weather station.
That is the whole issue for me I have placed it in a waterproof box like this: http://www.ebay.com/itm/85x58x33mm-Waterproof-Cover-Clear-Plastic-Electronic-Project-Box-Enclosure-CASE-/281390875149?hash=item418434020d
This works, but behind a window is not an option. I want it facing the sun, basically the whole day with as little shade as possible. Otherwise it can happen that the sun is shining, but the sunscreen is not coming out because the sensor is not catching any sunshine
But in this box the sensor dies eventually and I want to have a long term solution for it -
Waterproof Lux Sensor
Hi,
On one of my projects I use the BH1750 Lux sensor to open my sunscreen. Now, to be honest.. I really hate that sensor It is more broken then it is working. I have replaced several over the past year..and now again with the frost it is dead again, where I did not touch it.
The Lux sensor is build in into a waterproof box, facing the sun.. Where the arduino itself is in a shed where it less influenced by the weather conditions. Now the waterproof box is not totally waterproof because of all the cables that are attached to it...
So I basically I want a waterproof Lux sensor where frost and vapour does not effect the sensor.. The BH1750 breaks to fast for me in my conditions.
Does anyone got a suggestion wat I can get, I have looked around on the internet .. but I cannot seem to find anything that is waterproof?
-
RE: Usage problem with 2.0 library
Think I have fixed it
I found this topic: https://forum.mysensors.org/topic/4680/mysensors-2-0-ethernet-gateway-atmega-w5100-restart-all-time/5
The answer for me was to downgrade the Arduino AVR Boards to version 1.6.11 (Using Tools/Boards/Boardsmanager) ... It seems there is a bug in the newer release of this tool and the W5100. So hopefully this issue can be fixed, so that in newer releases this is OK. Maybe it is wise to add this to the Ethernet Gateway Page when using a W5100 and Mysensors 2.0
-
RE: Usage problem with 2.0 library
@scalz said:
can you upload your gw and node sketch, so i can see your defines please?
Hi, I am only busy with the GW at this moment, I have not altered any sensor yet to 2.0 (Got 7 nodes).. this was the next phase I only have a lux sensor on y Breadboard running on MySensors 2.0
I used the sketch from the example libary, the same as on the build page of MySensors: (https://www.mysensors.org/build/ethernet_gateway) and used the "WizNET (W5100) Ethernet module" sketch.
Things I have tested:
- Enabled "//#define MY_W5100_SPI_EN 4" in the sketch. This resulted in a radio error:
- Changed the "//#define MY_SOFTSPI" in MyConfig.h, didn't seem to do anything when I enabled that. I have tested it where I have Enabled step 1, then it didn't give me an error on the radio... but it didn't fix anything also. Disabled step 1. Same result.
Don't know what I can test more
If you need anything, just let know.
-
RE: Usage problem with 2.0 library
Thanks.. I am not sure what is going wrong at this stage.
I am using an indeed a NRF24 radio, but I use the one with an external antenna (such as this one: http://www.ebay.com/itm/2-4G-1100m-Module-NRF24L01-PA-LNA-Communication-SMA-Antenna-Wireless-Transceiver-/172255694961?hash=item281b3d5071)
I use an external antenna because of the range and because I can make a cleaner box around itAlso my W5100 is slightly different, because alternative names are printed on the bottem. It has the same labels as the topicstarter here: https://forum.mysensors.org/topic/467/ethernet-gateway-troubleshooting-advice
But it worked like a charm for the last 1,5 years
But to give you an answer.. the SS/CSN is called NSS on my W5100 and this is the D10. Think this is OK?
The Radio CSN is connected to D6 -
RE: Usage problem with 2.0 library
@scalz said:
looks like your GW is rebooting..
What's your hardware for GW?I use an Arduino Uno and the W5100 Module, not the shield which you can click on an Uno..
I know in the past when I created the module, I needed to enable "//#define MY_SOFTSPI" in MyConfig.h... Tried it again, no luck.. Checked the wiring, nothing strange here..also nothing was changed on the wiring part, so I thought I would expect the same result...
-
RE: Usage problem with 2.0 library
@scalz said:
but for testing, you're right, it's perahps better to assemble a small test setup and see how it behaves before updating.
Ofcourse.. No Nuts no glory, I thought So updated my gateway..
Now, updating went well: I see this in the logs of the gateway:
IP: 192.168.0.20
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.0.20
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.0.20
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.0.20
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.0.20And it doing this in a loop... So I think this is OK?
But now, my domoticz doesn't connect correclty It does an initial connection, but I get an connection reset after a few seconds.
Anyone tried this with Domoticz? I would not have expected this<edit>
Hmm.. Gateway is not functioning correctly I guess.. In the troubleshooting guide I think I should see more at the end: (Copy/paste from this site):
IP: 192.168.10.80
0;255;3;0;9;MCO:REG:NOT NEEDED
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,ID=0,PAR=0,DIS=0,REG=1
0;255;3;0;9;TSF:MSG:READ,12-4-0,s=18,c=1,t=16,pt=1,l=1,sg=0:1
0;255;3;0;9;TSF:MSG:READ,12-4-0,s=31,c=1,t=16,pt=1,l=1,sg=0:1Also, I should see Gateway Startup Complete as the last line, but for some reason it is not working.. The wiring is exactly the same as before..? Also cleared the EEProm; republish the sketch.. but no luck
So it does not initialize correctly I think... but why? -
RE: Usage problem with 2.0 library
OK... I will try to find v2.0 code for my projects And will upgrade the GW first then
-
Usage problem with 2.0 library
HI,
I have several sensors running on the V1.0 my sensors library, this for quite some time now... All works like a charm.
Now, i wanted to create a new Lux sensor, so I have decided to make this one using the v2.0 library code
For starters I had some installation issues. I I didn't know how to upgrade the library from v1 to v2, so I have decided to uninstall/install Arduino software and to use the tutorial how to add the 2.0 library to the arduino software. For some reason the new sketches didn't work and I didn't saw how to upgrade it on my earlier version of the Arduino software. But this fixed it.Then, I was not able to use Bh1750.h library, so I have donwloaded it from gifthub and added it to the library. All was working and compiling wel from then.
But now, the lux sensor itself is not working. It gives me an error:
TSM:ID
TSM:CHKID:OK (ID=6)
TSM:UPL
TSP:PING:SEND (dest=0)
TSP:MSG:SEND 6-6-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
TSP:CHKUPL:FAIL (hops=255)
!TSM:UPL:FAIL
TSM:FPAR
TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSP:MSG:READ 0-0-6 s=255,c=3,t=8,pt=1,l=1,sg=0:0
TSP:MSG:FPAR RES (ID=0, dist=0)
TSP:MSG:PAR OK (ID=0, dist=1)
TSM:FPAR:OK
TSM:ID
TSM:CHKID:OK (ID=6)
TSM:UPL
TSP:PING:SEND (dest=0)
TSP:MSG:SEND 6-6-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1I see a fail on TCP:CHKUPL:FAIL.. I found on the internet, that maybe ID 0 was used in the (used the example sketch from this site), changed this to a different value, but with no luck..
I need to say that my GW is still using the V1.0 library code. I didn't upgraded this yet because I am not sure when I change my GW that I need to upgrade all my other sensors? Hopefully this is not the case :).....
Anyone got an idea what this error could mean?
-
RE: Problem with Wind Speed sensor
@AWI Thanks! The sketch works. But, I am not quite sure if the readings in m/s are correct. As a test, I have used a normal table fan, then I got 3.3 m/s on full speed..
Then I used a hairdryer, that on full speed.. It spins then very very fast, but it is still only 11 m/s. This is classified as normal, somewhat powerfull wind? Looks to me it's pretty low? Or could this correct for this case? :)'Edit-> Maybe it is correct Saw somewhere on internet a test with somewhat smaller hairdryer, which gave 9.5 m/s
Unfortunately I don't have any experience with windmeters Don't know how hard it should spin and how to test the output -
RE: Problem with Wind Speed sensor
@AWI Thanks for the sketch, but I still run in some issues. When i download the sketch, I got an error with the line "#include <MySensor.h> ". The strange thing is, everything seems to be OK, but it say it cannot be found. When I copy/paste the lines from a different sketch, it does work correct?? The strange thing is, I don't see difference. Maybe something wrong with a font or some sort?
But, then the issues really start. All the Mysensors stuff, is not recognized (e.g.send). I was able to fix that, copying from other sketches and add gw. before everything. In the serial monitor it then looks OK. That seems for me to solve the issues on that side.
But finally, in domoticz, it does not work then Everything is looking perfect, I see the sensors appear, but no new device is added). I saw a topic on the domoticz forum where the same thing happened and where you also replyed in: https://www.domoticz.com/forum/viewtopic.php?f=42&t=11490&p=82522&hilit=wind#p82522
Tried some various stuff, but no result sofar
Any idea?
-
RE: Problem with Wind Speed sensor
@AWI said:
@rnollen take care.. This is how it should be (with the anemometer) I will post the MySensors version tomorrow (need some sleep now)@AWI ..Awesome Thanks so far
-
RE: Problem with Wind Speed sensor
@AWI I am still ill, while doing this Hopefully tomorrow will be better, Hahaha..
But, the results looks promising and OK I guess
8.13
10.87
14.08
20.00
27.78
23.81
25.64
10.75
0.00
1.81
12.66
11.49
10.75
10.00
9.35
8.85
8.33
7.87It's 0 when I am not turning it around, so that is OK. Low number, when rotating it slowly. High number when rotating it fast
-
RE: Problem with Wind Speed sensor
@AWI Sorry for the late reply, I got the flu But did test the sketch, but I got the same results basically.. Mostly 1000, inf and sometimes a 500? So what can be wrong here?
Thanks for all you're efforts so far!! Really appreciate it
-
RE: Problem with Wind Speed sensor
@AWI Hmm.. I see this:
1000.00
1000.00
1000.00
1000.00
1000.00
1000.00
1000.00
1000.00
1000.00
500.00
1000.00
0.00
inf
1000.00
0.00
0.00Don't think that this is correct right? Am I doing something wrong, or does these numbers say anything to you
-
RE: Problem with Wind Speed sensor
@AWI said:
@rnollen the "inf" means infinite and is caused by a 0 division. You can try to remove the line starting with 'float' and print the time values.
I assume you changed the anemometer pin in the sketch to d7...?I have did some additional testing. The DC12 is wrong I think, when I use that then the whole sketch does not give any values back. Now used the 5V of the arduino, then I got something readings using this sketch. I have added some additional serial print lines for logging. But when times are zero, then the frequency is INF and that happens when I don't rotate, so that looks OK I think
..
Timeon: 0
Timeoff: 0
TimePeriod: 0
Frequency: inf
Timeon: 0
Timeoff: 87951
TimePeriod: 87951
Frequency: 11.37
Timeon: 24222
Timeoff: 22899
TimePeriod: 47121
Frequency: 21.22
Timeon: 24960
Timeoff: 27680
TimePeriod: 52640
Frequency: 19.00
Timeon: 27545
Timeoff: 28273
TimePeriod: 55818
Frequency: 17.92
Timeon: 63310
Timeoff: 0
TimePeriod: 63310
Frequency: 15.80The serial.print lines:
Serial.print("Timeon: ");
Serial.println(timeon);
Serial.print("Timeoff: ");
Serial.println(timeoff);
Serial.print("TimePeriod: ");
Serial.println(timePeriod);
Serial.print("Frequency: ");
Serial.println(frequency);But any idea, because I am still lost don't know exactly what the conclusion of this is
-
RE: Problem with Wind Speed sensor
@AWI said:
@rnollen good news. Npn needs a pull-up so the sketch above should be able to do it. It uses the internal pull-up of the Arduino. I am curious to the outcome.
It does not work entirely correct I think. In the serial Monitor I see "Inf" as outcome of the sketch Don't see exactly where that is coming from
Maybe something wrong with the wiring? I Attached the 12V DC to red and blue. The Yellow, connected it to the breadboard and a cable from the D7 also to this connection. I took a 4.7K resistor, connected also to this group and the other side of this resistor I connected to the 5V of the Arduino? Is that correct?
When I remove the resistor: then this is my outcome of the sketch:
12.82
inf
inf
3.36
1.88
55.06
inf
37037.03
inf
333333.34
30.95
17.43
inf
142857.14
inf
125000.00
500000.00
500000.00
90909.10
500000.00
39.47
inf
250000.00
500000.00
inf
20.54
45.67
58823.53
inf
9.88
inf
inf
9.17
infThen I got some numbers, but what they mean The very high numbers are when rotating..
-
RE: Problem with Wind Speed sensor
@AWI Thanks, I will give it a try. Today I also received some additional info. The device is a NPN model. Type 12CM, according to the supplier it is 12 pulses for 1m/s per second. But the manual says that this model is 10 pulses for 1m/s.
So basically I could now connect the device as NPN, only I need to find out how
-
RE: Problem with Wind Speed sensor
@AWI said:
..... There should be many examples on the web.Have fun
Unfortunately I cannot find any working example code. Found all kind of stuff on the internet, but nothing that will give me some valuable data.
I think that the examples on the internet mostly uses an pull up anemometer, as far as I can see the Arduino Nano also have a internal one which you can activate on the sketch. But basically, when I use a resistor, which is connected on the yellow and red wire, I am still stuck on the sketch I cannot find something desent (and small), that gives me something valuable. I now know why the windmeter is not an example on the Mysensors site Way to difficult :). -
RE: Problem with Wind Speed sensor
When I use the volt meter and I rotate, then the volts are pretty much the same. Rotating faster, doesn't give me higher values.
As a test I have attached it to my Arduino nano using a 10k Pullup resistor. Found a little example sketch regarding the LED on the arduino site. As the very first test I can see the light bling on the arduino when I rotate the windmeter. Rotating it harder will make the light bling faster, rotating slower and it blings slowly. So the pulses seems to come through.But now, I need a vary small and basic way to start counting the pulses when it rotates. I have tried to create a very small sketch (using an example of the Arduino website). But that is not working OK. Tried to modify the examples for powermeter and watermeter which are also pulse sketches, but at this stage it has too much code.
Does anyone have a very small example sketch to start with for my setup? -
RE: Problem with Wind Speed sensor
@AWI said:
@rnollen If you keep the voltage at 5v you can directy connect to the arduino pin. You still need a pull-up/down resistor though.
pin D13 on the nano has a LED connected to it. It may help you in observing what is going on. A LED is much faster than a volt meter..
Sorry for all the questions But I am a noob on this matter. I do know something of scripting, but electronics is not something where I am familiar with.
But to summarize then how to connect it; The yellow line, will go through a resistor (which one?) and that is connected to D13. Black is Ground, Red is 5 Volt? Is this correct? And is this setup only for testing or also as the final solution later on, because the D13 is also used for the radio? Problem is: I don't know exactly what a LED is in you're exampleEdit-> Also send questions to the supplier. Maybe he can gives me an answer if it is PNP or NPN device. Also asked for schematics and how to calculate the pulses.
-
RE: Problem with Wind Speed sensor
@AWI . I will try to find out. But for the record later, can I simply connect the 5V, ground and the Yellow dataline directly to the arduino ? Or do I still need a resistor somewhere?
Then I will try to find I sketch to read the digital pin. Can i maybe use other pulse sketches as an example?
I will do the Volt test, I know that the volt test remains the same when I rotate on the same speed. Don't know for sure, if I rotate faster if the volt's are the same then as before. I thought not, but I will test later tonight. -
RE: Problem with Wind Speed sensor
Thanks; but how to go further from here then Is there a way to create a sketch for this device? And how to attach it to a Nano board?
I got a manual from the supplier: https://1drv.ms/w/s!AmsPyx0xoB6jjYo0PZZRazdA3-vPpw for this device. But I already see a difference with the wires But to give it a start then, according to the manual it counts the pulses and that gives a windspeed
-
RE: Problem with Wind Speed sensor
@AWI said:
@rnollen can you get it to a stable less than 3v when rotating.? If you can not get it stable than I there is a chance a serial protocol like "onewire" is used. Then you need a clue from the supplier. If you have stable outputs when rotating very slowly it is probably a pulse train which you can count.
Yes, It is stable when you rotate it. Around the 3V. But how can I count it then?
-
RE: Problem with Wind Speed sensor
@AWI said:
@rnollen I think you can just assume that red =positive, black = gnd and yellow = signal.
You should connect the resistor between yellow and red if you assume an open collector output. Then power the sensor on black and red.Connect your multimeter (in volt position)(just noticed you have one) to yellow and ground and rotate the sensor slowly. A 100 ohm resistor will do for testing.Thanks. I did a quick test. Grabbed my multimeter and set it on the 20v. (2v gives me an error). Connected it like you have said, using the resistor. Used the ground and 5v of my Arduino nano as power.
When I do not rotate; I get 4.54V on the yellow and black line. When I start rotating, it is less.. mostly around 3. But it jumps around, but always less then the 4.6 when I start to rotate. I cannot say that rotating faster gives me another or different value, I think it will go to the 3.So any idea
-
RE: Problem with Wind Speed sensor
@AWI said:
@rnollen Your values could be from a floating input. So like @Yveaux suggested the wind sensor can have an open collector output. Best to try with a multimeter first. You can connect a 10 - 100k resistor from the output to Vcc and see if you get a pulse output when rotating.
@all thanks for all the replies. I did send an e-mail to that ebay supplier.
@AWI: I have a 100 ohm resistor. Connect this to my breadboard, but don't know how to connect this then to an arduino? The windmeter has three cables: black / red and yellow. The yellow line is the data line and black/red are power and ground? I have a multimeter, but not sure how to use it for this purpose
-
RE: Problem with Wind Speed sensor
Thanks for you're reply. On the ebay website at the product description, it is said: "Supply voltage: DC 12-24 V", so therefore I thought I needed a 12V powersupply to power this device
I use a nano board, so I can attach a 5V to it, I will give this a try. I still need to find out first if it is broken basically But a few things that worries me regarding this setup:
- The picture on the ebay site shows 4 cables coming out of the device. I only see three Regarding the other sketches, this seems to be OK, because A1 is only attached.. but I am not sure
- When I run the sketch and I just read out the Analog pin 1, I always get data. The device doesn't needs to be attached basically. So I really don't get how the Analog 1 pin should work and why I get data when nothing is attached? I used the sketch of this topic: https://forum.mysensors.org/topic/2856/wind-speed-sensor-node/21 using the last reply. Only I deleted the direction and gust values, because I can only measure speed I think.
Can you give me a heads up? How should you think I need to connect it? And how I must adjust the sketch in order to get the data?
-
Problem with Wind Speed sensor
Hi,
I recently bought a Windspeed sensor on Ebay: http://www.ebay.com/itm/181741789708?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT This to use it later in domoticz.
Now, I found some sketches on MySensors which can be used on a Windsensor and domoticz, but I have hard time figure out how to what the data is that I am seeing. I attached the windsensor to a 12V powersupply and the data line of the wind speed sensor is connected to analog pin 1. Now, as a test I only read out the analog A1 line with this code:
nomod_wspeed = (analogRead(WIND_SENSOR_ANALOG_PIN));
When I do a Serial.print, I get these numbers below. Now what the strange thing is, I do not rotate my wind speed sensor? So I cannot understand what the data is that I am seeing here?? I would expect that everything is zero when I don't rotate it? In example on this forum, I saw that the sketches will do something with this value, but what then?
NoMod_WS: 0
NoMod_WS: 912
NoMod_WS: 0
NoMod_WS: 254
NoMod_WS: 954
NoMod_WS: 117
NoMod_WS: 775
NoMod_WS: 165
NoMod_WS: 799
NoMod_WS: 0
NoMod_WS: 1023
NoMod_WS: 0
NoMod_WS: 1023
NoMod_WS: 10
NoMod_WS: 1023
NoMod_WS: 0
NoMod_WS: 997
NoMod_WS: 0
NoMod_WS: 979
NoMod_WS: 178
NoMod_WS: 1015
NoMod_WS: 239
NoMod_WS: 0
NoMod_WS: 809
NoMod_WS: 0
NoMod_WS: 1023
NoMod_WS: 0
NoMod_WS: 1023
NoMod_WS: 712
NoMod_WS: 209Can someone help ? Is my device well attached or am I doing something wrong here?
-
RE: How To - Doorbell Automation Hack
I have installed the doorbell sketch on my testboard. This just to see how it should be working. First sensor with a relay for me basically
But I have a question. I have use the sketch, I have two devices coming up in Domiticz, a security sensor and a light switch. But basically I don't get the function of these buttons?
I think the security sensor responds on the doorbell press?Also I think the other button is to activate the physical doorbell which could switch the relay? But I would expect that the security switch button in Domoticz could also activate the relay remotely, but this is not the case? Because, I don't see an option to switch the relay remotely in Domoticz?
So it is working; but any help is appreciated if somebody could explain the functionallity for me and if this is the expected behavior
-
Connect my existing burglar alarm system
Hi,
I have an existing alarm system in my house and I want to find out if I can connect my domoticz to it using MySensors?
I have a Texecom R8 burglar system and using the leds keypad. An example picture of my keypad:
https://www.grax.co.uk/Upload/SiteImages/XL/b945b594-4bee-4a42-8c04-dc5baa2f49af.jpgand an example picture of the Texecom R8 alarm system:
http://www.traderswarehouse.co.uk/index.php/texecom-veritas-r8-plus-control-panel-1Now, I want to find out if there is a way to connect this to my domoticz using MySensors
I looked a little bit around on the internet and I found this:
http://hackaday.com/2012/07/27/bending-a-home-security-control-panel-to-your-will/So my questions:
- Can I use the same procedure on my alarm system?
- How must I edit the sketch for my alarm system, because my leds and buttons are different?
- How must I connect the radio to it and what must I edit in the sketch in order to get it working?
Or is it better to just use a relay switch somewhere?
Hope someone can push me in the right direction? Thanks!!
-
RE: [SOLVED] Radio init failed
@nikolian said:
hello i have the same problem i tried different power source... (le33,ftdi3.3, 3.3 v of arduino uno ) but nothing... i have tried Decoupling-Capacitor and again nothing. also i have triple check the wires. but nothing.
my radio is nrf24l01+ and works (ihave tested it to my gateway)
my board is arduino pro mini 3,3thanks
I had the same problem, but I also found out that it is the lux meter itself. When there is no or almost none sunlight it simply does not send any data and it feels like it does not work.. if you're testing, do it in daylight and have patience. At the end everything did work for me, also with a powersupply of 5v.
The one thing I found strange. I connected a 9v battery to the sensor. The lux meter drained it within 3 days, so I find that extremely fast.. I hoped it was usable with a battery, unfortunetaly it does not.
-
RE: Powersupply for Arduino Nano
In my case; that is the problem. The sensor does not when I use a phone adaptor on my USB port? I build a light lux sensor and I get bad readings then. Sensor works correctly when connected to my laptop using USB.
I have tried a nokia phone charger; same result? -
RE: Powersupply for Arduino Nano
Ok, but if the sensor is not working OK when using a 5v powersupply connected through Mini USB, would it be any different then when connecting it to pin 27? Is there a difference in that, is it then regulated? Otherwise I will cut my USB cable to connect it to pin 27
Thanks
-
RE: Powersupply for Arduino Nano
Thanks for the reply. But how do I know if the external power supply is "regulated"?. Tried two 5v external powersupplies on the mini USB port and they don't work. One I use to charge my Gopro, the other one I used on a phone. There they work The arduino only works now using the power on the USB port while connected to my computer.
I think it is easier to buy an universal powersupply, more then 5v and connect this then to the vin/grnd pin. I am afraid I otherwise could have the same issue?
-
Powersupply for Arduino Nano
Hi,
I have created my first project using a light lux sensor on an Arduino Nano. Now, at this stage it seems like this sensor only works when I take directly the power of my USB port of the computer and use this to provide my arduino nano with power.. In the end I want to use an external power supply for this sensor, so as far as I know an USB port on a computer is 5V; I have tried several different 5v power supplies, but these don't work for this sensor.
I think normally a 7 to 12 volt powersupply should be used, on my Uno it is simple because this one has a Powersupply connector..
Question is, how must provide my Arduino nano of external power and which powersupply should I use? Must I connect this to the Mini USB port? Or must I connect something somewhere else to provide the power?Thanks for the replies!
-
RE: [SOLVED] Radio init failed
Woehoe... Success. It indeed was a power issue. My nano got a 3.3v connector; didn't know that, reconnected to it and it worked.I still don't know for sure why I couldn't use the power of my Uno, but ..this works OK and I see the Lux device in Domoticz
I think I still need to decoupling capacitor, but I need to order that on ebay.. I don't have that ... -
RE: [SOLVED] Radio init failed
Thanks for the quick reply. I am not sure if the nano has 3.3 v. See link:
https://www.arduino.cc/en/Main/ArduinoBoardNano
I do see a 3v3 connection; Is this the 3.3 volt connection?But to answer you're question:
- Could be; but I have checked it several times and recreated everything on my switchboard.
- As a test; took the 3.3v power of the Uno (but I am not sure if the nano has 3.3 v). This should be sufficient for the test I think?
- Checked the label on the chip; it does say +; I have red the topic but I think everything is looking OK ? Besides the chip is there another way to see if it is the + or not?
Thanks!
-
[SOLVED] Radio init failed
Hi,
I am very new with Arduino and I am doing my first project regarding this. I have build an ethernet gateway based on an Arduino Uno and I use the NRF2401+ Radio device. When I connect the Uno to my laptop; everything seems to be OK. I am using it from Domoticz and i don't see any issues (yet) on my Ethernet Gateway, I can succesfully access it.
Now for the sensors; I have a Arduino Nano (AtMega328) and I want to make lightlux sensor. Now; I have connected the Radio device and i get an error message (using the serial monitor) that says "Radio init Failed" after I upload the sketch. I have reconnected and checked the wiring multiple times, also I have used several different radio's, but the problem remains.
I am still in a lab setup. Unfortunately i don't have a decoupling capacitor for 5v to 3.3v; therefor, as a test, I took the 3.3 power of the Uno (which has 3.3v) and used that to feed the radio. I think as a test this should work, but any help is appreciated? Where can I look next?Thanks!