We’re rewarding the question askers & reputations are being recalculated! Read more.

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
3answers
82 views

uC controlled MOSFET based LED Dimmer stops responding

I've designed and implemented LED Dimmer driven by PWM from Adruino Pro Micro (CLONE) with software based on MySensors library. See the schematic attached below. The idea is really simple: uC is ...
0
votes
1answer
64 views

Can I use Arduino nano's power straight for the micro motors or do I need to use drivers for a drone? [closed]

I haven't tried using nano as the primary source for the micro motors as I'm still planning for project. If possible please suggest me any motor driver with less weight or if using any MOSFET would be ...
-2
votes
5answers
126 views

Bitwise operations in embedded C if button pressed on AVR circuit

I am using ATmega32 AVR microcontroller. I am confused about bitwise operation in embedded C. I understand (AND, OR, XOR, NOT) logic gates very well, but there is something that I don't understand: I ...
1
vote
2answers
72 views

RPI-arduino communication without UART

I'm working on a project where a raspberry pi zero will be the main controller. The pi has to receive information from a GPS module (gy-gps6mv2) over UART. The same pi will be controlling (receive and ...
0
votes
1answer
72 views

Arduino Mega Schematic possible “Faults”? [closed]

I'm trying to build an standalone Arduino mega based on This schematic. At the header of schematic Arduino noted this: Reference designs ARE PROVIDED "AS IS" AND "WITH ALL FAULTS". As a hobbyist ...
0
votes
2answers
44 views

Can we connect a DAQ to a micro-controller via a CAN bus?

I want to establish communication between an Arduino to a DAQ that I am using from DEWESOFT called the Dewe 43-A. The DAQ has 2 CAN bus ports according to its specs, and I was wondering if I can ...
4
votes
1answer
202 views

Mimic a pick-up coil to drive a CDI ignition

I'm researching why an ignition coil passes ohm's testing but doesn't work. Installed on the vehicle and the engine doesn't run correctly. At first stages of bench testing and I'm still not finding ...
4
votes
1answer
88 views

(Electret Microphone) Why is input taken from the capacitor?

Why is the input signal taken from the -ve side of the capacitor? I do understand that the resistor has been added for voltage divider. Is this actually for filtering purposes? Or is the capacitor ...
1
vote
2answers
93 views

Driving high currents with parallel mosfets as the switch

I am trying to make my own battery spot welder from a car battery, car starter solenoid, and an Arduino to drive them. I came up with my concept and schematic and built the thing. The problem is that ...
0
votes
0answers
49 views

Can't wake SIM800L from sleep mode

I am having some trouble with my SIM800L module. Basically I set the DTR pin to high and then used AT+CSCLK=1\n to put the module into sleep mode. Then, to wake it ...
1
vote
1answer
93 views

Arduino not outputting square wave with 50% duty cycle

I’m currently using an Arduino and my main goal is to output 2 signals from 2 digital pins. Pin 1 (D7) would output a 1 kHz signal with a 50% duty cycle and pin 2 (D8) would output half of pin 1's ...
1
vote
1answer
64 views

Using multiple TCA9548A multiplexers

The case is that I have 5 temperature sensors. I want to connect 4 of them to the first TCA9548A (TCAADDR0), the SDA and SCL busses (from the ports 0 to 3) and connect the fifth one to the second ...
5
votes
1answer
87 views

Modifying El Wire driver for Brightness control

I have an El-Driver that has a potentiometer to control the brightness. I would like to control the brightness with an Arduino, replacing the potentiometer. Here is the schematic of the brightness ...
0
votes
1answer
193 views

Mosfet current control with PWM

I am using a mosfet and an Arduino and I want to control the Source-Drain current of the mosfet by adjusting PWM to the Gate. If I apply zero value to the PWM, the current doesn't stop (I checked the ...
5
votes
1answer
88 views

RS-485 network with multiple masters

I'm building a project with multiple RS-485 senders ("masters") and one receiver: simulate this circuit – Schematic created using CircuitLab I'm using one MAX485 as receiver connected to a ...
0
votes
1answer
47 views

Controlling 12V 70A Motor(s) with Arduino MEGA (or NANO) and a 4-terminal automotive relay

Components I have: Relay (rated at 12V, 70A, cannot find how much current is needed to saturate its coils) Schematic Arduino MEGA and NANO 12V Powerwheels battery + AA battery packs Motor: 00968-...
0
votes
1answer
33 views

