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 votes
0 answers
22 views

What IMU to use for RPI or Arduino? [closed]

I have an MPU6050 but I was told it is obsolete today. It works great, however, whenever I even lightly tap a surface near it, I get noise on the gyro readings that look similar to actual motion. I ...
user avatar
0 votes
0 answers
22 views

How to control stepper motor with TMC2130 driver with Arduino?

I am trying to control a stepper motor with an Arduino and a TMC2130 driver. I am using this board. I am using this driver as I want the missed-step detection and sensorless homing functionality it ...
user avatar
0 votes
1 answer
28 views

32u4 not recognized by FLIP

I recently built a custom PCB with a ATmega32u4. When I plug it in to the USB port it is recognized by windows in the device manager as "ATn32u4DFU". I however can not open a USB port ...
user avatar
0 votes
0 answers
26 views

How to connect Neo 6M module to A9G [closed]

I have an A9G module and I want to connect a Neo 6M module to it. I know the A9G has a GPS function but I am not able to use it. It always gives a fixed location with AT commands or from CoolHost ...
user avatar
0 votes
0 answers
33 views

ESD & lightning protection for low-voltage microcontroller GPIO

I am looking for some help with protecting microcontroller inputs against ESD, from human contact, lightning surges, etc. The microcontroller is the Arduino WAN 1310. The microcontroller used by the ...
user avatar
-1 votes
0 answers
41 views

Amplifying sinusoidal signals [closed]

How can you use Proteus to design and simulate a circuit for amplifying a sinusoidal signal with an amplitude of 2V? Using Arduino uno and op amp
user avatar
3 votes
2 answers
346 views

Signed vs unsigned integer arithmetic operations in PIC MCU

I have defined the following function in mikroC PRO, to load the PR2 register of a PIC16F887 with a desired PWM frequency and duty cycle: ...
user avatar
-1 votes
0 answers
35 views

Is there a way to make ESP8266 a WiFi hotspot?

On many ESP8266 tutorials, I learn that ESP8266 (Node MCU 1.0, ESP-12E) can operate in station mode and access point mode at the same time. That makes me wonder: is it possible for one ESP8266 module ...
user avatar
  • 171
0 votes
0 answers
23 views

How to use an MPU 6050 (or any I2C) on different pins on an NodeMCU?

My idea was to have multiple MPU 6050 (6-DOF accelerometer) sensors connected and read by an NodeMCU. I had tested a single accelerometer on the D1, D2 pins and it ...
user avatar
0 votes
0 answers
30 views

Arduino board consumption benchmark

I know consumption depend of the type of application, but I would like to know if a comparison of average consumption exist between arduino and similar boards (Teeny/Dfrduino...). The board I am ...
user avatar
  • 1
0 votes
0 answers
32 views

Arduino based ESC for BLDC motor with FOC

This is my first question here. Lately I wanted to connect bldc motor to my small 3018 CNC machine so I used this design https://www.thingiverse.com/thing:3737505 . While doing this modification I got ...
user avatar
1 vote
0 answers
49 views

Detect if PC power is on/off then turn a TV on/off using an Arduino

I'm building an arcade cabinet using an old PC and an old(ish) Bush LCD TV as the monitor. The TV is connected to the PC graphics card via HDMI and all is good. However, the problem is that I want the ...
user avatar
0 votes
0 answers
35 views

Optimal use of a timing pulse

I have an indicator module that uses an ATTiny85 to switch an array of LEDs based on an RS-485 signal delivered by SoftwareSerial and a MAX485 IC. The indicator can be Off, On, or Flashing. All power ...
user avatar
  • 77
0 votes
1 answer
99 views

Lighting an electric match with an IRF520 transistor

I'm trying to find a way to light an electric match with an IRF520 transistor and an Arduino, but I can't seem to get it working. I've rigged up a 7.4 V battery to a transistor which in turn is ...
user avatar
0 votes
3 answers
82 views

What methods can be used for sampling an analog signal using a microcontroller?

I'm in the early stages of design a project I'm working on for fun - a radar speed detector using a simple Doppler radar module and an Arduino (or possibly another similar microcontroller). I've ...
user avatar
  • 60
0 votes
2 answers
113 views

Disable NE555 using an external microcontroller

