All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

ESP32-S3 Stuck at a Crash and Not Auto Resetting

Given below is a short version of the Arduino code I used to program ESP32-S3. On some occasions the program crashes and unlike normal crashes this one get stuck there without Auto-resetting static ...
AmalMP's user avatar
  • 1
-1 votes
0 answers
19 views

Can I use the Arduino UNO R4 WiFi to get data via Bluetooth from a Bluetooth sensor then send that data via Wi-Fi to Blynk?

I'm looking to use a Bluetooth TPMS to monitor the tire pressure of a bicycle. I'm using an Arduino UNO R4 WiFi board and want the Bluetooth TPMS to send the signal via Bluetooth to the Arduino. I ...
EE23479104's user avatar
0 votes
0 answers
19 views

What are the best ways to read 1MHz signal wired from an external board to Arduino Due?

Can someone please provide inputs regarding below? Have got a requirement to tap into a ARDUINO DUE's GPIO pin (where clock signal from external board) is routed and whose signal strength is 1 MHz. ...
NightWatchMan's user avatar
-1 votes
0 answers
11 views

atmega328 custom board unable to upload code after bootloader is installed

I have a custom Arduino board with the atmega328 chip onboard. I am able to install the bootloader perfectly fine by connecting the mosi, miso, sck and reset pins onto an arduino uno, and then running ...
Harry Fisher's user avatar
1 vote
0 answers
39 views

Powering an Arduino nano with car 12v system and automatic shutdown with relay

I'm trying to create a PCB to managed a motor for my car nav display (open up when car switched on and closed when car switched off) I'll be using an Arduino nano with an A4988 driver for a nema 17 ...
Zed Eau's user avatar
  • 21
1 vote
0 answers
33 views

Code for a load cycler seems to be stuck

I am trying to make a battery load cycler to charge and discharge a battery repeatedly for a certain amount of cycles and here is my code: bool in_charge_mode; int cycles = 0; float cutoffvoltage = 2....
risa's user avatar
  • 11
1 vote
0 answers
14 views

Stepper Motor Direction Not Changing with Toggle Switch - Need Help

I’m trying to control the direction of a stepper motor using a toggle switch with my Arduino. While the LED indicates that the switch is working correctly (i.e., it changes state as expected), the ...
ghwnsrla's user avatar
-1 votes
0 answers
33 views

IRremote Library v4.4 giving noisy output on XIAO RP2040

I'm using XIAO RP2040 with IRRemote v4.4 I'm stuck in a situation where the IR signal is not being sent properly. I'm using RC5 protocol and running the SimpleSend/Receive examples to send and receive ...
Tauseef_Ahmed's user avatar
2 votes
1 answer
165 views

Hardware serial baudrate inconsistent between Arduino nano and standalone 328P

I have a 328P (328P-AUR to be specific, [link]), and in the schematic below is how I've implemented it to a PCB: Uploading a program works fine, but I hink there is an issue with the clock source, ...
Boyfinn's user avatar
  • 245
-1 votes
0 answers
18 views

ESP32S3 with W5500 ethernet module not working

I have been trying to integrate a w5500 ethernet module with an esp32-s3 for days now, but to no success. I even used the connections and code defined here, but it doesn't work for me either. I am ...
Fareed Ahmad's user avatar
-1 votes
0 answers
22 views

ESP8266 NodeMCU board when inserted via cable, doesn't showup in COMPORT, in Arduino IDE throws an error

I'm trying to connect NodeMCU ESP8266 board with my Windows laptop and push the code using Arduino IDE. However after connecting it through cable, in the Arduino IDE I see the below error while ...
Giri's user avatar
  • 99
-1 votes
0 answers
26 views

Why doesn't the MPU6050 come with firmware installed for the DMP?

I was reading about the onboard DMP of the MPU6050 and learned that I need to install firmware to access it. Why do I need to install third-party firmware from Jeff Rowberg to access the DMP and grab ...
Alpha Delta's user avatar
0 votes
0 answers
23 views

Where to find microcontroller settings in Arduino 2.x IDE

I'm am using a wrapper (https://github.com/HenniePeters/ArduinoStarter) to start the Arduino 1.8.19 IDE. Sometimes when I haven't worked on a project, I just forget the settings to make the compiler ...
hennep's user avatar
  • 121
0 votes
2 answers
41 views

Need to delay between electronic dice rolls for Catan

How would I put a delay in the reading of DIC? DIC is a photocell to ground whose light is blocked to stop dice roll. I want to put a delay so someone will not trigger another roll out of turn. The ...
greg's user avatar
  • 19
2 votes
1 answer
29 views

L9780 and SPI communication

I'm working on a program to interface with a development board I spun for an L9780 - wideband oxygen controller IC. At this point, I'm trying to get a consistent "status" read back but ...
jungle_jim's user avatar
-3 votes
1 answer
31 views

nano clone without bootloader [closed]