Flexible GPIO routing Arduino shield

I want to make a combined MIDI In/Out/Thru + MDX Output shield, so I can order/design just one shield for all my needs. It is intended to use the shield for Arduino Mega which has 4 UARTs, and I want ...
1
vote
1answer
57 views

RC Snubber For Phase Angle Controller

I have a phase regulator and I'm using it for regulating the RPM of a fan - centrifugal blower. The motor is a shaded pole induction motor (220VAC, 28W). The regulator is working fine, but if the RC ...
1
vote
1answer
78 views

Optocoupler - Make active low output at active high

I'm currently working on a project and it consists of amplifying a 5V signal from an Arduino to 24V. I made my circuit and hooked it up to a oscilloscope and it shows that the output of the ...
-3
votes
1answer
67 views

ATMEGA328p powersupply 3.8volt and Sensor 5V input power

I have a little doubt. If I use a microcontroller powered by 3.7volt from a lithium battery and I want to connect a sensor that needs 5 volts of power(external). Can works the ADC of microcontroller ...
0
votes
1answer
59 views

Programming ESP8266 in circuit

I've designed a simple WS2812B LED Controller utilizing the ATMega328p and an ESP8266 to connect to WiFi. The two are supposed to be communicating over UART. I've made a mistake of not testing the ...
0
votes
1answer
66 views

Why cannot I use the USB port directly to communicate via PC with STM32F4-DISC

I will keep it short and clean, if it won't be enough please let me know and add more details. When using an Arduino UNO, a serial communication can be achieved by the same USB connection which is ...
3
votes
1answer
120 views

Using op-amps to read real-time resistance values over a wide range

Background I have been using a simple inverting op-amp circuit and Arduino to measure the resistance of a photoresistor (light 5k, dark 200M), like in the schematic below. This provides linear data ...
0
votes
1answer
90 views

Arduino (STM32) and MOSFET switch with digital pin

