Search found 288 matches

by Turbinenreiter
Sun Sep 21, 2014 9:18 am
Forum: Development of MicroPython
Topic: REPL improvement
Replies: 8
Views: 3769

Re: REPL improvement

@stjin Yes. Terminal and file view already exist and can be used. I also tried to build a little toolbox, but I got stuck quickly, because I couldn't figure out how to get the current files name. This is what I got so far: upydev.py from gi.repository import GObject, GLib, Gio, Gtk, Gedit class Micr...
by Turbinenreiter
Wed Sep 17, 2014 8:37 am
Forum: MicroPython pyboard
Topic: data write speeds and broken SD cards
Replies: 32
Views: 13716

Re: data write speeds and broken SD cards

@dhylands: matplotlib @blmorris: The onboard accelerometer (shown in 'uaccelerations') of the pyboard has a range of +-1.5g, the MPU9150 ('accelerations') has +-16g. The ADXL377 does +-200g and I guess I will try that. The actual accelerations of the launch are probably going up to 25, maybe 30g. In...
by Turbinenreiter
Tue Sep 16, 2014 7:33 pm
Forum: MicroPython pyboard
Topic: data write speeds and broken SD cards
Replies: 32
Views: 13716

Re: data write speeds and broken SD cards

A little preview ...
figs.png
figs.png (171.02 KiB) Viewed 4077 times
by Turbinenreiter
Mon Sep 15, 2014 8:55 am
Forum: MicroPython pyboard
Topic: data write speeds and broken SD cards
Replies: 32
Views: 13716

Re: data write speeds and broken SD cards

Yeah, I never looked at the files the tests wrote.
But it doesn't really matter. The sensor-data I read over I2C comes in as Bytes. So I will just store those Bytes - and save even more cycles because I don't have to unpack them.
by Turbinenreiter
Fri Sep 12, 2014 8:44 am
Forum: MicroPython pyboard
Topic: data write speeds and broken SD cards
Replies: 32
Views: 13716

Re: data write speeds and broken SD cards

/edit WARNING: Writting floats doesn't write the values correctly. See posts below. Ok, I ran some tests: file type, storage type, data type binary, flash, int: 1000 lines 1.88 s 529 Hz binary, flash, float: 1000 lines 1.89 s 528 Hz string, flash, int: 1000 lines 4.72 s 211 Hz string, flash, float:...
by Turbinenreiter
Thu Sep 11, 2014 3:57 pm
Forum: MicroPython pyboard
Topic: data write speeds and broken SD cards
Replies: 32
Views: 13716

Re: data write speeds and broken SD cards

Generally yes, in my case - nah.
I'm going to place everything a bit differently and use a extension cable. That way the card is save AND accessible.
by Turbinenreiter
Thu Sep 11, 2014 3:18 pm
Forum: MicroPython pyboard
Topic: data write speeds and broken SD cards
Replies: 32
Views: 13716

Re: data write speeds and broken SD cards

aaaah, 'rb' - obviously.

I call gc.collect() in every iteration.
Will update and experiment a bit.

And hey - I never said anything about a rocket!
It's true, however. I will post more about that to the forums once it's done.
by Turbinenreiter
Thu Sep 11, 2014 12:54 pm
Forum: MicroPython pyboard
Topic: data write speeds and broken SD cards
Replies: 32
Views: 13716

data write speeds and broken SD cards

I just wan't to vent my frustration over the SD card connector. I just broke an SD card, again, losing some data, again. I guess my usecase of the board isn't that common, but it sometimes involves crashing to the ground from 100 feet (because f*cking parachute's not deploying). SD cards don't suriv...
by Turbinenreiter
Tue Sep 09, 2014 10:33 am
Forum: Development of MicroPython
Topic: REPL improvement
Replies: 8
Views: 3769

Re: REPL improvement

Sublime Text costs two pyboards. However, having plugins for that would also be nice and we could probably share code. Another feature: [*] flash a new micropython version to the board. maybe even compiled from source, with an easy way to enable options by just ticking boxes. I'll dive into gedit pl...
by Turbinenreiter
Mon Sep 08, 2014 6:54 pm
Forum: Development of MicroPython
Topic: REPL improvement
Replies: 8
Views: 3769

Re: REPL improvement

@dhylands I'm using the External Tools plugin to copy scripts to the pyboard. That way I can work on them on the computers filesystem (and use git) and send them to the pyboard wit ctrl-alt-d. Uses the mass storage interface tough and is not cross-platform. #!/bin/sh rsync $GEDIT_CURRENT_DOCUMENT_PA...