Questions tagged [voltage-level]

Voltage level should be used for questions that are referring to using hardware together that operates on different voltages (the "concentration" of electricity).

Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

Same LED but different brightness on same PIN

I connected a led to pin 7 (with a small resistance to avoid burning it) and tried the code below, with and without pinMode as output void setup() { pinMode(7, OUTPUT); Serial.begin(9600); } void ...
Mah Neh's user avatar
0 votes
0 answers
222 views

Arduino Uno RFID-RC522 won't scan any card or tag

So I bought a RFID-RC522 module with a blue tag and a white card, and I searched for tutorials and found this library that I used it. and here is my code : #include <MFRC522.h> #include <SPI....
Mr Code Gamer's user avatar
0 votes
1 answer
352 views

ESP32 struggling to trigger relay module consistently

I'm working with a 4-channel, 5 V relay module and an ESP32 which operates on 3.3 V. The setup seemed to work well initially but I have started experiencing some inconsistencies. One of the four ...
Hach Rbh's user avatar
3 votes
2 answers
189 views

How to turn LEDs based on voltage readings?

I am trying to turn LEDs in an LED bridge based on the voltage reading from a power source. when the Voltage is zero nothing is ON and then the LEDs gradually turn ON as increase the voltage connected ...
Anwar Elhadad's user avatar
1 vote
1 answer
106 views

Inconsistent results when reading input looking for spike patterns

I'm writing a library that will interface with a control unit on a refrigerator compressor pump (QDZH35G). One of the features of the control unit is that it can detect what problems it's encountering ...
Justin's user avatar
  • 119
0 votes
2 answers
73 views

Pin outping 1V instead of expected 5V, not hardware related

Heyo everyone ! I'm in a project where I need to send a signal if I detect vaccuum. I'm sending the signal on PIN 9 but I soon realized that I was only getting 1V. Tought I was alternating between ...
O'Schell's user avatar
1 vote
1 answer
54 views

Program work when used Delay() but same program doesn't work with millis()

I'm running a dc motor using esp32 and mosfet by taking readings of IR. Program works fine when used delay() but same program doesn't work when uploaded using millis(). //This uses fixed delay() // ...
Akash Patil's user avatar
1 vote
1 answer
172 views

ARDUINO DC Motor Control over IR Sensor INPUT

I'm working on a school project where I'm building a small convyeor belt using an ARDUINO, DC motor and IR sensor for moving object detection so my color sensor can read color value. I'm using single ...
Sunny Gavali's user avatar
0 votes
0 answers
39 views

channels on logic level shifter outputs high

so I have a logic level shifter which is TXS0108E ,I use it to shift the eps32 ouput volatge to 5v to be used with motor driver ,when I test it with multimeter , all the channels on the B side outputs ...
kamal MKA's user avatar
-2 votes
1 answer
200 views

Using 1.1Vf to read stable battery voltage and sensor voltage

After several tries, i was successful with reading stable battery voltage using internal voltage reference of 1.1v, now the issue i face is that i cannot read stable sensor voltage, could you please ...
electro_nooobbbb's user avatar
-3 votes
1 answer
187 views

Reading constant battery voltage and using the obtained value in sensor formula

there i am working on a project in which my system is connected to 3.7v~4.2V lithium battery, I have to read constant battery voltage irrespective of the current battery voltage and to do that I am ...
electro_nooobbbb's user avatar
1 vote
1 answer
348 views

adc arduino using reference voltage to read stable/constant lithium battery voltage

I want to read my lithium battery voltage. I WANT TO CREATE A FUNCTION TO READ MY 3.7~4.2V,1200mAH BATTERY VOLTAGE THROUGH A MICROCONTROLLER (ARDUINO OR ATTINY44). THEN I WANT TO CALL THE CREATED ...
electro_nooobbbb's user avatar
-1 votes
1 answer
138 views

Can the Arduino Uno use a negative supply voltage (0V & -5V)

