Search found 1518 matches

by Roberthh
Fri Aug 23, 2019 9:51 am
Forum: General Discussion and Questions
Topic: Inconsistent results measuring pulses
Replies: 10
Views: 164

Re: Inconsistent results measuring pulses

Since in my ESP8266 project, where this double trigger occurred, I could not add a Schmitt-Trigger gate. The PCB was already done. Therefore I used this little script to clear the second interrupt in the ISR: # # Clear Interrupt status # @micropython.viper def clear_isr(mask: int): ptr32(0x60000324)...
by Roberthh
Thu Aug 22, 2019 8:27 pm
Forum: General Discussion and Questions
Topic: Inconsistent results measuring pulses
Replies: 10
Views: 164

Re: Inconsistent results measuring pulses

Which kind of device are you using. With ESP32 and ESP8266 I have seen cases that signals with a slow rise or fall time trigger multiple interrupts, Slow means: transition time > 5 µs.
by Roberthh
Wed Aug 21, 2019 1:40 pm
Forum: ESP8266 boards
Topic: Adafruit Feather Huzzah esp8266 not running MicroPython
Replies: 9
Views: 132

Re: Adafruit Feather Huzzah esp8266 not running MicroPython

Did you switch flow control in Putty off?
by Roberthh
Tue Aug 20, 2019 6:10 am
Forum: Drivers for External Components
Topic: HX1230 96x68 Mono LCD - Nokia 5110 killer
Replies: 6
Views: 165

Re: HX1230 96x68 Mono LCD - Nokia 5110 killer

Can't you pack that further, like 8 screen symbols in 9 bytes? Obviously, it's a little bit more code, which needs time to pack, which may be slower that just using two bytes for each symbol.
by Roberthh
Mon Aug 19, 2019 4:54 pm
Forum: ESP32 boards
Topic: ESP32 WLAN promiscuous Mode for WIFI Sniffing
Replies: 1
Views: 85

Re: ESP32 WLAN promiscuous Mode for WIFI Sniffing

WiPy2 and Expansion Board 2 are products of Pycom. Better ask at their forum forum.pycom.io
by Roberthh
Mon Aug 19, 2019 10:14 am
Forum: ESP8266 boards
Topic: Control-C program via rshell etc
Replies: 10
Views: 201

Re: Control-C program via rshell etc

That's what I tested. The problem arises when the code is waiting in a blocking call. Then ir will not be tested, whether a Ctrl-C happened.
by Roberthh
Sun Aug 18, 2019 9:07 am
Forum: ESP8266 boards
Topic: Control-C program via rshell etc
Replies: 10
Views: 201

Re: Control-C program via rshell etc

You could also start a different terminal emulator like Putty or picocom and push Ctrl-C there.
by Roberthh
Sat Aug 17, 2019 9:51 am
Forum: MicroPython pyboard
Topic: Fast interrupt handler
Replies: 3
Views: 109

Re: Fast interrupt handler

In another context (the ssd1963 driver) I made tests, how much time a function call needs on a pyboard: ---- Observations about code speed It may be intersting, to tell the time micopython needs to call a function. The table below gives an estimate. An empty function was called with zero to four arg...
by Roberthh
Fri Aug 16, 2019 3:48 pm
Forum: Drivers for External Components
Topic: TM1638 - 8x 7-segment LED modules with 8x buttons
Replies: 14
Views: 1574

Re: TM1638 - 8x 7-segment LED modules with 8x buttons

You can use GPIO0 as output, as long as it is pulled up at boot time. I know this lack of pins situation of the ESP8266 pretty well. I used for instance the analog input to read a switch state.