Search found 8 matches

by DMWidgets
Wed Mar 14, 2018 9:48 pm
Forum: ESP8266 boards
Topic: [solved] can only toggle one output on 74hc595n shift register?
Replies: 6
Views: 1518

Re: can only toggle one output on 74hc595n shift register?

That seems kind of self-evident now that you mention it... In which case what I'm trying to send is not bytes but 8 arbitrary bits. Sending a byte array to the spi now lets me toggle the outputs as needed so that's good but there must be a more pythonic way of sending my bit string. I'm currently ju...
by DMWidgets
Tue Mar 13, 2018 8:44 pm
Forum: ESP8266 boards
Topic: [solved] can only toggle one output on 74hc595n shift register?
Replies: 6
Views: 1518

Re: can only toggle one output on 74hc595n shift register?

Ok, wired up everything with a nano and followed the basic tutorial here: https://www.arduino.cc/en/Tutorial/ShiftOut Everything works as intended. if I transfer mosi/sck/latch from the nano to the ESP8266, the problem reverts back to where I started (only 8th bit output works). I've replicated this...
by DMWidgets
Tue Mar 13, 2018 3:12 pm
Forum: ESP8266 boards
Topic: [solved] can only toggle one output on 74hc595n shift register?
Replies: 6
Views: 1518

Re: can only toggle one output on 74hc595n shift register?

Latch was specifically called out and so often SS is chosen for that pin that I thought it might help to explcitly set the others as OUT. I've removed those lines but the issue persists. I know the other side's outputs work, as on reset they go floating and the LED on that side lights on/off/flicker...
by DMWidgets
Mon Mar 12, 2018 10:56 pm
Forum: ESP8266 boards
Topic: [solved] can only toggle one output on 74hc595n shift register?
Replies: 6
Views: 1518

[solved] can only toggle one output on 74hc595n shift register?

After much wrangling, I have my esp8266 operating my shift register...mostly. My issue at the moment is I can only toggle the first input (Qa) on the chip AND the first input toggles on the last byte sent (which makes sense now that I think about it). As far as I can tell, input is a simple "drive l...
by DMWidgets
Tue Mar 06, 2018 3:34 am
Forum: ESP8266 boards
Topic: Wemos D1 Mini UART RX pin in MicroPython?
Replies: 5
Views: 2102

Re: Wemos D1 Mini UART RX pin in MicroPython?

Curious to know an answer to this myself. Got an HC05 bluetooth module today and I'm trying to make it work. Couldn't make much out of the posted thread, though. My understanding is UART 0 is...used by the REPL or something and UART 1 works, but only for TX (which won't work for me). I finally got t...
by DMWidgets
Tue Feb 20, 2018 12:46 am
Forum: General Discussion and Questions
Topic: Post removal and user blacklisting : deliberate?
Replies: 5
Views: 5275

Re: Post removal and user blacklisting : deliberate?

from my recollection, the order was

- initial post > approved
- edit to initial post > approved
- post disappears shortly after edit
- post reappears sometime between last night and this morning
- posted reply in thread > approved

*shrug*
by DMWidgets
Mon Feb 19, 2018 4:11 pm
Forum: General Discussion and Questions
Topic: wlan.scan() failed, or silently "hangs" after a while
Replies: 2
Views: 3243

Re: wlan.scan() failed, or silently "hangs" after a while

Props to Cefn for his help while I was "indisposed" during that confusing turn of events. I changed the way the string gets concatenated/lowered the gc threshold and monitored the memory usage while trying to replicate the error. After running the specific function alone on a spare board I've determ...
by DMWidgets
Fri Feb 16, 2018 6:49 pm
Forum: General Discussion and Questions
Topic: wlan.scan() failed, or silently "hangs" after a while
Replies: 2
Views: 3243

wlan.scan() failed, or silently "hangs" after a while

edit: pared the code down to a simple "write results of wlan.scan() to file" as a starting point to debug the issue. Still eventually run into the same problem; the script hangs after a while. Running latest firmware on an ESP8266 and I'm having an issue that doesn't seem to be giving me an exceptio...