Newest Questions
25,033 questions
1
vote
1
answer
257
views
How could i synchronize 2 signals
unsigned long Htime;
unsigned long Ltime;
unsigned long Ttime;
unsigned long f;
int N;
void setup() {
// put your setup code here, to run once:
cli();
TCNT2 = 0;
TCCR2A = 0;
TCCR2B = 0;
...
1
vote
0
answers
308
views
Ethernet.h Ethernet.Begin(mac) only connects if i have a LiquidCrystal object from LiquidCrystal.H
I have the following code;
#include <Ethernet.h>
#include <SPI.h>
#include <LiquidCrystal.h>
LiquidCrystal lcd(31, 30, 29, 28, 27, 26, 25, 24, 23, 22);
byte mac[] = { 0xDE, 0xAD, ...
2
votes
4
answers
2k
views
Program Arduino then Remove Atmega?
Can I program an Arduino and then remove the micro-controller from it and use it on a breadboard without reprogramming the micro-controller again?
My steps would be:
create my Arduino code.
I upload ...
0
votes
1
answer
586
views
Deep Sleep Reset with Shock Sensor
I am trying to design a circuit that wakes my ESP8266 (Wemos D1 Mini) from deep sleep using a shock sensor. I can achieve this using the reset pin but I need
it to ignore further requests to reset to ...
0
votes
1
answer
521
views
Can you use an Arduino UNO as an EEPROM programmer
Hi I have an Arduino UNO and a AT28c64B and a single shift register, is it possible to make an EEPROM programmer with it? I’m not too good with the Arduino to do a lot of trial and error... I would ...
0
votes
1
answer
352
views
Arduino vs 12bit ADC
12bit ADC will give us about 1.2mV per step:
5 / 4096 = 0.00122
But if we give Arduino a 1.2V voltage reference we get 1.1mV per step:
1.2 / 1024 = 0.00117
Does that means Arduino can be more ...
1
vote
1
answer
308
views
Yet another basic and silly question about C++ strings
I made a sketch like this:
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
char str1[64] = "test with spaces";
char str2[32] = "test with spaces";
Serial....
2
votes
2
answers
483
views
ESP-01 + UNO won't detect gateway
Apparently, this combination of hardware won't accept anything other than WiFiEsp.h together with SoftwareSerial.h (if anyone knows something better/newer than these two, please let me know).
Thing is:...
0
votes
1
answer
47
views
Cannot understand why this code work but this not
I've done a simple aurduino sketch, I have this code, and this don't work:
#define voltageInput A0
int qntR;
float mr;
float qr;
float Distanza;
void setup() {
// put your setup code here, to run ...
-1
votes
1
answer
79
views
Mosfet controlled motor runs while LOW
I am using a mosfet (IRFZ44N) to control a dc motor, and a separate one to control a led strip. Both are using the same circuit running to different pwm pins on the arduino.
The light strip is working ...
1
vote
1
answer
319
views
Waterproofing Arduino
the project i'm working on is a weather station out door and for that i need to to give arduino at least some sort of protection from moisture.
https://www.instructables.com/id/Arduino-Weather-...
1
vote
1
answer
612
views
ESP12E motorshield analogWrite issue when powering DC motor
I am relatively new to adruino and this whole space. I am currently trying to power a DC motor using an ESP12E motor shield and an ESP8266 Module
Motor Shield - https://www.amazon.com/gp/product/...
6
votes
1
answer
6k
views
How can I make std::cout write to Serial?
I'm using an Arduino MKR WiFi 1010, a SAMD ARM Cortex M3 board. I rely on the standard library a lot, using things like std::vector<> and std::string. I also want to use std::cout. I've managed ...
1
vote
0
answers
617
views
Advice needed for powering Multiple HX711 with Arduino Mega
I have a project where I need to use multiple load cells (6-8), with individual HX711 for each load cell, which need to be powered simultaneously. I am not sure if I can power all the HX711 with 5V ...
1
vote
1
answer
202
views
Cannot write lock byte on Arduino Pro Micro
I have an Arduino Pro Micro, with atmega32u4 chip and a caterine bootloader. However, every time I (successfully) flash some program over the USB port, the /dev/ttyACM0 device disappears, and I cannot ...