@iguaan Try to set MY_RF24_PA_LEVEL to RF24_PA_MIN on gateway then use NRF24L01+PA+LNA module - in my case the OTA begin work perfect!
cabat
@cabat
Best posts made by cabat
-
RE: MYSBootloader 1.3.0-beta.3
-
RE: OTA not working in my current setup (CRC Error)
May be it's help you - in my case with Winbond W25X40CL changing code in SPIFlash.h solve the problem with CRC error:
i change this:
#define SPIFLASH_BLOCKERASE_32K 0x52 //!< erase one 32K block of flash memory
on this:
#define SPIFLASH_BLOCKERASE_32K 0xD8 //!< erase one 64K block of flash memory
-
RE: 💬 Simple compact RF24 node (ATmega328 + NRF24)
@yveaux Sorry, i don't test the range of nodes - plan to use in the 2 floor house of 60 meters.
But you opinion is correct, this design is compromise of size, pins count and range degradate.
This is prototype, work good about 1 year:
-
RE: Starting my PC with a 3.3v arduino pro mini?
You can use anything like this:
https://electronics.stackexchange.com/questions/129463/switch-on-computer-with-microcontroller
i am using just one PC817:
-
RE: Powering NRF24l01+ with DC-DC Module Abaisseur Regulateur Tension Step Down
As i see, two first module is impulse, but third - linear?
-
RE: Newbie wants to do everything wired
@feanor-anglin said in Newbie wants to do everything wired:
If you like it, please feel free to contact me. We've made some significant progress, which is not published yet.
I am also intresting in implementation of RS485 in my MySensors network, and i like yor hardware and use some of your ideas in my project Simple compact RS485 node (ATmega328 + MAX485) ,
-
RE: Starting my PC with a 3.3v arduino pro mini?
@kiesel Great work!
- 5V connected through diode to protect of polarity revers
- MB = Motherboard, you right
- First need to connect power button from front panel, second to connect to "Power Switch" on motherboard. This allows power on both from power button and Arduino.
You disign is absolutely working!
-
RE: 💬 Building a wired RS485 sensor network
@gryzli133 I have a number of MySensors devices using RS485, it would be interesting to try to run PJON protocol over RS485, it seems like there is such an opportunity, but I could not figure out how to use it in the MySensors library.
-
RE: Supply 230V/5V for node ? Mini Pro, NRF24L01, ams1117
Very dangerous - too small gap between AC230 and GND:
-
RE: Starting my PC with a 3.3v arduino pro mini?
@kiesel Sorry friend, I guess I confused you a little ..
The diode is needed so that, when powered from the contacts on the motherboard with 5V, it does not damage my arduino, that's all
Have a nice weekend to!
Latest posts made by cabat
-
RE: Help needed with connecting MySensors node to Home Assistant
Hello, friend!
May be you need addition send in loop for HA, look at Presentaion -
RE: Relay device not showing up in HA but does in .json
Hello, friend.
Do you read this Presentation? -
RE: HassOS + serial gateway with MyController
Hi, friend!
He also became interested in the Home Assistant system, but was upset by the lack of support OTA.
I use a system Majordomo for MySensors devices and my Ethernet-RS485 gateways are based on ENC28J60.
And I found such an idea for myself - to implement a proxy for the TCP protocol in order to implement a parallel connection to the gateway of two systems at the same time.
I tested this solution and it turned out to work - I was able to flash via OTA , while simultaneously receiving data in Home Assistant.
Perhaps this idea will be of interest to you. -
RE: RS485 transport ACK support
@gieemek Great thanks for you solution, it's work perfect!!
I just change the timeout for resend message to 250ms.
Using now in 6 my RS485 nodes. -
RE: RS485 transport ACK support
@gieemek thanks, this is a good idea! I was thinking about something similar..
-
RE: RS485 transport ACK support
@gieemek Can you explain how do you using ACK on RS485? in my practice i see, that having no error, but lossing packets..
I mean that what construction don't working correctly:boolean MYS_send(MyMessage Msg) { boolean status = false; int counter = 3; do { status = send(Msg); if (status) { SendCount++; return status; } else { SendError++; counter--; wait(50); } } while (counter > 0); return status; }
-
RE: MYSBootloader does not work
@nexus1212 Hello frend. I am using 0xE2 0xDA 0x06 for my atmega 8Mhz.
-
RE: RS485, no communication
@vdomos it is possible to connect the ground wire of the RS485 adapters?