Search found 13 matches

by mmh
Mon Mar 20, 2017 12:04 am
Forum: Drivers for External Components
Topic: IR receiver/transmitter for ESP8266?
Replies: 22
Views: 12835

Re: IR receiver/transmitter for ESP8266?

I'm still unsuccessful getting your codes to work on my setup seems like I'm missing some of the async capabilities and haven't been able to circle back here yet. So this is still work in progress and at this time I have nothing to report other than the import uasyncio doesn;'t go well for me. I wen...
by mmh
Wed Mar 15, 2017 2:33 am
Forum: Drivers for External Components
Topic: IR receiver/transmitter for ESP8266?
Replies: 22
Views: 12835

Re: IR receiver/transmitter for ESP8266?

I was able to consistently receive in a python circular buffer several sets of NEC code samples perfectly it felt like I could capture into the circular buffer for ever. The problem for me is beyond once anything else happens that causes memory allocation to occur I think my code suffers from huge t...
by mmh
Sat Mar 11, 2017 2:23 am
Forum: Drivers for External Components
Topic: IR receiver/transmitter for ESP8266?
Replies: 22
Views: 12835

Re: IR receiver/transmitter for ESP8266?

if I rewrite my isr this way it work much better and the performance is so much better thanks for the tip: def __init__(self...) .... # cache ticks functions for native call self.ticks_diff = time.ticks_diff self.ticks_us = time.ticks_us ... @micropython.native def timeseq_isr(self,p): '''compute ed...
by mmh
Thu Mar 09, 2017 7:24 pm
Forum: Drivers for External Components
Topic: IR receiver/transmitter for ESP8266?
Replies: 22
Views: 12835

Re: IR receiver/transmitter for ESP8266?

Peter how is the performance of your implementation? Does your code suffer from latency issues like mine does, e.g. if I add a Timer() to my system my codes robustness drops do you have a feeling about your nice implementation which I will start working with ASAP. This is exactly what I want to lear...
by mmh
Thu Mar 09, 2017 5:36 pm
Forum: ESP8266 boards
Topic: Using the tx/rx pins not for UART
Replies: 42
Views: 19749

Re: Using the tx/rx pins not for UART

Circling back on this feature which I still think is needed for ESP8266. This feature end up being a lot more than I had expected, the original patch provided earlier I had added and tried to work into the code base was reject because it was a bit of a one off and the group wants to keep things clea...
by mmh
Thu Mar 09, 2017 5:26 pm
Forum: Drivers for External Components
Topic: IR receiver/transmitter for ESP8266?
Replies: 22
Views: 12835

Re: IR receiver/transmitter for ESP8266?

I started with that time_pulse_us, I didn't have a lot of success, the thing is so sensitive did you take a peak at the time line I posted a picture of it, the bottom trace is how much time I'm spending in the ISR its huge compared to the size of those pulse widths we are trying to recognize. Thanks...
by mmh
Thu Mar 09, 2017 6:24 am
Forum: Drivers for External Components
Topic: IR receiver/transmitter for ESP8266?
Replies: 22
Views: 12835

Re: IR receiver/transmitter for ESP8266?

I spent a bit of time getting a basic NEC IR receiver working unfortunately its sensitive to time so if a GC goes off the timing is not met and you get a decode error. This describes the setup minus the UNO + ESP12 board. https://learn.sparkfun.com/tutorials/ir-communication https://github.com/mhoff...
by mmh
Sun Jan 29, 2017 2:36 am
Forum: ESP8266 boards
Topic: issues observed reset/power up
Replies: 0
Views: 694

issues observed reset/power up

[SOLVED] this boot issue is a user error, It has to do with my connection being cooked (argh) I will go verify but if I boot unconnected to a terminal program it works just fine. Multiple resets don't end up booting parts correctly on the tip of the tree. A clean boot is successful about 33% of the ...
by mmh
Fri Jan 27, 2017 6:35 am
Forum: ESP8266 boards
Topic: Using the tx/rx pins not for UART
Replies: 42
Views: 19749

Re: Using the tx/rx pins not for UART

do i need developers status? mmh@pluto:~/esp/micropython$ git push --set-upstream origin mhoffma-esp8266-uart Username for 'https://github.com': mhoffma Password for 'https://mhoffma@github.com': remote: Permission to micropython/micropython.git denied to mhoffma. fatal: unable to access 'https://gi...
by mmh
Thu Jan 26, 2017 7:22 pm
Forum: ESP8266 boards
Topic: Using the tx/rx pins not for UART
Replies: 42
Views: 19749

Re: Using the tx/rx pins not for UART

sure is that nothing more than clicking a button or do you need permissions to do this?