Search found 288 matches
- Fri Sep 05, 2014 11:16 am
- Forum: Hardware Projects
- Topic: Module for MPU9150
- Replies: 54
- Views: 54516
- Fri Sep 05, 2014 9:11 am
- Forum: Hardware Projects
- Topic: Module for MPU9150
- Replies: 54
- Views: 54516
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'\...
- Fri Sep 05, 2014 8:33 am
- Forum: Hardware Projects
- Topic: OLED Displays SSD1306
- Replies: 19
- Views: 34155
- Thu Sep 04, 2014 3:19 pm
- Forum: Hardware Projects
- Topic: Module for MPU9150
- Replies: 54
- Views: 54516
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...
- Tue Sep 02, 2014 6:29 am
- Forum: Hardware Projects
- Topic: NanoSeeker (underwater robot)
- Replies: 9
- Views: 12104
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.
Awesome.
- Fri Aug 29, 2014 2:56 pm
- Forum: Programs, Libraries and Tools
- Topic: uasyncio - asyncio-like cooperative multitasking framework for uPy
- Replies: 114
- Views: 134998
- Sun Aug 24, 2014 2:26 pm
- Forum: General Discussion and Questions
- Topic: Scheduler for Micropython
- Replies: 3
- Views: 5967
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...
- Sat Aug 23, 2014 5:40 pm
- Forum: General Discussion and Questions
- Topic: Debuging my code in PC without REPL
- Replies: 10
- Views: 12000
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 ...
- Thu Aug 14, 2014 7:00 pm
- Forum: MicroPython pyboard
- Topic: Expansion boards - pyshields
- Replies: 5
- Views: 18045
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.
- Thu Aug 14, 2014 4:53 pm
- Forum: MicroPython pyboard
- Topic: nRF24
- Replies: 4
- Views: 6959
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...