Most Popular

1500 questions
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,476
  • 14
  • 28
5
votes
2 answers

How to choose a transmit pin in the IRremote library for an Arduino Uno?

I am looking for a way to choose a pin on the Arduino Uno. This pin will be used to send the signal of an IR LED. I am using the IRremote library. e.g. Below is the IR send demo which uses pulse width modulation pin 3 to send the IR signal. I want…
MALKAVIAN
  • 91
  • 1
  • 1
  • 5
5
votes
1 answer

Is programming the ATTiny85 possible in 1.5?

I upgraded to Arduino 1.5.7 in hopes of using the command line interface for a larger project. However, the old package I was using to program the ATTiny85 chip with the Sparkfun Tiny AVR Programmer no longer works. I'm getting the following…
RageCage
  • 153
  • 6
5
votes
3 answers

Not getting proper readings on Arduino from MAP Sensor

In recent project, I have to take reading from MAP sensor. So basically, we used analog pin for this. But in my case, I don't get proper result which actually I want. When I'm taking readings through multi-meter then I got proper readings. Means…
Hasan
  • 1,476
  • 14
  • 28
5
votes
1 answer

USB cable connector

The arduino has a USB port which can connect to a computer. The cable used to make this connection has a standard USB connector at one end (that connects to the computer) and a "larger" connector on the opposite end (that connects to the arduino). …
Paul
  • 361
  • 4
  • 16
5
votes
1 answer

No power from Breadboard Power Supply Module

Components Breadboard Power Supply Module IM120525004 1 kOhm resistor Green LED Arduino Nano LiPo 7.4V battery LED Lights Up Fine with USB power from the Arduino LED Does Not Light Up with power from the Supply Module What am I doing…
Cel
  • 153
  • 1
  • 5
5
votes
1 answer

Can I link another device to the Uno's clock?

I'm trying to use an unusual 16x2 LCD display with my Uno. As far as I know, it's an EA-X16027AR. It doesn't seem to be compatible with the HD44780 driver, which is typically used for Arduino LCD's. According to the datasheet, the display's ENB…
Peter Bloomfield
  • 10,932
  • 9
  • 47
  • 87
5
votes
1 answer

Collection of functions for arduino IDE

I am having troubles creating a collection of functions to be used in Arduino sketches and libraries. What I want is not a class, but simply a group of functions which do not require an object to be called; general utilities that can be helpful in…
tomph
  • 153
  • 5
5
votes
1 answer

Whats the function of the resistor between MCU and its Resonator in Arduino Mega?

I was looking Arduino Mega's schematic and I noticed a resistor between the MCU and its resonator. R3 in this image: Why is it there and what is its function?
Wesley Lee
  • 420
  • 3
  • 10
5
votes
2 answers

Arduino Leonardo timing Inconsistency

I've got a question regarding the use of Millis() on a Leonardo Arduino. I'm currently using it to time 4 seconds elapsed while sending a serial message every second. These messages play a sound. On the fourth message the sound is different to…
Karoly S
  • 281
  • 2
  • 7
5
votes
1 answer

What is causing my Uno to wake up?

NOTE: this code was working perfectly fine in another program. I have a simple piece of code that puts the Arduino to sleep. When it is finished and intergrated into my project, it will only wake the processor up when an alarm from an external RTC…
craigkoiter
  • 183
  • 1
  • 7
5
votes
2 answers

Arduino to arduino serial communication without a library

So I'm trying to send an array from one arduino to another through serial communication, without using the software serial library. The arduinos are wired rx->tx, tx->rx and ground to ground. I have a struct which holds the array of data and 2 test…
JVDM92
  • 63
  • 6
5
votes
4 answers

How to setup an I2C bus which stays valid if a slave is powered down or fails?

I have setup an I2C bus between 3 Arduinos (Master, Slave1 and Slave2) by connecting all 3 A4 pins together, all 3 A5 pins together and one GND pin of each Arduino to a common ground line. The 3 Arduinos are currently being powered by independent…
5
votes
2 answers

Which library to choose? or "Wire.h"?

I know that in C++, to include a library, you either put the library name in or "x". Now, I believe that this was because of a major change in the C++ language a some time ago. Now, in Arduino, there are 2 types of Wire (I2C) library :
Dat Ha
  • 2,913
  • 6
  • 23
  • 45
5
votes
2 answers

How to move my robot in the right direction?

After all there is more question poping up then answers i decide to upload the pdf where is everything writen, like the wire, motor type and what we can and can't use. Here is the link pdf format of the assignment So i am working on a project for…
twistedhat
  • 51
  • 3