What circuit can I use to switch on a speaker with an arduino (stm32 board)? Ideally the speaker will run longer (automatic off after some time-0.5s) I have a stopwatch program in STM32 (...
0
votes
1answer
88 views

LDO voltage regulator, no output

I'm making my own board based on Arduino. To power it I use one LIR2032 cell (button cell 3.6V li-ion battery) that's driven through 3.3V LDO voltage regulator. So far I have tried two different ...
0
votes
1answer
73 views

high current UPS ish design

This is my latest attempt to try building a ups ish system for my 3D printer the printer is custom-designed with 5 meters (no, it's not a typo) on each axis. we use MKS Gen v1.1 with custom marlin ...
1
vote
1answer
37 views

Simple 24VAC solenoid controller for Arduino

I am a bit new in making circuits, but I am truly stuck. I need to control a 24VAC irrigation valve from an Arduino type environment. I have seen several post but I just don't get it. The only power ...
1
vote
0answers
82 views

Nema17/A4988 + LED display pump, 5v circuit not complete?

I'm trying to build a pump from Instructables, with no experience at all. I appear to be pretty close but the 5V line from the Arduino does not power the driver or LCD screen via my perfboard, it ...
0
votes
0answers
100 views

Interfacing OV7670 camera with STM32F4 (no FIFO)

I have to interface my STM32F401RE with an OV7670 camera module without external AL422. I followed some of the many tutorials for Arduino, and I was able to capture images using Arduino UNO. ...
0
votes
1answer
59 views

What is best sources for learning and practising AVR microcontrollers? [closed]

I am computers and systems engineering student and I am very interested in microcontrollers so What is best sources for learning and practising AVR microcontrollers ?
1
vote
0answers
73 views

12 V PWM fan and Wemos D1 Mini - ground loop?

Newbie here. I'm trying to power a 12 V 4-wire fan and a Wemos D1 Mini from the same power source. The aim is to use a Dallas DS18B20 temp sensor and increase/decrease the fan speed as per the temp ...
0
votes
2answers
121 views

How to convert 0-3 V (PWM range) to 0-24 V (device voltage requirement)

I have an Arduino with some PWM pins, output range is 0 to about 3 V and I need 0 to 24 V range. I need to active a solenoid - a hydraulic proportional solenoid A 12V and 5V source is also ...
1
vote
3answers
97 views

How to make linear actuators go in both directions? (Using arduino/microcontroller)

I'm stuck here, I want to make the lineal actuators to go up and down, both of the actuators move to the same direction at the same time. The arduino receives a signal as input and then the ouptut ...
0
votes
2answers
58 views

Can heavy processes running in background cause lag in arduino's serial port communication with a computer?

I have a Ubuntu 16.04 machine talking to a Uno board. This arduino board is sending 100 chars of line at baud rate of 115200 as fast as possible. Usually I get a line every 7ms to 10 ms (I am going to ...
0
votes
3answers
124 views

I need help reading resistors

I've been using the Arduino starter kit recently, and for a project I require a 10 thousand ohm resistor. The kit comes with a belt of different resistors, and It has some 10k resistors but I've been ...
3
votes
1answer
59 views

Sequential I2C read from MPU6050 with PIC16F18877 different from expected

To save time and reading I copied a code block from a program found on the internet to determine the X angle of inclination. ...
0
votes
0answers
28 views

Can any of the below damage a SIM800L module?

I was developing a simple circuit using an Arduino pro mini and a SIM800L when I understood that SIM800L's Vcc and Gnd pins have been shorted. I tested short circuit using the continuity and resistor ...
1
vote
0answers
179 views

Please check my board design before I waste money

TL;DR: Please make sure my schematic and board design won't blow up on me. GitHub Repo if you're feeling extra thorough. Project overview I am trying to create an Arduino based Bluetooth RGB led ...
1
vote
1answer
87 views

Troubleshooting SC2262/2272 RF module interaction Arduino

I'm having difficulties reading any input from my RF module to my Arduino. I hope I have done all the necessary simple tests prior to asking for help here on whether or not the receiver is faulty. ...
1
vote
0answers
33 views

Measuring battery life for Arduino device [duplicate]

I'm building a IoT thing based on Arduino. The thing will be powered by a 12V battery. The reason why I want to use a 12V battery is because I will also have motors on the thing. I would like my ...
0
votes
1answer
67 views

WRL-1368 (ESP8266) wifi module briefly flashes blue LED once when powered up, then nothing happens

I bought a WRL-13678 wifi module, but when I connect it to a 3.3V power source, the blue LED flashes once, then nothing happens. I tried powering it from a 3.3V breadboard power supply (connected to ...
-1
votes
1answer
43 views

Motor for large speed range

I am designing a chuck for which I need a motor which can go from 200rpm to 5000rpm. I tried a 1000KV BLDC with 12V supply, but the minimum rpm was around 1800. Also, I am not sure whether stepper ...
0
votes
1answer
80 views

Circuit heating

I am using 14.8 Volts 21Ah Lithium ion battery to control a circuit. The circuit consists of a controller, LM2596 buck converter (set to 5.5 Volts), 5v relay driver , 5v electromagnectic relays, and ...
0
votes
1answer
63 views

Problem using 5V LDO (AP7381) as power source for Arduino

Goal I'm trying to build a portable speaker. I want to use an arduino to handle several tasks. The speaker uses a 6s Lipo ~24v as power source. An LDO the AP7381 has been selected as power source for ...
0
votes
0answers
48 views

Is the regulator doing short circuit after enable?

Is it my circuit/PCB doing a short circuit after enabling the regulator? See image. (I checked the connection physically and is fine.) I don't understand why after enabling the regulator using the ...
2
votes
1answer
99 views

What device can switch ON and OFF different pads independently?

I am looking for a device, but I am not sure what I need: maybe you have ideas. I have a power supply connected to 16 electrodes. What I need is a device (see picture) between the power supply and the ...
-1
votes
1answer
38 views

Find ROM and RAM in .bin file for micro controller

I use the Arduino IDE to compile some code to a 32-bit ARM Cortex-M3 based microcontroller. The result of the compilation is <...
2
votes
1answer
130 views

Arduino emulating a keyboard that has a demultiplexer

I have a old typewriter which I want to automate with an Arduino. The way I am trying to do it is to replace its keyboard with the Arduino and make the Arduino emulate the keyboard i/o. The keyboard ...
0
votes
3answers
108 views

How to monitor switch state?

Background I am building a simple web application using raspberry as a server. I am using this raspberry also to control an arduino. A user can send commands through the browser to the raspberry, and ...
0
votes
2answers
56 views

Amplifier Audio Ground to Signal Ground

I am using a VS1053 (on a SparkFun Music Maker shield) to provide audio for my project. I am taking a line out signal and inputting it into an op amp for signal processing, ultimately being input to ...