Questions tagged [arduino]

Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.

Filter by
Sorted by
Tagged with
1
vote
1answer
27 views

Why does the LCD impede the ESP8266 NodeMCU initialization?

I have a very simple setup on a breadboard that connects a Lolin v3 NodeMCU ESP8266 with a 16x02 LCD. No I2C communication, I'm doing with directly with Arduino IDE and the LiquidCrystal ...
1
vote
0answers
37 views

Drive MOSFET with liquid level sensor

I am looking for the best and most reliable means to drive an N or P channel MOSFET so that I get a steady high or low signal to my PLC input. Using Arduino based PLC so I/O modules are flexible to ...
0
votes
0answers
35 views

I2C pull up arduino mega 2560 issue

We're communicating Arduino Mega 2560 I2C with MCP4728 and INA219 MCP4728 address are 0x60, 0x61, 0x62 and INA219 address are 0x40. With 10k resistor as pull-up we're getting signals as below for SCL ...
0
votes
0answers
29 views

Send AT commands from Arduino to Xbee (RX/TX)

I'm trying to setup some of the IOs on my XBEE SX 868 from my Arduino but yet I didn't achieved for some reasons. When typing my commands in the Console Log of XCTU, my XBEE is responding and ...
0
votes
0answers
21 views

Locating and Adding Arduino Due Schematic/Footprint to Altium

I am working on the design of a PCB that is being used to allow for quick/modular swapping of sensors with specific types of connectors to various pins on an Arduino Due board. I have looked but I am ...
0
votes
0answers
22 views

how can I make my Xbee work like as coordinator?

please help me... i have 2 Xbee S2 and i am using them for first time when i connect one of them by Arduino to my laptop , it had not any sign of C or E or R and in the radio configuration i can not ...
0
votes
1answer
61 views

switching shape memory valves with microcontroller using NPN transistors

I am using a standard NPN transistor-as-a-switch set-up to use a Teensy 4.0 to switch a bunch of shape memory valves (valves controlled by a wire that changes shape when heated by a current). I have ...
0
votes
1answer
36 views

Lifespan of underwater sensors

I am researching the lifespan of Arduino sensors underwater. I want to measure the water quality of a lake using an Arduino. I have seen that turbidity, temperature, ph and conductivity sensors don´t ...
0
votes
2answers
146 views

Control a 3W RGB LED with an Arduino

I'm not sure how to do this. I have this LED - the 4 pin 3W RGB led. I want to be able to control it using an Arduino (ideally I would control 4 - 6 LEDs.) By controlling I mean not only control the ...
0
votes
0answers
25 views

How to write SPWM program for 5 level inverter in arduino

I am making an 5 level inverter using arduino so for that i have written simple arduino program for switching the mosfet but problem i am facing in this is it has low switching frequency so i want to ...
0
votes
1answer
57 views

Does my IR LED need a ground?

I have a circuit that connects an IR led to my Arduino. The positive leg goes to +5v and the negative goes (via a resistor) to a digital pin. However, I have since seen some pictures of IR circuits ...
0
votes
1answer
44 views

Variable is not changing when one button is pressed. (String)

I couldn't decide whether this belongs in C++ or Arduino. But I guess it belongs here since it's Arduino programming. Anyways, I'm having a hard time solving this issue. I have 4 buttons, 2 for up/...
-1
votes
4answers
69 views

Flash or EEPROM

EEPROM vs SD Flash I am working on a Arduino program (a game, a slot machine) that needs to store 16 bitmaps (the slot machine symbols) that are 32 * 16 bytes each (total 8192 bytes). The bitmaps are ...
0
votes
2answers
41 views

Is it possible to create a parallel SPI network while using only a single slave select?

My background is in mechanical design and this is pretty much my first experience with a more in-depth system control. I am planning on creating a network of 144 different servos, each controlled by ...
0
votes
2answers
41 views

Water well water level sensor (indicator)

I have a 400ft well, and I want to have a buzzer comes on every time water drops below certain level(280ft). At the moment, I got it working using a 12V battery and a multi-meter. I dropped down an ...
0
votes
1answer
79 views

Boost converter extremely low efficiency

I'm trying to use a boost converter from Pololu that steps up my 1.25 input voltage from a AAA battery to 5V in order to power an Arduino. I have found that my Arduino needs .03A to be powered. I ...
0
votes
2answers
104 views

I2C design consideration for several slaves

