Most Popular
1500 questions
5
votes
3 answers
Why does my sketch report too many button presses?
I've been using a button to interact with a sketch (on my Uno), and it's mostly working fine. However, sometimes it seems to be detecting multiple presses when it's only pressed once.
It's a small circuit-mounted momentary button, which is normally…
Peter Bloomfield
- 10,972
- 9
- 48
- 87
5
votes
5 answers
Is it possible to make normal pins act like ground pins?
So what exactly I am trying to do is control a motor and be able to turn it both ways without any extra parts.
So if the hmp was on (the plus pole) and the hmm (the minus pole) acted like ground the motor should start turning right.
But if the hmp…
Moaz Tabosh
- 53
- 3
5
votes
2 answers
How can I tell what programmer to use?
I have a bunch of different dev boards for different projects. What I have been getting very confused about is what board needs what programmer from the Tools > Programmer menu.
I wish the selection had the option to be partially automated for the…
j0h
- 902
- 4
- 12
- 30
5
votes
1 answer
I2C RTC returning bad times - sometimes
I have a TinyRTC I2C clock in one of my Arduino projects, and it works most of the time. But occasionally, it will report the time as 165 hours, 85 minutes and 25 seconds (165:85:25) for a couple of seconds, then go back to the correct time.
I…
David
- 51
- 2
5
votes
3 answers
How to convert an hex string to an array of bytes?
How to convert the char array to Byte array? I tried every method but it doesn't work.
char CardNumber[8] = "B763AB23"; // Length is 8, basically it's in Hex
// B7 63 AB 23
I need to convert it into Byte array to…
RS System
- 61
- 1
- 1
- 3
5
votes
4 answers
Listen for specific frequency
I’m trying to build a custom baby monitor for my wife who is deaf. It needs to detect loud noises and listen for a specific series of tones from a feeding pump our daughter uses. It will then send a radio signal to the other room to trigger a bed…
Curtis Fuller
- 51
- 1
- 2
5
votes
1 answer
Multiple definition of "..." Compiler Error
I am creating a simple library to test how multiple files in an Arduino program works. I have three files. MotorController.ino:
#include
void setup() {
motorInitialize();
}
void loop() {
}
motor.cpp:
#include "motor.h"
void…
Kyle Marino
- 53
- 1
- 1
- 3
5
votes
3 answers
Decoding 2.4G RF remote controller?
There is tons of information on how IR remote controls work and how to use an Arduino to decode those signals and use any IR remote to suit your project. But I couldn't find much info about 2.4G RF remotes.
I want to control a string of addressable…
ahmadx87
- 549
- 2
- 9
- 16
5
votes
4 answers
Library to set internal analog gain of the Arduino?
My original question was if there is a library that covers the internal comparator and differential and gain modes for the Arduino Uno, Mega 2560, Leonardo, Due, Zero, M0.
The answer is obvious: "No". To my surprise there is not even a start to make…
Jot
- 3,266
- 1
- 14
- 21
5
votes
1 answer
In Linux, how do I get this Arduino library to work
In Linux Fedora 20 Arduino I want to use the Timer library from here, from which I have downloaded the folder Timer-master.zip, but, when I try to import it, I get the Arduino message that it cannot be imported because its name includes characters…
Harry Weston
- 238
- 3
- 11
5
votes
2 answers
Programmatically Change Arduino Com Port Name
I have some devices that, when I plug in, will display a unique name, usually a serial number, as opposed to "COM #" is there any way I can have my Arduino Uno (or Mega) give itself a different name in my program's set up structure?
Edit: My purpose…
ATE-ENGE
- 941
- 3
- 19
- 32
5
votes
1 answer
ATmega AVR frequency measurement with timer/counter
I've been rehashing some existing libraries I found on some obscure forums to measure a frequency on digital pin 5, using the ATmega328P/ATmega2560 Timer/Counter modules and an interrupt based approach in order to be able to measure frequencies up…
Robbe Elsas
- 85
- 1
- 6
5
votes
1 answer
Uno with LCD acting strangely - power issue?
I've got a Uno (Elegoo UNO R3) running with
- Ethernet shield (Kuman K15),
- 4 relay board (Elegoo 4 Channel DC 5V Relay Module with Optocoupler )
- Matrix Orbital 2041 LCD connected via I2C (11mA typical, 90mA with backlight)
- A series of buttons…
kolcun
- 51
- 1
5
votes
5 answers
AT command is not responding on serial monitor
I am trying to send AT commands to ESP8266. I re-flashed ESP8266 https://i.sstatic.net/z0hoc.jpg I followed this tutorial http://remotexy.com/en/help/esp8266-firmware-update/ and I hope it re-flashed successfully as there was no error.
When I…
N Sharma
- 355
- 5
- 9
- 21
5
votes
1 answer
How can I automatically get the time from the computer into an alarm clock (starts at 00:00 when plugged in)?
Okay so I did this project from Fritzing first in my circuits.io project then on the arduino itself, it all works fine just how I wanted it.
But here is what I wanted to add, as you can see when you plug the arduino in it will set the time to 00:00…
Zanic L3
- 181
- 1
- 4