Search found 18 matches

by Neon22
Wed Jul 09, 2014 2:40 am
Forum: General Discussion and Questions
Topic: OpenMV polling well
Replies: 1
Views: 2908

OpenMV polling well

OpenMV uses micropython and is polling very well (second) on hackaday for the Space prize !
How cool is that.
https://hackadaycom.files.wordpress.com ... esults.png
by Neon22
Sat Apr 26, 2014 10:06 pm
Forum: Programs, Libraries and Tools
Topic: python-flavin - minimizing imports
Replies: 3
Views: 6568

Re: python-flavin - minimizing imports

These sound like great ideas. I see there is a qemu folder appearing - maybe it can do some emulation. As for bytecodes on the PC then transfer to the pyboard - I'm not sure of size advantage. A lot of the code ends up in flash. I think you can spit out the bytecodes and thereby determine relative s...
by Neon22
Sat Apr 19, 2014 10:32 pm
Forum: Programs, Libraries and Tools
Topic: python-flavin - minimizing imports
Replies: 3
Views: 6568

python-flavin - minimizing imports

Python-Flavin is designed to take your final .py file and create a new copy of it containing only the minimal set of classes/functions/variables used. I.e. its specifically useful for microcontrollers where unused code takes up valuable room. Its designed to follow all nested imports as deeply as po...
by Neon22
Thu Mar 06, 2014 10:14 pm
Forum: Hardware Projects
Topic: Laser rangefinder uses timers on STM32F series
Replies: 0
Views: 6669

Laser rangefinder uses timers on STM32F series

Seen on hackaday - here translated to English:
http://translate.google.com/translate?s ... 2F&act=url

Uses Timers TIM2,3,8 to make a phase difference calculator and thereby discovers distance.

Would be cool to implement the Python version - but needs external hardware board to do mixing and LPF.
by Neon22
Thu Mar 06, 2014 9:42 pm
Forum: Hardware Projects
Topic: Ideas for the project
Replies: 15
Views: 18761

Re: Ideas for the project

What ideas do you all have for using the board? I would like to interface a good resolution six axis accelerometer ... Does anyone know more about such accelerometers? The MPU6050 is a cheap good device with I2C support. It'll probably be a good start. Many places sell a breakout board - E.g. Adafr...
by Neon22
Thu Mar 06, 2014 9:38 pm
Forum: Development of MicroPython
Topic: I2C Working
Replies: 8
Views: 10029

Re: I2C Working

There's a set of useful I2C specific functions built on top as a python library here: https://github.com/Neon22/micropython-I2C Needs testing on a board... here's a code snippet for torvag :) class I2C_lib(pyb_I2C): """ Extend i2c interface Existing methods are: - start() - write(byte) # send byte -...
by Neon22
Sat Mar 01, 2014 12:01 am
Forum: General Discussion and Questions
Topic: Multitasking?
Replies: 19
Views: 35403

Re: Multitasking?

Its intended that the servo actuator is done in an interrupt routine which services all servos.
So they appear to all be running concurrently and not impeding the flow of the python code.
Not fully implemented yet - but example on Teensy port.
by Neon22
Fri Feb 28, 2014 11:55 pm
Forum: General Discussion and Questions
Topic: Spambot counterattack
Replies: 28
Views: 29061

Re: Spambot counterattack

me neither :D.. .so I keep saying anyway...