All Questions

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

How to fade LED in a defined time using FastLED

I'm using FastLED library, Arduino Nano and 5 addressable LEDs (WS2812B). I'd like to create the sequence in the image attached. (all in white color for example) I know how to turn ON each LED every 0....
0
votes
1answer
24 views

Arduino Reset via Software (every day)

Dear Stack Exchanger's, I want to reset my Arduino and system in every 24h for preventing frozen software and also other connectivity stuffs. I wrote a program which connects a digital pin to reset ...
0
votes
1answer
20 views

Find OK or ERROR in serial string

I am trying to figure out how to capture the OK or the ERROR from a SIM800l. I have tried mySerial.println("AT"); while (mySerial.available() > 0 ) { String str = mySerial.readString(); ...
2
votes
1answer
194 views

Read serial with header and end marker

I am trying to use Topway display for HMI lcd with Arduino. This display using RS232C protocol at docs it has a "Communication Packet Structure" like this. So my query should start with AA ...
1
vote
1answer
37 views

How to fix serial communication problem between Arduino UNO and sim900A

I've connected the arduino UNO to the sim900a. But after checking the serial communication between the two I keep getting these output. Here is the connections and code that I used #include <...
1
vote
2answers
42 views

how to config the Arduino ADC'S input on A0 instead of use default?

I am try to build this AC-DC meter, the code original used default A3 as input, how can change the input on A0? the link: https://simple-circuit.com/arduino-autoranging-ac-dc-voltmeter-with-trms/ ...
0
votes
0answers
51 views

I am building a coin operated machine and am using arduino uno its working but i have to press the switch twice for credit to show on seven segment

int pin1 = 8, pin2 = 9, pin3 = 10, pin4 = 11; volatile byte num = 0; int coinPin = 2; void setup() { Serial.begin(9600); attachInterrupt(digitalPinToInterrupt(coinPin), inc_counter, RISING ); ...
2
votes
2answers
77 views

how can I accurately recieve potentiometer values over the USB port?

I want to read the analog values of my ardunio uno into a separate c++ program. On the Arduino I have a serial port initialized for 9600 baud: int sensorPin = A0; // select the input pin for the ...
1
vote
0answers
28 views

How to attach plate to stepper motor? [closed]

Total noob here (never touched Arduino before today), & have pretty much no hands-on technical experience (although with lack of experience, I make up in enthusiasm to learn!) Question: How do you ...
0
votes
0answers
9 views

Mosfet REALLY slow closing speed [migrated]

I'm making a 400v adjustable buck converter, controlling it I'm using an ESP32, for some reason if I set the PWM frequency to higher than just 200Hz and a bit rate of 4, the MOSFET doesn't close in ...
1
vote
2answers
52 views

Accelerometer value meaning

I'm currently using the MPU-6050 accelerometer to receive the acceleration and angular velocity data. I'm trying to process the data for my experiment but I can't understand the exact meaning of it. I ...
0
votes
0answers
39 views

Communication from Ably to MQTT [closed]

I wanted to know if there is an example to do it the other way round, that is from Ably to MQTT. I need this for my IoT application where I am trying to send an instruction to change the sensor value ...
0
votes
0answers
7 views

TP4056 charging module out+ and bat+ pins connected? [migrated]

I want to power my NodeMCU through a Lipo battery, I found out that I can use TP4056 module to charge the battery and connect the load of the battery i.e. the NodeMCU to the out+ and out- pins of ...
0
votes
0answers
6 views

Arduino EMF detector / non-contact voltage detector [migrated]

I am trying to build an EMF detector or non-contact voltage detector based on an Arduino to be used as a prop. The detected EMF value should be read from an analog input and based on the level, 1-5 ...
1
vote
1answer
153 views

Pro Mini - Using RAW pin for 3.3v input

I design a PCB that one of its components is a 3.3v Pro Mini. Since I want it versatile regarding powering the PCB (3.3v or 5.0v) I want to know if it is a good practice to supply 3.3v to Pro Mini's ...
0
votes
2answers
27 views

SIM800L and UNO can't request web page

I know this module is super old but the network I am on still uses GPRS so should work. This is the module: I am using the Adafruit example scipt FONAtest. I can connect to GPRS <--- SHUT OK ...
2
votes
2answers
59 views

MPU6050 does not give output

I need help getting my MPU 6050 to actually give me data. As of right now, my program is only reading 0s from the gyroscope and when I move it, the values all go to -1 and the program just stops until ...
0
votes
0answers
85 views

I need all these codes in one single code 1) Relay 2) Motorised ball valve 3) Ultrasonic sensor [duplicate]