I am trying to hack this board (it's a 60A PWM motor speed controller): Specifically, I need to enable/disable the 555 timer in the center using an Arduino. To accomplish that, it would be sufficient ...
user avatar
0 votes
0 answers
29 views

How do I wire a simple GPIO connection between an Arduino and RPi Pico?

I'm trying to something very simple - trigger an interrupt on an Arduino Mega when I set a GPIO pin on a Raspberry Pi Pico to HIGH. The Pico and Arduino are connected to the same power bank (not mains ...
user avatar
  • 1
0 votes
2 answers
116 views

Applying 5V on output pin of LM7805 while the regulator is not powered

According to the Datasheet of LM7805 (section Application and Implementation), in some scenarios a protective diode (between IN and OUT pins) is needed to protect the regulator. Please take a look at ...
user avatar
1 vote
2 answers
159 views

Help me select an option to generate 25 kHz PWM

I'm running Arduino Mega with Marlin Firmware (as my 3d printer controller) which to my understanding has its PWM set to 1 kHz. I want to control a 4-wire fan (Pfc0612de) with PWM from 30% to 100% and ...
user avatar
  • 11
6 votes
5 answers
975 views

How can I achieve full scale deflection on a 30 A ammeter with a 5 V voltage?

I have a vintage 0-30A DC ammeter (picture below) and I want it to display my PC's CPU usage for a DIY project. After doing a bunch of research, here's how I would do it: The PC will send CPU usage ...
user avatar
  • 173
0 votes
1 answer
31 views

IOREF default voltage reference circuit with two NPN transistors

I'm trying to build a small circuit to sense when a voltage ref (for IO output) is supplied otherwise set a default voltage reference. A bit of context - This is common within the Arduino ecosystem ...
user avatar
0 votes
0 answers
86 views

What is the best way to drive a small coil digitally?

I have a coil of wire with about 40 mΩ worth of resistance for a hobby project. I would like to put up to 2 A through it. Ideally I would like to be able to choose how much current goes through it in ...
user avatar
0 votes
0 answers
53 views

Going a step up in Embedded Development (ESP32) [closed]

I hope you are having a great day. I’ve been studying and working with embedded development for a while now, so I am wondering what steps I should take next. I’ve been exposed to the Arduino ecosystem,...
user avatar
0 votes
1 answer
56 views

Unit buffer op-amp fails with my sensor module signal

I have purchased a pH sensor board and it gives me an output in millivolts. I want to read this using an Arduino. Usually this boards outputs from 400-1200 mV. When I use a multimeter, it gives me a ...
user avatar
0 votes
2 answers
88 views

How does a servo motor remember its starting position?

If I program this servo motor rotate 0 to 90 degrees, and I disconnect the USB cable (power supply) maybe at 45 degrees. When I reconnect the USB, the servo motor rotates back to 0 degrees to where ...
user avatar
-1 votes
1 answer
76 views

Is this schematic correct?

I'm working on an Arduino project and before I set off to build it completely I wanted to see if my schematic works or if something would go wrong. The goal of the project is to be a sort of ball ...
user avatar
10 votes
3 answers
2k views

What does the voltage of an I/O pin mean?

I'm trying to figure out the Seeed Studio XIAO board (essentially a smaller version of the Arduino) and I noticed that there was a line in the specifications saying "All the I/O pins are 3.3V, ...
user avatar
  • 123
0 votes
1 answer
70 views

Driving a p-channel MOSFET with a n-channel MOSFET

I want to use a p-channel MOSFET to turn off and on the power to a 6 V l7806 voltage regulator that powers a 6 V servo. The reason is to save battery power. The controller is a 5 V Arduino. It is my ...
user avatar
0 votes
4 answers
65 views

Control two or more channel relay using a single signal pin from an Arduino [closed]

I would like control a four-channel relay using a single signal pin from an Arduino. Is there any way to do it? Using external components, is this possible with any PWM pins or something else?
user avatar
0 votes
0 answers
34 views

K-line sniffing problem

I'm facing a problem while trying to check the communication between two devices talking over k-line ISO 14230-4 KWP protocol.I have two master devices and one slave device (i'm calling them master ...
user avatar
  • 145
0 votes
0 answers
19 views

MG995 servo angle resolution [duplicate]

I am using the MG995 servo motor. I am unable to find the resolution angle of rotation i.e. the minimum change in angle that the servo can execute. Where can I find this information?
user avatar
  • 51
0 votes
1 answer
60 views

How to increase digital input pins of Arduino using 74HC574

I've been working on a project with an Arduino. I need to use many TCRT5000 IR modules and I'm out of pins. I also used a DC motor driver shield and it also took a lot of pins. Now I need to increase ...
user avatar
1 vote
2 answers
36 views

Is signal point in a relay isolated from power points?

I am thinking of using a 5v relay switch to isolate some 6V solenoids and a motor from my arduino circuit. Can I use my 6V adaptor to also power the relay and use digital output of arduino to signal ...
user avatar
  • 127
1 vote
1 answer
59 views

UART to RS-485 communication between two Arduinos

I'm learning how to use a MAX485 or MAX487 IC to create a half-duplex RS-85 communication between two Arduino s. Each Arduino has an LED that turns ON/OFF by receiving a command from the other Arduino....
user avatar
  • 63
0 votes
2 answers
64 views

External SPI Flash Global Unprotect

I am using AT25DF041B SPI Serial Flash Memory with my application and I am confused about protection about sectors. When I have read the datasheet it says there is a command for the global unprotect. ...
user avatar
  • 11
0 votes
0 answers
30 views

Measure acceleration for X mins

I have a situation where I have to check if a body is motion or not for x minutes. If it is in motion for x minuteds then the function should return true, else it should return false. I have an ...
user avatar
  • 1
0 votes
0 answers
8 views

Arduino sketch shows error on first line of every program [migrated]

So I just got a new Arduino Micro with headers and I have connected it directly to a 16x2 LCD. While I was uploading a test LCD program I was given an error where the first line of my program was ...
user avatar
0 votes
1 answer
74 views

Coin cell holder not powering circuit

I use a 3023 Keystone electronics, through-hole coin cell holder in my circuit. When I connect the Arduino to my computer, it gets powered up without any issue and my circuit works just fine. The ...
user avatar
0 votes
1 answer
55 views

Should I switch from a TIP120 to a MOSFET?

I'm doing a project where I'm controlling how much voltage a 12 V, 3 A motor receives with a TIP120 Darlington transistor like in this picture: The basis of the schematic (as I understand it) is to ...
user avatar
0 votes
0 answers
24 views

Hooking up PLED cables to Arduino to indicate if PC is off or on

I am new to arduino, but I recently bought it for a project I am trying to do. Basically, I want the Arduino to act as a replacement power button switch on a PC. I've seen from other forums how to ...
user avatar
  • 1
-1 votes
2 answers
48 views

12 V, 3 A to buck converter or linear voltage regulator for Arduino and other components?

I'm using a 12 V, 3 A wall charger to supply a project: The project includes a motor (which needs 12 V, 3 A), an Arduino, a servo, and some other components. Since I don't want to fry my electronics, ...
user avatar
0 votes
2 answers
74 views

Do I solder jumper wires on top or below my Arduino Micro without headers?

I am a beginner when it comes to Arduino and electronics and I have recently been building a calculator from a button matrix and an LCD. I have linked the Tinkercad design here: (Source) I am ...
user avatar
0 votes
1 answer
56 views

Help with MCP23S08

I’m not sure how to connect an MCP23S08 IO expander or write Arduino code for it. I would like the IO expanders to report button presses but I’m not sure where to start. It was recommended to create a ...
user avatar
-1 votes
0 answers
35 views

Fixing incorrect button multiplexing on a PCB

I've tried to read 12 buttons with 7 digital pins (B0-B6) and missed the fact that pins B3, B4, B5 and B6 are now permanently connected together and act as 1 pin. It appears like I could salvage this (...
user avatar
2 votes
1 answer
156 views

When is the right time to turn on phase wires A, B and C in a sensored BLDC motor to make it rotate?

I just bought a sensored bldc motor and I built an esc for it. Here is the schematic When I power everything on I can hear the motor trying to turn, but it keeps getting stuck and it won't budge. I am ...
user avatar
  • 341
1 vote
0 answers
30 views

How can I program an ATMega328 with the Arduino IDE?

I have my own ATMega328 microcontroller on a breakout board, and I want to program it using the Arduino IDE. As far as programming goes the schematic looks like it basically just has the ...
user avatar
3 votes
1 answer
76 views

Instrumentation opamp saturating

I'm building a circuit to measure signal out of a wheatstone bridge for strain gauge. here is the schematic: simulate this circuit – Schematic created using CircuitLab I applied +-1.5V with ...
user avatar
0 votes
1 answer
53 views

Seeking best way to step up voltage from battery to power motor

I apologize if I'm asking a really simple/stupid question here, or if this is an xy problem and I'm missing something entirely. I'm someone working way outside my field here since electrical systems ...
user avatar
  • 1
0 votes
3 answers
45 views

Sampling bottleneck due to sensor conversion time? MAX6675/MAX31855

The datasheets for the MAX6675 and MAX31855 say that their "temperature conversion times" are 220 ms and 100 ms respectively. I am using an arduino to get the data from a K-type ...
user avatar
  • 51
0 votes
2 answers
61 views

Which amplifier module to use for strain gauge/thermocouple voltage measurements through multimeter? [closed]

I wish to measure the voltage difference across the ends of my load cell and thermocouple using a multimeter, but my multimeter cannot accurately read such small voltages. The range of voltages to be ...
user avatar
  • 51

1
2 3 4 5
164