Skip to main content

All Questions

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

Arduino connect programatically two wires of external 3.3V device

What is a missing puzzle in here, relay, transistor? I would like to pull pin of external device to the ground programatically using arduino's digital pin.
Maleowy's user avatar
1 vote
0 answers
208 views

Communication between two hc 05 Bluetooth modules not working

I Have a problem with the connection between two hc 05 modules. The bluetooth modules are paired using AT commands. But when I run the code I cant get any data from the reciever. The bluetooth modules ...
Lisitha Ranukkanda's user avatar
1 vote
1 answer
307 views

Run encoder code simultaneously with other code in Arduino

volatile unsigned int temp, counter = 0; int county=0; void setup() { Serial.begin(9600); pinMode(2, INPUT_PULLUP); pinMode(3, INPUT_PULLUP); attachInterrupt(0, ai0, RISING); ...
Maximus Su's user avatar
0 votes
1 answer
255 views

Balancing pendulum using PID

Dear all, referring to the video at here on how to make a PID balancing pendulum as shown in the picture and the author also provided the arduino code in the video description. May I ask whether this ...
jessica smith's user avatar
2 votes
1 answer
2k views

Nema 17 stepper motor speed problem

This code is quoted from here. May I know how to increase the speed of the NEMA 17 stepper motor further? I tried to increase the step speed to 2000rpm but it does not even work. It only works for ...
felix tan's user avatar
2 votes
1 answer
763 views

Programming ATMega4809 via Atmel-ICE with Hex File from Arduino IDE - why doesn't the code loop / work?

Background I am programming a 40-pin ATMega4809 (datasheet) using ATMEL-ICE programmer. I'm simply using the Atmel Studio to upload a HEX file to the chip. I generate the HEX file using the Arduino ...
raddevus's user avatar
  • 442
2 votes
4 answers
3k views

How to implement Arduino NANO as a RS-232 to USB adapter (Or do I need a Arduino Mega?) For 3D printer comms

I have a PC upstairs running my 3D printing slicer program (Simplify 3D). In the basement, I have several USB-enable 3D printers. My PC upstairs has a USB-to-RS-232 serial adapter. The serial side of ...
ABNormal's user avatar
1 vote
1 answer
1k views

connect USB keyboard to Arduino using clk and data wires

Edit: What I'm looking for is some kind of library which could be used with an arduino to read the HID protocol output from the Data+ and Data- cables of the USB. ========== If I cut the cable of a ...
Rick Dearman's user avatar
2 votes
2 answers
149 views

If condition for switch not working as expected

I am trying to write a simple program to control one LED with two switches. If any of the switches is pressed, I want to turn the LED on. My LED however is always ON even when none of the switches are ...
codePhod's user avatar
2 votes
2 answers
359 views

How many connections can Arduino I2C method create?

I was just learning about I2C between 2 Arduinos, one as sender and another as a receiver So I have got curiosity to know how many Arduinos can be connected to I2C connection in serial? I mean, ...
Subha Jeet Sikdar's user avatar
2 votes
1 answer
163 views

Arduino "Maximum Power point tracker" (MPPT) Problem

I need an IV curve for a solar panel. As far I know, solar-panel and Diode IV curve pretty much the same. Here, I am using diodes(6A10-1) as a solar-panel. Where each Diode voltage drops 0.6volt. I ...
Faizur Rahman's user avatar
0 votes
1 answer
189 views

If and while statements not working

The second and third while and if are not working but the first while and if do work. Am I doing something wrong? #include <DFMiniMp3.h> int sw1 = 3; int sw2 = 4; int sw3 = 5; class Mp3Notify ...
Habib Anwari's user avatar
1 vote
1 answer
2k views

Can Arduino UNO permanently store a code?

I'm really new to Arduino and wanted to know if I can make Arduino a permanent controller? and could you help me with a cheaper alternative? I also wanted to know about "fuse", i read it ...
Harsh Vardhan Sinha's user avatar
1 vote
1 answer
7k views

What is the difference between delay() and delaymicroseconds() [closed]

Does delaymicroseconds() provide something more than the time accuracy
0 votes
1 answer
297 views

Arduino Nano Fried on Music Reactive Led Strip

I'm doing a project that involves an Arduino Nano, a sound detection microphone module and a RGB Led strip (individually adressable leds). I also bought an accumulator so I can connect everything ...
imx78's user avatar
  • 1

15 30 50 per page