In an application I have multiple I2C slave devices: display, RTC, and EEPROM. The most crititcal is the RTC, which needs to work 100%. I read that I2C freezes from time to time. At the moment all 3 ...
0
votes
1answer
40 views

Arduino resetting or malfunctioning when controlling 48V DC motors with relay module

I'm building an Arduino controlled crane machine out of old crane machine parts. The motors in a crane machine are 48V DC and I am controlling them with an H-bridge configuration using an 8 channel ...
0
votes
0answers
22 views

Using a WS2811 12V addressable LED strip with an Arduino

I've been wanting to start up a project to control LEDs with a microcontroller that will vary according to the music playing. I have almost everything i need at the moment but i am a little confused ...
0
votes
1answer
48 views

Power an Arduino Nano with the 5V port and use an LED

I have an infrared LED that uses the 5V port for power. However, I've read that you need to use the 5V pin to use AA batteries. Is it possible to wire the LED or the batteries to a different pin, or ...
0
votes
1answer
46 views

PWM signal with NMOS to adjust LED Driver

I have to design an LED driver for work. I am using the IS31LT3360 as the driver chip. On page 10 of its datasheet it states the chip can be driven with pwm. I came up with the following circuit. I ...
0
votes
0answers
38 views

how can i switch one light bulb with two power source with relay?

I am making and project in which i take two inverters and connect with light source with the help of relay. I'm Planning to switch between two power sources with a Arduino like below diagram.So if one ...
0
votes
1answer
38 views

Controlling IRF540N with MCU for LED on/off switching

Note: Schematic is not my best work, but this should pass on information. I've designed the following circuit; The purpose of this is to have the Arduino Nano control the WS2811 LEDs and also control ...
0
votes
0answers
28 views

Arduino FFT on data received from current sensor

I'm working on a project of a predictive maintenance application, where I would like to sample an alternate 50 Hz current by sensors based on the Hall effect (such as ACS712 or any sensors with a ...
0
votes
1answer
27 views

Confused about the functioning of a QRE1113 reflectance sensor

First year IT student here. I've been stuck on a problem involving a QRE1113 sensor, in which we were given the schematics below: From my understanding so far, the reflectance sensor is divided into ...
-1
votes
0answers
81 views

Why is there a current leak from an Arduino pin?

I designed a DC converter using an Arduino and using the Arduino to read the voltage from a shunt resistor as shown in the schematic: simulate this circuit – Schematic created using CircuitLab ...
0
votes
0answers
64 views

DC motor smoother speed control with PWM

I'm using an L298N motor driver to control a DC motor. I'm using only a single input pin since I need only a single direction control. I'm using a PWM pin on my Particle Photon (uses Arduino libraries)...
0
votes
0answers
43 views

5X5 button matrix with 433Mhz rf module or NRF module

I have interfaced 433Mhz rf module and custom 5x5 button matrix with arduino. Keeping Keypad matrix at transmitter side and an LED on the reciever side as long as i hold down the button the led should ...
0
votes
0answers
26 views

Preventing power loss with battery backup

I would like to use a battery to power Arduino when the power is out, however I am not sure how to do it. The first simplest solution that comes to mind is using a usb powerbank, but I am not sure if ...
0
votes
2answers
67 views

Is the Arduino ground or the common ground the same as Earth ground? Why or why not?

Is the Arduino ground or the common ground the same as Earth ground? Why or why not? Is the Arduino ground or the common ground the same as Earth ground? Why or why not?
0
votes
0answers
26 views

FUSB302 - Two devices, transmission between them

I have controller device with a FUSB302 Programmable USB Type-C Controller with PD for power detection for charge battery. I want to make a subdevice to emulate my own hardware. I know that FUSB302 ...
0
votes
0answers
27 views

2 circuits reading the same sensor

My rowing machine is powered by batteries and is reading a REED sensor for activation/deactivation on 3.3v (console). I did an other circuit on arduino 3.3v but plugged in USB and I want to read the ...
0
votes
2answers
37 views

Teensy 3.2 SPI default MOSI no output

I've made a simple SPI test for Teensy 3.2 board. While trying to get the communication up and running I noticed that while the alternative SCLK pin14 generated the clock, no MOSI data was outputted ...
0
votes
2answers
63 views

Safe to use series resistors for powering common anode RGB LED from single constant current source?

