These are chat archives for esp8266/Arduino

6th
Mar 2017
Me No Dev
@me-no-dev
Mar 06 2017 01:19
@Makuna could you please explain the difference
Michael Miller
@Makuna
Mar 06 2017 02:54
The difference is primarily "legal" definition. Unless its proven to be of a crypto standard level, then its not. Some pretty good random number algorithms have proven to provide some poor crypto use.
Stavros Korokithakis
@skorokithakis
Mar 06 2017 02:55
it's nothing that serious for me, although yeah, unless it's been proclaimed safe by cryptographers, i'd be careful
by the way, how can i delete all information from the ESP, including wifi information and everything?
where is the wifi information stored, anyway?
it seems to survive reflashings
Michael Miller
@Makuna
Mar 06 2017 02:57
I believe there is a WiFi method that will "erase" or forget the settings. I used it once; might take a restart to truly clear it though.
Stavros Korokithakis
@skorokithakis
Mar 06 2017 02:59
can't i use esptool to nuke things?
Clemens Kirchgatterer
@everslick
Mar 06 2017 07:12
i think the rnd is a noice generator and an adc, but i'm not sure.
so it might be prone to local hw attacks - pretty sophisticated though.
personally i think this is a akademic problem and way beyond 'my' scope.
Martin Ayotte
@martinayotte
Mar 06 2017 13:23
@skorokithakis , yes, esptool.py has the erase_flash command.
Stavros Korokithakis
@skorokithakis
Mar 06 2017 13:38
@martinayotte Thank you, I've used that but I couldn't remember whether it erases the WiFi setting. Looks like it does, thanks again
Mehrdad K
@mkeyno
Mar 06 2017 14:06
hi guys , I have Arduino with internal pull up on some pin , intended to control it with my ESP, is it safe to directly connected to ESP
Martin Ayotte
@martinayotte
Mar 06 2017 14:29
Do you mean Arduino internal pullup at 5V ? no, there are not safe for ESP, you should add level-shifter there too.
Mehrdad K
@mkeyno
Mar 06 2017 14:32
thanks @martinayotte ,divider or shotkey diode ? because I just want to on/off the Arduino pin , actually just pull down the arduino with ESP pin
Martin Sloup
@arcao
Mar 06 2017 18:31
You can connect esp8266 directly, it has 5V safe pins. A lot of people think they are not safe, but it's not true. It's confirmed directly by Espressif .
Mehrdad K
@mkeyno
Mar 06 2017 18:35
thanks @arcao
Martin Sloup
@arcao
Mar 06 2017 18:37
Teo Swee Ann (Engineer from Espressif) i can reply officially here: it is 5V tolerant at the IO. while the supply voltage is at 3.3V.
brutzler
@brutzler
Mar 06 2017 19:14
And I always use level-shifter.... :worried:
probonopd
@probonopd
Mar 06 2017 19:15
turns out that my sd card issues may have been electrical... using a capacitor close to VCC and GND of the SD card does wonders for stability for me
Martin Ayotte
@martinayotte
Mar 06 2017 20:23
@mkeyno , ESP output to Arduino input ? Yes, schottky diode ...
Mehrdad K
@mkeyno
Mar 06 2017 20:25
no I just want to change Arduino pin status from High to LOW by my ESP, (digitalWrite(ESP_pin))
such as reset Arduino by ESP
Martin Ayotte
@martinayotte
Mar 06 2017 20:28
So, it is ESP output to Arduino input ... (BTW, I personally prefer not relying on 5V tolerance, since current will still go in internal protection diodes)
Mehrdad K
@mkeyno
Mar 06 2017 20:30
yes , I agree on precaution, so what would be your suggestion
Martin Ayotte
@martinayotte
Mar 06 2017 20:32
You mean which diodes ? there are plenties, quick search : http://www.vishay.com/diodes/ss-schottky/sod323/
Mehrdad K
@mkeyno
Mar 06 2017 20:38
thanks @martinayotte I should find this product in domestic market because still really huge price for diode
Martin Ayotte
@martinayotte
Mar 06 2017 20:48
??? less than $2 for 100 diodes ? it comes 2 cents each
Mehrdad K
@mkeyno
Mar 06 2017 20:50
I bought similar spec around less than $1
Martin Ayotte
@martinayotte
Mar 06 2017 21:06