Most Popular
1500 questions
5
votes
3 answers
External Flash Memory File System
I'm building a weather data collector and I want to be able to dump that weather data somewhere. I've considered the options, and since I'm going to be storing a fairly small amount of data (in the megabyte range) I don't want to use SD cards (also…
Carrot M
- 86
- 1
- 6
5
votes
0 answers
Manchester 433MHz Nano to ATTiny85
My transmitter is a Nano, the receiver is a Tiny85.
I use a Logic Analyzer to check if stuff is moving, I can clearly see data coming in at the receiver.
The receiver does not 'decode' the data, man.receiveComplete() is never True so in the end…
Thijs
- 432
- 1
- 6
- 21
5
votes
2 answers
Arduino Remote controlled RGB LED strip, having issues with brightness/dimming
I have this sketch:
#include
#include
#include
int RECV_PIN = 2; // IR-Receiver PIN
int led = 13; // Satus-LED PIN
int modus; // Modus for Interrupt-Querry
int ledr = 11; // RGB LED red…
Stathis Ntonas
- 163
- 1
- 7
5
votes
3 answers
Is there a constant for the Maximum Unsigned Long value in an Arduino compiler?
I am writing a timer function that uses the micros() function which generates a unsigned long value. To compensate for a roll over condition, I would like to use the maximum value for that variable type. I have a number, 4,294,967,295, but was…
Rich Maes
- 243
- 1
- 3
- 9
5
votes
1 answer
Converting Arduino Uno with Ethernet Shield sketch for Arduino Yún
I'm new to the Arduino Yun and I'm trying to convert a sketch written for the Arduino Uno with a Ethernet Shield. The sketch does HTTP posts to Azure Mobile Services.
I've added in the Bridge.h and YunClient.h libraries in place of the Ethernet.h…
YunBeginner
- 51
- 2
5
votes
4 answers
Power bank turns off spontaneously
I currently have a 50,000 mAH USB power bank powering my Arduino Uno and micro servomotor. Unfortunately, my power bank has an automatic shutoff and shuts off after 2 hrs of runtime (I need 16 hrs for my project). I can restart the power bank by…
kingrumak
- 51
- 1
- 1
- 3
5
votes
2 answers
Is there any chance of fixing it?
I am new to arduino and robotic stuffs and I thought it would be a good idea to test circuits on my breadboard using arduino's R3 5V pin as power supply. The accident happened when I short circuited the things on the breadboard and after a while…
Nick
- 171
- 5
5
votes
2 answers
Voltage changes but digitalRead always HIGH
I developed a simple push button project
I used a wemos D1 mini
I connected D3 pin to a pull down 1K resistor.
I used a multimeter to measure D3 pin voltage.
When I push the button, D3 pin voltage changes from 0.x volt to 4.x volt. But digital…
Toni startup
- 61
- 1
- 1
- 3
5
votes
10 answers
DS1307RTC Outputting cryptic 165/165/2165 date. What are some possible fixes?
My board.
I think I have it wired correctly (the lights aren't, but the board is).
I've read through the first few Google results to no avail.
My sample code to test the chip:
// Date and time functions using a DS1307 RTC connected via I2C and…
Rashi Abramson
- 181
- 1
- 2
- 9
5
votes
6 answers
When is it necessary to use "float" instead of "int"?
I'm very new to Arduino and I am making a code for a pedometer. I have a lot of variables and I have used "int" multiple times, but I just came across a code with "float".
Now because my coding background is next to none, I don't really understand…
user30763
- 61
- 2
- 2
- 4
5
votes
3 answers
How to power my Arduino mini using wall socket?
I am trying to power my Arduino Mini (which is connected to IR receiver and a relay board). The idea is to hide the entire setup behind the electrical board including the power supply. I have hacked more than a few power adapters (ranging from…
karx
- 235
- 2
- 9
5
votes
2 answers
Parsing JSON on the Arduino
I'm using the ArduinoJson library. There is a great example for parsing a single JSON object in the source code. I am attempting to iterate over an array of JSON objects:
#include
using namespace ArduinoJson::Parser;
void setup() {
…
Richard
- 173
- 1
- 7
5
votes
2 answers
"undefined reference to" - C++
Hi fellow programmers,
I started to program Arduino a little deeply and popped out the following error when I was writing a class to read the pulses of a Hall effect flow rate sensor:
SensorDeVazao.cpp.o: In function…
Bruno Lobo
- 157
- 1
- 2
- 9
5
votes
4 answers
Is there an advantage to set pinmodes via bitmask and register?
I'm working with the capacitive sensor library currently and the author does not use digitalWrite(), but instead sets the output of a pin via functions changing the bitmasks of certain…
Natjo
- 175
- 1
- 1
- 5
5
votes
1 answer
Arduino Countdown without using delay()
I am working on a project which requires countdown from 30sec to 0sec. I can't use delay() function because I am taking input from keyboard during countdown. millis() function wont help because my board will be active for more than 50 days. I…
Tanmay Yerunkar
- 315
- 2
- 5
- 17