Search found 454 matches

by devnull
Thu Mar 16, 2017 2:58 pm
Forum: ESP8266 boards
Topic: latest stable release source
Replies: 4
Views: 1766

Re: latest stable release source

Thanks for helping, but after do I also have to run sudo git submodule update --init, make -C mpy-cross ?? cd /Volumes/case-sensitive/micropython sudo git pull sudo git checkout v1.8.7 sudo git submodule update --init make -C mpy-cross cd /Volumes/case-sensitive/micropython/esp8266 make clean make a...
by devnull
Thu Mar 16, 2017 2:21 pm
Forum: ESP8266 boards
Topic: latest stable release source
Replies: 4
Views: 1766

latest stable release source

OK, I realise that everyone knows this except for me, but I am not experienced in compiling and understanding github repos. So if I want to use frozen code, I need to compile myself, so I have installed the toolchains, but where do I find the source code for the current latest official release so th...
by devnull
Thu Mar 16, 2017 12:15 pm
Forum: ESP8266 boards
Topic: build environment on OSX without brew
Replies: 1
Views: 1099

build environment on OSX without brew

Is it possible to create a 8266 build environment on OSX without having to install brew etc ?? If so, does anyone have any install instructions as the instructions here fails: https://github.com/micropython/micropython/tree/master/esp8266 make Makefile:181: warning: overriding commands for target `E...
by devnull
Wed Mar 15, 2017 11:24 am
Forum: ESP32 boards
Topic: Esp32 port
Replies: 35
Views: 19035

Re: Esp32 port

@roberthh - thanks, I just received some new wroom boards and thought that I would compile and try the very latest and your original uftp server is working now, I have not tried your updated version. Any idea what the ram usage is for it ?? Many Thanks Update I just tried your latest version and tha...
by devnull
Wed Mar 15, 2017 11:08 am
Forum: ESP32 boards
Topic: free file space on esp-32 wroom
Replies: 1
Views: 1775

free file space on esp-32 wroom

I thought that I had this cracked, based on the calcs in this thread: https://forum.micropython.org/viewtopic.php?t=2778 But the value of 0.046875 MB free space just can't be correct ?? def dfree(): bits = statvfs('/flash') print(bits) blksize = bits[0] # 4096 blkfree = bits[3] # 12 freesize = blksi...
by devnull
Tue Mar 14, 2017 1:56 pm
Forum: ESP8266 boards
Topic: ESP-12 RTC Accuracy
Replies: 6
Views: 2812

Re: ESP-12 RTC Accuracy

Peter - thanks, but after reading through that it appears that the issue was fixed ??

https://github.com/micropython/micropython/pull/2726
by devnull
Mon Mar 13, 2017 11:42 pm
Forum: ESP8266 boards
Topic: ESP-12 RTC Accuracy
Replies: 6
Views: 2812

ESP-12 RTC Accuracy

I am using the in-built RTC on the 8266 to deepsleep for an hour, but it seems to be highly inaccurate, although it's repeatability seems to be OK. secs = 3600 rtc = mc.RTC() rtc.irq(trigger=rtc.ALARM0, wake=mc.DEEPSLEEP) rtc.alarm(rtc.ALARM0, (secs*1000)) In sleeping for 1 hour, it wakes up on aver...
by devnull
Sat Mar 11, 2017 10:00 am
Forum: ESP8266 boards
Topic: Unable to use DHT on pins 4, 5 & 15
Replies: 1
Views: 1386

Re: Unable to use DHT on pins 4, 5 & 15

OK, just found the cause, there's no on-board pullup so you need to use the soft pullups:

Code: Select all

DHT22(machine.Pin(5,machine.Pin.IN, machine.Pin.PULL_UP))
by devnull
Sat Mar 11, 2017 9:22 am
Forum: ESP8266 boards
Topic: Unable to use DHT on pins 4, 5 & 15
Replies: 1
Views: 1386

Unable to use DHT on pins 4, 5 & 15

Device is ESP-12F (8266). I am unable to read DHT sensor on PIN 4 & 5, it works OK on pin 0. I have tested pins 4 & 5 as an input buy pulling high and reading value and as an output by connecting a LED, both work fine and as expected There is nothing else connected to pins 4 & 5, attempting to measu...
by devnull
Wed Mar 08, 2017 10:29 am
Forum: ESP32 boards
Topic: Esp32 port
Replies: 35
Views: 19035

Re: Esp32 port

@Roberthh - thanks for sharing your tools, I have tried the ftp server, and although I have files / folders on the device, the ftp server does not appear to list them. I can see the command executed on the device, but no files ! >>> from apps import uftpserver Command=USER, Payload=anonymous, Path=/...