I have three separate codes for relay, motorized ball valve and for ultrasonic sensor. I am unable to run all the three codes at once in same serial monitor. I am pasting all the three codes below. MY ...
1
vote
1answer
47 views

ESP32 and SQLite - ALTER TABLE problem

I'm using an ESP32 and SQLite3 from https://github.com/siara-cc/esp32_arduino_sqlite3_lib Everything is OK except the ALTER TABLE command. When I try ALTER TABLE TAB_JOUEUR RENAME TO ...
1
vote
2answers
65 views

How to read wireless doorbell's indicator LED circuit

I have a cheap wireless doorbell. My plan is to include an ESP8266 and power the doorbell from the microcontroller 3.3V output as the doorbell also runs on 3V I specifically chose a model with a LED, ...
2
votes
2answers
100 views

As a novice, how do I program my Atmega328p?

I bought a board which the above MCU is the atmega328p. Since I haven't used atmel MCU before, now it's a bit confusing. Are the ATMEGA and STM32 programmers not universal? What programming methods ...
6
votes
3answers
2k views

Arduino and fingerprint scanner - can I get the fingerprint scanner data?

I am currently planning a thesis that involve scanning fingerprints and storing the data in a database. The problem is that I do not know if it is possible for me/us to get the fingerprint data or ...
2
votes
2answers
43 views

How to control Shift registers output individually bitwise

so i am working on a project which needs a lots of bit manipulation and shifting out the bits to control the pins of shift registers individually. So i am using 2 shift registers daisy chained with 16 ...
1
vote
1answer
19 views

Using Arduino LMIC library with EnableInterrupt

