This board supports 3 different radios (beside the onboard WiFi, ESPnow of the ESP32): RFM69, RFM95, CC1101, so it can be used as mySensors gateway, mysensors node, Homematic etc. and it has a mySX connector.
heinzv
@heinzv
Best posts made by heinzv
-
RE: 💬 ESP32 MYSX Baord
-
RE: ESP32 Support to enable the powerful ESP32 + RFM95/Lora + LiPo battery boards
@mfalkvidd Today, I have tested the repository from tekka007: https://github.com/tekka007/MySensors/tree/ESP32HW and build a GatewayESP32MQTTClient with a dummy sensor node MockMySensors. For both I used a Heltec ESP32 board with a Lora RFM95 chip. I looks to me as it works perfect. I can connect to my remote MQTT Mosquitto broker and it receives dummy sensor data from the sensor node using 868MHz. See serial monitor log extract.
It would be great if this pull request would make it into the master branch in the next upcomming version.
Excellent work tekka007! I got ESP32 and the Lora RFM95 / SX1276.598 GWT:TPC:IP=10.0.0.34
3602 MCO:BGN:STP
3604 MCO:BGN:INIT OK,TSP=1
3606 GWT:TPC:IP=10.0.0.34
3608 GWT:RMQ:MQTT RECONNECT
3639 GWT:RMQ:MQTT CONNECTED
3641 GWT:TPS:TOPIC=GWO1/0/255/0/0/18,MSG SENT
22668 TSF:MSG:READ,254-254-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
22673 TSF:MSG:BC
22675 TSF:MSG:FPAR REQ,ID=254
22678 TSF:PNG:SEND,TO=0
22680 TSF:CKU:OK
22681 TSF:MSG:GWL OK
22931 TSF:MSG:SEND,0-0-254-254,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
24727 TSF:MSG:READ,254-254-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
24732 TSF:MSG:BC -
RE: ESP32 Support to enable the powerful ESP32 + RFM95/Lora + LiPo battery boards
@gohan I will use this barebone ESP32S module without LED, USW, Voltage Regulator etc.
https://de.aliexpress.com/item/ESP32-ESP32S-WIFI-Bluetooth-Module-240MHz-Dual-Core-CPU-MCU-Wireless-Network-Board-ESP-WROOM-32/32817688406.html?spm=a2g0x.search0104.3.1.3bc34eb5tSg79z&ws_ab_test=searchweb0_0,searchweb201602_5_10152_10151_10065_10344_10068_5722815_10342_10547_10343_10340_5722915_10548_10341_5722615_10696_10084_10083_10618_10304_10307_10820_10821_10302_5722715_10059_100031_10103_10624_10623_10622_5722515_10621_10620,searchweb201603_2,ppcSwitch_3&algo_expid=499485e8-6df0-40d6-8033-c5497748adb9-0&algo_pvid=499485e8-6df0-40d6-8033-c5497748adb9&transAbTest=ae803_1&priceBeautifyAB=0 -
RE: 💬 HALO : ESP32 multi transport GW/Bridge for Mysensors
@scalz: Once the PCB's are available, I'll order some here (as you mentioned you might earn a bit). I have once ESp32 RFM95/LoRa GW already which works, but I'll switch to your HALO GW once you provide the PCB's, the code and the 3D Print files.
-
RE: Regulators needed
@dbemowsk said in Regulators needed:
LP2950
I will use the AP2112K 3v3
https://www.diodes.com/assets/Datasheets/AP2112.pdfit has overall very good values, 600mA output current, high effciency. I would not use the AMS1117 for battery usage.
It is also used by the excellent Adafruit Feather:
https://www.kiwi-electronics.nl/adafruit-feather-m0-wifi-atsamd21-atwinc1500?lang=enOutput Voltage Accuracy: ±1.5%
Output Current: 600mA (Min.)
Foldback Short Current Protection: 50mA
Enable Function to Turn ON/OFF VOUT
Low Dropout Voltage (3.3V): 250mV (Typ.) IOUT = 600mA
Excellent Load Regulation: 0.2%/A (Typ.)
Excellent Line Regulation: 0.02%/V (Typ.)
Low Quiescent Current: 55μA (Typ.)
Low Standby Current: 0.01μA (Typ.) -
RE: ESP32 Support to enable the powerful ESP32 + RFM95/Lora + LiPo battery boards
@mfalkvidd hi, thanks for your reply and as far as I have understood, there have been two enhancements done, ESP32 and RFM95 support! That is all I need (RFM95 is the LoRa chip I mentioned). I'm new to the github test/review process and I'm willing to test this pull request 865, How can I download this build to do some testing? I'm sorry to hear, that people don't show enough interest in ESP32 boards with the RFM95 onboard. I like them very much.
-
RE: Everything nRF52840
@neverdie said in Everything nRF52840:
nRF52840XE
If BLE5 alone works sufficient, that would be great. Worst case, I will use the nRF52 with RFM95 for the battery devices and an ESP32 + RFM95 for the gateway.
The new PCB's we plan with ranseyer will cover all possible combination and provides the mySX connector. -
RE: nRF5 action!
@neverdie I have ordered 10x nRF52832 and 2x nRF52840 from EBYTE (E73-xxxB/C). I will join you once I got them (they are on they way since 2 weeks). I'll also work together with ransyer to get new PCB's (the last we maybe together are for the ESP32).
I'm curious what distance I can get indoor with the BLE 4.2/5.0 (no extra radio) and if required, I will combine it with a LoRA RFM95 (that is also what our PCB's is made for RFM69/95 and CC1101).
I'm still working on the sensor with the 1,54" ePaper (where the ATMEGA328p is lost with its 32kB flash and even worse with the 2k RAM)this one will be tricky to solder (I'm trying to get something better to solder)
https://de.aliexpress.com/item/NRF52840-Bluetooth-5-0-240-mhz-RF-Transceiver-CDSENET-E73-2G4M08S1C-8dbm-Keramik-Antenne-BLE-4/32906661666.html?spm=a2g0s.9042311.0.0.1d174c4dKW9mAo -
RE: ESP32 Support to enable the powerful ESP32 + RFM95/Lora + LiPo battery boards
@mfalkvidd great guys, excellent work! I'll do more testing in the upcomming days with more features and will give you certainly feedback.
Here is what I want to build and what additional features might be nice, but I can try to implement also parts by myself:
I'm trying to build some temp/humitity/pressure sensor with e-paper display (I have a couple of 1.54 to 2.9" e-papers) in a small enclosure with a Litium battery. Each sensor with e-paper in each room connected to the MQTT Gateway to an OpenHAB based home automation. This will control some IR heating panels.
On my reseach, I found the SHT31 from Sensirion as very accurate temp/humidity (better than others like the DHT22) with an additional Bosch BME280 both are supported by MySensors (very nice).I also have seen that there is a feature to get the system time from the Gateway/Controller so that the e-paper display of the sensor nodes can show the date/time/weekday (the ESP32 has a build in RTC even during deep sleep).
Battery sensor support is also there to show the battery state on the e-paper. So I hope I can that working with the build in ADC's.So what might is probaly missing is a standard e-paper support. That would be nice (most brands are compatible, I use the ones from Waveshare) to build sensors with display where the battery last for a year+.
Another thing - not sure if it fit's to the MySensors scope would be to control remote smart power plugs with energy monitor (868MHz or WiFi). Would that be possible?
THere are nice ones available for 15-20€ WiFi which have an energy monitor built in. Such as Gosund SP1 or Homecube SP1 etc. which use an ESP8266EX (most use the same HW).
https://www.amazon.com/Monitoring-Compatible-Asistant-Required-Anywhere/dp/B076VMNNRZ/ref=sr_1_fkmr0_2?s=hi&ie=UTF8&qid=1522098551&sr=1-2-fkmr0&keywords=gosund+sp1 I use the EU plug version from Amazon.de.To your comment what advantage the ESP board has: I have tried to explain: It has the ESP32, the RFM95 and the LiPo switch/Charger all on one board without any soldering required and thus very small for 3 required features, For the Gateway, also the on baord OLED can be used. In total, it's not more expensive than all three parts extra and need less space no soldering etc.
So that is all for today. I hope I get some positive feedback and thanks again for the good work.
Heinz
-
RE: Everything nRF52840
@neverdie take a look at platform.io, it supports al known SOC's. INstall it then from the Visual Studio Code IDE. Both together are a very professional IoT dev environment (also Web and other development).
I was doing very complex development like ESPurna project build you would not like to do in the Arduino IDE.
Let me know if you need further hints.
VSC and Platform.IO includes not only all SOC HW families but also all kind of libraries you know from Arduino and it can also import Arduino project (*.INO Files).
Give it a try and you will be suprrised once you get familar.
It does also the flashing (upload), includes GIT nativly, has a command window, debugging etc etc.https://code.visualstudio.com/
https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
https://marketplace.visualstudio.com/search?term=platform.io&target=VSCode&category=All categories&sortBy=RelevancePlatforms: Atmel AVR, Atmel SAM, Espressif 32, Espressif 8266, Freescale Kinetis, Infineon XMC, Intel ARC32, Intel MCS-51 (8051), Lattice iCE40, Maxim 32, Microchip PIC32, Nordic nRF51, Nordic nRF52, NXP LPC, RISC-V, Samsung ARTIK, Silicon Labs EFM32, ST STM32, Teensy, TI MSP430, TI Tiva, WIZNet W7500
Frameworks: Arduino, ARTIK SDK, CMSIS, Energia, ESP-IDF, libOpenCM3, mbed, Pumbaa, Simba, SPL, STM32Cube, WiringPi
Latest posts made by heinzv
-
RE: Everything nRF52840
@monte thanks for your hints. I have actually no peripherals attached during my test. The only external peripheral is a Sensirion sensor (not attched during the power save test) has an auto switch off, but no explicit and it gets down to nano amps.(at least far less than 1uA).
I did a lot of research in the Nordic DevZone but was not successfull. It looks like that the mySensors sleep functions for the nRF52 family does not work as I have expected (I'm using the MyBoardNRF5.h/cpp which includes some kind of Nordic power save features). It might have something doto with the UART switchoff which might not works or ...
I'll also try other nRF52840 moduls to ensure it is not because of one product. I'm using a bare nRF52840 from RFstar which has no LED or any other consumer on it.
https://www.aliexpress.com/item/32921970101.html?spm=a2g0o.productlist.0.0.33f77b08ivGnJC&algo_pvid=834cd241-fead-40dd-a423-762eeaad1e6b&algo_expid=834cd241-fead-40dd-a423-762eeaad1e6b-29&btsid=7de062ad-ecfb-4619-bea6-f9bc99c99996&ws_ab_test=searchweb0_0,searchweb201602_8,searchweb201603_52 -
RE: Everything nRF52840
anybody seen this new Nordic IoT MCU:
https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF5340So far only a DK board for 49$ is available. Has BLE 5.1 (incl. long range).
I guess it will take some time till it is supported by Arduiono, Platformio etc.I'm still striggling with the nRF52840 and the low power sleep. So far I'm far away from the 1.5 to 5uA in sleep mode. Maybe someone has a good example for a sleep, internal timer wake-up.
The mysensors project I'm using has 1,5mA in sleep and 15mA during sensor read and send. That is not usable for battery mode. -
RE: Everything nRF52840
@amine-alami what nice schematic diagram are you refering to? I'm looking at this thread very sporadically.
-
RE: stm32 sleep support
@rozpruwacz I have also my "own" nrf52840 mySensors board (50m33mm) which we designed together with ranseyer (made for a few cents). The small nRF5280 modules from RFstar which are on our relatively small mySensors board (which the mySensors 2.6 standard pinheader) cost around 5€. So I consider them as very cost effective.
One of the very interesting MCU's a few of us have tried is the TI CC1352(P) which has 2,4GHz and 868MHz on-board, so you can use one of theme or both together, but there are only a few modules available and they cost almost 30€ and you need to place them on your own board such as the nRF52840 or any other modules which are meant to solder on own designed boards. -
RE: stm32 sleep support
@rozpruwacz that is clear that you might use other radio's, this is just an added value to use it as it's on-chip and mysensors supports it already. you can just go ahead and combine it with lora/rfm95 (what I also do) and rs485.
But the main question is: Have you found cheap maker boards with such mcu's like STM32L4S5 or STM32L4R5? I have not found anything so far. But I got nrf52840 boards for 5$ and bought 20 pieces at alibaba. AN 1MB flash and 256kB Ram is suffcient for many apps even with tft or epaper display. And you have already Arduino, Platform.io, mysensor, Segger IAR etc. support.
But I dod agree that it would be nice to have a full STM32L4x5 support incl. sleep once maker boards are avaiable. Blue and Blackpill are at least not competitors to nRF52. -
RE: stm32 sleep support
@rozpruwacz why not using one of the nrf52 boards? I was also using stm32 board (bluepill, blackpill, etc.) but at the end, the nrf52 has many advantages over stm32 chips. it is also a 32bit arm mcu, extrem low-power, a lot more ram/flash, a radio on board and it has arduino, platformio and mysensors support. and cheap boards are available.
I'm using nrf52 with e-paper display (utra-low power) and the stm32 ram is not really sufficient. So I don't see any advantage to use stm32 boards over nrf52. -
RE: 💬 EFEKTA Temp&Hum sensor(ver. nRF52 )+E-Ink display
@berkseo took a bit longer and I have now taken a picture with my Nikon Cam, not sure if it helps, I might add another one if required.
But you see the inductor has 68uH. -
RE: 💬 EFEKTA Temp&Hum sensor(ver. nRF52 )+E-Ink display
@berkseo no I have not solved the problem yet. I 'll take another picture with higher resolution tomorrow and post it here.
The inductance has the value which is specifiied (I think 68uH). I have all ordered by the links provided.
I have checked the soldering and resolved a few times. I think all pins shall be soldered, but I can verify it again. That was also my first thought and checked the ribbon cable over and over again. -
RE: 💬 EFEKTA Temp&Hum sensor(ver. nRF52 )+E-Ink display
@berkseo I have continued to work on the new PCB's und have oredered some 603 resistors und condensors. I have checked all of the parts and the soldering but did not get the one PCB to displays something. The program runs und I see the LED flashing and also the log looks normal.
A build a second PCB and this one shows the intro graphics but with a grey background and then it stops showing something. No idea what goes wrong.
-
RE: 💬 EFEKTA Temp&Hum sensor(ver. nRF52 )+E-Ink display
@berkseo Happy new year! I was waiting for an answer from you, so I have not done any further investigation before I have more infos
I have now ordered another batch of 2450 battery holders (I have obviously clicket in the second link in your parts list which was the 2477).So based on your info, my C13 is definitly wrong, I have used a 0.1uF and need to change it to a 100uf (what are you using as you write 47uF to 200uF ?). I think I need to order them first. For C12 I used a 10uF so that fits.
I think I could also have some problems with the 0.1uF parts as I have only the larger 1206 which I have to replace with 805 or 603 sized. I have ordered them already but you know that takes another 4-6weeks. So I'll wait till all parts are there and continue then with your infos and the correct ordered parts.
I have also problems with my new script as my power consumption was first 0.8mA (800uA) and now it's even 3.1mA during sleep (on my other PCB's), but was following your sleep procedure (putting all internal and external devices to powerdown). I was expecting somewhat between 2 and 20uA, so I have to analyze what is wrong.
So you solder your PCB in 0.5hour? Then I might order the PCB's bette rfrom you It takes me at least 2+ hours (the first was 3hrs).
I have a super small soldering iron and I also have a hot air SMD soldering station and quality solder paste. May I try it again with solder paste.more then later.
thanks and bye till later
Heinz