Search found 21 matches

by gpson
Mon Mar 19, 2018 11:33 am
Forum: MicroPython pyboard
Topic: overdischarge protection
Replies: 13
Views: 7802

Re: overdischarge protection

with the code example from documentation I get the error Traceback (most recent call last): File "<stdin>", line 31, in <module> File "<stdin>", line 29, in temperature File "<stdin>", line 18, in adcread AttributeError: 'module' object has no attribute 'ADC' >>> stm.ADC does not have the attribute ...
by gpson
Mon Mar 19, 2018 10:30 am
Forum: MicroPython pyboard
Topic: overdischarge protection
Replies: 13
Views: 7802

Re: overdischarge protection

Thank you all for suggestions!

Will start to experiment with ADC readings and deep sleep.
by gpson
Sun Mar 18, 2018 9:44 pm
Forum: MicroPython pyboard
Topic: overdischarge protection
Replies: 13
Views: 7802

overdischarge protection

hey,

I want to connect the 18650 cell battery to my pyboard. these cells have no protection.. does the board have any Liion overdischarge protection?
by gpson
Fri Mar 16, 2018 8:09 pm
Forum: MicroPython pyboard
Topic: machine.idle() during await uasyncio.sleep()?
Replies: 6
Views: 4646

Re: machine.idle() during await uasyncio.sleep()?

nevermind. compiled the latest git firmware version and everything is working

Code: Select all

[INFO] boot.py
Flash LED's for  10 seconds
MicroPython v1.9.3-469-g5edce453 on 2018-03-16; PYBv1.1 with STM32F405RG
Type "help()" for more information.
>>>
by gpson
Fri Mar 16, 2018 7:16 pm
Forum: MicroPython pyboard
Topic: machine.idle() during await uasyncio.sleep()?
Replies: 6
Views: 4646

Re: machine.idle() during await uasyncio.sleep()?

I am trying tu run the latest asyncio library from PyPi with my pyboard v1.1 and get the error Traceback (most recent call last): File "main.py", line 24, in <module> File "main.py", line 13, in test File "uasyncio/core.py", line 224, in get_event_loop File "uasyncio/__init__.py", line 21, in __init...
by gpson
Fri Mar 16, 2018 8:25 am
Forum: MicroPython pyboard
Topic: accelerometer.current_gesture
Replies: 4
Views: 2775

Re: accelerometer.current_gesture

I found some info on using sensor data with machine learning.. will try to code something in the near future ;)
by gpson
Fri Mar 16, 2018 8:08 am
Forum: MicroPython pyboard
Topic: accelerometer.current_gesture
Replies: 4
Views: 2775

Re: accelerometer.current_gesture

But in microbit it is in the firmware.. If it is opensource maybe someone can copy/paste something :)

I am bad with C++
by gpson
Thu Mar 15, 2018 8:07 pm
Forum: MicroPython pyboard
Topic: accelerometer.current_gesture
Replies: 4
Views: 2775

accelerometer.current_gesture

hello,

with microbit I found methods to detect the current gesture or if the named gesture was active since the last call.

Is it possible with pyboard?
by gpson
Sun Jul 31, 2016 5:28 pm
Forum: ESP8266 boards
Topic: So you want to use the UART...
Replies: 29
Views: 40967

Re: So you want to use the UART...

Powered my Wemos d1 mini from external battery. OLED and GPS modules are powered from 3.3V Wemos output. Orange wire goes from gpsTx to espRx. DSC_2735.JPG I took the orange cable out and connected to usb serial - you can see the result output in KiTTy window. New data is comming every second - 1Hz ...
by gpson
Sun Jul 31, 2016 8:10 am
Forum: ESP8266 boards
Topic: So you want to use the UART...
Replies: 29
Views: 40967

Re: So you want to use the UART...

@torwag thank you for the suggestions I'm using this GPS module: http://www.aliexpress.com/item/Gms-hpr-mtk-breakout-board-MTK3339-gps-board-Gms-hpr-testing-kit/32256492334.html I tested this module with 3.3V serial cable - messages are coming connected gpsTx->espRx and gpsRx->espTx, powered GPS VCC...