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

AVR reset pin capacitor causes chip to enter bootloader on powerup

I have a circuit using an ATmega32U4 and am using the Arduino Leonardo/Micro Caterina bootloader (the one that comes with arduinoIDE v1.8.13). The problem I am having is on power-up (via USB ...
1
vote
0answers
93 views

Are there any errors in this schematic?

I am trying to make my own board based on the Wemos d1 mini v1. This is the original schematic - And this is what I have so far for my custom one - If you see any errors, I would much appreciate ...
2
votes
3answers
438 views

Stand alone CAN bus module or STM32 embedded CAN?

I have spent days studying and trying to achieve simple communications with CAN bus from scratch using stm32f1, but I still have not achieved the desired results and it is difficult to understand and ...
-2
votes
1answer
38 views

Touch Game Controller?

I was wondering if it is possible to make a game console controller that has a touch screen or touchpad instead of analog sticks? Analog sticks are really frustrating when playing shooter games where ...
0
votes
0answers
13 views

BLE: HM10 indicate no read property when characteristic has read property

I am attempting to use HM10 as central to read data from a sensor. The HM10 has been flashed with the latest firmware V710 to use the self learn functionality. Here is the list of messages I am ...
0
votes
1answer
52 views

Programming an ATtiny828 with an Arduino

I want to upload code using an Arduino to an ATtiny828, is this possible? I saw on YouTube you can upload code to an ATtiny85. Thank you in advance. I want to use this for a PCB design that implements ...
0
votes
0answers
27 views

How to turn on a module with a pulse

I have some issue turning on the module Quectel BG600-ML3. Here are the instructions given in the data sheet : The PWRKEY must be taken high for 500-1000ms. I can only affect the MCU_PWRKEY (Turn on ...
-3
votes
0answers
43 views

7 segment display only lighting up the A pin with Arduino [closed]

7 segment display only lighting up the A pin while being connected to Arduino. When I plug the wire going into the A pin into the other pins it works. ...
0
votes
2answers
54 views

Switching a load using a 2n2222 transistor with a Wemos d1

So I have this... device... that draws about 0.1~0.2A and requires 3.6V. In the below schematic it's represented as a speaker. I want to be able to toggle the power to this device with a Wemos D1 mini ...
0
votes
1answer
88 views

To-ground buttons only work when Arduino is powered via USB

The following PCB does not respond to buttons if powered via 5 V / GND connections, but does work when powered via mini USB. Any ideas? Many thanks. Main thread: https://github.com/kachurovskiy/...
0
votes
1answer
60 views

Arduino NANO heating issue

I am trying use a HMI display with arduino NANO. I am powering arduino and hmi display ( topway 5 inch smart display ) with 9 volt adaptor. everyting works fine. but if I plugin the Tx, Rx pins which ...
0
votes
1answer
55 views

How many sensors can I interface with an Arduino Uno R3? [closed]

I got my final project to make, and I have a couple of questions regarding the Arduino Uno R3, as I have only worked with simulated ATMega on simulating software until now. I must mention I am not ...
1
vote
1answer
27 views

ESC's Brushless Motor PSU and Maximum Torque

I am looking to purchase DC 12V 83.3A 1000W Power Supply and will use 4 brushless motors A2212 1400KV Brushless Motor. I have checked the Motors and they require 11.1 V and Load Current: 19.0A Power:...
0
votes
2answers
110 views

Multiple ESCs, one power supply

I am currently embarking on a project that requires 4 brushless motors. Let's say the KV rating for each motor is 1400kv and requires a 30 A bi-directional ESC for each motor, and that I want to power ...
0
votes
2answers
55 views

CS5530 - Read serial data through SPI

I am trying to read data from a CS5530 using SPI. I have gone through the complete datasheet but I don't understand what is missing. I am getting the same value every time even after changing the load ...
1
vote
0answers
113 views

MOSFET burns - 220V inverter for induction motor speed control using Arduino

I have been working for quite some time on my project to control the speed of a 220 V, 60 Hz, 0.35 A induction motor (domestic fan). I use an Arduino to generate 60 Hz with a switching frequency of 10 ...
1
vote
1answer
46 views

Removing noise generated by a servo from an audio signal

Background I'm working on an Arduino-based audio visualisation project where I run an audio signal into the Arduino, using an FFT to calculate the intensities at different frequencies and then using ...
-2
votes
0answers
44 views

How to protect output from over-voltages?

How do I protect the output pin (P1) of my Arduino from being destroyed if I mistakenly connect the 12V DC voltage directly to the output pin? So the Arduino will activate the relay by grounding it, ...
0
votes
0answers
31 views

Ethercat, Arduino, RFID

I want to create an installation that can read and feed back information from an RFID with EtherCAT. At the moment I have no components. Here is what I plan to use: Type Ref RFID RC522 ...
0
votes
1answer
47 views

Has anyone seen how to use mt9v022/mt9v034 cams with microcontrollers? [closed]

I'd like to use Arducam's MT9V022/34 cameras for my project. However, the API they provide is quite limited, and also makes me buy their USB shield module(s). Important part of my project is to change ...
-1
votes
1answer
69 views

Switching the direction of DC current flow to a load

I am a beginner (Software field) trying to do some basics in electronics. I have got a load and a power source like this My requirement is just to switch direction of dc current to the load in a ...
-1
votes
1answer
109 views

Weird readings with INA219 Current/volt sensor, Arduino and big, fat scary Lipo

I have a strange situation with an I2C INA219 current/volt meter module (datasheet). In front of me, I have a rather scary 16.8V lipo - its positive output is on the VIN+ of the INA219. The VIN- leads ...
-2
votes
1answer
54 views

What is the difference between making a resistor based keypad and not using a resistor on arduino? [closed]

I've seen videos on youtube about how to emulate a keypad on arduino. Some of them includes a resistor while others do not. What are the difference between them and are there advantages in doing one ...
0
votes
1answer
57 views

My light-dependent resistor gives a fluctuating serial output

I'm a high school student trying to make a light tracking single axis solar panel. I am using an Arduino Uno rev3 board. When I first finished building it, the system failed to operate. I spent a few ...
0
votes
1answer
56 views

Converting code with Boolean to a byte array

I am having a hard time understanding this code. I have code I am working on to sequentially flash the current 12 hr time on a single 7-seg display when you press a button. I used a Boolean matrix to ...
0
votes
1answer
61 views

What type of wire can I use to run 5V, 30A to my Arduino controlled relay module over a distance of 10-12m?

I'm building an Arduino-controlled Christmas light show. I power my 16-channel relay module with a 5V, 30A supply. It is placed outside the house and I want to place its power supply powering the ...
0
votes
1answer
38 views

RS485 MODBUS ARDUINO: Print multiple response data frame from soil sensor

Hi everyone. I'm guiding myself from tutorial https://how2electronics.com/measure-soil-nutrient-using-arduino-soil-npk-sensor/ I'm using... Hardware components: RS485 Arduino uno Charger 9V (Only for ...
0
votes
1answer
63 views

How to switch between solar panel and battery in order to power supply load

I'm doing a charger from a solar panel for a Cubesat project for my university. I made the buck converter from a 20 V solar panel in order to charge the battery. This works well with Arduino, where I ...
0
votes
0answers
64 views

Send differential Manchester encoding over Ethernet

For our feed system we have a process computer and feeding boxes in the stable. They are connected with a two-wire cable. Somebody else in this forum found out that it is differential Manchester ...
0
votes
0answers
60 views

Temperature is not increasing after some value (MAX6675) (PID)

I was following this circuit diagram shown above (from https://electronoobs.com/eng_arduino_tut24_sch2.php) to create a 12V heater for heating a hot end using PID. The only thing I'm not using from ...
0
votes
1answer
64 views

Need help making sense of PWM circuit with an Arduino. I do not understand the voltages I measure

As you may have guessed from the title, I am a beginner in electronics so please forgive any absurdity that might follow. I am playing around with powerful COB LEDs and how to drive them. To that end ...
0
votes
2answers
71 views

Arduino + DS3231 Wristwatch Help

I am a mechanical guy looking to expand my electronics skills. I would like to make a simple digital watch mainly for academic fun. Right now I am running into endless issues due to my inexperience. ...
1
vote
2answers
79 views

My Arduino pulse counter is counting too many pulses, why is this?

I am trying to count pulse but the results are showing too large numbers. There are even negative numbers. I'm using a Hall sensor for input. When the Hall sensor detects the magnet, the pulse state ...
0
votes
0answers
15 views

Can't connect to Azure IoT Hub with Arduino Nano RP2040 Connect

I have followed multiple tutorials and I am stuck on this error: ...
2
votes
1answer
73 views

Computer PSU tripping as Bench Power Supply

I am currently attempting to construct a bench power supply using an old PC PSU (350W) and having some issues. I have managed to set up a basic standby and power on led's, an on/off switch and a dummy ...
0
votes
0answers
52 views

Suitable I2C Alternative for Audio Applications

I've been looking at using a MCP4725 12-bit DAC connected to a TPA2016 audio amplifier to drive a small 0.5W loudspeaker from a ATtiny85 on an existing circuit I have. I've quickly realised that the ...
2
votes
1answer
81 views

Is the BSS138 capable of level shifting this voltage difference?

The goal is to control the IRF4905 with the ESP32. From my understanding (which is limited) the IRF4905 will have the lowest RDS(on) with a -15 V VGS. To achieve this voltage difference I have a ...
-3
votes
0answers
49 views

No motor rotation from H-Bridge

I'm in the process of making my smart car! I used four motors with an L298n driver, but I get no motor rotation. And here's the code: ...
1
vote
1answer
52 views

STM32F407VG Discovery Board, on board ST Link not recognized, but the pc recognized J Link is connected [closed]

So I have a STM32F407VG Discovery Board, the board has ST Link. But when I connect the usb to my pc, the ide that I used does not recognized it. I used atollic and stm32cube ide. But when I check my ...
1
vote
0answers
51 views

ATTiny406 | Unexpected PWM (Pulse Width Modulation) Output

We are experiencing strange PWM (analogWrite) behavior on pin PA3 of our ATTiny406 when our supply voltage exceeds ~11VDC. This pin is driving a MOSFET which controls the ground signal to the LED ...
1
vote
2answers
293 views

Unexpected behavior when using 5V from one power supply and Ground from another one

I am trying to use an old phone charger with 5V DC output. I measured the output to be 6.4V. It works for powering an ESP8266 through VIN but does not work to power an IR receiver I want to use. The ...
2
votes
5answers
469 views

What are the fundamentals behind this p-channel MOSFET / driver circuit?

I have this schematic below. I have a circuit to switch 8 V power using a MOSFET and an NPN transistor with an Arduino's 3.3 V. The power of the switched side will be around 2 A (if this matters ...
2
votes
2answers
57 views

LED light and LCD not turning on at the same time

In my circuit if an object comes a certain distance, the LED light will turn on and the LCD display will show the distance. The problem is if the LED light is turned on with 11.1V power, the LCD ...
5
votes
1answer
82 views

Trying to understand the auto boot circuit

I'm trying to figuring out how this circuit works instead of just simply ripping it off from schematics found on the internet. I've seen this circuit on many designs (ESP32 Dev board and Heltec ...
1
vote
2answers
48 views

Accurate readings from Hall sensor flow meter on Raspberry Pi 4 vs Arduino

I have a working project on my Arduino which tells me how much water has flowed through the sensor (http://www.swissflow.com/sf800.html). It works pretty well (give or take few ml.) The Arduino is too ...
0
votes
0answers
61 views

How to manipulate timer registers of Arduino Uno?

I already asked about How to achieve high speed microstepping? I even used Arduino Due to achieve high speed. Practically there was no difference compared to Uno but by changing baud rate I could see ...
12
votes
3answers
4k views

White LED doesn't light up when a red LED is parallel to it

When I connect a white LED to 5v (Arduino) with a 220ohms resistor, it lights up perfectly fine. But, when I connect a red LED parallel to it, only the red one lights up. Note that when I connect the ...
0
votes
1answer
48 views

Programmable frequency source for microprocessor interrupt

I need to interrupt an Arduino at one of three chosen rates: 2400, 2000, 1920 per sec. Given a 16MHz master clock and 16-bit timers, it doesn't look possible to do this internally (16Mhz / 2400 = 6666....
1
vote
1answer
69 views

ESP32 classic Bluetooth set password

I am using the ESP32 classic Bluetooth feature for data transfer. I am using the SerialToSerialBT example. I am able to scan and discover the Bluetooth device from my smartphone, but the pairing is ...
0
votes
1answer
41 views

How can I use this LCD with Arduino?

I found my LCD somewhere from some remote control. And as I am a beginner, I would like to ask you guys how could I connect these LCD with my Arduino Uno so that I can display the numbers on this LCD.

1
2 3 4 5
157