I see. Thank you for the explanation.
Search found 14 matches
- Thu May 10, 2018 7:23 pm
- Forum: ESP8266 boards
- Topic: nmap shows active microcontrollers
- Replies: 4
- Views: 4716
- Thu May 10, 2018 12:32 pm
- Forum: ESP8266 boards
- Topic: nmap shows active microcontrollers
- Replies: 4
- Views: 4716
Re: nmap shows active microcontrollers
Yes, it is set to active so that I can connect to the network. Does that mean that it should also be discoverable (respond to requests) with nmap?
Thanks.
- Wed May 09, 2018 2:05 pm
- Forum: ESP8266 boards
- Topic: nmap shows active microcontrollers
- Replies: 4
- Views: 4716
nmap shows active microcontrollers
Doing a scan using nmap an ESP is discoverable. I was wondering if anyone can shed some light on why this happens. The ESP is configured as STA_IF and AP_IF is disabled. ap_if = network.WLAN(network.AP_IF) sta_if = network.WLAN(network.STA_IF) ap_if.active(False) sta_if.active(True) The nmap command...
- Mon Apr 23, 2018 4:46 pm
- Forum: MicroPython pyboard
- Topic: best approach for an application config file
- Replies: 16
- Views: 22947
Re: best approach for an application config file
You can also use good ole python. This works well for read-only configuration information. Just create a python module and import it. That is my preferred method as well. And here is an example on how I use it, in case somebody is looking how to use this method. Create a `config.py` file: WIFI_SSID...
- Sun Apr 22, 2018 7:43 am
- Forum: ESP8266 boards
- Topic: Different behavior of sensor between boards
- Replies: 4
- Views: 3436
Re: Different behavior of sensor between boards
Indeed, after switching the sensor to an external power supply, the fluctuations are gone, and the measurements are back to normal. If you have access to an oscilloscope you could check for noise on the DHT11 power line. Otherwise experiment with decoupling capacitors. Thanks. According to the datas...
- Thu Apr 19, 2018 4:46 pm
- Forum: ESP8266 boards
- Topic: Different behavior of sensor between boards
- Replies: 4
- Views: 3436
Re: Different behavior of sensor between boards
At first I thought that something may be wrong with the timings of the Amica module which affect the one-wire bit banging which causes the error. However, after looking into the dht driver of MicroPython https://github.com/micropython/micropython/blob/master/drivers/dht/dht.py this wouldn't be possi...
- Thu Apr 19, 2018 1:49 pm
- Forum: ESP8266 boards
- Topic: Different behavior of sensor between boards
- Replies: 4
- Views: 3436
Different behavior of sensor between boards
I have a simple script that uses the `dht` library to read values of dht11 and push them to a server. I first developed this on a NodeMCU v3 board and it is working fine. I ordered another dev board but instead of the NodeMCU v3, they sent me a NodeMCU Amica. Even though I thought that they are the ...
- Sun Jan 01, 2017 8:41 pm
- Forum: ESP8266 boards
- Topic: TMP100 library - Please critique
- Replies: 10
- Views: 9885
Re: TMP100 library - Please critique
Thanks guys for your valuable feedback. I will incorporate the changes in the code.
- Thu Dec 29, 2016 7:18 pm
- Forum: ESP8266 boards
- Topic: TMP100 library - Please critique
- Replies: 10
- Views: 9885
Re: TMP100 library - Please critique
Hm but the number is made out of 12 bits. Also (for my understanding) wouldn't importing ustruct module consume more resources than those bitwise operations?
- Wed Dec 28, 2016 3:25 pm
- Forum: ESP8266 boards
- Topic: TMP100 library - Please critique
- Replies: 10
- Views: 9885
Re: TMP100 library - Please critique
Thank you for your comments. You are right, I neglected negative numbers. Thanks for the two's complement code too!