Search found 13 matches
- Thu Jan 13, 2022 9:29 am
- Forum: Programs, Libraries and Tools
- Topic: Detection if device is moving (in motion) or not
- Replies: 23
- Views: 56554
Re: Detection if device is moving (in motion) or not
Now everything is awesome! Thanks for the new driver, Olivier, and for asyncio comments, Peter. This attached code seems to work in asyncio, I have not modified the class at all, and I am OK with initial calibration which does not have to run concurrently with other code. As I restart my micro-contr...
- Tue Jan 11, 2022 1:42 pm
- Forum: Programs, Libraries and Tools
- Topic: Detection if device is moving (in motion) or not
- Replies: 23
- Views: 56554
Re: Detection if device is moving (in motion) or not
Hi Olivier, your approach looks very promising indeed, but I have colossal problems rewriting it for asyncio :cry: Are you able to give any hints how to make it async-able? My current code never shows "you move" :( async def gyro_raw(): #Read and unpack gyro raw data r = await unpack('>hhh', i2c.re...
- Fri Jan 07, 2022 3:35 am
- Forum: Pyboard D-series
- Topic: ble 2 sensors and 1 station?
- Replies: 4
- Views: 44180
Re: ble 2 sensors and 1 station?
I am not able to understand your question, unfortunately. Could you please try to re-write it with more details?
- Tue Jan 04, 2022 6:02 am
- Forum: Pyboard D-series
- Topic: Maximum current on WBUS-DIP28 VIN
- Replies: 0
- Views: 29723
Maximum current on WBUS-DIP28 VIN
What is maximum current I can get from VIN port on WBUS-DIP28 when it is charged by USB-FS 5V?
- Thu Dec 30, 2021 10:44 am
- Forum: Programs, Libraries and Tools
- Topic: Detection if device is moving (in motion) or not
- Replies: 23
- Views: 56554
Re: Detection if device is moving (in motion) or
The only problem is, that it still takes 3-5 min for the GPS to fix its position. But I guess there is no way around if I don’t want to let the GPS run all the time. And there is no way to do this without draining the battery to much when the car is parked… I'm making a similar project and I decide...
- Thu Dec 30, 2021 10:27 am
- Forum: Programs, Libraries and Tools
- Topic: vehicle anti-theft device with movement detection - question
- Replies: 2
- Views: 7505
Re: vehicle anti-theft device with movement detection - question
Can you look this topic Detection if device is moving (in motion) or not ? It sounds similar to me. Thank you, Olivier - it is exactly what I need. I was searching for similar topics before I wrote mine, but I did the search at the beginning of this month and it took me a while to write my message,...
- Thu Dec 30, 2021 4:25 am
- Forum: Programs, Libraries and Tools
- Topic: vehicle anti-theft device with movement detection - question
- Replies: 2
- Views: 7505
vehicle anti-theft device with movement detection - question
Hi, don't have a clear idea how to design a correct algorithm for detection movement, counting the fact we have very limited resources on microcontrollers. I plan to use MPU-6050 sensor but the question is more general and does not depend on sensor. Main issue is that I want to observe a trend, not ...
- Tue Jun 08, 2021 7:20 am
- Forum: Development of MicroPython
- Topic: Arrays pop()?
- Replies: 1
- Views: 2119
Arrays pop()?
What for arrays are if it is impossible to pop() anything from them in micropython?
I would love to use them instead of lists but how?
I would love to use them instead of lists but how?
- Mon Jun 07, 2021 3:36 pm
- Forum: Pyboard D-series
- Topic: Fritzing FZP for version D?
- Replies: 0
- Views: 8409
Fritzing FZP for version D?
Has anyone have Fritzing file for Pyboard D-series by any chance?
- Sat May 29, 2021 6:37 pm
- Forum: MicroPython pyboard
- Topic: Formatting SD card with LittleFS2
- Replies: 0
- Views: 2424
Formatting SD card with LittleFS2
How one can format SD card with LittleFS2?
In other words, what goes for XXX?
In other words, what goes for XXX?
Code: Select all
os.umount('/sd')
os.VfsLfs2.mkfs(XXX)