Search found 31 matches
- Wed Apr 22, 2020 8:22 pm
- Forum: General Discussion and Questions
- Topic: pyboard PWM capable pins...
- Replies: 3
- Views: 2286
Re: pyboard PWM capable pins...
Your pin selection will be based on what timer you use. See this image for the pins and their corresponding timers http://micropython.org/resources/pybv11-pinout.jpg You use a channel to connect your pin(s) to your timer. For example: ```python timer = pyb.Timer(2, freq=1000) ch2 = timer.channel(2, ...
- Fri Mar 06, 2020 4:51 pm
- Forum: General Discussion and Questions
- Topic: Before I go further... Is Micropython ready for "production" (ESP32 Specifically)
- Replies: 5
- Views: 3745
Re: Before I go further... Is Micropython ready for "production" (ESP32 Specifically)
I remember seeing this a while back:
https://youtu.be/WgpMWEdKuyY
Hope it helps!
Sent from my Pixel 2 XL using Tapatalk
https://youtu.be/WgpMWEdKuyY
Hope it helps!
Sent from my Pixel 2 XL using Tapatalk
- Wed Jan 29, 2020 6:40 am
- Forum: General Discussion and Questions
- Topic: Sydney MicroPython Meetup
- Replies: 3
- Views: 2320
Re: Sydney MicroPython Meetup
I'm in! I'm going to use the opportunity to attempt to connect my LoPy to the gateway on top of the UTS building. Might go a little early.
Sent from my Pixel 2 XL using Tapatalk
Sent from my Pixel 2 XL using Tapatalk
- Thu Jan 23, 2020 4:20 pm
- Forum: General Discussion and Questions
- Topic: get programs on a board?
- Replies: 3
- Views: 2539
Re: get programs on a board?
Try this: https://learn.adafruit.com/micropython- ... stall-ampy
Sent from my Pixel 2 XL using Tapatalk
Sent from my Pixel 2 XL using Tapatalk
- Tue Jan 14, 2020 1:28 pm
- Forum: General Discussion and Questions
- Topic: Would a pyboard purchase support the project?
- Replies: 15
- Views: 8845
Re: Would a pyboard purchase support the project?
Hi all, why micropython on a RPi zero ? To not have the layer raspbian ? thx I was also interested and found this; https://github.com/boochow/micropython-raspberrypi/ Looking a the ref; https://github.com/boochow/micropython-raspberrypi/wiki/Quick-reference-for-the-Raspberry-Pi-Zero---W-MicroPython...
- Fri Jan 03, 2020 12:33 pm
- Forum: General Discussion and Questions
- Topic: Would a pyboard purchase support the project?
- Replies: 15
- Views: 8845
Re: Would a pyboard purchase support the project?
Yes
Yes
Yes
Sent from my Pixel 2 XL using Tapatalk
Yes
Yes
Sent from my Pixel 2 XL using Tapatalk
- Fri Nov 29, 2019 2:50 am
- Forum: General Discussion and Questions
- Topic: [Solved]Display PYFLASH of STM32L4R9IDISC in Ubuntu/Window
- Replies: 6
- Views: 3586
Re: Display PYFLASH of STM32L4R9IDISC in Ubuntu/Window
Weird... you are getting a list of something that's there. What happens when you:
f = open("main.py", "w")
f.close()
Then re-run:
import os
os.listdir()
Perhaps this convo will help someone with more knowledge troubleshoot.
Sent from my Pixel 2 XL using Tapatalk
f = open("main.py", "w")
f.close()
Then re-run:
import os
os.listdir()
Perhaps this convo will help someone with more knowledge troubleshoot.
Sent from my Pixel 2 XL using Tapatalk
- Thu Nov 28, 2019 12:04 pm
- Forum: General Discussion and Questions
- Topic: [Solved]Display PYFLASH of STM32L4R9IDISC in Ubuntu/Window
- Replies: 6
- Views: 3586
Re: Display PYFLASH of STM32L4R9IDISC in Ubuntu/Window
I'm not an expert at all, but I thought I'd ask.
Are you able to see the micropython interpreter (REPL) with screen or picocom or whatever you use? If so, what happens when you:
import os
os.listdir()
Sent from my Pixel 2 XL using Tapatalk
Are you able to see the micropython interpreter (REPL) with screen or picocom or whatever you use? If so, what happens when you:
import os
os.listdir()
Sent from my Pixel 2 XL using Tapatalk
- Sat Nov 23, 2019 12:17 pm
- Forum: General Discussion and Questions
- Topic: Detecting a beep with ESP32/micropython
- Replies: 4
- Views: 4306
Re: Detecting a beep with ESP32/micropython
I made a fit_sin() function https://github.com/KipCrossing/SpecialMath for one of my projects that might be help. Just set your ADC sample rate to some multiple m of the frequency of the beep frequency and average your buffer into a list of size m for the function. Averaging will help reduce noise. ...
- Sat Nov 23, 2019 12:11 pm
- Forum: General Discussion and Questions
- Topic: Detecting a beep with ESP32/micropython
- Replies: 4
- Views: 4306
Re: Detecting a beep with ESP32/micropython
Sounds like a fun project. If you know the frequency of the beep, you can use a sin curve fitting function and check if the amplitude > your threshold.
Sent from my Pixel 2 XL using Tapatalk
Sent from my Pixel 2 XL using Tapatalk