Also found this : https://www.motius.com/post/how-to-build-a-secure-iot-prototype-with-arduino-and-esp32
It seems esp-idf is only needed for the encryption part, the code can be written with arduino framework
Also found this : https://www.motius.com/post/how-to-build-a-secure-iot-prototype-with-arduino-and-esp32
It seems esp-idf is only needed for the encryption part, the code can be written with arduino framework
@lukasmaximus Same question here, but which module use to add an external wifi antenna. I need a longer range.
@ajb2k3 Thank you, I found the schematics (https://github.com/m5stack/M5-Schematic), but do you know where I can find Gerber files ?
Hi,
I have a project based on M5 Tough : https://docs.m5stack.com/en/core/tough
I need to modify the extension board (TOUGH.EXT).
In the documentation there is the schematics, but where can I find building files (dimensions, Gerber, BOM) ?
Thank you !
Now the next challenge, use esptool-js to upgrade core2 ota.
Do someone know if esptool-js support transfert for encrypted files?
Also found this : https://www.motius.com/post/how-to-build-a-secure-iot-prototype-with-arduino-and-esp32
It seems esp-idf is only needed for the encryption part, the code can be written with arduino framework
I just found that M5unified support ESP-IDF : https://github.com/m5stack/M5Unified
@m5stack or @felmue can confirm we can use boot and flash encryption with M5unified ?
Did you found a solution? I am looking for the same feature.
As I understand we need to use ESP-IDF
I found this but not tested it for now : https://github.com/ropg/m5core2_esp-idf_demo
Hi,
What is the method to prevent code from being copied ?
I read that it is easy to reverse to code from the memory, so using esp32 flash encryption should prevent that. Right?
But then is it possible to upgrade the code ?
If I use a webpage with esptool-js and .bin files, then the users can upgrade, but can I provide encrypted only files, and not the originals .bin ?
Thanks
I've never had any problems with the DS18B20 sensor powered at 5V, with an external 4.7k resistor. Never any esp32 or even Raspberry Pi burnt out.
I did a few tests:
Works well with 4.7k external resistor
Also works well with internal resistor using pinMode(33, INPUT_PULLUP)
No errors (-127 or not detected) at all in all cases
I'll test soon with longer cables.
But, most important I use certified DS18B20, not bad quality copies that are good only for short distance.
Thank you @felmue
I will try on 3.3V, 5.1k seems good instead of 4.7k, but I use DS18B20 on long range (50m) and I am afraid 3.3V is not enough.
what happens if I connect 5V? do I risk destroying GPIO33 or the whole board?
I have to tell that after many tests over long periods of time, I've never burned out a GPIO using an external 4.7k resistor on the 5V, but may be it is possible while using internal pullup.
I can see that GPIO21/22 are 2.2k, may be it is better to have more current for long distance ?