Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

Hi electronics dudes! I wonder if you can help out a software dude who knows (too) little about your subject.

 

I bought the Analog In bricklet and some Vishay CNY70 "Reflective Optical Sensor with Transistor Output" sensors with the goal of tracking some utility meters.

 

I'd like to "hook up" the CNY70 to the Analog In by sending the +5V and GND to the emitter's two pins, and +5 to the detector side, and reading the detector's output via the Analog In.

 

I can hardly read electronics schematics, but judging by lots of example circuits (like the one attached), you electronics guys like to hang a 10k resistor between the transistor and GND.

 

I don't have an electronics lab, so I don't have a resistor  :o

nor a soldering gun  ::) , so my question is: what would happen if I "forget" this resistor?  ???

 

I'm hoping to obtain a configuration whereby the Analog In values "live" just enough for me to track a gas/electricity meter's unit digits moving past the sensor.

phototransistor.gif.50b19599fee85f1e199225ede5164ba8.gif

Geschrieben

Hi,

 

in your case the phototransistor creates a current (I) flow through the resistor based on the received light. U=R*I following, the resistor R converts this current I into a voltage U. This voltage can be measured (e.g. by Analog IN Bricklet). So this resistor is necessary to create a voltage you can measure.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.