All Questions

Filter by
Sorted by
Tagged with
-1 votes
1 answer
55 views

variable 'LiquidCrystal_I2C lcd' has initializer but incomplete type

I have a problem with lcd, I have NUCLEO64 L746RG , I have Lcd Display and I2C connected to it. When I verify code it gives me and long error and I can not find the solution or cause of this error: ...
-1 votes
1 answer
16 views

Having an issue with the Dreading input, it should play the buzzer but it doesn’t [closed]

#include <AdvancedSevenSegment.h> #define LED_PIN4 int tempo = 88; //speed of melody int Pin = 6; // input of button int APin = 7; // ...
1 vote
1 answer
25 views

How to compile Arduino-ESP32 core with ESP_LOGx

Why? In Arduino IDE you can set the core debug level, however, this only sets debug level for files in Arduino-esp32 but the core which is distributed as a precompiled library in .sdk files, located ...
-1 votes
0 answers
42 views

Bitshifting more than 32 bits

I am trying to work out how to bitshift on a 64-bit variable, I am trying to recreate a serial number retrieved via I2C, the thing is that when I print out the data, only the 32 least significant bits ...
1 vote
1 answer
65 views

What is the raw value & scale value functionality of analog read() of ESP32 ? (Provided for UNO for reference)

What is the difference between ESP32 Dev kit & Uno for analogread() Function? As Uno -0 to 1023 As Esp 32 Dev Kit -0 to 4095 So what will be the raw val & scale val ? For UNO - int Rawval = ...
  • 11
-1 votes
1 answer
47 views

Strange Character In Tempurture Reading [closed]

Can anyone identify this character?
-1 votes
1 answer
25 views

How do you reset/end an input data through keypad? Arduino Uno Pet Feeder [closed]

I am currently building an automatic Pet Feeder using Arduino Uno. What I wanted to do is, after I input the necessary data (the days. hours, and minutes), I want to stop the loop of days until it ...
-1 votes
1 answer
50 views

Camless Engine Project [closed]

I'm trying to run a camless engine and I need to track the angular position of the crankshaft of the engine. For that I have a wheel with 30 magnets attached to the crankshaft so that when the wheel ...
-1 votes
1 answer
112 views

How to power LILYGO ESP32-S3 1.9" T-Display without USB?

Noob question, I'm sure, but - I have one of these little LILYGO ESP32-S3 1.9" T-Display boards. Linked up with my PC, downloaded my code, runs fine, but I can't get the thing to power up from ...
  • 1
0 votes
1 answer
34 views

Tools > Board settings: how are they captured?

In the Arduino IDE, the Tools menu can be used to make some board-specific settings like this: ... such as Processor Version = "Atmega168P", Processor Speed = "16MHz Crystal Resonator&...
  • 338
0 votes
1 answer
77 views

Why is my analog output limited to 2.7V?

