All Questions

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

Why is my LCD I/F PIN ADAPTER won't work

I bought this on the store near us. Here is the PDF for it. https://www.e-gizmo.net/oc/kits%20documents/new%20LCD%20with%20converter/LCD%20IF%20pin%20adapter.pdf I followed the instructions below ...
0
votes
0answers
6 views

Control 4 digital outputs with one switch

I want to control 4 digital outputs (d0, d1, d2, d3) with one switch. When the Arduino starts, they should all be in state LOW. Now, after pressing the button once, d0 should get HIGH. Another push ...
0
votes
0answers
4 views

neo6m doesn't work

I'm using a NEO-6M with my Arduino Uno to get GPS data. Here is my code. But it gives me always null. From few discussion, I came to know that - NEO-6M may take hour to boot or sync clock and it ...
0
votes
0answers
11 views

Hi, I need help with a way to update String pass = “1234” with new string value of (otpcode) in the loop?

#include <virtuabotixRTC.h> #include "timestamp32bits.h" virtuabotixRTC myRTC(6, 7, 8); #include "sha1.h" #include "TOTP.h" #include "IRremote.h" int chances = 3; //Chances before buzzer will ...
1
vote
1answer
21 views

Matching baud rate on serial monitor

I am using different codes which set different values of baud rate through the Serial.begin() function. Do I need to change the baud rate of the serial monitor to match the initialized value on the ...
0
votes
1answer
23 views

Multiple buttons to control relays

Dears, I have a problem that I could not solve for a while, I tried the code below but it did not work. There will be 4 buttons controlling 4 relays but in a way that button one will turn relays 1&...
0
votes
1answer
27 views

Water pump control hysteresis

I'm using arduino with analog pressure sensor, temperature sensor and a relay to control water pump. The simple code I wrote works, but I want better control. #include <OneWire.h> #include <...
0
votes
1answer
21 views

Controlling multiple servos as one

I want to attach multiple servos to Arduino but all them must receive same command. If it possible to connect all servos to one command pin (I don't want to use "for" in code to minimize processor ...
0
votes
2answers
26 views

DS1820B only returns -127

ive used one DS1820B sensor in a AVR bread board circuit and it works there, now i tried attaching it to a arduino mega board with the code below and also another library below that. currently the ...
-1
votes
0answers
23 views

Could i use a stepper motor?

i want to make a 3-axis gimbal with arduino but brush-less motors seem incredibly hard so would stepper motors work for this purpose? if their is a way if not, is how can i connect 3 gimbal motors to ...
0
votes
0answers
21 views

Please help! My Bluetooth Controlled Car Isn't working

I followed this tutorial: enter link description here I built it according to the schematic except I didn't connect an LED (I assume this isn't the problem). This is the schematic: I'm a beginner so ...
0
votes
0answers
13 views

WDT Reset with PubSubClient library for esp8266

I am using ESP8266 with arduino and PubSubClient library. With this library on esp8266, i can see esp8266 is resetting due to Watchdog reset. After google search get to know this is known issue. I was ...
0
votes
0answers
17 views

Serial communication from Arduino to ESP8266 NodeMCU works, but from NodeMCU to Arduino isn't working

My circuit connection is like: (I am following this tutorial) Code uploaded to Arduino: #include <SoftwareSerial.h> #include <ArduinoJson.h> SoftwareSerial s(5,6); void setup() { s....
0
votes
0answers
15 views

Is it possible to synchronize two SPI busses to send data out in parallel on the same clock signal?

We're working with these very odd driver chips which are sort of like shift registers except rather than latch the data at the end, the latch needs to happen over the last 'n' clock cycles. Depending ...
0
votes
0answers
19 views

analogWrite() with mega2560 problems

The problem is that I don't seem to be getting output on the pwm pin in simple scenarios. Below are a few simple tests that either work or not. Note that I have wired an LED via a resistor to PWM pin ...
0
votes
0answers
11 views

Arduino and EV 3 Compatibility and Simultaneous Usage

I am trying to figure out a way to build a robotic hand that goes rock paper scissors spiderman. Arduino and Minstorms are the software and hardware that I want to use. How can I use an arduino ...
0
votes
0answers
23 views

esp32-cam reading bme280 with Arduino IDE

