Search found 27 matches

by Kip
Tue Jan 14, 2020 1:28 pm
Forum: General Discussion and Questions
Topic: Would a pyboard purchase support the project?
Replies: 14
Views: 504

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...
by Kip
Fri Jan 03, 2020 12:33 pm
Forum: General Discussion and Questions
Topic: Would a pyboard purchase support the project?
Replies: 14
Views: 504

Re: Would a pyboard purchase support the project?

Yes
Yes
Yes

Sent from my Pixel 2 XL using Tapatalk

by Kip
Fri Nov 29, 2019 2:50 am
Forum: General Discussion and Questions
Topic: [Solved]Display PYFLASH of STM32L4R9IDISC in Ubuntu/Window
Replies: 6
Views: 352

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

by Kip
Thu Nov 28, 2019 12:04 pm
Forum: General Discussion and Questions
Topic: [Solved]Display PYFLASH of STM32L4R9IDISC in Ubuntu/Window
Replies: 6
Views: 352

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

by Kip
Sat Nov 23, 2019 12:17 pm
Forum: General Discussion and Questions
Topic: Detecting a beep with ESP32/micropython
Replies: 4
Views: 254

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. ...
by Kip
Sat Nov 23, 2019 12:11 pm
Forum: General Discussion and Questions
Topic: Detecting a beep with ESP32/micropython
Replies: 4
Views: 254

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

by Kip
Tue Nov 19, 2019 12:37 pm
Forum: General Discussion and Questions
Topic: Beware FAKE 18B20 temperature sensors
Replies: 2
Views: 606

Re: Beaware FAKE 18B20 temperature sensors

Thanks for the heads up

Sent from my Pixel 2 XL using Tapatalk

by Kip
Tue Nov 05, 2019 10:07 pm
Forum: ESP32 boards
Topic: ESP32 Camera (ESP32 Cam) Library
Replies: 6
Views: 4807

Re: ESP32 Camera (ESP32 Cam) Library

Thanks for the firmware and examples. I noticed that in the webcam example https://github.com/tsaarni/esp32-micropython-webcam/blob/master/webcam.py that camera has a capture method that stores the camera sensor data into a buf. Would anyone know of any way to convert this data to an image file (say...
by Kip
Sat Jun 29, 2019 11:49 am
Forum: General Discussion and Questions
Topic: ESP8266: instead of main.py start from REPL an script
Replies: 5
Views: 501

Re: ESP8266: instead of main.py start from REPL an script

I recently got the ESP8266 and had a play around. I made a "note to self" of my workflow. Check it out: https://github.com/KipCrossing/ESP2866-MicroPython

I put my code in a different file just in case my main.py file got corrupted. It seems difficult to remove corrupted files.



by Kip
Mon Jun 03, 2019 11:02 am
Forum: General Discussion and Questions
Topic: PyBoard Timer Question
Replies: 7
Views: 737

Re: PyBoard Timer Question

Thanks for your input! :D how do you ensure that you start read_timed at a known point in the PWM I guess I could use Timer.OC_TOGGLE and half the period to get the same frequency. Then set the counters to 0 each loop (Thanks for that tip btw) I would really like to have a practical example (code) o...