I am using the EnableInterrupt library, infact the only library that I can find that allows me to use six interrupts to wake the Arduino. However when I use it with the LMIC library (Matthijs Kooijman ...
2
votes
0answers
25 views

SD Card Initialization Failed, cannot add inactive module

Just to preface I am not that great at coding or anything and I am currently building sensors off of Oregon State University's Smart Rock sensor code, so the code I am being used is not mine. I am ...
1
vote
1answer
53 views

how to write a program in Arduino that pairs a single Rx to multiple Tx modules? i want to learn implementing this protocol

I have two Attiny85 communicating over 433mhz radio (Rx & Tx on either ends) using virtual wire library, how will the programming be to pair them by the press of a button on either module ? i have ...
1
vote
0answers
43 views

when programs starts running the buzzer continusly ringing any one help me plz

#include <LiquidCrystal.h> LiquidCrystal lcd(7,6,5,4,3,2); // lcd(RS,E,D4,D5,D6,D7) int buzzer = 1; int sen1 = 10; int sen2 = 11; unsigned long t1; unsigned long t2; float t; float speed; int ...
-1
votes
0answers
27 views

Optical character recognition [closed]

I am busy with fake money detection project and I was wondering, if USB camera and Arduino communicate? can it command to capture images, to recognize numbers, and do comparison? help
1
vote
0answers
40 views

number recognition [closed]

can USB cam and Arduino communicate. to recognize numbers, and do athematic operations? Thanks in advance.
0
votes
0answers
34 views

MIDI in/out via ESP32

I'm trying to do MIDI in and out on an ESP32 (Wemos mini esp32, with the Arduino SDK). This fails: I'm not receiving any data and also transmitted data is not accepted by any MIDI device (it won't ...
1
vote
0answers
29 views

PZEM-004T can't read current

I'm trying to measure the current, voltage, and power of AC load using Peacefair PZEM-004Tv3.0 module. For the serial communication of this module, I'm using SoftwareSerial Pins 2 and 3 on Arduino Uno....
1
vote
0answers
23 views

Driver configuration not showing the right numbers on the Graphics Test example's serial monitor for Adafruit IlI9341 library

I have a 2.8" Color TFT Touchscreen from Adafruit, and I'm currently trying to set it up. I've been following this guide to set up the screen. The screen powers on when connected to power, but it'...
1
vote
2answers
62 views

Can bool variable be NULL

I want to know if bool variable can be null, or it must have to be true or false: Base on Arduino description: A bool holds one of two values, true or false. (Each bool variable occupies one byte of ...
1
vote
1answer
45 views

How declare a library in to the class

I would like know where to declare any library class such as MCP342m.h library in my class. Since I am getting error. EX: h file #ifndef VOLT_H #define VOLT_H #include <Arduino.h> #include "...
-1
votes
0answers
23 views

Bypassing Arduino Micro Controller for sending HIGH and LOW signals for RF module [migrated]

So I am using the super cheap and inexpensive Arduino RF module (I will attach link at the bottom for more info). I know that if I plug it into my arduino mega and send the transmitter a 1, it will ...
1
vote
0answers
57 views

Control Voltage from 0 to 20V (somewhat linear)

i am quite a novice in electronics/microelectronics and i would appreciate any help! Here is my problem: I want to have a linear voltage curve, programmed with my arduino. Starting from 0V and ramping ...
5
votes
3answers
774 views

How do I make another action repeat inside a loop?

So, I've just started programming Arduino (and also in general), so I'm doing basic things, like switching on and off LED's. I've made them light in a sequence and then turning them off (in the same ...
1
vote
0answers
29 views

Arduino MKR NB 1500 websockets

I am trying to implement websockets for MKR1500 and I am having trouble finding a perfect example to implement it. Can someone guide me to an example that works with MKR1500?
0
votes
1answer
61 views

RaspberryPi Pico SPI and nrf24l01

I am programming a RaspberryPi Pico with the Arduino IDE. Works pretty well, but now I try to control an nrf24l01 module. My code compiles but I do not know on which pins the SPI bus has to be hocked ...
1
vote
1answer
49 views

Replace CH340 With FTDI

I have built a arduino midi octapad with a Clone of arduino nano that contain a ch340 chip but hairless midi says FTDI driver doesn't installed i installed that driver but it still show that error so ...
2
votes
1answer
56 views

consecutive analogRead()

Has anyone noticed that if calling analogRead() in a consecutive way that the value drops by a bit as opposed to just doing a single read? And is this to be expected? I am using a Seeeduino XIAO.
2
votes
1answer
50 views

I am in need of a usable communication library on 1-4 pins of ATTiny84 instead of I2C

I messed up when designing my PCB and just assumed that I could use software slave I2C with ATTiny84. The reason I did so is - I needed to use all of the analog inputs. The pins I have on my ...
0
votes
1answer
30 views

ESP 32 unable to connect to https website and return the data using GET

I have created a ThingHTTP below: https://api.thingspeak.com/apps/thinghttp/send_request?api_key=BVLJ7A6KNK9VVAYK In my browser I could see the reply. But I am unable to make this work in my ESP32. I ...
1
vote
1answer
58 views

How to gradually increase and decrease the speed of a motor using IR remote

I am making an IR controlled helicopter and I have the very basic part of the code done, but I don't know how to make the motor gradually increase speed. I want the motor to gradually increase speed ...
1
vote
0answers
45 views

Does this use and charge LiPo battery at the same time works with 8.4V battery also?

I came across this 4 year old post where this circuit below was the answer to use and charge a 3.7V Lipo Battery. POST I´d like to know if this circuit would need any change to be able to charge a 8....
1
vote
1answer
85 views

ESP-01 Chip getting hot after connecting CH_PD to 3.3v

I am new to esp8266, Sometime when I connect CH-PD to 3.3v, esp chip starts getting hotter and everything stops working this is completely random so I don't know what causing it.
0
votes
1answer
34 views

Modbus rtu data decimal to float conversion

Hi,am trying to communicate with power-factor controller [Selec APFC 148-312] using modbus RTU,am following example sketch from modbusmaster library. am able to get the raw data from the instrument ...
2
votes
1answer
89 views

CH340K - Unknown USB Device (Device Descriptor Request failed)

I have a Arduino Nano clone working fine with the CH340 drivers. It has a CH340C on it. I made a custom PCB. CH340 chips are hard to come by these days, so I opted for the CH340K, From the datasheet, ...
0
votes
1answer
41 views

Can I pass data from an Arduino Nano to a Websocket Server via USB?

I have an Arduino Nano, and a local Java WebSocket server (ws://localhost:8888) run by a .jar file on my computer. I'm wondering if it's possible to send data (text, numbers etc.) from the Arduino ...
1
vote
2answers
71 views

Problem with first two samples of serial data received by RPi

I'm trying to receive a string from an Arduino to a Raspberry Pi via a Bluetooth socket connection (RFCOMM). I'm using an HC-06 Bluetooth module, an Arduino UNO R3, and an RPi 4 Model B. For the ...

15 30 50 per page
1
2 3 4 5
477