Newest Questions
25,033 questions
0
votes
1
answer
1k
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&...
1
vote
1
answer
1k
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 <...
1
vote
1
answer
452
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 ...
-1
votes
1
answer
3k
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 ...
0
votes
2
answers
2k
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
1
answer
5k
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....
2
votes
1
answer
393
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 in parallel ...
0
votes
1
answer
115
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 ...
4
votes
1
answer
1k
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 some ...
1
vote
1
answer
1k
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 ...
1
vote
1
answer
490
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 ...
1
vote
0
answers
278
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? ...
-2
votes
1
answer
201
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
0
answers
84
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 ...
2
votes
2
answers
2k
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 ...