I was having way too many problems with the radios and code so I gave up and started to use beagle bone and just use domoticz api
Justin Rich
@Justin Rich
Best posts made by Justin Rich
Latest posts made by Justin Rich
-
RE: Dallas Temp failure to compile
-
RE: First Project, no errors but no data
I'll have to grab a couple of those and give it a try. Any suggestions for power sources? If I'm going to have to order stuff I'd rather get a handful of things to help solve any other problems I might run in to rather than a lot of small orders.
-
RE: First Project, no errors but no data
Yeah I just threw the multimeter on a couple of boards and from USB power the 3.3 is all over the place. usually in the high 2's, but, looks like enough to cause a problem, i'll have to find another power source.
I would think in your case where its 3.2 and 3.4 those should both be close enough for it to be fine?
I could maybe use the 5v (which is also a bit low) and step it down?
I have two cheap Arduino's and one branded one. one of the cheap ones is solid and the other cheap one along with the named one are both fairly unstable. I tried a few different USB ports and a powered USB hub. the powered USB hub was the best result. Im going to have to screw with this some more.
I also found a power module for it and powered it with that (6v) and i didnt see much difference in my 3.3/5v pins.... considering how all over the place they are, im curious how well my multimeter is connected to the pins.... too many variables
-
RE: First Project, no errors but no data
@keldandorin I just restarted my sensor about 10 times and it finally started to send. however it failed to send
send: 105-105-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,st=fail:39.0
guess i still need those caps
i guess i should take a step back and get the caps and then build something with the radios just to test with and get comfortable with them.
Im worried that if i actually start to use this that if there is ever a problem (system/gateway reboot) that it might be a nightmare to get this all back online, especially if i get a handful of sensor setup
-
RE: First Project, no errors but no data
Ah, I stopped reading that post after it said how to ask for help. I had assumed the troubleshooting info stopped there.
I've tried to swap out a few different radios with the same result. I've also verified the wiring and it looks ok. I guess I'll have to pick up some capacitors to try that. Not sure what else i could be.Thanks
-
First Project, no errors but no data
So im pretty new to Arduino in generally, but this all seems like it should be fine. I will say I dont currently have a capacitor available to put on the antenna but for testing purposes the two antennas are just about touching (1 inch apart) and i know thats not really why the cap is added, but i figure it would at least randomly connect once in a while. Also Im not posting any code because these are unmodified directly from the examples.
I have built a basic serial gateway and the config has debug enabled. upon uploading the output is
0;0;3;0;9;gateway started, id=0, parent=0, distance=0
0;0;3;0;14;Gateway startup complete.which, seems fine. I then built a very basic humidity sensor and its output looks like this.
find parent
send: 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
sensor started, id=105, parent=255, distance=255
find parent
send: 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
T: 20.00
find parent
send: 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
H: 36.00It kind of seems like its finding the parent but i've been unable to find a key to that format (s/c/t/pt/l/sg/st) so im not entirely sure what those values are telling me. I assume it connected at some point because after a few find parents there is a sensor started, but i could be off base here, again, wasnt able to find any docs about the protocol in general.
The gateway never shows any additional data. I would assume if the humidity sensor were to connect at all, there would be some output on the gateway?Sorry for this very basic question. I hope I've provided enough info.
Thanks,
Justin -
Dallas Temp failure to compile
Im trying to build my first sensor and im getting the following error.
C:\Users\jrich\OneDrive\Documents\Arduino\libraries\DallasTemperature/DallasTemperature.h:249:13: error: 'int16_t DallasTemperature::millisToWaitForConversion(uint8_t)' is private int16_t millisToWaitForConversion(uint8_t); ^ DallasTemperatureSensor:79: error: within this context int16_t conversionTime = sensors.millisToWaitForConversion(sensors.getResolution()); ^ exit status 1 within this context
I just downloaded and installed the libraries (i think successfully) but I noticed that towards the top where the libraries are defined the <MySensor.h> is all standard black text where as the <OneWire.h> has OneWire in orange (i assume this is ok, has to do with types of libraries?)
also the error states that the function is private, which means im not allowed to call it?
Arduino told me to update some libraries, one of them being the Dallas stuff, but it seems like this is an error with the sensors library not defining the millisToWaitForConversion as a public function?
hope this is something simple im doing wrong, pretty new to all of this