Search found 42 matches

by crizeo
Mon Oct 09, 2017 9:42 pm
Forum: ESP8266 boards
Topic: [SOLVED] Memory upgrade: Expand flash to 32 MB
Replies: 11
Views: 20685

Re: Memory upgrade: Expand flash to 32 MB

Hm, okay, thanks.. So I will probably have to stay with my SD card :/ Will try to solder it.
by crizeo
Mon Oct 09, 2017 5:17 pm
Forum: ESP8266 boards
Topic: [SOLVED] Memory upgrade: Expand flash to 32 MB
Replies: 11
Views: 20685

Re: Memory upgrade: Expand flash to 32 MB

Hm, thanks for your answer anyway! To explain my intention a bit more in detail: I have a btree database (~23 MB), which I want to access (only read, not write!). All the rest fits on the 4 MB flash memory. Regarding the second part of your answer: You are talking about the additional six pins on ES...
by crizeo
Mon Oct 09, 2017 3:49 pm
Forum: ESP8266 boards
Topic: [SOLVED] Memory upgrade: Expand flash to 32 MB
Replies: 11
Views: 20685

[SOLVED] Memory upgrade: Expand flash to 32 MB

Hey! First of all: What do I want to do? I want to increase the memory of my ESP8266 (or ESP32) to at least 28MB using as few space as possible. I saw a video where somebody replaced the memory chip (hardware) on the ESP8266 to get 4MB instead of 1MB. Now, I have a ESP-12F with 4MB and thought of ex...
by crizeo
Wed Oct 04, 2017 7:37 pm
Forum: ESP8266 boards
Topic: [SOLVED] NRF24L01+ radio module (OSError: send failed)
Replies: 6
Views: 6696

Re: NRF24L01+ radio module (OSError: send failed)

It is working now. You were right, a receiver has to be running, otherwise sending will fail. I did not think that there was some kind of auto-acknowledgment embedded but it is - perfect! I used the files you linked - the only change I made in nrf24l01.py is replacing .low() with .value(0) and .hig...
by crizeo
Sat Sep 30, 2017 9:06 am
Forum: ESP8266 boards
Topic: [SOLVED] NRF24L01+ radio module (OSError: send failed)
Replies: 6
Views: 6696

Re: NRF24L01+ radio module (OSError: send failed)

The above code is just a simplified version of the test file - I already tried the test file but sending fails there as well. I do not have a receiver working - is this really required for testing? The test is just sending, not waiting for an acknowledgement - therefore sending should work without r...
by crizeo
Fri Sep 29, 2017 8:28 pm
Forum: ESP8266 boards
Topic: [SOLVED] NRF24L01+ radio module (OSError: send failed)
Replies: 6
Views: 6696

[SOLVED] NRF24L01+ radio module (OSError: send failed)

Hey :? I bought a E01-ML01DP5 module which is based on the nRF24L01+ (only amplified). I wanted to use the driver (nrf24l01.py) provided on the micropython repository, but can't get it work. The wiring should be ok (module connected to SPI; CS to pin 15, CE to pin 2) - it would give me the error "nR...
by crizeo
Thu Sep 28, 2017 12:59 am
Forum: ESP8266 boards
Topic: Analog Pins
Replies: 16
Views: 13332

Re: Analog Pins

I am using the MCP3008 , which works perfectly for up to 8 analog inputs using the SPI pins (~2$). You could also use the MCP3004, I think, but it only has 4 analog inputs. I wrote a simple driver ( mcp3008.py ): from machine import Pin class MCP3008: def __init__(self, clk=14, mosi=13, miso=12, cs=...
by crizeo
Wed Sep 27, 2017 11:55 pm
Forum: ESP8266 boards
Topic: pulse sensor reading (sen-11574)
Replies: 6
Views: 5825

Re: pulse sensor reading (sen-11574)

Thanks pythoncoder! I used your formula with higher resistors (because I did not have the ones you suggested) and it works perfectly (R1: 410 kOhm, R2: 181 kOhm)!
by crizeo
Fri Sep 08, 2017 2:49 pm
Forum: ESP8266 boards
Topic: pulse sensor reading (sen-11574)
Replies: 6
Views: 5825

Re: pulse sensor reading (sen-11574)

How did you transform 0-3.3V sensor output to 0-1V input for the ESP's ADC input? Simply cutting off 2.3V by adding a single resistor can't do the trick, so what did you do? :?
by crizeo
Thu Aug 31, 2017 2:47 pm
Forum: ESP8266 boards
Topic: Live Webserver using websockets (How to block new connections?)
Replies: 1
Views: 4308

Re: Live Webserver using websockets (How to block new connections?)

Probably found a workaround. When the last possible client has been added successfully I call self._s.setsockopt(socket.SOL_SOCKET, 0x14, None), which will remove the accept handler completely. When a client is closed, I therefore have to reactivacte the handler. Unfortunately, I will of course not ...