I have an MKR WIFI1000 (v2.0 [Arduino:XYZ]) with a "real" analog output pin (DAC0/A0/PIN15). According to the documentation, this is a 10 bit DAC, so I assume I can write analogWrite(15, ...
-1 votes
0 answers
29 views

Grove OLED library not active due to Tetrix prizm library interference

Hardware: Pitsco Tetrix Prizm https://www.pitsco.com/TETRIX-PRIZM-Robotics-Controller Pitsco Tetrix Teleop https://www.pitsco.com/TETRIX-Tele-Op-Control-Module 12 V battery https://www.pitsco.com/...
1 vote
0 answers
37 views

Problems using HC-SR04 with LED displays

I'm having problems using an HC-SR04 ultrasonic sensor in conjunction with an LED display module. The sensor appears to work fine when outputting values to the serial monitor, measuring distances up ...
  • 111
1 vote
0 answers
22 views

Megaboard Problems about pySerial Communication from Python to Arduino

I asked same question on another forum, but i need more opinions and advices. I wrote a simple Python code and Arduino code. In my code, the Excel matrix data is loaded into Python, then converted ...
  • 11
0 votes
0 answers
28 views

Esp-now reacting like bloating in Many-to-one setup

I have project which 3 esp01 controller and 1 nodemcu 12-E receiver which gives scores. Trying to read all input freely from controllers but when i use 3 at same time or pressing button too quickly ...
1 vote
1 answer
79 views

Arduino + HC-05 Problem: AT Commands are not working

Device: Laptop, HC-05, Resistor 2.2k and 4.7k, Arduino Uno R3 So im trying to rename and change password of my HC-05. for full detail schematic diagram. Here(the difference is, i also used the STATE ...
1 vote
1 answer
48 views

Need help figuring out how to organise a system to run a stepper motor at low speed without Steps-skipping

TL;DR : How to prevent step-skipping with a NEMA gearbox motor at low speed. I am in the process of creating a system in which I want an object to turn on a plate and to show a letter depending on the ...
-2 votes
2 answers
90 views

Error coming from specified code

Error Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno" AnalogInOutSerial:8:56: error: no matching function for call to 'PID::PID(int*, int*, double*, double&, double&, double&,...
  • 11
0 votes
0 answers
63 views

ESP32 Async Web Server hanging / queue

I was hoping someone might be able to help me with a project I'm working on. The general set-up is as follows: I have an ESP32 hosting a WiFi server and publishing data from a bunch of sensors. // ...
1 vote
2 answers
50 views

Arduino MEGA - How to send and receive data asynchronously?

i am newbie to this so i hope i can explain my problem clearly; Arduino MEGA connected to PC via USB port. I am using an encoder to trigger function to send data to pc, data is a simple string "...
-1 votes
1 answer
75 views

Serial port stops receiving data after random amount of time

EDIT: Things I have tried so far: Increasing the baud rate, but this didn't make any difference as it still continued to stop receiving data after random amount of time. I tried testing one sensor ...
-1 votes
1 answer
71 views

What is the difference between ":i" and ":a" in avrdude command?

What is the difference between :i and :a after my hex file path in avrdude command. avrdude -C C:\Users\santi\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v ...
2 votes
1 answer
61 views

Unable to flash arduino pro micro from Terminal

I am trying to upload an hex file to my arduino pro micro using Avrdude . The thing is that I cannot upload any code using the Avrdude terminal commands , but when I use arduino IDE to upload any code ...
1 vote
0 answers
95 views

Arduino Nano BLE 33 Sense receives but not able to transmit data to XBEE Pro S2C

This is my first time asking a question so I will try my best to be precise and detailed. I had recently started to work on a project that requires me to establish a wireless communication between two ...
-1 votes
1 answer
40 views

Arduino 3.3v pro mini, most efficient use of AA batteries for power

I want to use a 3.3V pro mini that uses a BME 280 to take temp/pressure/humidity, and nRF24L01 module to transmit the data, at ?10 minute intervals. I want to use 1, 2,3 or 4 AA batteries to power it....
-1 votes
1 answer
33 views

How to pass Strem object to my class

I'm trying to creaper class wraper to use an Streamobject but I've an error when I try to compile. My .hfile : #include <Arduino.h> class TestSerialListener { public: TestSerialListener(...
  • 133
-1 votes
1 answer
73 views

I don't understand what's wrong with this code [closed]

int ledy = 5 ; int leds = 4 ; int ledk = 3; int button = 2 ; int count = 0 ; void setup() { pinMode(ledy, OUTPUT); pinMode(leds, OUTPUT); pinMode(ledk, OUTPUT); pinMode(button,INPUT); ...
-1 votes
1 answer
26 views

Controll the dc motor that works with 2xAA bateries using 5v

I have a toy that has a dc motor and is runing with 2xAA bateries ( i think it is 3v motor) So i want to run it with 5v power supply. First question: Can 5v damage the motor Second question: i think i ...
-2 votes
1 answer
41 views

Arduino Nano R3 & Deek-Robot datalogging shield

Whilst I am much more at home programming PIC ISR's in assembler, I am building a data logger using a DS1307 to interrupt every second to write data to a USB SD card. There does not appear to be a ...
1 vote
1 answer
75 views

UDPSendReceiveString example using Arduino Due with ENC28J60 Ethernet Module

I was trying to learn how to use UDP protocol to use in my automation project to send commands to an Arduino Due on ethernet with an ENC28J60 breakout board which I have connected to the Due from SPI ...
  • 111
1 vote
1 answer
29 views

Is ESP8266 dropping an interrupt?

I want to use interrupts on my ESP 8266 to monitor the digital outputs of a power meter and water meter. The idea is to increment a counter in the ISRs and at some point to take the value of the ...
0 votes
1 answer
115 views

DS3231 with Arduino Nano for Timing precision

I am in need to synchronize two separate circuit boards working with Arduino nano. The need is to activate one relay using Arduino-1 after 45 min and another relay using Arduino-2 after 45.36 seconds. ...
  • 173
0 votes
2 answers
89 views

Arduino Timer Drift Issue

I have two Arduinos that communicate over serial. Each arduino runs a TDMA algorithm where each arduino is assigned one timeslot. The arduinos should transmit during their timeslot, which does work ...
0 votes
1 answer
147 views

Can I power Lilygo TTGo T-display from 5v and still use USB for communication?

I have a project which needs a 7-9V power source. I use a battery, and plan to use a small regulator to supply 5V to a Lilygo TTGO T-Display V1.1 (1.14 inch display) via the 5V and GND pins. I need ...
-1 votes
1 answer
73 views

Carbon dioxide sensor MG 811

I am using MG811 carbon dioxide sensor with ESP8266 module. CO2 values is being read inside closed room. The value comes around 400 ppm. Using CO2 generator does not make increase in reading. Checked ...
1 vote
1 answer
45 views

Passing function as argument, with capture, what type to declare in function? [closed]

This probably has a simple resolution, but can't find the right combination. I'm trying to setup a function (setupScreen) to take as an argument a function to do the actual setup: void ScreenHelpers::...
1 vote
1 answer
42 views

How do I properly use an ISR inside a class definition?

I want to write a class for a model bike. For controlling the steering I use a DC motor with two encoders. To get the steering angle stAng of the bike, I attach a interrupt to the pin ST_ENC_A where ...
  • 13
3 votes
1 answer
266 views

Direct port manipulation takes 300 nanoseconds to execute for some reason

I have this code #include <Arduino.h> void setup() { DDRD = B00001000; } void delayNanoSeconds(int time){ int ans = (float)time / 62.5; for(int i = 0; i < ans; i++){ ...
-2 votes
1 answer
52 views

Clarification of power-up behaviour of MAX7219 display driver

What is the exact meaning of the Initial Power-Up Section of the MAX7219 data sheet to be found on Page 7? It says: On initial power-up, all control registers are reset, the display is blanked, and ...
0 votes
0 answers
52 views

Capacitance from AD7746 always "saturated"

I'm trying to use AD7746 with an arduino board to continuously measure capacitance (I'm currently using a 2pF capacitor for testing). Datasheet here. I managed to correctly write and read the ...
0 votes
1 answer
798 views

ESP8266 - error after board update to 3.1.1

I'm using a Ubuntu 22.04 and Arduino IDE 1.8.19 for my ESP8266 Projects. Yesterday I upgraded to 3.1.1 (using board library manager), and right after that - I got the following message (few seconds ...
  • 909
-1 votes
1 answer
94 views

Why are ATTiny so expensive compared to ESP modules compared to features they offer? [closed]

I was looking for a cheap MCU solution for a project, apart from being compact, ATTiny doesn't seem to provide much value. I was hoping it is cheaper but nope, They are mostly above 1.5 USD in any ...
0 votes
0 answers
16 views

How can I control the assignment of DMX512 universes to WS2812B physical outputs sequentially

Background I am using an ESP32 that receives sACN/DMX512 universes from a controller and am outputting those control signals to a strip of WS2812B pixels using Adafruit's library for WS2812B and ...
2 votes
0 answers
49 views

ESP32DevkitC-V4 interfacing ADS8698 (18 bit ADC)

I am currently working on an SPI interface to measure the voltage of an amplified sensor bridge signal. I am using an ESP32 module to control the device. Since I am logging the data to an SD card, I ...
2 votes
0 answers
31 views

Lilygo T-Wristband code not working (DRV2605 Motor version)

I am new to this and I have purchased the Lilygo T-Wristband to prototype a watch that will vibrate upon receiving a 1-bit bluetooth signal from an android app. The goal is to allow the user to set ...
  • 21
2 votes
2 answers
88 views

Arudino receiving interrupt command BEFORE entering sleep mode causing it not to receive any interrupt commands in order to wake up

I've written code for an Arduino Nano that when a button is pressed, it sends an IR command. It is set so that if no button press has been received for a period of 10 seconds, it will enter sleep mode ...
1 vote
0 answers
23 views

Problem with Time Interrupts in ESP8266 with water proof depth sensor

I am trying to use an edited version of waterproof depth sensor code from the Arduino blog. It works well on my Arduino Uno board; however, it doesn't work with my ESP8266 board. Is there a way to ...
-1 votes
1 answer
64 views

Using multiple ultrasonic sensors simultanously with the same trigger

I want to use three ultrasonic sensors together and would prefer to use as few pins as possible, so I was thinking of using one trigger for all 3 sensors. The sensors will have an angle of 90 degrees ...
-1 votes
1 answer
40 views

Can an ethernet shield function as an adapter?

I want to communicate with my Arduino over a long distance so I decided to use an Ethernet cable between my computer and Arduino. Searching up a few tutorials I've found them all mentioning IP ...
1 vote
3 answers
139 views

Multiplexing three VFD tubes — why are the segments and the display timing incorrect?

I'm using an Arduino Nano, a UNL2803 IC, and three 2N3904 transistors to drive three seven-segment vacuum fluorescent display tubes (IV-6) in a multiplex configuration. The UNL2803 is used to drive ...

15 30 50 per page
1
3 4
5
6 7
482