pi@Domoticz3:~/Raspberry$ sudo /etc/init.d/PiGatewaySerial start
[....] Starting PiGatewaySerial (via systemctl): PiGatewaySerial.serviceFailed to start PiGatewaySerial.service: Unit PiGatewaySerial.service failed to load: No such file or directory.
or this error
pi@raspberrypi ~ $ sudo /usr/local/sbin/PiGatewaySerial
sudo: /usr/local/sbin/PiGatewaySerial: command not found
you have probably forgotten to run sudo make install. Read the instructions again, and follow them this time
In my case I did need simply to restart. I did "make install" but I did need to restart
@MikeF Dirtypcbs rarely takes more than 3-4 weeks for me too (in germany), but you are right, a local source would be great. There are several producers here too, but for everyone I know prices are at least 5 times what the chinese take.
If you (or someone else) finds a european service that produces prototypes (1-3 boards) for less than 15€ per piece please share it! Could come in very handy when developing new boards.
Finally i've build my serial gateway ( Arduino UNO + nRF24) + node (Arduino Nano + nRF24) but i failed with PIR conection to my NODE. How should i connect PIR's relay to Nano ? ( digital input + GND ) ?
Now i know that relay is normally closed ( 0, 1 state, no power on it)
I was trying to connect this way and it was working for few second ( i saw in the serial monitor , 1 , 0) but after some time NODE was sending weird data to GW.
How connect it corectlly and how to mod the sketch for more sensors? (4 pcs). ```
This is the way ?
#define DIGITAL_INPUT_SENSOR 3 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!)
#define CHILD_ID 1 // Id of the sensor child
#define DIGITAL_INPUT_SENSOR 4 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!)
#define CHILD_ID 2 // Id of the sensor child```
ok, i think the problem is solved, the example i was looking at is just wrong, the default mode is normal not forced so default configuration of the driver put in nornal mode not forced, changing the constructor values solves the problem.
Just received my first order today, delivered only 4 opening days after order in Vietnam, and ... no taxes not even VAT :D
In total i ordered 12 SAMD of 3 kinds, a few atsha and some 0603 ferrite beads my local sellers don't have. I was a bit surprised to see a 505010cm box. But then when I opened the box I understood. This is the packaging for 4 ATSAMD20: carton box containing a giant antistatic bag containing 2 plates made for 260 MCUs each and only 4 in the middle. Missing on the picture is the bubble wrap that was around the antistatic bag.
Packaging for other parts was not that delirious but still excessive imho, I guess they're not trying to be awarded a green label
In the end a very positive experience: reasonable prices, not cutting corners on packaging, great express shipping (now I'm sure I'll never use DHL again...). I just need to buy another apartment for storage before I make a new order
Disabled Categories are greyed out
This topic will be moved to the category
Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.