Search found 11 matches

by saulo
Thu Sep 15, 2016 1:17 pm
Forum: The MicroPython pyboard
Topic: Accelerometers and measurement of orientation
Replies: 8
Views: 821

Re: Accelerometers and measurement of orientation

Take a look on this document:

https://cache.freescale.com/files/sensors/doc/app_note/AN3461.pdf

it explains the math, but atan2() function will help you.
by saulo
Tue Sep 06, 2016 11:37 pm
Forum: The MicroPython pyboard
Topic: Analog reading is up to 1.8v only?
Replies: 5
Views: 366

Re: Analog reading is up to 1.8v only?

I think that warning only applies to the WiPy (hint: only the WiPy has pins named like GP4) and should only be included in the WiPy specific documentation. I think that when the machine docs were first written, only the WiPy implemented it. Now that there are several implementations, the docs need ...
by saulo
Tue Sep 06, 2016 6:32 pm
Forum: The MicroPython pyboard
Topic: Analog reading is up to 1.8v only?
Replies: 5
Views: 366

Re: Analog reading is up to 1.8v only?

The analog inputs on the pyboard are good up to 3.3v. Why do you think that its only good to 1.8v? yes, i read that on http://docs.micropython.org/en/latest/pyboard/library/pyb.ADC.html but yesterday i was making a kicad component for pyb shield and i saw this library as well: It have an warning fo...
by saulo
Tue Sep 06, 2016 3:56 am
Forum: The MicroPython pyboard
Topic: Analog reading is up to 1.8v only?
Replies: 5
Views: 366

Analog reading is up to 1.8v only?

Hi guys, i was trying to read an pressure sensor with output of 0.2 to 3.3v months ago, after some annoying hours of head breaking (i have access to an reference pressure sensor to comparison), i give up.. now i open again the documentation and i see that the AD from pyb is up to 1.8v? I need a volt...
by saulo
Mon Jul 18, 2016 12:15 am
Forum: Hardware Projects
Topic: OLED Displays SSD1306
Replies: 19
Views: 8739

Re: OLED Displays SSD1306

Coming back to the display... I've tried to use the latest code... https://github.com/khenderick/micropython-drivers I'm using a stock AdaFruit 64X128 display... https://www.adafruit.com/product/938 When I attempt to use the example, I get. I know the display works (tested it under with Arduino Uno...
by saulo
Fri Jul 15, 2016 9:40 pm
Forum: The MicroPython pyboard
Topic: RTC does not start?
Replies: 9
Views: 878

Re: RTC does not start?

Wow - that's confusing. On the older boards, VBACK used to be called VBAT. VIN/VUSB/VBAT should all be alternate power sources for the onboard regulator. The 3V3 pin is powered from that regulator. Maybe that's why i wire wrong :roll:, i've gathered information in posts but i was not paying attenti...
by saulo
Fri Jul 15, 2016 3:33 pm
Forum: The MicroPython pyboard
Topic: RTC does not start?
Replies: 9
Views: 878

Re: RTC does not start?

i can't see nothing wrong :cry: I can. The RTC backup battery should be connected between vbak and gnd. The terminals you're using are for a LiPo battery. See https://micropython.org/static/store/img/products/PYBv1_1-E.jpg :oops: my bad! i correct the wiring and it's working now :mrgreen: thank you...
by saulo
Fri Jul 15, 2016 8:32 am
Forum: The MicroPython pyboard
Topic: RTC does not start?
Replies: 9
Views: 878

Re: RTC does not start?

@saulo With a battery providing 3V or thereabouts to vback and no power applied to V+ the LED's should not be on. I'd suggest checking your wiring. Take a look pythoncoder: leds_on.jpg wiring.jpg i can't see nothing wrong :cry: RTC works fine without battery, but i have to update datetime every tim...
by saulo
Fri Jul 15, 2016 7:18 am
Forum: The MicroPython pyboard
Topic: RTC does not start?
Replies: 9
Views: 878

Re: RTC does not start?

What is the output of rtc.info()? After a full power cycle, including Vbat. Best to leave the board un-powered for a reasonable amount of time (1..2 minutes). I have the same problem... i put a coil battery on vbat for five minutes and all leds turn on very weaks.. after that, i connected usb and t...
by saulo
Thu May 26, 2016 7:29 pm
Forum: The MicroPython pyboard
Topic: SDcard writing file, need to be unmounted on windows?
Replies: 4
Views: 463

Re: SDcard writing file, need to bee unmounted on windows?

Thank you guys, now i got it! In short terms: pyboard have some "stream limitations" to files manipulation from buffer to storage that the mounting process from host don't see, right? I assume that will happens on *nix system as well, right? I will emulate the file behavior with a UART por...

Go to advanced search