I acquired a bread-making machine. See control board image. I want to use the machine for other purposes and control the buttons, paddle, heater & 7-segment display with an Uno. As it stands, the ...
Mick's user avatar
  • 9
0 votes
1 answer
257 views

How to trigger a function by detecting voltage change?

#define monitor_pin 14 void setup() { pinMode(monitor_pin , INPUT); } void loop() { unsigned long d1 = pulseIn(14, HIGH); if (d1>0){//trigger function} } I know there is a function ...
Jess's user avatar
  • 53
1 vote
0 answers
69 views

I2C and logic shifter troubleshooting

I'm attempting to use a SparkFun bidirectional level shifter (Link here) to connect up a 3.3v wii nunchuk to a 5v Arduino Uno circuit. For now all I'm trying to do is write the position of the ...
ThorsHammer171's user avatar
0 votes
1 answer
1k views

M5Stack - confused about I2C bus voltage

I've recently got one of these nice M5-Though devices (basically a water-proof M5-Core2). They have these 4-wire sockets to connect their sensors. The I2C socket has 4 pins for +5V, GND, SDA and SCL. ...
PMF's user avatar
  • 1,286
3 votes
2 answers
646 views

5V alternative to Due?

I've designed a circuit controlled by an Arduino Mega 2560 involving a number of external components all running on and sending out 5V signals. I'm now realizing that the 8Kb of SRAM on the Mega 2560 ...
Daniel Williams's user avatar
2 votes
1 answer
142 views

So many missed bytes with serial comm

I have a setup with serial comm from Raspberry Pi to Arduino. It's communicating at baud 9600 on both devices, and from Raspberry Pi 3b+ GPIO-14,UART0,TX0 to Arduino Nano RX0. There's a level shifter ...
errolflynn's user avatar
1 vote
0 answers
108 views

Using a level converter to adjust the voltage levels

we are currently working on a device that needs us to connect an sd card reader to 2 Arduino’s ( Uno and zero) , however, we just found that it is not possible to do so without a level converter , may ...
Alya's user avatar
  • 11
1 vote
2 answers
87 views

Level shifter with diode - not pulling to zero

I'm interfacing a 3.3 V device (a GPS module with a serial interface) to a 5 V Arduino Nano. The circuit I am using is this: simulate this circuit – Schematic created using CircuitLab I don't ...
RedGrittyBrick's user avatar
0 votes
1 answer
103 views

Arduino 5v pin outputting lower power than expected

I have hooked the pin v5 of an Arduino Nano 33 BLE to the A0 pin and measured the value by doing Serial.println(analogRead(A0));. I would expect to see 1023 however instead I see the value oscillating ...
human's user avatar
  • 129
1 vote
0 answers
102 views

MQ-4 Sensor working fine with Beetle Bluno BLE but not with Arduino Nano 33 BLE

I have an MQ-4 sensor connected to a Beetle Bluno BLE that seems to work fine, however, when I change the board to an Arduino Nano 33 BLE, the sensor doesn't seem to work well (I get an arbitrary ...
human's user avatar
  • 129
1 vote
1 answer
56 views

Pulsing 3v into a capacitor to create custom Voltages

I was wondering if it is possible to create diffrent voltages by just pulsing power into a capacitor, Im using an esp32 which can only output 3v or nothing on its GPIO pins, and i need to make it ...
Marius Wanscher's user avatar
1 vote
1 answer
829 views

How to connect an Output to a Pullup Input of another arduino

:tldr; Could problems occur if one connects a HIGH Output of one arduino to a PULLUP_INPUT of another while using differed power sources? Hi I'm building some devices for a LARP Dungeon (think Escape ...
Karl Sanathos's user avatar
1 vote
1 answer
46 views

Will the noise from a voltage regulator interfere with IR LEDs and receivers on an Atmega328? (Arduino Uno sketch)

I have a project which uses an IR LED and receiver to communicate with other Arduinos. I am using the Atmega328 out of the Uno, rather than the whole Arduino board and I need it to be battery-powered, ...
Patrick's user avatar
  • 63
2 votes
1 answer
568 views

