Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

How i can create a Json Array with double values and 2 decimal point using the ArduinoJson Library? https://arduinojson.org/v6/how-to/configure-the-serialization-of-floats/ In the folowing small ...
Carlos Costa's user avatar
-1 votes
1 answer
194 views

I have an Arduino UNO R3 where I’ve set Pin 13 to “HIGH” (as shown here) and I’ve connected an LED to Pin 13 and GND which glows brightly using a USB attached to my MacBook Air providing (I think) 5V. ...
user220704's user avatar
2 votes
1 answer
3k views

I have a teensy4.1, with a 16 by 2 LCD screen, and an I2C LCD interface. I was trying to write a bunch of custom characters to an LCD screen, to flip some text. my issue is that it works fine, but on ...
j0h's user avatar
  • 902
1 vote
1 answer
103 views

My code represents a water level sensor, and the components are the Arduino Uno, a breadboard, an ultrasonic servo and two LEDS in which one is red and the other is green. The condition that I don't ...
Rafaelle Duarte's user avatar
-1 votes
1 answer
205 views

So I asked this question a couple days ago but did some more work with some of the coding, but I'm really stuck and need some help. I'm trying to display the temperature for each separate thermistor ...
GarthDanti's user avatar
0 votes
1 answer
278 views

One of my biggest questions concerns coding a Hall effect sensor to find wheel speed with an arduino mega. I’ve got an lcd in digital pins(7,8,9,10,11,12) and a Hall effect sensor in digital pin 2. I ...
Aarav Shah's user avatar
3 votes
1 answer
3k views

I'm building an arduino program on linux, using the following Makefile: ARDUINO_DIR = /usr/share/arduino BOARD_TAG = uno ARDUINO_PORT = /dev/ttyAMA0 ARDUINO_LIBS = Wire include /usr/share/arduino/...
php_nub_qq's user avatar
1 vote
1 answer
863 views

As a complete newbie, after much looking for the best bargain, I ended up buying one of these UNO R3 clones, without realizing it had the chip soldered on the board. It looks like this: It works OK ...
Pere's user avatar
  • 121
0 votes
2 answers
279 views

Hi dears I want help I’m in begging in programming. I want use more than 64 analog pin for ldr photoresistor in single reading. Because I can’t use digital pin 0-1. Any methods I can use ,,,, And ...
Moosa Alismaili's user avatar
-1 votes
1 answer
2k views

Hi professers, i am trying to read the data from DDSU666-H ( Smart metter) CHINT using modbus RTU, i only get the raw data but i don't know how to convert it to float , in the code below is about ...
HẢI HỒ's user avatar
3 votes
1 answer
1k views

I am trying to create a program that runs 4 LEDs sequentially while also being able to do other things with different inputs and outputs. Because of this, I am using the millis function and not the ...
Myles's user avatar
  • 73
-1 votes
1 answer
124 views

I am a beginner to Arduino, and I'm having a problem in a project that I am currently working on. I was just beginning to write the code, after preparing the components and the wiring, and suddenly ...
lolflexgameplays's user avatar
0 votes
1 answer
4k views

(Backstory) So, I took an computer engineering class in high school (grade 11 level), where I learned a bit about breadboarding as well as arduinos (I would like to stress a bit). It has been 5 years, ...
Dezter's user avatar
  • 3
1 vote
1 answer
154 views

I'm making a project where a 2 channel RF keyfob (433Mhz) controls an led using arduino nano. As for the hardware everything works and I have tested it with the example decoder code and it works fine. ...
Kokachi's user avatar
  • 123
0 votes
2 answers
93 views

I have some arduino code where I am trying to pull information from four different locations. Three are working great and the fourth I am not getting any response. These two strings work perfect in a ...
rlgjr562's user avatar
1 vote
1 answer
160 views

The code I use probably has a math problem since an Arduino can only count a 16 bit integer. This problem is with the WeekDelay() function. The project is for an Aerogarden. It pumps water into the ...
alexlikesallthegamez's user avatar
1 vote
1 answer
340 views

