Most Popular

1500 questions
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
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…
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…
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
2 answers

Unstable reading from pushbutton on digital pin

I use the Pin 7 to get the status of a push button. I put 10Kohm R on the - . The status is unstable because arduino says thet I push it but it is not true... int button = 7; ... // var for reading pushbutton value int buttonState =…
clement
  • 217
  • 1
  • 3
  • 10
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
5
votes
2 answers

How to on/off light dimmer using another pin?

In recent project, I'm working with light dimmer. Let me explain with example of fan. In switch board, we have a fan switch which can able to ON/OFF our fan & FAN REGULATOR which vary speed of our fan. Now, when our switch ON then our fan start and…
Hasan
  • 1,486
  • 14
  • 28