Search found 13 matches

by kgschlosser
Mon Sep 07, 2020 4:57 pm
Forum: ESP32 boards
Topic: Threading questions
Replies: 5
Views: 452

Re: Threading questions

OK I can see the argument for using asynchio vs threading. asynchio is better used when writing code that is going to be used by others and the original author does not know exactly how it is going to be used. This is not the case with my program. I am the one using it and so there for I am going to...
by kgschlosser
Mon Sep 07, 2020 6:11 am
Forum: ESP32 boards
Topic: Threading questions
Replies: 5
Views: 452

Re: Threading questions

Attached is a copy of the code I have written to handle the LED's. The number of LED's has changed because of my poor soldering skills :lol:, also because of space requirements with the additional wiring as I had to use some pretty decent size wire because of the 10 foot run and wanting to keep the ...
by kgschlosser
Mon Sep 07, 2020 6:01 am
Forum: ESP32 boards
Topic: Threading questions
Replies: 5
Views: 452

Re: Threading questions

The slow updates are because the LED's are slow. The neopixel library is for ws2812 and equivalent LED strips. each bit takes 1.25us to send. I have 288 pixels and 4 LED's per pixel (RGBW). so that 1152 LEDs, 8 bits per LED for a total of 9216 bits. and with a timing of 1.25us per bit that's 11520us...
by kgschlosser
Thu Sep 03, 2020 3:47 pm
Forum: ESP32 boards
Topic: Threading questions
Replies: 5
Views: 452

Threading questions

I have a project where I am running multiple strips of LED's. I would have run a single strip except the strip takes about 4.5 seconds to refresh. This is not going to work for me. So what I did was cut the strip into 10 smaller strips. smaller number of pixels = faster refresh time. I can deal with...
by kgschlosser
Thu Jul 23, 2020 8:26 pm
Forum: Drivers for External Components
Topic: IR receiver/transmitter for ESP8266?
Replies: 29
Views: 19874

Re: IR receiver/transmitter for ESP8266?

I know this is an older topic. I am trying to accomplish a similiar task. I do not want to decode the IR at all i want to be able to receive the IR and then send the RLC (raw timings) over the WiFi to a PC that will handle the decoding aspects. I also want to be able to receive RLC over the WiFi and...
by kgschlosser
Sat Apr 11, 2020 5:53 pm
Forum: ESP32 boards
Topic: Can't connect WiFi after restart
Replies: 23
Views: 5355

Re: Can't connect WiFi after restart

I found the issue!!!!! I came across some information about using WiFi and not being able to use some of the pins. It only stated that the pins would not function properly and made no mention of the WiFi not working properly. But low and behold I moved the pins I was using that were ADC2 pins to pin...
by kgschlosser
Sat Apr 11, 2020 5:28 pm
Forum: ESP32 boards
Topic: Can't connect WiFi after restart
Replies: 23
Views: 5355

Re: Can't connect WiFi after restart

also. as far as the mA is concerned. It is not the actual draw, it is the draw that is reported by the ESP32 or the chip for the USB on the ESP32. Which I believe is the "peak" draw or what it can possibly draw.
by kgschlosser
Sat Apr 11, 2020 5:26 pm
Forum: ESP32 boards
Topic: Can't connect WiFi after restart
Replies: 23
Views: 5355

Re: Can't connect WiFi after restart

well it's not the USB. I flashed the ESP32 with MicroPython 1.9.4 and it started working. It's a wee bit flaky still and will produce a bunch of the same errors when it first tries to connect. like 8 or 9 times before it manages to connect. But tht is better then not connecting at all. There is some...
by kgschlosser
Sat Apr 11, 2020 3:19 am
Forum: ESP32 boards
Topic: Can't connect WiFi after restart
Replies: 23
Views: 5355

Re: Can't connect WiFi after restart

well well well, would you look at that. Now knowing how temperamental these ESP chips are to things like a/c bounce from crappy filters in cheap wall warts I decided to check on the power going into this thing. I have mine connected via USB to my PC. and low and behold at an idle state not even tryi...
by kgschlosser
Sat Apr 11, 2020 3:05 am
Forum: ESP32 boards
Topic: Can't connect WiFi after restart
Replies: 23
Views: 5355

Re: Can't connect WiFi after restart

I found an issue that may be the same problem I am having. https://github.com/espressif/esp-idf/issues/4987 It seems like this issue might be fixed with newer versions of the idf. Dunno.. This is above my programming skills. I do not know if I would be able to compile MicroPython using a newer versi...