Search found 647 matches

by Damien
Tue Nov 04, 2014 1:07 pm
Forum: Hardware Projects
Topic: Micro Python Quadcopter
Replies: 26
Views: 39611

Re: Micro Python Quadcopter

Here is a short video with 1 of the motors controlled by the pyboard, using the accelerometer to change the speed: http://youtu.be/9zFYHiPbdQI Note that it's already starting to take off with just 1 motor, and it's only at about 40% maximum power in that video. I think I'm going to need a watchdog...
by Damien
Tue Nov 04, 2014 1:03 pm
Forum: Hardware Projects
Topic: Micro Python Quadcopter
Replies: 26
Views: 39611

Micro Python Quadcopter

The first big project I want to do with the pyboard is to build a quadcopter. Yes, you can buy quadcopters ready-made, with cameras and everything, but what's the fun in that? :) A friend is also going to join the journey, and we are going to build 1 quadcopter each. The chassis we have bought is th...
by Damien
Tue Nov 04, 2014 11:16 am
Forum: General Discussion and Questions
Topic: DSP CMSIS
Replies: 6
Views: 7521

Re: DSP CMSIS

Do you have any intention to have CMSIS-DSP, DSP Library Collection available within micropython? I am specially interested in Matrix & Filter functionality. It would be great to support this functionality of the MCU. But the tough question is how to expose the DSP to the user in a "Pythonic" way. ...
by Damien
Tue Nov 04, 2014 10:39 am
Forum: Hardware Projects
Topic: Friendly projects - Pycorn, etc.
Replies: 10
Views: 13833

Re: Friendly project - Pycorn

uPy as an OS on a PC, now that would be cool! I started to write an OS from scratch a long time ago and it could boot giving you keyboard and screen. I can try and dig it up and see if I can get uPy booting in a virtualbox.
by Damien
Mon Nov 03, 2014 12:20 am
Forum: General Discussion and Questions
Topic: WS2801 with SPI on Micropython
Replies: 2
Views: 3817

Re: WS2801 with SPI on Micropython

Which version of Micro Python are you using? There was recently a change to the SPI init function such that the phase argument changed. Old versions used 1 or 2 instead of the more conventional 0 or 1. In the version you are using you might need phase=1.
by Damien
Sun Nov 02, 2014 7:16 pm
Forum: General Discussion and Questions
Topic: OSError: [Errno 5]
Replies: 28
Views: 28295

Re: OSError: [Errno 5]

I am sympathetic to those who worry about memory fragmentation. It is a real problem, and needs to be dealt with if uPy is going to be used in serious, robust embedded applications. Well, programming in a way which is concious of memory fragmentation will go a long way to helping. Eg, preallocating ...
by Damien
Sun Nov 02, 2014 1:03 pm
Forum: General Discussion and Questions
Topic: Low power mode pyb.wfi()
Replies: 20
Views: 18329

Re: Low power mode pyb.wfi()

Ok. I will update the docs to mention all of this.
by Damien
Sun Nov 02, 2014 12:56 pm
Forum: Development of MicroPython
Topic: Uart word-size and parity
Replies: 6
Views: 8449

Re: Uart word-size and parity

So my wish would be to have DTR line information on a pin as well Unfortunately the hardware (the STM32F405 MCU) does not support DTR/DSR. But, from my understanding, you can just use RTS/CTS mode and connect them to DTR/DSR... would need to know your exact situation to understand if this is possib...
by Damien
Sun Nov 02, 2014 12:41 am
Forum: General Discussion and Questions
Topic: Low power mode pyb.wfi()
Replies: 20
Views: 18329

Re: Low power mode pyb.wfi()

Ok, I tried v1.3.5 on Linux with picocom. I get the following results: 1. I can change frequency with pyb.freq to values between 168MHz and 30MHz at the REPL. Sometimes with low frequencies I do lose the REPL, but the device reappears and I can connect again. 2. Setting the frequency in boot.py seem...
by Damien
Sat Nov 01, 2014 11:30 pm
Forum: General Discussion and Questions
Topic: Low power mode pyb.wfi()
Replies: 20
Views: 18329

Re: Low power mode pyb.wfi()

Do you have any code running in the background, like interrupts? Did you initialise any peripherals, like I2C or UART or SPI busses? Is there any code in boot.py or main.py? These might be causing problems when the frequency changes.