First of all. thank you guys for all the help! here is what i found out. When testing my hardware i found that alone with the MySensors Dallas sensors sketch i would get readings from my Dallas sensors in serial and at controller. With relay sketch alone i would get All 4 relays working in controller and in serial. But combined no Dallas temp in serial or controller. I rewired with new sensors, Arduino nano, radio! Finally digging through my stuff i found a new board from a batch ordered 2 years ago, wired it up on bread board and wallah! Apparently the last batch or boards i ordered must have not passed quality or damaged in shipping!! Thanks again for the support!! On a way brighter note I have address's assigned to my temp sensors now on all my nodes and have learned so much more about the MySensors network!
MGHaff
@MGHaff
Best posts made by MGHaff
-
RE: 2 dallas temp + 4 relays
-
Newbie, adding more than one relay to nodemanager
I just started using nodemanager. GREAT WORK! Might be a dumb question but how do i add more than one relay to the sketch? I would like to control 4 but only can get one to work. Thanks in advance!
-
RE: [SOLVED] Raspberry Pi serial gateway NRF24 - !TSM:INIT:TSP FAIL
This is what i use to configure my raspberry pi3 to work vi serial.
--my-transport=rf24 --my-rf24-pa-level=RF24_PA_LOW --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020 --my-leds-err-pin=12 --my-leds-rx-pin=16 --my-leds-tx-pin=18
Built using this page. https://www.mysensors.org/build/raspberry
And when recieving this error "Dec 31 11:07:50 DEBUG !TSM:INIT:TSP FAIL" I had found a bad jumper that I had used. Hope This helps!
-
RE: Raspberry Pi Zero W gateway + NRF24L01+ Radio + MQTT - Radio failing
In your configuration try leaving the "--my-controller-ip-address=127.0.0.1" out of configuration. Another thing to try is to power the radio connected to the pi by a separate 3.3v power supply. also when i built my first controller/gateway i spent 2 days trying to figure out why it didn't work when in the end it was a bad jumper wire. Unhook everything and double check your wiring. Hope something helps!
Latest posts made by MGHaff
-
RE: Raspberry Pi Zero W gateway + NRF24L01+ Radio + MQTT - Radio failing
In your configuration try leaving the "--my-controller-ip-address=127.0.0.1" out of configuration. Another thing to try is to power the radio connected to the pi by a separate 3.3v power supply. also when i built my first controller/gateway i spent 2 days trying to figure out why it didn't work when in the end it was a bad jumper wire. Unhook everything and double check your wiring. Hope something helps!
-
RE: edited: 4 diy dimmer module. should i make icsp or serial programming connections, both?
Thanks, I guess what i am trying to find out is how i get my sensors code to use the Adafruit_PWMServoDriver code to do the same as you than. I would like to control 5 sets of RGB strips by 5 separate V_RGB faders in domoticz using my sensors. But i cant figure out how to get mysensors to tell the PCA9685 chip how to controll the channels.
-
RE: edited: 4 diy dimmer module. should i make icsp or serial programming connections, both?
@joerideman what code are you using to run the 9685 chip? I'm looking to build a multi rgb strip controller but having problems finding mysensors code to use as an example to talk to the 9685. Any help is greatly appreciated! thanks.
-
RE: Newbie, adding more than one relay to nodemanager
@user2684 said in Newbie, adding more than one relay to nodemanager:
relay1.setInvertValueToWrite(true);
relay2.setInvertValueToWrite(true);WOW Thanks Again! This is really fun and easy to work with! Thank you!!!!
-
RE: [SOLVED] Raspberry Pi serial gateway NRF24 - !TSM:INIT:TSP FAIL
@badisensors I did try your config and it works just as mine does. Just wondering if the adding this --my-rf24-ce-pin=22 --my-rf24-cs-pin=24 to the config was necessary. But from the my test it is not. Thanks.
-
RE: Newbie, adding more than one relay to nodemanager
@user2684 Another Question.... Thanks in advance!
Where do i put this to get my relay to invert operation?
// [109] Invert the value to write. E.g. if ON is received, write LOW (default: false)
void setInvertValueToWrite(bool value);And how should it be written.
I tried this.
#include <sensors/SensorRelay.h>
SensorRelay relay1(8);
SensorRelay relay2(5);
SensorRelay relay3(6);
SensorRelay relay4(7);
// [109] Invert the value to write. E.g. if ON is received, write LOW (default: false)
SensorRelay setInvertValueToWrite(true); -
RE: [SOLVED] Raspberry Pi serial gateway NRF24 - !TSM:INIT:TSP FAIL
@badisensors 2.0.0 not really 2 years ago more like 1 1/2. Why do you ask?