Search found 12 matches

by saulo
Thu Mar 16, 2017 2:27 am
Forum: The MicroPython pyboard
Topic: Design my own pyboard, basic questions..
Replies: 4
Views: 210

Design my own pyboard, basic questions..

Hy guys! I "finish" my script-side for a custom board using micropython and pyboard to develop and now i want to design my own board (today it's a mess of wires and connectors..) I've experience with microchip environment and atmel also but know nothing about st... my question is very basi...
by saulo
Thu Sep 15, 2016 1:17 pm
Forum: The MicroPython pyboard
Topic: Accelerometers and measurement of orientation
Replies: 8
Views: 901

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: 416

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: 416

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: 416

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: 9359

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: 1085

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: 1085

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: 1085

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: 1085

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...

Go to advanced search