@Nca78 said in Dimmable LED kitchen light (Arduino, APDS-9960, RGBWW led):
Do you use a relay to control the leds or still a MOSFET ?
i'm using mosfets.
@kristof-delaere
The terms that you refer to are footprint/package specifications (size, shape).
Here are links to the above components on digikey:
CMOS SMD (oscillator)
http://www.digikey.com/product-detail/en/epson/SG7050CAN-27.000000M-TJGA3/SER3999CT-ND/5175091
0207W (120 ohm resistor)
http://www.digikey.com/product-detail/en/tt-electronics-welwyn/WRM0207C-120RFI/985-1466-1-ND/3648019
0207W (2.7k ohm resistor)
http://www.digikey.com/product-detail/en/yageo/MCP100JR-2K7/MCP100JR-2K7-ND/2169183
@jocke4u I run 2 RF gateways and it's not a problem. When you 'migrate' a node to a new gateway make sure to run the mysensors clear eeprom sketch first to get rid of the old routing table or you might have issues.
@nrf24_is_hard When I sent data between an Aduino and the RPi I discovered that I have to make the the receiving and the sending structs the same size AND the variables be on 4 byte boundaries. Change your char name[15] to char name[16]
Another challenge is that the number of bytes of type int are different. If I remember correctly, Arduino Uno is 2 bytes and RPi is 4 bytes.
To make matters worse, some compilers make the least significant byte the first byte of a word and others make it the last byte of a word. eg, sending the value 1 would be received as 16777216 (0x00000001 vs 0x01000000)
There are a lot more gotcha's
OSD