5
votes
Accepted
Base resistor R2 for voltage bias
From the top
Follow along:
simulate this circuit – Schematic created using CircuitLab
On left, is the starting schematic. I left the wire at the top of \$R_1\$ and \$R_{_\text{C}}\$ intact, to ...
3
votes
Accepted
Is it possible to connect ATMEGA328 to type-C and read data without a USB-TTL converter?
The Mega328 does not have an USB interface.
It is still technicaly possible to use software bit-banged VUSB interface with it, but it's a trick and will only allow very low speed communication at high ...
2
votes
Basic questions about circuit diagram
The symbol in blue rectangle is a symbol for ground. It's not a physical component, it just means, this connects to ground, in any way you need to do it.
The caps marked with yellow as .01 are likely ...
2
votes
Accepted
Custom i2c with Arduino UNO
Is it possible, yes, and has been done many times already.
It can be done with GPIO ports.
You can mimic SDA port with an external transistor and a pull-up, but usually nobody does it because it can ...
2
votes
Can a transistor replace a switch that closes ground to an input?
Yes, you could use a transistor. But it is safer to use an optocoupler. Less risk of something going wrong and damaging your camera.
The optocoupler part number is not critical, something like a 4N35.
...
2
votes
Is it possible to connect ATMEGA328 to type-C and read data without a USB-TTL converter?
Atmega328 does not have a hardware USB implementation, so you should better use something like atmega32u4 or atmega16u2. But, you can use a software implementation of a low-speed USB protocol, V-USB. ...
1
vote
Accepted
How to connect BMP390 to arduino?
With a level shifter. If you don't want to design one, buy a BMP390 module with built-in level shifter.
1
vote
How to write a lookup-table into an 28C64 parallel EEPROM?
To turn spreadsheets into C array code, I have typically done the following, although I use LibreOffice instead of Excel, there should be something similar possible.
In column F (eg F4), create a ...
1
vote
wrong voltage reading with DMM after a voltage divider
Everything is correct.
Your proximity sensor is an NPN-type output sensor.
With internal \$10k\Omega\$ pull-up resistor.
So the actual circuit looks like this:
simulate this circuit – Schematic ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
arduino × 8710microcontroller × 730
led × 469
sensor × 421
mosfet × 391
transistors × 385
power-supply × 384
relay × 333
voltage × 317
pwm × 282
serial × 276
motor × 254
atmega × 246
power × 243
raspberry-pi × 232
avr × 222
i2c × 222
dc-motor × 206
switches × 183
batteries × 182
adc × 182
usb × 179
stepper-motor × 179
esp8266 × 176
operational-amplifier × 162