Search found 16 matches

by Trönfstar
Wed Jul 18, 2018 10:08 am
Forum: MicroPython pyboard
Topic: SSD1306 INFO SENT JUST APPEARS FOR A SEC
Replies: 6
Views: 3554

Re: SSD1306 INFO SENT JUST APPEARS FOR A SEC

Actually it is a really cheap copy: there is no brand name, false serial addresses writtened on PCB, but at least it has only four pins. :D
by Trönfstar
Wed Jul 18, 2018 9:59 am
Forum: MicroPython pyboard
Topic: SSD1306 INFO SENT JUST APPEARS FOR A SEC
Replies: 6
Views: 3554

Re: SSD1306 INFO SENT JUST APPEARS FOR A SEC

It is solved. First: using 0x3D as address is not necessary. Second: I had put the D/C bitpattern into the buffer, when write data, and increased the bytearray size. It was look like: bytearray(1 + (width * height)) >>or pages instead of height<< buffer[0] = 0x40 (reserved) Now it has just the right...
by Trönfstar
Mon Jul 16, 2018 10:36 am
Forum: MicroPython pyboard
Topic: SSD1306 INFO SENT JUST APPEARS FOR A SEC
Replies: 6
Views: 3554

Re: SSD1306 INFO SENT JUST APPEARS FOR A SEC

ENODEV error by the modified address.. It is fixed mechanically on the PCB by the producer company! :o Just so tiny - hard to realize. :D So if I remove the solder it must work well, doesn't it? Actually the display is not mine but my friend asks me to solve his trouble. I use a ssd1327 with SPI and...
by Trönfstar
Mon Jul 16, 2018 10:33 am
Forum: MicroPython pyboard
Topic: SSD1306 INFO SENT JUST APPEARS FOR A SEC
Replies: 6
Views: 3554

Re: SSD1306 INFO SENT JUST APPEARS FOR A SEC

No, It is my own, but mainly the same. Anyway the i2c.write() and i2c.stop() method doesnt work with the pyboard.
I'm using i2c.writeto(). What I realized as a real difference: 'addr << 1'.
I'm going to try it and feedback!
by Trönfstar
Mon Jul 16, 2018 9:32 am
Forum: MicroPython pyboard
Topic: SSD1306 INFO SENT JUST APPEARS FOR A SEC
Replies: 6
Views: 3554

SSD1306 INFO SENT JUST APPEARS FOR A SEC

Hey everyone! I set up an ssd1306 on my pyboard and everything (initializing, commands) works fine, except one thing: if I send data into the GDDRAM, it just appers for a moment and than disappears. So I can see the text for example, but if I want it to stay there, I have to refresh my function fast...
by Trönfstar
Tue Mar 20, 2018 8:50 am
Forum: MicroPython pyboard
Topic: RTC Backup Battery dies after 2 hours. Tested twice!
Replies: 14
Views: 8743

Re: RTC Backup Battery dies after 2 hours. Tested twice!

pythoncoder wrote:
Tue Mar 20, 2018 5:40 am
I'm puzzled by this discussion. The Pyboard Lite schematic shows a 32KHz crystal (component ref Y2).

Yes, it is the LSI mentioned by Chuckbook. I downloaded the MCU's datasheet to study RTC.
by Trönfstar
Tue Mar 20, 2018 5:18 am
Forum: MicroPython pyboard
Topic: RTC Backup Battery dies after 2 hours. Tested twice!
Replies: 14
Views: 8743

Re: RTC Backup Battery dies after 2 hours. Tested twice!

Deepsleep is a good option.
by Trönfstar
Mon Mar 19, 2018 8:43 pm
Forum: MicroPython pyboard
Topic: RTC Backup Battery dies after 2 hours. Tested twice!
Replies: 14
Views: 8743

Re: RTC Backup Battery dies after 2 hours. Tested twice!

The firmware release is 1.8.2 - yepp, it’s not the latest...and the hardware is the lite version. Double hit: You won! :o ;) Till now I did not notice any disadvantage of this. :twisted: Hmmm.. I’ll pass utime.time() as a parameter of utime.localtime() and order a pyb v1.1. :) Thank you for your hel...
by Trönfstar
Mon Mar 19, 2018 5:14 pm
Forum: MicroPython pyboard
Topic: RTC Backup Battery dies after 2 hours. Tested twice!
Replies: 14
Views: 8743

Re: RTC Backup Battery dies after 2 hours. Tested twice!

What do you get from: # run in standalone mode, backup battery attached import stm adc = pyb.ADCAll(12, 0x70000) print('%.2f %08x' % (adc.read_core_vbat(), stm.mem32[stm.RCC+0x70])) Pyb.ADCALL() takes 1 argument. Taking the preferred 12 bit resolution the result is: [1.50] [00008200] - quiet surpri...
by Trönfstar
Mon Mar 19, 2018 10:44 am
Forum: MicroPython pyboard
Topic: RTC Backup Battery dies after 2 hours. Tested twice!
Replies: 14
Views: 8743

Re: RTC Backup Battery dies after 2 hours. Tested twice!

Hi everyone! On my pyboard v1.0 I tried to backup RTC with a '2032' but it doesn't work (connected to inner x22, x24, polarity ok). If I remove the USB power and connect is again the datetime is set back to default >> 2015 and 0h:0m I use a standalone module to set the datetime tuple by user input (...