Search found 149 matches

by gratefulfrog
Fri Oct 14, 2016 1:16 pm
Forum: General Discussion and Questions
Topic: Pyboard noise
Replies: 21
Views: 19763

Re: Pyboard noise

thanks for those pointers, @dbc !

I'm not quite so sophisticated as all that is described in those docs, sigh... I am not at all an electronics expert (does it show?)...

Cheers,
Bob
by gratefulfrog
Thu Oct 13, 2016 6:53 pm
Forum: General Discussion and Questions
Topic: Pyboard noise
Replies: 21
Views: 19763

Re: Pyboard noise

Thanks @dbc. I also doubt that it would be possible to filter the ticks. As to my circuit, I did some more experiments without my circuit, in fact with nothing but the Pyboard and the amp cable: Configuration A Pyboard sitting on an insulating mat, connected to the PC via USB, powered from the PC vi...
by gratefulfrog
Thu Oct 13, 2016 4:26 pm
Forum: General Discussion and Questions
Topic: Pyboard noise
Replies: 21
Views: 19763

Re: Pyboard noise

Gentlemen PyBoarders, I have news to report. First, again let me thank you all for your immense help and support! I may have assumed that you knew my project, so let me give a few words of overview: I use the Pyboard to drive a network of analog switches via spi. These switches route signals from an...
by gratefulfrog
Sun Oct 09, 2016 6:18 pm
Forum: General Discussion and Questions
Topic: Pyboard noise
Replies: 21
Views: 19763

Re: Pyboard noise

Thanks for all that, I will be int he lab on Wednesday and try to set up the sinusoid capture experiment.

In the meantime, I continue to explore...

More news soon!
Thanks to all!
B
by gratefulfrog
Fri Oct 07, 2016 7:31 pm
Forum: General Discussion and Questions
Topic: Pyboard noise
Replies: 21
Views: 19763

Re: Pyboard noise

Thanks for those 2 remarks. I am not recording or playing back, just making connections between 4 audio sources. These are on a pcb, into which is plugged the Pyboard. When I poll the pyboard accelerometers, I get a click in the audio signal. The same when I poll the adcs. I am really at a loss as t...
by gratefulfrog
Fri Oct 07, 2016 4:19 pm
Forum: General Discussion and Questions
Topic: Pyboard noise
Replies: 21
Views: 19763

Pyboard noise

Hello again... As some may know, I am building an audio application with a pyboard. I have discovered that polling an adc or an accelerometer seems to generate a "click" which is picked up by my amplification circuit (not part of the project). Sadly, I poll 6 adc's and 2 accelerometers at every pass...
by gratefulfrog
Fri Oct 07, 2016 8:45 am
Forum: General Discussion and Questions
Topic: bytecode not implemented error
Replies: 4
Views: 4667

Re: bytecode not implemented error

I get it! I have added a dependency in my Makefile in the stmhal/scripts/ directory to handle any changes that would require a rebuild of mpy-cross. I've attached the Makefile if anyone cares to take a look. I run it from stmhal/scripts/ with the pyboard in dfu mode connected via USB: $ make deploy ...
by gratefulfrog
Thu Oct 06, 2016 8:27 pm
Forum: General Discussion and Questions
Topic: bytecode not implemented error
Replies: 4
Views: 4667

Re: bytecode not implemented error

My question is:

Why doesn't make notice the changes and rebuild the mpy-cross automatically?

Shouldn't make do this?
by gratefulfrog
Thu Oct 06, 2016 4:12 pm
Forum: General Discussion and Questions
Topic: bytecode not implemented error
Replies: 4
Views: 4667

bytecode not implemented error

Hi, I recently got a "bytecode not implemented" error and was lucky to find this issue on github which mentioned the mpy-cross needed to be rebuilt. I guess that my last fetch/pull caused that but shouldn't the makefile have noticed and automatically rebuilt the required targets? Is there anyway of ...
by gratefulfrog
Wed Sep 14, 2016 6:21 pm
Forum: MicroPython pyboard
Topic: Accelerometers and measurement of orientation
Replies: 8
Views: 8321

Re: Accelerometers and measurement of orientation

Hey, I got this to work long ago.. First, note that any value returned by the Accel instance > 31 or < -32 needs to be rejected because there was a read error. To calculate the pitch, we need to measure Z axis acceleration, i.e. gravity to get our base value G, then use the formula cos(angle) = a.z(...