How to calculate required amperage of multiple motors?

I a very simple question about calculating the amperage I need to run 5 stepper motors from my Arduino Uno. If I have 5 28BYJ-48 stepper motors(which are 5V and are said to require about 240mA each) ...
KidWithComputer's user avatar
2 votes
0 answers
731 views

Help needed with driving multiple stepper motors on arduino UNO

I am brand new to Arduino but have good experience with Raspberry Pi's and Microchips. My problem is that I am having trouble driving many stepper motors at once. I am using the AccelStepper library(...
KidWithComputer's user avatar
0 votes
2 answers
961 views

Serial Communication between ESP8266 and Arduino ( Sofware and Hardware )

I wish to connect an Arduino ( any of 328P family ) which its 5v, with ESP8266 (ESP-01, or even NodeMCU or Wemos D1 mini ) which is 3v3 logic. My goal is that ESP8266 will be in-charge of MQTT ...
guyd's user avatar
  • 1,033
1 vote
1 answer
254 views

what voltage level is a digital low for the interrupt mode LOW?

I am learning about interrupts and one of the interrupt modes is LOW which triggers anytime the pin is a digital low. Can someone tell me what voltage that is for an Arduino nano? I did a google ...
Joey Sams's user avatar
0 votes
1 answer
1k views

Calculate battery (18650 Li-ion) voltage using ESP8266-12E

i am trying to calculate the battery voltage using ESP-12E module. I am using a voltage divider circuit to calculate the same. Here is how my circuit looks like: And here is how my code looks like: ...
user3201500's user avatar
1 vote
1 answer
2k views

How to implement brown out detector arduino ESP32?

We are using ESP32 with arduino sdk for developing our application. In our application we need to implement BOD to detect with specific voltage level. Basically we want to set specific voltage level ...
Vishal Borle's user avatar
0 votes
2 answers
1k views

I'm working on a NodeMCU project and have a small doubt about LEDs and resistors

In my NodeMCU I want a statement to turn on an LED, which is easy, just use pinnumber, HIGH. But, what I'm trying to do here is connect multiple LEDs to one pin like this: I just wanted to know if ...
rohithrathod banoth's user avatar
1 vote
1 answer
181 views

Time signal. Determine the presence of pulses and their duration [closed]

I want to detect the exact time signal from an FM radio station. The signal is transmitted in the form of 5 short pulses and one long one. My task is to determine the presence of a pulse in the audio ...
Антон's user avatar
0 votes
1 answer
2k views

How much voltage and amps for 2 SG90 servos?

Question is pretty straight forward: How much amps and voltage do I need for 2 SG90 servos? I want to use 4 but you might already know that Arduino Uno only has 2 5V ports.
Yağız Alp Ersoy's user avatar
1 vote
1 answer
85 views

Can I safely connect my A6 GPRS module to this 5V 2A phone adapter

I have an A6 GPRS module, and my Samsung phone power adapter has output of 5V and 2A. But it also says 9V and 1.6A My Phone's Adapter 👆 So would it damage my A6 GPRS Module if I plug this to it via ...
Mereb Hayl's user avatar
2 votes
2 answers
1k views

Connect 5V relay to ESP32 WROVER B board

I need to use a ESP32 WROVER B based MCU board with a standard (cheap) one-channel 5 V relay (e.g. to switch on a mains-power appliance). Attempted removal of excess solder around the headers ...
ChiralCode's user avatar
1 vote
1 answer
100 views

Joy-IT RS232 Shield and RS232 voltage levels

First of all, sorry if this is a dumb question, but I'm pretty new to the whole Serial RS232 concepts. I do have an Arduino Board that, from what I read about, is not able to communicate via RS232 ...
Strohhut's user avatar
  • 113
0 votes
2 answers
3k views

Output voltage range between 0-5v

I am using arduino Uno/Mega. I am trying to output a range of 0-5v volts using PWM. Is it possible to do it? It’s would be nice to see some code or instructions, as far I have seen, they used external ...
Itzik.B's user avatar
  • 131
