Search found 272 matches

by shaoziyang
Wed Sep 11, 2019 1:06 pm
Forum: MicroPython pyboard
Topic: Does pyboard use RTC pin as GPIO
Replies: 5
Views: 106

Re: Does pyboard use RTC pin as GPIO

I use a multimeter to measure voltage on capacitor, it is not change.

Or read the pin value, it always zero.

Code: Select all

PC14=Pin('PC14', Pin.OUT)
PC14(1)
PC14()
by shaoziyang
Wed Sep 11, 2019 3:23 am
Forum: MicroPython pyboard
Topic: Does pyboard use RTC pin as GPIO
Replies: 5
Views: 106

Re: Does pyboard use RTC pin as GPIO

I need more GPIOs, and not use RTC. So I turn off RTC by set

#define MICROPY_HW_ENABLE_RTC (0)

but PC14/PC15 out value is not change.
by shaoziyang
Tue Sep 10, 2019 4:59 am
Forum: MicroPython pyboard
Topic: Does pyboard use RTC pin as GPIO
Replies: 5
Views: 106

Does pyboard use RTC pin as GPIO

Does pyboard use RTC pin as general GPIO? I have try to turn off RTC in mpconfigboard.h, but when I set PC14/PC15 to OUT mode and set 1, it always get 0.
by shaoziyang
Wed Sep 04, 2019 2:48 am
Forum: ESP32 boards
Topic: why UART use pin id as paramter directly?
Replies: 1
Views: 218

why UART use pin id as paramter directly?

It is strange that, in UART use pin id as paramter directly, eg:

Code: Select all

u=UART(1,9600,tx=4,rx=5)

But in SPI/I2C, it is use pin object, eg:

Code: Select all

i2c=I2C(1,sda=Pin(14),scl=Pin(15))
by shaoziyang
Sat Aug 31, 2019 10:19 am
Forum: Other Boards
Topic: low power consumption pbyL board
Replies: 9
Views: 293

Re: low power consumption pbyL board

Current firmware is not reach the minimum power consumption of STM32L476, but its power consumption is low enough for most battery-powered applications.
by shaoziyang
Fri Aug 30, 2019 1:55 pm
Forum: Other Boards
Topic: low power consumption pbyL board
Replies: 9
Views: 293

Re: low power consumption pbyL board

I use ZT303, a 4 1/2 bits multimeter. Internal shunt for uA is about 100 ohm, not 1000 ohm.
by shaoziyang
Fri Aug 30, 2019 1:10 am
Forum: Other Boards
Topic: low power consumption pbyL board
Replies: 9
Views: 293

Re: low power consumption pbyL board

Yes, it will make the display data a little smaller.
by shaoziyang
Thu Aug 29, 2019 3:19 pm
Forum: Other Boards
Topic: low power consumption pbyL board
Replies: 9
Views: 293

Re: low power consumption pbyL board

I am sorry to put the wrong picture, I have fixed it.

In running mode, it about 10mA.
by shaoziyang
Thu Aug 29, 2019 4:44 am
Forum: Other Boards
Topic: low power consumption pbyL board
Replies: 9
Views: 293

Re: low power consumption pbyL board

running power consumption
pybL-1.jpg
pybL-1.jpg (185.21 KiB) Viewed 231 times
(series 10 Ohm resistor)

deepsleep power consumption
pybL-2.jpg
pybL-2.jpg (212.79 KiB) Viewed 256 times
pybL-4.jpg
pybL-4.jpg (186.74 KiB) Viewed 256 times