Search found 140 matches
- Wed Apr 14, 2021 5:58 pm
- Forum: MicroPython pyboard
- Topic: Input voltage limit, V+ as output, and actuator power supply options
- Replies: 4
- Views: 4520
Re: Input voltage limit, V+ as output, and actuator power supply options
Thank you for the reply. What about my confusion about using V+/VIN for input and output at the same time? If I don't provide USB power, but rather supply battery power to V+ or perhaps utilize a DC wart that goes to a barrel instead of USB and break the barrel apart to supply a V+ pin, can I then s...
- Wed Apr 14, 2021 6:20 am
- Forum: General Discussion and Questions
- Topic: Adding an Ethernet Interface
- Replies: 3
- Views: 1876
Re: Adding an Ethernet Interface
I connected an ethernet port to a PyBoard at one point, but I did it with a WizNet. As I recall, it worked perfectly. I actually got a second WizNet device after that, a different model. I can't remember what the difference or purported advantage of the second model was. I never got around to wiring...
- Tue Apr 13, 2021 5:52 pm
- Forum: MicroPython pyboard
- Topic: Input voltage limit, V+ as output, and actuator power supply options
- Replies: 4
- Views: 4520
Input voltage limit, V+ as output, and actuator power supply options
The spec diagram (pybv11-pinout.jpg) and the MicroPython webpage (https://store.micropython.org/product/PYBv1.1H) and the SparkFun page (https://learn.sparkfun.com/tutorials/pyboard-hookup-guide/all) all say V+ can be 3.6-16V, but the docs say it can only take up to 10V (https://docs.micropython.org...
- Tue Apr 13, 2021 5:38 pm
- Forum: MicroPython pyboard
- Topic: How to trigger delayed callback from interrupt
- Replies: 4
- Views: 4137
- Fri Apr 09, 2021 11:49 pm
- Forum: General Discussion and Questions
- Topic: Why does utime.gmtime() exist?
- Replies: 2
- Views: 1509
- Fri Apr 09, 2021 11:48 pm
- Forum: MicroPython pyboard
- Topic: How to trigger delayed callback from interrupt
- Replies: 4
- Views: 4137
Re: How to trigger delayed callback from interrupt
Thanks, as always, for your responses. I'll see if I can get something working. It certainly seems like a reasonable tasks: trigger a delayed callback or interrupt, and do so *from* an interrupt with all the vagaries that involves (no memory allocation, etc.). I can imagine lots of uses for a callba...
- Fri Apr 09, 2021 2:51 pm
- Forum: General Discussion and Questions
- Topic: Setting RTC subseconds
- Replies: 0
- Views: 1210
Setting RTC subseconds
The docs say this: ---------- RTC.datetime([datetimetuple]) Get or set the date and time of the RTC. With no arguments, this method returns an 8-tuple with the current date and time. With 1 argument (being an 8-tuple) it sets the date and time (and subseconds is reset to 255). The 8-tuple has the fo...
- Fri Apr 09, 2021 1:38 pm
- Forum: General Discussion and Questions
- Topic: Why does utime.gmtime() exist?
- Replies: 2
- Views: 1509
Why does utime.gmtime() exist?
I realize utime is a MicroPython conversion of time and that time offers a gmtime() function, but given that time is specially tailored to MicroPython and that MicroPython doesn't offer built-in timezone calculations anyway, and given that gmtime() returns the same value of localtime(), why is gmtim...
- Thu Apr 08, 2021 11:29 pm
- Forum: MicroPython pyboard
- Topic: How to trigger delayed callback from interrupt
- Replies: 4
- Views: 4137
How to trigger delayed callback from interrupt
I have a pin interrupt catching a rising edge of a signal. I use that to turn an LED on. I'd like to turn the LED off a moment later, perhaps 100ms or so. I tried catching the time in a global variable with ticks_ms() in the callback and then waiting for the main loop to detect that 100ms had transp...
- Thu Apr 08, 2021 10:58 pm
- Forum: Pyboard D-series
- Topic: ntptime kills the wifi station, hard reset required to fix
- Replies: 20
- Views: 89793
Re: ntptime kills the wifi station, hard reset required to fix
That would seem to indicate that it ran to the end successfully. I have an ESP32 I could test it with too I suppose, and scads of ESP8266s lying around. That would seem to suggest that the PyBoard D specific firmware has a problem. I'd love for something else with a D to try this. I have three Ds my...