In my project I have to control a stepper motor using arduino and microstep driver, can I control the motor so that it can move 90 degrees then stop for like a second and then move again and repeat ...
master mind's user avatar
-1 votes
1 answer
190 views

This is the code. The /// are where I added the countdown. Unfortunately the countdown only goes down 9 seconds. What I want it to do is go down the full 24 hours. I have been trying to fix this error ...
alexlikesallthegamez's user avatar
2 votes
1 answer
101 views

This code compiles without problem, but doesn't work at all... The switch does not set the LED low and the while loop doesn't work, plus the serial print doesn't print.... Until I put the while loop ...
Chaspuss's user avatar
1 vote
1 answer
101 views

I'll start saying that I don't have much experience working with Arduino and programming in C. I have an Elegoo Arduino UNO clone. Recently I was trying to build a morse encode which converts a text ...
luigi's user avatar
  • 63
0 votes
1 answer
328 views

I have this long, Serial.println() that is in quotes, on multiple lines. Arduino IDE warns: "Missing terminating character". I am certain there is a way to break the lines up, while having ...
j0h's user avatar
  • 902
3 votes
0 answers
130 views

Hello I have a question on why my port is grayed out when I go to upload? I’ve watched so many YouTube videos on what’s the problem and have been trying to do everything but just nothing seems to work!...
Tommy Serluca's user avatar
1 vote
0 answers
32 views

sorry to ask this but I am very very new to Arduino. My project aims to collect the skin temperature by 18B20 and the heart rate & SPO2 level by MAX30100. I have tested the codes for the ...
Isaac's user avatar
  • 11
-1 votes
1 answer
73 views

The first time, pow() works. But inside of a 'for loop', or again afterwards, it doesn't behave !? (I'm using a Chinese Pro Mini with Arduino 1.8.16) EDIT To clarify what I am asking, my question is:...
TRS-80's user avatar
  • 21
0 votes
1 answer
2k views

I'm trying to build arduino nonce generator, but the only thing I found is this question on arduino forum but I can't find out how to make it work for me. I checked and Serial.available() is always 0 ...
krystof18's user avatar
  • 315
1 vote
1 answer
337 views

Over the past few months, I've been working on a wearable computer mouse using an Arduino and a 9-dof sensor. Most of the sketch is complete, and works as expected. Recently, I started investigating ...
Zhelyazko Grudov's user avatar
0 votes
2 answers
2k views

The following code reads the DHT22 temperature and humidity values, assuming the pin value as the sensor's host pin. When the temperature drops below 0°C, this code returns inadequate values in the ...
Starter's user avatar
  • 153
1 vote
0 answers
292 views

In Library Manager RTClib and DS3231 work somehow with older versions. RTC time can picked only once and then it give bullshit. Using newest versions screen is empty. In picture first time is right, ...
Petri Hietala's user avatar
2 votes
1 answer
468 views

