Search found 40 matches

by starter111
Tue Jun 25, 2019 8:36 pm
Forum: MicroPython pyboard
Topic: ADC measure negative voltage??
Replies: 23
Views: 2035

Re: ADC measure negative voltage??

I have two 100k resistors.
r1.pin1 connect to 6v.
r1.pin2 connecto to r2.pin1 - adc read at this point.
r2.pin2 connect to somewhere close to -3v(voltage going to measure).

so negative voltage = r1.pin2 v - (6v - r1.pin2 v)
by starter111
Mon Jun 24, 2019 8:05 pm
Forum: MicroPython pyboard
Topic: ADC measure negative voltage??
Replies: 23
Views: 2035

Re: ADC measure negative voltage??

never mind, looks like just need add two resistors for voltage divider.
by starter111
Mon Jun 24, 2019 6:51 pm
Forum: MicroPython pyboard
Topic: ADC measure negative voltage??
Replies: 23
Views: 2035

ADC measure negative voltage??

Hi, I'm trying to use pyboard measure negative voltage. Is it a way to do so? I can add circuit if needed it.
please help..
by starter111
Thu Feb 14, 2019 5:42 pm
Forum: MicroPython pyboard
Topic: Is it a way connect pyboard by using WSL?
Replies: 2
Views: 437

Re: Is it a way connect pyboard by using WSL?

Thank you Dave!
Is working..
I was try to change permission for ttyS3 while my pyboard on COM4 :lol: .. because that was the way Cygwin ordering...
by starter111
Thu Feb 14, 2019 12:57 am
Forum: MicroPython pyboard
Topic: Is it a way connect pyboard by using WSL?
Replies: 2
Views: 437

Is it a way connect pyboard by using WSL?

Just install windows subsystem for linux, looks great but don't know how connect to pyboard....
Please share if you know how..
by starter111
Thu Sep 06, 2018 5:15 pm
Forum: MicroPython pyboard
Topic: Sending large array of numbers to host computer
Replies: 4
Views: 883

Re: Sending large array of numbers to host computer

Here's what I did on pyboard side. Is slow but works, I was able to send larger data back to computer. boot.py import machine import pyb sw = pyb.Switch() pyb.LED(2).on() pyb.delay(1500) pyb.LED(2).off() if not sw(): pyb.main('pyb_server.py') pyb_server.py import pyb class USB_Port: def __init__(sel...
by starter111
Tue Mar 06, 2018 9:26 pm
Forum: MicroPython pyboard
Topic: Pyboard for I3C device???
Replies: 2
Views: 595

Re: Pyboard for I3C device???

Thanks for your info, will looking into it.
by starter111
Tue Mar 06, 2018 8:31 pm
Forum: MicroPython pyboard
Topic: Pyboard for I3C device???
Replies: 2
Views: 595

Pyboard for I3C device???

Anyone has experience working with I3C devices?
I'd like to know, Is it possible use pyboard for an I3C device?
It will be nice if you can roughly explain how :lol:
by starter111
Sun Jun 11, 2017 5:42 am
Forum: MicroPython pyboard
Topic: Best OS to support development with MicroPython and Pyboard..
Replies: 3
Views: 1463

Re: Best OS to support development with MicroPython and Pyboard..

windows should work. I'm using pyboard in windows 10 works OK. the driver I got is from DfuSe_Demo_V3.0.5_Setup.exe you can download from STmicro website after install Dfu, usb driver included. http://www.st.com/content/ccc/resource/technical/document/user_manual/3f/61/72/ff/c5/5a/4a/7b/CD00155676.p...
by starter111
Sun May 21, 2017 8:39 pm
Forum: MicroPython pyboard
Topic: USB_VCP Vs pyboard.py?
Replies: 6
Views: 2346

Re: USB_VCP Vs pyboard.py?

raw_repl is cool feature.. with pyboard.py right now I don't have any code in pyboard, everything runs in PC and works find.. I have a python question instead of upython...Let me know if this forum only allow upython questions, I can delete my post. Here's my question.. How can I write a decorator f...