I am trying to interface BME280 with ESP32-CAM (Yes because later I need to take pictures also). Was following this tutorial. The BME280 board I have it has VCC, GND, SCL, SDA pins for hardware I2C. ...
0
votes
0answers
16 views

Help with turning LED on using smartphone with HC-05

I followed this tutorial: Remote Controlled LED using HC-05 I've assembled everything, uploaded the code and connected it with my phone. The code: /* Arduino Turn LED On/Off using Serial Commands ...
0
votes
1answer
35 views

Stepper Motor Direction via Flow Amps

I have a problem with stepper motor direction. I want to change the direction of the stepper motor rotation, when the stepper motor shaft is stuck. For example, when I hold the shaft of the ...
0
votes
0answers
23 views

Having problems with Lilypad [duplicate]

So I recently bought a Lilypad and a Prolific PL-2303HX which I only discovered when connecting it to the computer has phased out since 2012. I found a video online which shows the solution was to ...
0
votes
0answers
22 views

It is possible to revive my Arduino Leonardo (mini beetle) board?

I have this board: It has the atmega32u4 chip. I have updated its code several times, and used it without issues for several months. Today, while updating (using Arduino IDE) it started to throw ...
0
votes
0answers
17 views

Characters like '$' coming through weirdly (as in '$$amd4') when sent from ESP8266 to Uno via Serial

I am running a program on an Uno using data that an ESP8266 is sending via Serial (can't run directly on the ESP8266 due to not enough GPIOs) and I'm having a problem where characters like '$' on a ...
0
votes
1answer
29 views

Control DC Motor with Arduino Uno WiFi Rev2 Html Slider Code

I would like to control my dc motor using the Arduino Uno WiFi Rev2 using an html range slider. Now I can control the motors speed and direction using push buttons just fine. My code is posted below ...
0
votes
0answers
26 views

Halloween Music [on hold]

I an wondering, how to add effects to music using a Eleego Mega2560, a record player, two speakers and two Breakout audio jacks. I have tried DSP libraries. I haven't found anything. I need to do this ...
0
votes
0answers
6 views

Serial data does not appear in monitor when 2 readers are connected

I am using an arduino mega 2560. I have 2 RFID readers connect to 2 different serial ports. during my prototyping phase, everything was fine, my 2 readers worked together perfectly. I am now moving ...
0
votes
0answers
35 views

How do I get my robot to remember addresses and then navigate to a given one? any ideas highly appreciated [on hold]

currently taking my first robotics course and I am stuck on the theoretical design of a robot Imagine the diagram below as a warehouse, the warehouse is divided into rows of booths, where each of ...
0
votes
0answers
14 views

Arduino Mega's Port Is Recognized Well, But No Rx Tx LED Action?

I have an Arduino Mega 2560 that uses Atmega16u2 as USB to serial interface. the problem is that the serial port is able to be recognized well (as ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM) )...in ...
0
votes
2answers
13 views

“'Serial' does not name a type”

I'm really new to coding and Arduino so I would be eternally grateful for the help. I'm trying to make a really basic flame sensor that beeps, lights up an LED and displays the distance from the ...
0
votes
1answer
28 views

AD7476 adc and SPI

I'm trying to understand if I can use the AD7476 with Arduino and SPI: datasheet My rough idea is that I should put CS low, then read two bytes using SPI.transfer() twice, and then bring CS high ...
0
votes
0answers
23 views

ESP32 WebSocketsServer - stream pots data to web browser

I would like to stream pots data to a web browser using websockets. I'm using WebSocketsServer on a Huzzah but sendTXT isn't working, but does for Connected WStype. Is there a way to do this? ...
0
votes
0answers
10 views

Documentation for esp8266::polledTimeout?

I came across esp8266::polledTimeout for the ESP8266 Arduino core in the NTP example. But I could not find any documentation. It seems to be a template that is intended to eliminate manual time(out) ...
-2
votes
1answer
23 views

How to control multiple leds independently with arduino but they share a 12v external power source

I have a project with many components. I'd like to use 12v adapter from wall. I have a simplified experiment to apply to the actual project. I can't find any info on the internet after days of ...
0
votes
0answers
16 views

Send information from computer to Arduino via USB (basic clock)

I've created a small project using an Uno. I usually mess around with ESP8266 chips, because they have WiFi and are relatively easy to work with. However, this time I've decided to go right back to ...
1
vote
3answers
31 views