Went through all this a few years ago and back again with same problem. Yes, pretty sure I need it to have a loader to load sketches, have tried using an MKR1010 as a programmer ( keeps saying "...
greg's user avatar
  • 19
1 vote
2 answers
41 views

PinChange Interrupts proplem with DRO scales

I am trying to read values from 2 separate DRO scales ( Digital Read Out ), most commonly used on lathe and milling equipment, CNC, or any X,Y,Z table. These scales need to use 2 interrupt pins per ...
DucatoboyStu 750's user avatar
2 votes
0 answers
45 views

CUT HERE FOR EXCEPTION DECODER --------------- Exception (0): esp8266

Why does my program end up with CUT HERE FOR EXCEPTION DECODER for esp8266? I am triying to integrate gps and accelerometers with a website. integrating gps is the hardest one since it always refuse ...
Marifin -'s user avatar
1 vote
0 answers
29 views

rylr498 receiver problem

I have a problem receiving heart rate message tranmission data from the reciever. I was able ot transmit the data from the trasnmitter but I am unavke to recieve the data from the reciever side. This ...
Adithya narasimhan's user avatar
1 vote
1 answer
36 views

Linear actuator with L298N board

I have a linear actuator that has 4 cables coming out, which I can control with the following connections: red🔴 + 🔵 blue and black ⚫ + ⚪ white is going outside red 🔴 + ⚪ white and black ⚫ + 🔵 blue ...
clankill3r's user avatar
-1 votes
1 answer
37 views

MIDIUSB error go on and on [closed]

I am writing a sketch for a MIDI keyboard, based on a sketch by Notes and Volts. I had made some modifications to the sketch and downloaded it to a Nano. This was working fine using the MIDI.h library....
johnd2117's user avatar
0 votes
1 answer
54 views

How to Identify pins connected to each other?

There is probably another way to achieve what I want without connecting pins to each other, so I will explain the scenario: I am trying to build an Arduino based Enigma Machine. The cryptography is ...
Diego Dyan's user avatar
-1 votes
0 answers
14 views

PIC24EP128MC202 or PIC10F200 for input detection? [migrated]

I want to know if I can use either one of them (or both) to detect an input from a pin and according to that, set an output to another pin (or to the same pin - optional). I had an attempt to program ...
I have no enemies's user avatar
1 vote
1 answer
133 views

How do I convert a structure to a char[] for use in Wire.h, or is there a better way?

I need to interface an ATTiny88 MCU configured as an I²C slave with a Raspberry Pi configured as an I²C master. I may be using the wrong approach, but I have a structure consisting of four different ...
LesRhorer's user avatar
0 votes
1 answer
40 views

How to control a stepper motor using an absolute position sensor which has an error band?

I am using Feather M4 express development board with DC Motor + Stepper FeatherWing and Ethernet FeatherWing stacked on it. The idea is to read the target position from the UDP from 0 t0 360 degrees ...
dreamcoder's user avatar
1 vote
1 answer
38 views

GPS module GY-GPS6MV2 only returns numbers

I have a GY-GPS6MV2 connected to a nano. (Also tried UNO same result). RX on GPS goes to TX of Nano PIN 3 and TX on GPS to PIN 4 on Nano. When I run the code below all I get is a set of numbers. They ...
TomTheTec's user avatar
-2 votes
0 answers
22 views

Android + Arduino + USB: serial communication while charging phone? [closed]

I plan to control an Arduino board using an Android application. I'd like to connect the phone to the circuit using USB only, and the phone to be powered (charging) while communicating with the ...
bgaze's user avatar
  • 97
0 votes
1 answer
25 views

Xiao ESP32-C6 in CircuitPython

So I recently bought two Xiao ESP32-C6 from SeeedStudio; they work with Arduino code out of the box. Now I want to flash the CircuitPython bootloader from here https://circuitpython.org/board/...
Clóvis Fritzen's user avatar
0 votes
0 answers
50 views

int does not name a type [closed]

#include <Adafruit_ST7735.h> #include <Adafruit_ST7789.h> #include <Adafruit_ST77xx.h> #include "sasuke.h" #include <SPI.h> #include <TFT_eSPI.h> // Hardware-...
THÀNH NGUYỄN TRUNG's user avatar
1 vote
2 answers
52 views

Can't read SD card

I get errors to open file on SD card. This is the instructions I use https://www.instructables.com/Micro-SD-Card-Tutorial/ /* SD card read/write This example shows how to read and write data to ...
Gil Sven's user avatar
-1 votes
1 answer
36 views

How can I downsize protruding pins from sensors to so I can use a smaller housing?

I'm trying to create a system where I continuously measure color data from a fluid. I've created a 3D-printed box where the pins fit; if they're configured in their out-of-the-box arrangement, what ...
Bilal Bahadır Akbulut's user avatar
1 vote
1 answer
46 views

Using WiFiServer in blocking mode

I am learning ESP32 network programming and I started by writing a simple telnet server. It uses a WiFiServer object to listen on port 23 and just log anything it receives to the serial monitor. ...
John Rennie's user avatar
-1 votes
1 answer
30 views

Arduino Nano Keyboard. Keys keeps pressed

I'm new in coding with Arduino, and I am trying to make a one hand keyboard with joystick as personal project. I tried to make it print some ASCII characters, but I don't know why the button keeps ...
Burritodeltodo's user avatar
-1 votes
0 answers
21 views

ESP32 Serial Bluetooth incompatible with deep sleep?

im new in this world with ESP32 and im trying to make an sensor who can detect if there is a change in on GPIO and send the number of changes via Bluetooth. The sensor must be battery powered so i ...
RomeroRai's user avatar
-2 votes
0 answers
31 views

avrdude programmer is not responding [duplicate]

avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x38 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() ...
Phúc Bùi's user avatar
0 votes
0 answers
42 views

Why does the SPI bus with 2 devices crash in this setup?

I am using Feather M4 express development board with DC Motor + Stepper FeatherWing and Ethernet FeatherWing stacked on it. The idea is to control the steps of the stepper motor by reading the encoder ...
dreamcoder's user avatar
0 votes
2 answers
58 views

Using ArduinoModbus library to read a holding register with value -1

client.read() function in ArduinoModbus library returns -1 on failure: https://www.arduino.cc/reference/en/libraries/arduinomodbus/client.read/. How can it be used to read a holding register with ...
Paul Jurczak's user avatar
-1 votes
2 answers
81 views

How 2 bytes can produce negative number, mind blowing?

I am trying to use LoRAWAN and sending tempurature values as less bytes. I found that way and tested it works fine it can send negative and positive numbers as 2 bytes instead of "float" as ...
mehmet's user avatar
  • 287
1 vote
0 answers
42 views

Using RN-42 as HID Mouse

I am using RN-42 with Arduino Micro and able to connect RN-42 in HID mode and it's connected to the PC as Mouse. I am using BPLib (https://github.com/witnessmenow/BPLib) for Bluetooth communication. I ...
Abubakar's user avatar
0 votes
0 answers
42 views

Intermittent success on writing to 32-bit holding register with Arduino Modbus TCP

This code compiled with Arduino IDE 2.3.1 and running on Atmel SAMD51P20, writes to int32_t register through Modbus TCP and initially fails, but after a number of iterations succeeds half of the time. ...
Paul Jurczak's user avatar
2 votes
1 answer
51 views

Which Arduino CMake Toolchain should be used?

I am working on an Arduino UNO board and I want to build my Arduino sketch with CMake. It looks to me there is no official Arduino toolchain version to go by, and I found at least three available ...
y3zh's user avatar
  • 123
0 votes
0 answers
33 views

How do I turn a .hex read from the flash of an Arduino Nano into a human readable format?

At work we have a thing (irrelevant) driven by an arduino nano, the thing in question stopped working and it would be useful to pull the code off of it and potentially rewrite it. I have retrieved a ...
hakkulinen's user avatar
2 votes
1 answer
127 views

timers interrupt is not working in esp32s2 board

C:\Users\Admin\AppData\Local\Temp\.arduinoIDE-unsaved2024610-7740-sfbutd.e9d77\sketch_jul10a\sketch_jul10a.ino: In function 'void setup()': C:\Users\Admin\AppData\Local\Temp\.arduinoIDE-unsaved2024610-...
SARANYA Potloori's user avatar
-1 votes
0 answers
25 views

Master en Slave 2 wires motor control [closed]

I am a beginner in the Arduino world. I want to control motors via master and slave 2 wires. But I have the code that works on a single Arduino. Now I don't know which code I need for master and slave....
lu me's user avatar
  • 1
-1 votes
1 answer
29 views

I2C Scanner does not recognize LCD screen with 1602 I2C module

I'm sorry to ask this, as it has been asked many times, but I can't get the Arduino micro board to recognize my LCD screens. I've tried using two different LCD screens and two different Arduino micros....
Bilal Bahadır Akbulut's user avatar
-1 votes
0 answers
49 views

Wireless bidirectional communication between two arduinos

I am working on a project where I need to wirelessly send and receive CAN-FD frames between two Arduino UNO WiFi Rev2 boards. My current setup is an access point (raspberry pi 5) creating a closed ...
newbie's user avatar
  • 1
1 vote
0 answers
45 views

FTDI with STM32

I'm using the Arduino IDE to program my STM32 using an ST-Link. Everything works fine, but I can't receive any data from the STM32 in the Serial Monitor. So, I decided to use an FTDI232 for serial ...
user avatar
-1 votes
0 answers
30 views

How would I write a 2min timer with an ESP32-Dev Board

I'm trying to figure out how to use the timers for my esp32 board. I want the board to boot, wait 2 min and then have the board go back to deep sleep. I don't want to use a delay because I will be ...
Joshua Post's user avatar
0 votes
0 answers
56 views

Pro Micro: visually distinguish 3.3v from 5v?

I found a few Pro Micros in storage. The voltage type is not marked on the back. I can measure the VCC with a voltmeter, but is there maybe a quick way to visually tell apart 3.3V from 5v?
MrSparkly's user avatar
  • 179
1 vote
1 answer
68 views

How Do I Get Started With ATtiny85 in 2024?

I recently purchase a ATtiny85 from ebay https://www.ebay.co.uk/itm/375425498292 as I wanted to make a diy volume controller for my computer, but its become apparent that's its more difficult than its ...
M0n5terBunny's user avatar

15 30 50 per page
1
2 3 4 5
497