Most Popular
1500 questions
5
votes
0 answers
DHT22 reading weird values
I just hooked up a DHT22 I had laying around in a parts drawer to test something and it is giving out some crazy wrong values, I am running the adafruit library's unified example and this is the output:
Resolution: …
MAWood
- 51
- 2
5
votes
1 answer
Replacement crystal on Uno for cold temperatures
I want to run an arduino out in the cold (-40), and use the serial communication - I believe that the crystal is the weakest link (the one for the serial chip) - however I don't see any drop-in (through-hole) replacement crystals that would work in…
user2813274
- 197
- 2
- 11
5
votes
2 answers
Is it possible to use Wi-Fi as a wireless connection to my Arduino/Windows PC LAN without using the internet
My Situation and Problem:
I am wanting to put together a system to help monitor the soil moisture content in my garden and a small heated greenhouse I use in the winter. Also, In the near future I would like to build a system to remotely monitor the…
dancingBear
- 51
- 2
5
votes
3 answers
Multiple client server over wifi
Trying to setup a server on Arduino to support multiple clients,
I am able to support one but I don't want to flush that client to make another connection.
#include
const char* ssid = "your-ssid";
const char* password =…
user28203
- 61
- 1
- 1
- 4
5
votes
3 answers
Arduino Unreliable Serial communication
After reading the following 2 articles:
https://hackingmajenkoblog.wordpress.com/2016/02/01/reading-serial-on-the-arduino/
https://hackingmajenkoblog.wordpress.com/2016/02/04/the-evils-of-arduino-strings/
I have get rid of the complete String class…
qlesk
- 101
- 1
- 1
- 4
5
votes
3 answers
Entering integers as bytes in serial monitor
I am doing some byte manipulation in Arduino, but when I enter an integer into the serial monitor, such as 1, and my program stores it as byte incomingByte, the value stored in incomingByte is 49 and not 1. How do I enter the ASCII equivalent of an…
tpm900
- 385
- 3
- 10
5
votes
3 answers
Using Arduino as Keylogger
Is it possible to use arduino uno r3 as USB keylogger by connecting the usb male pin to CPU and keybord cable to female USB pin of arduino.
So that the keystrokes are stored in EEPROM. Without using an external storage modules or other components?
I…
Ganesh
- 51
- 1
- 1
- 3
5
votes
1 answer
Reading button presses with the 74HC4067E multiplexer
My project is progressing quite well, but I am having some issues reading button presses through my MUX.
The Goal
Cycle through twelve buttons and twelve LEDs. When a button is pressed, light up the corresponding LED. I have one MUX for the LEDs…
Rip Leeb
- 377
- 1
- 10
5
votes
1 answer
Can the Adafruit PN532 NFC/RFID be used to read Gen-2 EPC class RFID Tags?
I used Mifare Classic cards on a previous project and it worked brilliantly with the RIFD/NFC shield and Arduino Uno. I came across a Gen 2 EPC Class 1 RFID tags. This tags are long range ones. They use an IC chip called Alien Higgs3. I know that…
user2924
- 51
- 1
5
votes
2 answers
"stray '/302' in program error" when compiling
For some weird reason, the following code doesn't compile. I get a "stray '\302' in program" error around volatile unsigned int encoderPos = 0;, and I have no idea what the issue is. I've been trying to figure this out for over 40min, and nothing…
user2950509
- 183
- 1
- 1
- 6
5
votes
1 answer
Trouble connecting Arduino Pro Mini (Atmega328, 3.3V) to nRF24L01 over SPI, receiving all 0 values when I use radio.printDetails();
I am trying to connect my Arduino Pro Mini 3.3V to an nRF24L01 transceiver and cannot see what I am doing wrong. I've checked my wiring a million times because the problem hints there is an invalid or no connection between the Arduino and the…
Johnny Barton
- 51
- 1
- 2
5
votes
1 answer
Help managing the fallout from timer0 mode and prescaler change on ATMega2560 without modifying wiring.c
For a driving application I need the PWM mode to be phase correct and the prescaler to be 1. The issue is that the board I am working with has the load hooked up to a PWM pin reliant on timer0. The firmware running on this board makes use of the…
Nerbsie
- 53
- 6
5
votes
4 answers
How to keep accurate millis() while using ADC_sleep mode?
millis() uses timer0 (linked to CPU clock) to count time, but ADC_sleep mode stops the CPU clock, therefore millis() will drift (lag behind) after each ADC conversion performed in ADC_sleep mode.
With the standard number of CPU cycles needed for the…
FarO
- 339
- 1
- 4
- 15
5
votes
3 answers
Soldering Arduino Pro Mini's disaligned pins
I have a couples of Arduino Pro Minis (original from sparkfun) that have those 4 disaligned pin. Unfortunetely, I need to use 2 of them, A4 and A5, because they are the I2C pins and I want to solder them onto a perf board.
Now, I really want to use…
Dat Ha
- 2,913
- 6
- 23
- 45
5
votes
4 answers
Arduino Micro just blinks, won't connect to PC
Edit - Sorry it's a Micro not a Nano
I have a Micro board hooked up to an EasyDriver breakout using its 5V output to power the Micro.
Today I plugged it in and instead of booting up like normal the power LEDs on the wall plug, the easy driver, and…
asawyer
- 259
- 2
- 8