All Questions

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

cant get timer 2 to work on PD3

whenever I try to run the PWM code on PD6 or PD5 with timer 0, they work properly. But when I switch to PD3 which works with timer 2, it doesn't work, PD3 is the pin I have to use as I have and LCD ...
Marawan Hussain's user avatar
0 votes
1 answer
14 views

OLED & Functions

I have an OLED set up with my Arduino. It works fine and code displays as it should when I put the code in the void setup() function. However if I create a different function, move the code into it ...
user93652's user avatar
0 votes
0 answers
28 views

Ground loop between USB and voltage divider connected to A0?

Context I'm using an Arduino Pro Micro clone as a HID UPS device for my DIY UPS for my network rack (12V deep cycle batteries, an inverter, and a charger/converter). For the last several week I have ...
kbyrd's user avatar
  • 101
-1 votes
0 answers
25 views

Arduino voltage divider Vx to mm

I am new to Arduino and trying to cope with an assigment for my class. I am using an Arduino Nano board and a potentiometer with 2 resistors as shown in the picture. I am trying to write code that ...
Konstantinos's user avatar
0 votes
0 answers
15 views

Arduino Uno Carrier board not responding [duplicate]

I have a Arduino uno and Whenever I try to upload code it gives me this error Sketch uses 5804 bytes (17%) of program storage space. Maximum is 32256 bytes. Global variables use 238 bytes (11%) of ...
Divyansh undley's user avatar
-1 votes
0 answers
53 views

Looking for best methods of remaking the code without changing its functionality, but reducing the code amount by ~10 times [closed]

Can anybody help me with examples of code with matrix? or: How is the approach to optimize code relative to my example with using "switch case" to "arrays"? Without changing its ...
Vladistone's user avatar
0 votes
1 answer
32 views

GPS module Serial.begin value

I've disassembled a drone and found a GPS module. I want to use it. I haven't found any information about the architecture and the Serial.begin value I have to use. Could I break it if I tryieda ...
drMAIN's user avatar
  • 1
-2 votes
0 answers
22 views

How to power a microcontroller with solar power? [closed]

I want to power 4 microcontrollers (Uno, Mega, ESP8266 and ESP32) but I do not know the recommended specification required for them. What I read tells me that I should plug in XX volt (DC power source)...
Marifin -'s user avatar
1 vote
0 answers
21 views

Feather M0 RFM69 serial over radio IP over serial works for UDP packets but fails for TCP sessions

I'm trying to build a serial over radio transmitter module using two Feather M0 boards with RFM69HCW chips on board. As a test I'm trying to run a slip IP over serial session. This seems to work ...
Lukas's user avatar
  • 11
-2 votes
0 answers
23 views

Здравствуйте почему у меня не выделяется зелёным команда OUTPUT? [closed]

There is no color highlighting when entering a command.
Кудин Андрей's user avatar
-1 votes
0 answers
41 views

Teensy 4.0 is not recognized by xbox 360 as a usb keyboard [closed]

I'm not a programmer, I am also not a hardware engineer... so explain like I'm 5 if you can. Background- I found an old xbox 360 at goodwill. It has parental controls. I thought it would be a fun ...
Maggotcakes's user avatar
0 votes
0 answers
31 views

Arduino IDE 2.2.1 stuck in blank and does not let me write or load any code, no board is detected either

I am new at programing with Arduino have done some basic stuffs with it. Today, when I tried to open Arduino IDE again to do a new project I found out that it wouldn't let me write any code on it. It ...
George1234's user avatar
-1 votes
2 answers
37 views

Do I connect multiple I2C units to the microcontroler in series or parallel?

I have a project (still planning) with three I2C sensors: GPS, 3-axis gyro+accelerometer, and OLED. Do I connect SDA/SCL in series, or do I connect them in parallel?
Marifin -'s user avatar
-1 votes
0 answers
17 views

How To Extract Code of simulink S-Function builder from mpu6050_light library [closed]

How To Extract Code of S-Function builder from mpu6050_light library §
Mohammed BABA's user avatar
-1 votes
1 answer
29 views

Using ESP32CAM board but no face is enrolled

I was working on a project to use the ESP32CAM board to detect faces and open some sort of lock. The program can detect the face using the yellow box that shows up as you can see from the following ...
Wahaaj Nasir's user avatar
-1 votes
0 answers
43 views

How to make the STM32F103C8T6 compatible with Arduino IDE? [closed]

I purchased some STM32F103C8T6 from AliExpress, which I soldered to my custom PCB via a reflow oven. But the problem is, my program uploaded, but it did not run. To confirm that it's not the PCBs, I ...
bquark's user avatar
  • 9
-1 votes
0 answers
27 views

How to read potentiometer using Win32 [closed]

Is it possible to use a Win32 script to read the value of say, A0, and store it in a local variable? I need to use the value to control another part of the script.
NotM1zzel's user avatar
0 votes
1 answer
46 views

Unable to get keypad key in while loop