0 votes
1 answer
3k views

3.3V to 5V PWM level shift

I need to shift a PWM signal from a ESP32 (3.3V) to receiver that supports 5V. The signal is at maximum of 400Hz. Can this shifter do the job ?
Marian Secarea's user avatar
0 votes
1 answer
777 views

Vin pin vs USB vs Barrel connector: Wemos D1 R2

@Majenko says in the leading (19 Upvote) answer here not to use VIN and USB socket at the same time. You must never ever connect VIN to a power source and connect the USB socket. That can destroy ...
Joshua's user avatar
  • 13
0 votes
2 answers
2k views

How do I configure WEMOS D1 R2 Vin pin to output max voltage?

I am in need of 12VDC from my Wemos D1 R2. How do I configure the Vin pin to output the max (I think its 12VDC)? board: Wemos D1 R2 V2.1.0 - ESP8266 (LOLIN D1 R2) Pinout here in pictures below
Joshua's user avatar
  • 13
0 votes
1 answer
818 views

Can two electronic speed controllers be connected to the same ground pin?

I have a setup to read two sets of signals from a radio control receiver using an Arduino NANO: the throttle channel and the rudder channel. With some programming knowledge (which I have) this isn't ...
Denis G. Labrecque's user avatar
0 votes
1 answer
488 views

My Arduino smokes every time I connect an AC/DC wall adapter to it. Can someone help me to fix it?

I copied the schematic below and when I ran the code from my laptop, it worked well but every time I unplug it to my laptop and connect an ac dc wall adapter, my Arduino smokes. Why does it smoke and ...
Thomas Raymond Santos's user avatar
1 vote
1 answer
703 views

Connect multiple pins to same VCC using breadboard

Ok so I am pretty green as far as AVR programming is concerned so bear with me. I am doing a project with an ATmega32 MCU on a dev board which has 4 VCC pins. The project includes a GPS, SD card and ...
Machi's user avatar
  • 13
0 votes
1 answer
285 views

NodeMCU V2 ESP8266 - Use 5VIN as power for heater of a MQ-9 Sensor

Right now I'm trying to understand how I could (easily) power the heater of my MQ-9 carbon monoxid and gas sensor. Here is the datasheet: http://www.haoyuelectronics.com/Attachment/MQ-9/MQ9.pdf It ...
BvuRVKyUVlViVIc7's user avatar
0 votes
2 answers
2k views

HC-SR04 ultrasonic sensor: How to check voltage on the ECHO pin

I'm using and ESP8266 with HC-SR04 ultrasonic sensor. The sensor requires 5v input and will also output to the GPIO pins at 5V. ESP8266 has a strong recommendation to use 3.3V into the GPIO pins. I'...
Yousuf's user avatar
  • 13
3 votes
1 answer
6k views

Arduino Nano 33 battery power/charging

I have a project with an Arduino Nano 33 BLE Sense. My project is working great, but I need to transition it to battery power, and I'm having a bit of confusion about exactly what's required. I have ...
fredley's user avatar
  • 141
1 vote
0 answers
42 views

Motors would make the car go extreme left instead of forward (Self Driving car)

This is my very first day in the community, please bear me until I make myself comfortable here. Coming to my question, I'm making a self Driving car. My car instead of moving forward it moves on the ...
Rahul Macwan's user avatar
0 votes
3 answers
3k views

Level shifting 5V <-> 3.3V

My main goal is to use connect the HC-SR04 ultrasonic sensor with ESP8266. Problem is, HC-SR04 works with 5V while the ESP8266 works with 3.3V In order to solve this, idea would be to use a logical ...
3dprogramin's user avatar
2 votes
2 answers
2k views

Lolin NodeMCU V3 and 5V sensors

I am new to Arduino and electronics so please correct me if I made a mistake. Many sensors and actuators require 5V. The Lolin NodeMCU V3 has outputs of 3.3V. I want to have them working together. ...
user1420303's user avatar

1
2 3 4 5 6