I tried to compile the following code (using Arduino 1.8.16 with an esp8266-12) extern volatile unsigned long timer0_millis; unsigned long new_value = 0; void setup(){ //Setup stuff } void loop(){ ...
TRS-80's user avatar
  • 21
-1 votes
1 answer
101 views

I am testing on an Arduino UNO. I want to use timer1 and interrupts to create various LED patterns. The LEDs may span multiple ports i.e PORTB and PORTD. I want to use a "volatile uint8_t*" ...
Tommy Ray's user avatar
1 vote
0 answers
92 views

I have made an irrigation system using Arduino. Timer program is based on comparing the previous Millis() and current Millis(). I want to know the chance for error when the currentMillis() overflows ...
Prakash K K's user avatar
1 vote
0 answers
143 views

I'm super new to the c++ programming world (currently taking the class now) and I'm in need of some assistance with some coding that's way beyond my knowledge at the moment. I have to write a code for ...
Erin Trolinger's user avatar
0 votes
1 answer
59 views

Heres the code i've Wrote i feel like the issue lies in how ive used the if statement int ledPinS = 13; //Classifies pin 13 as Connected to an LED //Flashes every second int ledPinM = ...
Ben Seaman's user avatar
-1 votes
1 answer
335 views

My initial question assumes it is possible to emulate the original GameBoy system using an Arduino board. Additional information in non-technical terms: I am looking to create an Arduino based device ...
People Call Me Adam's user avatar
0 votes
1 answer
696 views

Hardare used: Arduino nano ( old Bootloader ) Oled Monochrome Display ( 4 pins, 128 x 32 ) MPU 6050 Both display and MPU use A4 and A5 as I2C communication protocol, They interfere, as the MPU is used ...
Aliph Null's user avatar
3 votes
1 answer
2k views

well... the problem starts from the time that I accidentally touched the crystal on my arduino and all of a sudden everything messed up; the leds on arduino turned on and off while being touched, and ...
Alireza's user avatar
  • 31
-1 votes
1 answer
149 views

My sketch below is simply using a touch sensor to activate a servo motor to go from from initial position 0 to 180 then back to 0. then I want the Adruino NANO to go to sleep to conserve some battery ...
Anthony's user avatar
1 vote
0 answers
183 views

Basically I have a keypad, that when a certain code is entered, it will write either "Wrong code" or "Good code" on the LCD. At the same time a timer will count down until 0 is ...
GeorgeWTrump's user avatar
2 votes
4 answers
222 views

I'm trying to follow lesson 6 of the Adafruit Arduino lessons on digital inputs found here. I have the same code and the board setup the exact same and the code it is working exactly as it should. I ...
Peter's user avatar
  • 31
2 votes
1 answer
492 views

max30100 i2c sensor gives heartrate and spo2 reading in serial and also can show values in lcd display. I want to show it's indication via LED. If SpO2 value <94 , it will turn on Red led in ...
Sayzar's user avatar
  • 23
-1 votes
2 answers
143 views

I'll start off by saying I'm very very new to coding, so please bare with me. I'm doing an assignment where the task is to create a traffic light system, but blocking delays aren't allowed. I have ...
Massi's user avatar
  • 1
10 votes
4 answers
2k views

I have a pair of potentiometers, on the Arduino, the output seems to drift, by one or 2 digits, back and forth. I would prefer they were read as one fixed value, without variation when their knobs are ...
j0h's user avatar
  • 902
1 vote
2 answers
743 views

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/ ...
oldbin's user avatar
  • 11
2 votes
2 answers
262 views

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 ...
j0h's user avatar
  • 902
1 vote
1 answer
582 views

I have a CNC router table that came into my local makerspace. The board looks like it has some standard parts, but also has some parts I don't recognize. At the heart of it is an Arduino Uno. I would ...
j0h's user avatar
  • 902
0 votes
1 answer
189 views

I have this simple program, where I am implementing a menu structure on an OLED display and a rotary encoder. The code works functionally as intended, however when I add more menu items, then I get ...
Thomas Hirsch's user avatar
2 votes
1 answer
5k views

Hello I am new to Arduino and C programming. I wanted to parse string using sscanf fuction This is my Program String hith; int field1,field2; float field3; int F1=0,F2=0; float F3=0; int h1,h3; float ...
VISHAL M's user avatar
1 vote
1 answer
2k views

import muvium.compatibility.arduino.*; public class Class0 extends Arduino{ /* Author: First Name MI. Last Name Date: June 25, 2021 Title: Arduino Experiment 2 Description: Writing to the Output ...
Anonymous Question's user avatar
2 votes
3 answers
233 views

This is the code that I used. Actually, I use to code: for Arduino sofware and processing IDE software. Arduino Source Code/Program: #include<LiquidCrystal.h> // lcd Header LiquidCrystal lcd(7,6,...
Christian Marasigan's user avatar
1 vote
0 answers
95 views

I have a screen just like this (is the datasheet). My question is, Can I use it to an Arduino board?
Wolffyx's user avatar
  • 21

1 2
3
4 5
34