Search found 16 matches

by Gilbert
Wed Dec 26, 2018 10:52 am
Forum: Development of MicroPython
Topic: Problems pasting 190 lines of code into PuttY
Replies: 6
Views: 3902

Re: Problems pasting 190 lines of code into PuttY

Hi, Roberthh, I am indeed using Windows, and Pyboard 1.1 I will try uPyCraft, which is one of your suggestions. (Seems to be a better tool than Ampy according to the comments on this forum.) Hi shaoziyang, I have freed up memory to test the "paste mode" and the problem remains. Sometimes it works bu...
by Gilbert
Tue Dec 25, 2018 11:46 am
Forum: Development of MicroPython
Topic: Problems pasting 190 lines of code into PuttY
Replies: 6
Views: 3902

Re: Problems pasting 190 lines of code into PuttY

Thanks for your reply. I do not know rshell : Can I use that in a similar way as PuttY? Transfer as files: Do you mean: dump the code in main.py? I have tried to edit main.py each time I wanted to make a change to the code but I ended up with a corrupted main.py. And I need to change the code quite ...
by Gilbert
Tue Dec 25, 2018 10:17 am
Forum: Development of MicroPython
Topic: Problems pasting 190 lines of code into PuttY
Replies: 6
Views: 3902

Problems pasting 190 lines of code into PuttY

Hi,

Pasting code (using Crtl E and the right mouse button) worked fine until my code got bigger.
Now I have difficulties pasting 190 lines of code: Parts are missing.
The only way to overcome that problem now is to paste it in two parts which is not very handy.

Help!
by Gilbert
Mon Nov 26, 2018 1:05 pm
Forum: MicroPython pyboard
Topic: Counters 6,7 and 9-14 cannot count down
Replies: 0
Views: 1331

Counters 6,7 and 9-14 cannot count down

Hello,

I noticed that Timer 9 could not count down and decided to run a little program to test all Timers.
The result was that Timers 6,7 and 9 to 14 appear not able to count down.
This is probably known but not documented in class Timers as far as I can see... Would be helpful though.

Gilbert
by Gilbert
Thu Nov 01, 2018 1:13 pm
Forum: Drivers for External Components
Topic: MPU 9250 generating garbage
Replies: 16
Views: 9761

Re: MPU 9250 generating garbage

I am convinced that the Lego gyro itself uses gravity to maintain steady angles, but I think that (reasonable steady) angles are indeed enough to make balancing vehicles work. I remember that the Arduino 6050 driver was very steady (after allowing it +/- 20 seconds to stabilize): I moved, turned and...
by Gilbert
Wed Oct 31, 2018 6:12 pm
Forum: Drivers for External Components
Topic: MPU 9250 generating garbage
Replies: 16
Views: 9761

Re: MPU 9250 generating garbage

Thanks. I gave it already a quick glance and I noticed that Jeffm speaks of a "target angle" which suggest that he worked with angles. But I will have a much closer look. (A couple of years ago I made a balanced 2-wheeler with Arduino using just a target angle and a PID controller. It worked so and ...
by Gilbert
Tue Oct 30, 2018 2:17 pm
Forum: Drivers for External Components
Topic: MPU 9250 generating garbage
Replies: 16
Views: 9761

Re: MPU 9250 generating garbage

well, I think I will need the sensor fusion module if I want to have the angles as well. (And I guess I will need these (at least the Z-axis) to make a balancing two wheeler.)
by Gilbert
Tue Oct 30, 2018 12:33 pm
Forum: Drivers for External Components
Topic: MPU 9250 generating garbage
Replies: 16
Views: 9761

Re: MPU 9250 generating garbage

Hi Peter (pythoncoder), Thanks! I was planning to contact you regarding this subject, as I have seen that you were (are) very much envolved in the development of the IMU9250 driver which I am using. I suppose that "micropython-fusion" is what you have in mind when pointing me to these resources? Gil...
by Gilbert
Tue Oct 30, 2018 9:58 am
Forum: Drivers for External Components
Topic: MPU 9250 generating garbage
Replies: 16
Views: 9761

Re: MPU 9250 generating garbage

Thanks. You are right, the MPU8250 is indeed working properly. What confused me is that I was expecting to see X,Y an Z angles (as with Arduino) instead of "turn rates" (angle change rates). After doing some reading and research I understand now that I can produce these angles myself. Is there any a...
by Gilbert
Mon Oct 29, 2018 12:49 pm
Forum: Drivers for External Components
Topic: MPU 9250 generating garbage
Replies: 16
Views: 9761

MPU 9250 generating garbage

Hi, I have hooked up a MPU9250 gyro to my Pyboard and the connection seems OK exept for the gyro and accelaration data being garbage. Temperature reading is OK and 'mag' seem OK too. The gyro data looks like it is acceleration data (shaking the 9250 produces high values) and the acceleration data is...