I have a 3-9W common anode RGB LED (https://cdn-shop.adafruit.com/product-files/2524/FD-9RGB-Y2.pdf) and want to vary each leg's voltage with PWM through FETs, namely IRLZ44Ns, and an Arduino, in a ...
0
votes
2answers
35 views

Use an LA6500 to increase the current output of an MCP4725

I am trying to use an LA6500 to increase the current output from an MCP4725 that I am controlling with an Arduino UNO. The LA6500 works well for voltages of 1 to 4 volts but but when I give it 5 ...
-1
votes
0answers
38 views

Having trouble finding a good transistor to turn off boost converter with Arduino

I have a 3.3V volt logic level Arduino that is powered by a single lipo cell. Also connected to that lipo cell is a boost converter that boosts the voltage from 3.7V to 170V to drive Nixie tubes. ...
0
votes
0answers
38 views

Strange L298n behaviour

I'm using 2 12V motors, an L298n, an Arduino Pro mini and 4 switches to control the motors (forwards/backwards 1 and forwards/backwards 2). The problem is that when I press one button at a time, the ...
0
votes
1answer
53 views

PID controller for a very wide temperature range (∆T=190°C)

I'm designing temperature control system based on Peltier elements. And it's needed to work on a very wide temperature range - from below zero to more than 100°C. So there is two work modes - cooling ...
0
votes
1answer
56 views

If an IC has an external resistor for timing, can that be replaced with an analog voltage out from another IC?

Specifically, I want to control the sample rate of an ISP1820 with an analog out from an Arduino. I know I could drop-in a digital pot but I don't have one and that seems like needless complexity if I ...
0
votes
0answers
45 views

How to open/close a high (~110V) voltage circuit from a low voltage (5V) one with a transistor?

I'd like to turn on/off a Nixie tube from a 5V circuit system (Arduino). I've found a solution that uses transistors (1 pnp and 1 npn). Can't we do it with 1 singe transistor? What to consider? What's ...
-1
votes
0answers
38 views

Parsing Json response SIM7020G arduino

I am currently working on SIM7020G module with Arduino using SoftwareSerial library. I have managed to setup a MQTT connection to my server using AT command and can see the response clearly on the ...
1
vote
1answer
135 views

Is this circuit possible?

I am making an electrical circuit for a school project, yet electrical engineering skills cease after Ohm's law :) Now I did some research but I find electric circuits harder to design than I had ...
0
votes
0answers
44 views

How to implement `analogRead` (Arduino) on AVR?

I'm trying to implement Pin class in C++ with digitalRead, digitalWrite, ...
5
votes
3answers
2k views

What is the symbol on Ardunio Uno schematic?

I found the symbol: It is available on: https://www.arduino.cc/en/uploads/Main/arduino-uno-schematic.pdf What is it?
0
votes
2answers
57 views

Control MOSFET with PWM signal from attiny85

I am trying to make a simple attiny circuit that switches 5V through PWM into 3.2V. The load will be a vape coil that draws 2A at 3.2V, so the 490Hz PWM signal is fine. When I tested the circuit with ...
1
vote
0answers
37 views

How can I use a square wave to interleave 2 LEDs with an arduino?

I have a PCB that drives a camera. I want to flash 2 LEDs in time with the camera's framerate using an Arduino. After some examination I found a CLK pin on the PCB that I think might correspond to the ...
1
vote
1answer
61 views

Unsure of the role of these transistors while reverse engineering a keypad PCB

I am trying to reverse engineer this PCB from a keypad to use it with an Arduino, but my transistor based knowledge is a bit lacking. I have gotten this far with regards to the architecture of the ...
0
votes
0answers
30 views

Inverter output goes to 0V when transformer is attached

I am making a 5 level inverter using an Arduino Mega and I am getting about 18V AC output from the circuit given below. The problem is when I attach a transformer the output goes to 0V. I don't know ...
0
votes
1answer
45 views

Binary to gray code on arduino

I was trying to make a circuit using 7 segment and arduino logic state and I am successful in showing binary number on 7 segemnt as take input from logic state but now when I am trying to code for ...
0
votes
1answer
68 views

How to multiplex 8 pieces of 74141 without transistors? [closed]

I'd like to use 8 pieces of 74141 in order to drive the same amount of Nixies with an Arduino. What approaches will I need to consider? Update: I'm able to drive 1 single Nixie with a 74141. The ...

1
2 3 4 5
150