Search found 288 matches

by Turbinenreiter
Fri Sep 05, 2014 11:16 am
Forum: Hardware Projects
Topic: Module for MPU9150
Replies: 54
Views: 21578

Re: Module for MPU9150

If that works out let me know, so I can add it to the lib.
by Turbinenreiter
Fri Sep 05, 2014 9:11 am
Forum: Hardware Projects
Topic: Module for MPU9150
Replies: 54
Views: 21578

Re: Module for MPU9150

Ok, the same code that is on Github works for me. register dump: reg:13 val:b'PQ' reg:14 val:b'Q\xb7' reg:15 val:b'\xb7\xd1' reg:16 val:b'\xd1\x00' reg:17 val:b'\x00\x00' reg:18 val:b'\x00\x00' reg:19 val:b'\x00\x00' reg:20 val:b'\x00\x00' reg:21 val:b'\x00\x00' reg:22 val:b'\x00\x00' reg:23 val:b'\...
by Turbinenreiter
Fri Sep 05, 2014 8:33 am
Forum: Hardware Projects
Topic: OLED Displays SSD1306
Replies: 19
Views: 20324

Re: OLED Displays SSD1306

by Turbinenreiter
Thu Sep 04, 2014 3:19 pm
Forum: Hardware Projects
Topic: Module for MPU9150
Replies: 54
Views: 21578

Re: Module for MPU9150

I'm using the Sparkfun Breakout Board. Have you connected ESD and ESC (I2C of the compass) to the the same I2C bus as the accel/gyros? That's how I do it - basically using the accel/gyro and the compass as two seperate I2C devices, because the magic to use the internal power of the chip is not docum...
by Turbinenreiter
Tue Sep 02, 2014 6:29 am
Forum: Hardware Projects
Topic: NanoSeeker (underwater robot)
Replies: 9
Views: 6416

Re: NanoSeeker (underwater robot)

This is kinda exactly what I'm trying to build, just mine will have a barometric pressure sensor to measure heigth, because it will go in a rocket.

Awesome.
by Turbinenreiter
Sun Aug 24, 2014 2:26 pm
Forum: General Discussion and Questions
Topic: Scheduler for Micropython
Replies: 3
Views: 2652

Re: Scheduler for Micropython

Nice! Based on your examples I wrote the code attached on the bottom. There is thread for each: * get the accelerations * print it * write the data to a buffer * clear and write the buffer to a file once it reaches a certain length It works, but some parts I don't fully understand yet. import pyb fr...
by Turbinenreiter
Sat Aug 23, 2014 5:40 pm
Forum: General Discussion and Questions
Topic: Debuging my code in PC without REPL
Replies: 10
Views: 5258

Re: Debuging my code in PC without REPL

Amusing the code you want to debug looks like this: (Warning - not tested, using Accleromter as example) import pyb accel = pyb.Accel() while True: ax, ay ,az = accel.filtered_xyz() print(ax, ay, az) 1. Save that script on the pyboard, either flash or sd, doesn't matter. Name it test.py 2. Open the ...
by Turbinenreiter
Thu Aug 14, 2014 7:00 pm
Forum: MicroPython pyboard
Topic: Expansion boards - pyshields
Replies: 5
Views: 4853

Re: Expansion boards - pyshields

I will try to make a 10DOF IMU shield. Either using a MPU9150 and BMP180 or adapting the adafruit 10DOF IMU breakout board.
by Turbinenreiter
Thu Aug 14, 2014 4:53 pm
Forum: MicroPython pyboard
Topic: nRF24
Replies: 4
Views: 2927

Re: nRF24

I used send_recive() and sent the command + dummy data types. It does return, but as said only ever 0xff's. I did look at the signals with an oscilloscope - and it looked wired^^ The signal seems right, but it only oscillates between 1 and 1.5v (1.8v would be high?). I'll try again next week. The BM...