I'm a beginner into Arduino so I have a little problem where I'm trying to do a countdown on LCD using while loop but I'm also trying to get a key input inside that same while loop. Problem is that ...
DevChips's user avatar
2 votes
1 answer
37 views

First Uses of Digispark can't get past upload error

Windows 7 (64Bit) Parallels VM on Macbook Pro running BigSur. Arduino version 1.18.19, Digispark ATtiny85 Micro USB. Loaded Boards Manager http://digistump.com/package_digistump_index.json and updated ...
Dave's user avatar
  • 21
0 votes
0 answers
39 views

TowerPro MG995 cannot just rotate 90 Deg [closed]

I want to code a program that commands the servo motor only rotate 90 Deg but it keeps turning and not rotating 90 deg, this is my code #define Servo_PWM 6 Servo MG995_Servo; void setup() { ...
Tan Jun Jie's user avatar
2 votes
0 answers
41 views

How can I connect my ESP32-WROOM-32 to Arduino IDE?

I'm using this 'ESP32-WROOM-32' but I can't find the correct board in the IDE. I see the esp32-wroom-DA (edit, i took it to the store where i bought it and it worked fine with theirs. they were on ...
I-like-turtles's user avatar
-2 votes
0 answers
26 views

ESP8266 I2C and 1-wire at the same time [closed]

I have ESP8266(WeMos D1 mini) and I want to connect BME280 and DHT22. My question is if I connect BME280 via I2C(GPIO4 and GPIO5) and DHT22 via 1-wire connection(GPIO14) will it work? Will be there ...
Przemyslaw's user avatar
-1 votes
0 answers
28 views

Save to array and plot in Serial Monitor

I saw the post asking how to save data to an array but no response for how to graph it. I am using an Adafruit grand central M4. The current attempt is below //variables uint16_t location = 0; ...
ADS_Fibonacci's user avatar
-1 votes
1 answer
29 views

Help with circuit design for 12V vacuum pump and MOSFET [closed]

I am making a board to power a 12V vacuum pump, with the use of a MOSFET to turn the pump on and off, (with the code below). I am using a motor to see if my design/circuit will work but I really can't ...
DuvenhageMua's user avatar
-1 votes
0 answers
21 views

Audio+Video sync project [closed]

I have an audio book with some pictures and I would like to make a project with an LCD display and audio module, but I would like the video to be synced with the audio. meaning, I want the visual to ...
parvin's user avatar
  • 107
0 votes
0 answers
19 views

Trouble bootloading Atmega328p-au, are my capacitors messing with it?

I'm new here. I've been trying to flash a bootloader to an atmega328p-au. I use an arduino nano as an ISP and have been double/triple checking my wiring because I'm getting the following error: ...
alfred abanto's user avatar
0 votes
0 answers
28 views

MG90s servo motor acting weirdly with esp8266 nodemcu

I am having some problems with 2 MG90S servo motors with ESP8266 (nodemcu)(It is connect directly to digital pins D6 and D7). The basically turns the servo 90 degree and then sometimes it turns full ...
Overclocker.py's user avatar
0 votes
1 answer
16 views

L298n driver with Arduino with 2 motors won't work

I connected the 12v power supply with 9v battery. The problem is that when i run 1 motor at time from any side (out 1, 2 out 3, 4) it works perfectly, but when I try to run both of them, only one will ...
nitu sahay's user avatar
1 vote
1 answer
66 views

ESP32 SPI Mutual Communication

I have two ESP32 cards. I want to set one of these cards as Master and the other as Slave and communicate via SPI. I have done this before on Arduino Uno, but I cannot do this on ESP32. Below are my ...
Enes Orhan's user avatar
-2 votes
1 answer
50 views

Some of my <include> statements do not work [closed]

I'm trying to include the thing... #include <BLEDevice.h> #include <BLEServer.h> #include <BLEUtils.h> #include <BLE2902.h> BLEServer* pServer = NULL; ...
The Void's user avatar
0 votes
0 answers
11 views

HX711.h: No such file or directory although every thing is installed correctly!

I'm not quite new to the Arduino, I did some projects and some of which was using hx711 and load cells, they used to work in the past. However, I tried it today, and it shows this error HX711.h: No ...
Zeyad Elghanam's user avatar
-1 votes
1 answer
12 views

The Y, P, R (Yaw Pitch Roll) values obtained by DMP (Digital Motion Processor) are not getting stabilized, [closed]

When tested in 3D space, all the values(Y, P, R) change even though the motion is only in a single direction. Is there any other better algorithm or library that can be used to tackle this, apart from ...
Abishek Arjun's user avatar
0 votes
1 answer
24 views

Arduino IDE is still saying not connected even after I connected it

While I was using a L293D motor shield on my UNO, the negative wire of my total 7.4v was connected in the motor shield. But mistakenly the positive wire got connected in the UNO and the lights turned ...
Tawsif Chowdhury Araf's user avatar
0 votes
0 answers
11 views

Why does my CircuitPlaygroundExpress temperature reading seem high?

My CircuitPlaygroundExpress using Adafruit's CircuitPlayground library reports a temperature that is roughly 9ºF higher than ambient temperature. Details The code I'm using: #include <...
Jon Wolski's user avatar
0 votes
1 answer
50 views

Why is my variable giving the wrong value?

I'm making a program to show numbers in a WS2812 LED and TM1637. I'm also using a common 4x4 keypad. The WS2812 LED is just DIY with 25 x 10. Only two values can be displayed in a LED matrix just now. ...
Lester  Therr's user avatar
-1 votes
0 answers
22 views

Atmega32u4 USB connectivity with incorrect wiring [closed]

I finished my first PCB design and overlooked an important aspect in regards to connecting VBUS and UVCC to the correct nodes. Instead I wired these up directly to VCC. Additionally, I incorrectly ...
paumanok's user avatar
1 vote
1 answer
58 views

How to properly declare a random URL in ESPAsyncWebServer?

I'm trying to make a onetime URL with a random string to for example give a user onetime access to a house with a smart lock. I have a function to make a fixed 8-character string and the following ...
M A K's user avatar
  • 97
0 votes
0 answers
30 views

Error downloading arduino:avr:1.8.6 in Arduino IDE with Network Proxy

With Arduino IDE v2.2.1, I've connected Arduino UNO board and it automatically tries download the avr board - however it repeatedly throws errors while downloading the boards. As the PC that I'm ...
Giri's user avatar
  • 101
0 votes
2 answers
30 views

Relay switch when CO value is met

I need some help with my code using mq-7 and esp8266. Components I used: MQ-7 (i've heated it up for 48hours) ESP8266 4-channel relay 24vdc fan mb102 All i wanna to do is mq-7 to constantly reading ...
jeonsann's user avatar
2 votes
2 answers
1k views

Alternative to polling interrupt flag from main loop?

I am using an ISR, which is written to be as minimal as possible: volatile bool interrupt1{}; void ISR1() { interrupt1 = true; } The interrupt is handled by polling the interrupt1 variable in ...
Erik's user avatar
  • 261
-1 votes
1 answer
32 views

Automating Serial Monitor / Execute Serial Monitor Command without CMD input [closed]

Have a nice day. Experiment title: PH Sensor calibration and Utilization. Experiment description: I am working on an experiment where I am interfacing the esp32 with a DFRobot PH Sensor Kit V2. This ...
Nikunj Vadher's user avatar
-1 votes
0 answers
39 views

Arduino EEPROM support for ch3v003?

I am writing about the pictured ch3v003 development board for use with the arduino IDE. Regarding the standard EEPROM read and write functions described here at https://docs.arduino.cc/learn/built-in-...
Z.E.'s user avatar
  • 33
0 votes
2 answers
114 views

Clear serial data for new incoming values

I'm trying to extract numbers from a string sent via serial and then convert the numbers to integer values which I can use for arithmetic operations or toggle an Led. But the problem is I have to send ...
bquark's user avatar
  • 9
0 votes
0 answers
19 views

2 independent PWM signals with an ability to change frequency on Arduino UNO R3

I tried to generate 2 independent PWM signals with their inverted signals on Arduino UNO R3. I can change the frequency for just one PWM signal, but the frequency of the second signal is constant at ...
Aya's user avatar
  • 1
1 vote
1 answer
81 views

DHT20 and Oled display not working together

I am trying to get my DHT20 and Oled (Both from the Arduino Sensor Kit) to work at the same time. I am able to get them working separately with their respective test codes but when I try to combine ...
Darren D'Arcy's user avatar
-1 votes
0 answers
27 views

trying to make a circuit that uses an IR sensor, after the sensor gets an input it delays the output signal by 3 seconds before turning on the motor [closed]

I am new to this, this is what I have for my hardware, but I don't have any code if someone could please help thank you
Shayan Noor's user avatar
1 vote
1 answer
51 views

Fluctuate output produce by LM35 temperature using Arduino and LINX LabVIEW

So I am currently working on a small project which involves Arduino, LINX LabVIEW and LM35 temperature sensor. I dont know why but sometimes the output graph plots weird fluctuate value (kinda looks ...
Minh's user avatar
  • 11
1 vote
1 answer
31 views

6v High Torque Servo Won't Function On Motor Shield?

I have only ever been able to get this servo to “somewhat” work when connected to 5v pin on the shield, the ground on the shield, and the signal line attached to whatever pin. But 5v is not enough and ...
ConnorC's user avatar
  • 11
-3 votes
0 answers
38 views

Ultra Sonic Sensor [closed]

Actually I want to check my HRSC-04 ultra sonic sensor by connecting to arduino. I did it by taking an example of ping problem from the ide software. When I opened serial monitor it is showing 0.02937 ...
user93423's user avatar
-3 votes
0 answers
28 views

Arduino Giga M4 Co-Processor can't access to I/O? [closed]

Is it possible to access to I/O from M4 Co-Processor on an Arduino Giga ? If so, how works concurrency with main CPU if both are trying to access to the same port ? Does each CPU (Main and M4) have ...
Bob5421's user avatar
  • 135

15 30 50 per page
1
2 3 4 5
493