expression cannot be used as a function

void setup() { // put your setup code here, to run once: pinMode (9, OUTPUT) ; pinMode (10, OUTPUT) ; TCCR1A = 0; TCCR1B = 0 TCCR1A |= (1<<WGM11) | (1<<COM1A1) | (1<<COM1B1) ; //...
2
votes
1answer
53 views

How to convert char[12] to byte[6]

I am trying to convert a char[12] array that contains a Mac Address into a byte[6] in order to use within the Ethernet.begin method. I have tried various methods from online, but had little success to ...
0
votes
0answers
14 views

serial communication problem with sim7600 with arduino mega

I am just sending the AT command to test if the serial communication works, the response I am getting is a flipped ? or a square or rectangle symbol. I have tested the communication using software ...
0
votes
0answers
20 views

Interface gps and ultrasonic sensor simultaneously

I am able to interface gps and the ultrasonic sensor and obtain data successfully for individual interfacing with the Arduino UNO. When I combined the code for these two, I only get the data values ...
0
votes
0answers
5 views

communication between two HC 05 Bluetooth module

i am trying to transfer data between two HC-05 modules one is master and another is slave, slave is receiving data successfully but after sometime about 12-13 seconds it starts garbage values and ...
0
votes
0answers
26 views

Sketch works on Arduino nano but not Pro Mini

I have a simple test sketch to run for my led aquarium: #include <IRremote.h> #include <IRremoteInt.h> IRsend irsend; void setup() { } void loop() { irsend.sendNEC(0xF7C03F, 32); ...
-3
votes
1answer
22 views

Can I power Raspberry Pi 3 via 3V3 and GND pin? [on hold]

Can I power my Pi 3 using the 3v3 pin (pin 1) and GND pin (pin 6)? Also, if I want to protect the board from power surges can I just put a fuse between my power supply and the 3v3 pin? Thanks in ...
0
votes
0answers
14 views

Compiling error for board chipKIT MAX32 in Arduino IDE

I have a compiling error for chipKIT board MAX32, which looks like this: exec: "/bin/pic32-g++": file does not exist; Error compiling for board chipKIT MAX32. As I checked this file in Arduino/...
0
votes
2answers
43 views

Measuring current directly with Arduino

Is it safe to measure current like this as long as measured voltage drop don't exceed 5V? I'm asking this because in almost all current sense circuits they used an opamp in their design. Do I need a ...
0
votes
1answer
25 views

What image formats are accepted for displays?

Sorry if there is information missing, im new to the topic. I have an ESP32 connected to a Waveshare 7,5" RWB display, and i can display images by converting them to .xbm and including the hex code ...
0
votes
1answer
21 views

Receiving two values over serial port using servos

So I have a java program that picks up the mouses x and y coords on the display and I would like to send those to my arduino and then move my two servos to those locations (I have two servos ontop of ...
0
votes
2answers
30 views

facing issue with while loop

I'm trying to develop one code in which I'm facing issue with while loop. Once I enter any newString it enter in while loop it count till 10 times, when (n>10) then it is coming out from the while ...
0
votes
0answers
20 views

Intercept LED 2.4GHz Light Command [on hold]

I bought LED-Light for the ceiling which controlled by a remote command that operates on 2.4 GHz. Now, I would like to replace that remote command and control the same light using an Arduino with an ...
-1
votes
1answer
19 views

Sound sensor's output stucks to high values when I include a delay in the loop function

I use Waveshare's Sound Sensor module. I use this simple code to test the module: As you can see, the problem is that when I have a delay in the program, once the analogRead is bigger than 10 (by ...
0
votes
0answers
14 views

fingerprint sensor r307

am using fingerprint sensor r307 on my project and when l use connection from datasheet(My circuit connection is: (Green) TX => Pin 0 [PWM] (White) RX => Pin 1 [PWM] //It doesn't respond when ...
0
votes
2answers
29 views

SoftwareSerial interfers with TVout

I'm using an Arduino uno and a Nodemcu for making a game with the phone as a WiFi controller. The Nodemcu is the server that receives inputs from the phone connected via WiFi and sends to the Arduino ...
2
votes
2answers
61 views

Which Datasheet applies to the ATmega328p?

While researching minimum-voltage requirements of Uno, I came across what appear to be two datasheets for the ATmega328P: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-...

15 30 50 per page