SUPER NOOB

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
RizAbv
Posts: 2
Joined: Thu Dec 27, 2018 7:18 pm

SUPER NOOB

Post by RizAbv » Thu Dec 27, 2018 7:29 pm

Hello Everyone,

I am totally new to Micropython and Python in general. I was thinking about using a pyboard v1.1 for a project. just wanted some tip and points with this. I was planning on using a pyboard and a photoelectric sensor(or thermal) to detect a very hot piece of glass falling and tracking it. does the pyboard accept a 0 - 10 V input? or is it 0 - 5 V? also is there any other better way of going about this?

Thank you

RizAbv

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: SUPER NOOB

Post by Roberthh » Thu Dec 27, 2018 7:44 pm

The input range of pyboard is 0-3.3V, both analog and digital. It tolerates 5V, which will be seen as digital high level. if you sensor returns 0-10V, you have to scale that down, for instance by a resistor voltage divider. The inputs of the PyBoard have a very high impedance, so you do not have to take that into account. You have only to care about the load driving capability of your sensor.

RizAbv
Posts: 2
Joined: Thu Dec 27, 2018 7:18 pm

Re: SUPER NOOB

Post by RizAbv » Thu Dec 27, 2018 8:16 pm

Excellent! Thank you, Roberthh.

Post Reply