@Sunseeker According to the Connecting the Radio page, D2 is the default pin for the CE signal for the NRF24. If you'd like to use this pin for I2C, you can free it up by assigning a different pin for the CE signal by adding this line to your sketch:
#define MY_RF24_CE_PIN pin
IIRC, all available pins should work for this purpose (D0, D3, D4). Just pick one and if it doesn't work, use one of the other pins. Please make sure to add that line before #include <MySensors.h>.
Hi, I found this post after trying to find designs for building a configurable forward/reverse phase dimmer controlled by ESP32.
Has anybody by chance put the previous post in production, i.e. allowing for fully isolated use?
Alternatively, are there other controllers like the FL5150 that can be controlled deterministically via e.g. I2C, PWM, etc.?
Old topic, but my test shows .304mm per tip. I calculated the surface area as 54.7854cm^2, which is 5cm x 11cm minus the small rounded corners. I slowly poured 60cc water and counted 36 tips. Thus, spread out over the whole surface, I poured 1.09518cm of water, divided by 36 tips equals .3042173mm per tip.
Please do get one - you might be able to help me.
I have tried a blink sketch - that worked. So I uploaded a mysensors sketch that had worked on an arduino pro mini, unmodified (apart from defining ce and cs) and it compiled and uploaded fine.
I built the circuit with 2 buttons using gpio 2 and 3 and the radio on 6,7,8,9 and 10 on a breadboard and fired it up - and nothing.
No output from serial monitor, nothing appeared in home assistant…
Tried a second xiao, same result. Third one failed to upload… so I went to bed.
The sketch worked using the same setup on the arduino so at this stage I’m not sure what to do.
Is there something I could help to spped up merging STM32duinoUpdate branch into master ?
At the moment I have couple of blue pill boards (STM32F103C8) and want to test RS485 network with MySensors.
And that I have one question, Is it possible to use two hardware serial ports - one for rs485 and another for debug prints ? What I tried is:
using AltSoftSerial for rs485 but STM32 platform is not supported there
using #define MY_RS485_HWSERIAL Serial1 and #define MY_DEBUGDEVICE Serial2 but Serial2 does not exist
using SoftwareSerial but it seems that the code hangs somwhere and does not even get into setup() function (SoftwareSerial uses some timers so maybe they interferre with MySensors)
Just a quick thought, but would it be preferable to attach something like this to the PCB using connections for current measurement rather than the ACS chip?
Modules have the benefit of being optional, so you can skip them if you don't want them on a certain channel. In other words, it is conceivable to have 4 out of 5 channels that report and 1 that doesn't, for example.
Because the cost of the module and chip are same, I don't believe there is any difference from a financial standpoint.