Search found 57 matches

by zaord
Sun Apr 11, 2021 12:53 pm
Forum: MicroPython pyboard
Topic: Reading multiples waves files in the same time
Replies: 3
Views: 171

Reading multiples waves files in the same time

Hi, For a p├ędagogical musical projet, I would need to create a system with several 'layers of sound' meaning one sound file for exemple melody, one for harmony and one for explaiations and I would to be abbe to mute each of those track when I wants duriing playing in the same time. Do you have any i...
by zaord
Sun Apr 11, 2021 12:48 pm
Forum: MicroPython pyboard
Topic: Pyboard.py raw repl : passing Micropython variable to Python
Replies: 6
Views: 367

Re: Pyboard.py raw repl : passing Micropython variable to Python

Or maybe I should use uasyncio with python to execute my recording command in parallel, waiting for micropython follow return function and wait until both measurements end to continue my script.
This seems okay ?
by zaord
Thu Apr 08, 2021 2:08 pm
Forum: MicroPython pyboard
Topic: Pyboard.py raw repl : passing Micropython variable to Python
Replies: 6
Views: 367

Re: Pyboard.py raw repl : passing Micropython variable to Python

So If I don't wants to follow and continue python script without waiting for micropython answears,what should I do ?

Best
by zaord
Wed Apr 07, 2021 12:34 pm
Forum: MicroPython pyboard
Topic: Pyboard.py raw repl : passing Micropython variable to Python
Replies: 6
Views: 367

Re: Pyboard.py raw repl : passing Micropython variable to Python

Hi ! What does the follow function from pyboard.py with rshell ? I wonder if it's possible to execute a function to my pyboard with rshell or pyboard from python and being able to continue my python script without waiting the end of my pyboard execution. Like I need to do measurement booth acoustic ...
by zaord
Thu Feb 11, 2021 11:14 am
Forum: General Discussion and Questions
Topic: I2C instances and multiple devices
Replies: 5
Views: 3042

Re: I2C instances and multiple devices

if type(side_str) is str: sst = side_str.upper() if sst in {'X', 'Y'}: self._mpu_i2c = pyb.I2C(sst, pyb.I2C.MASTER) else: raise ValueError('I2C side must be X or Y') elif type(side_str) is pyb.I2C: self._mpu_i2c = side_str Hi Peter, I try to understand what your wrote here. I try to use the same bu...
by zaord
Thu Jan 21, 2021 3:36 pm
Forum: MicroPython pyboard
Topic: Pyboard.py raw repl : passing Micropython variable to Python
Replies: 6
Views: 367

Pyboard.py raw repl : passing Micropython variable to Python

Hi here, I am still on the way to conquest pyboard.py script within raw repl. I try to get variable from micropython raw repl into python env. This is my script : import sys import time from rshell import main from rshell import pyboard pyb = pyboard.Pyboard('COM4') pyb.enter_raw_repl() sys.stdout.w...
by zaord
Thu Jan 21, 2021 12:08 pm
Forum: MicroPython pyboard
Topic: Pyboard.py raw repl bug
Replies: 2
Views: 472

Re: Pyboard.py raw repl bug

this works !
by zaord
Fri Jan 08, 2021 8:22 pm
Forum: MicroPython pyboard
Topic: power supply questions
Replies: 7
Views: 997

Re: power supply questions

But here, I connect only the GND ... I use the DAc to control a 3 phase brushless motor for a fan.
I have nothing on VIN because I just need the reference ..
I have connected the fan drinver ground to AGND of the micropython card.

Should I try something ?
by zaord
Thu Jan 07, 2021 9:08 am
Forum: MicroPython pyboard
Topic: power supply questions
Replies: 7
Views: 997

Re: power supply questions

I have the same issue than https://forum.micropython.org/viewtopic.php?f=6&t=1106&p=6594#p6594 I found that if I power on the psu before the usb, I have no problem at all, but if I connect The usb before the PSU I get problem... Maybe I should make a OR diode circuit. How can I do this ? Do I need t...
by zaord
Mon Dec 14, 2020 3:07 pm
Forum: MicroPython pyboard
Topic: power supply questions
Replies: 7
Views: 997

Re: power supply questions

If I connect any power supply and make just the connection between Pyboard connected with USB and just the GND of the PSU, that makes troubles. I Have 230 mV between the GND of the Pyboard and the GND on the PSU when unwired. Maybe mass loops ? I ordered a usb to usb for isolating my pyboard to my U...