Most Popular
1500 questions
4
votes
2 answers
Using Arduino and XBee at the same time
I have 2 Arduino Unos, 2 XBees and 2 Wireless Proto Shields. The first setup has a humidity/temperature sensor (SHT21P) and it writes data to serial and it works (I've tested it).
Now, the other Arduino with shield and XBee is plugged in my PC to…
L2PA
- 63
- 5
4
votes
3 answers
Arduino controlling a heavy solenoid water valve
So after burning up a couple Arduinos, I'm running out of ideas...
I am trying to power both a Solenoid valve and the Arduino(nano) with the same 12V-2amp power supply. I've tried it with both a relay breakout board, and via transistor switching,…
ZacWolf
- 212
- 4
- 11
4
votes
2 answers
a mega 2650 power supply mystery
Something happened to my mega2650 as I was experimenting the other day. It no longer turned on when powering from the 2.1mm jack or from Vin, regardless of the voltage applied. A plastic bubble had formed on the 5V regulator, I assumed I had…
perigalacticon
- 357
- 3
- 14
4
votes
1 answer
Does an Arduino 101 come with bluetooth HID capabilities?
I would like to prototype an Ergodox-like keyboard. My take on this good design would be to affix each half of the keyboard to my chair's armrests, so that the arms are always in a natural relaxed position. In order to achieve this, bluetooth…
pouzzler
- 159
- 4
4
votes
0 answers
Sending data from Arduino UNO as a SOAP request
I have a servo motor on one end which can be turned ON and OFF with web service sending SOAP request. In the other end I have my Arduino UNO with ESP8266. Currently, I am able to send HIGH or LOW status from my Arduino to ESP8266.
My query is:…
jerry_22
- 41
- 3
4
votes
1 answer
How to make servo rotate for angle bigger than 180°
Connected servo motor (180°) to Arduino Uno R3.
Currently I am using a servo motor which have rotation angle specified as 180°, but I have a requirement to rotate to certain angles greater that 180°.
So do I need to go for a continuous rotation…
ferraro
- 139
- 1
- 3
- 6
4
votes
1 answer
QuadCopter PID using MPU6050
I am using Arduino Uno, with PID library and Jeff Rowberg library for MPU6050 i.e I2Cdev.h, MPU6050_6Axis_MotionApps20.h.
There is one PID for each axis i.e Pitch and Roll, I am getting output that wobbles and is unstable. I don't know whether my…
Aditya Raj
- 49
- 1
- 5
4
votes
1 answer
ATtiny85 and INPUT_PULLUP
I have read some conflicting sources about what pins have internal pullup resistors available for the Attiny85 microcontroller. Can all I/O pins work with INPUT_PULLUP, or just some of them? And if so, which ones?
Thanks!
Alex Wulff
- 309
- 1
- 2
- 14
4
votes
1 answer
When I call the tone function on a Uno, why do I not have to declare the pinmode in setup?
When I call the tone function on a Uno, why do I not have to declare the pinmode in setup? Like so:
// Simplest tone
void setup() {
}
void loop() {
tone (8,500); //on pin 8 output 500 Hz
}
user23267
- 41
- 3
4
votes
3 answers
Moving motion sensor?
Long story short, I'm trying to build some form of device that you can wear and it will detect when something moves behind you. I wanted to use PIR sensors for the motion detection, but I have no idea if they can detect objects if you're moving. Any…
Jack
- 41
- 2
4
votes
2 answers
RGBW LED strip: which components are required?
I'm brand new to this community, and in electronics as well.
I'm a software developer and I want to start a new journey with a project in mind: I want to control a 5 meters addressable LED strip for my living-room.
I need all the components for this…
Darkendorf
- 141
- 5
4
votes
5 answers
How to write modular code for arduino?
I would like to create a program with separated modules, is this this possible using Arduino IDE?
JuanV
- 43
- 1
- 4
4
votes
1 answer
How does Arduino distinguish between SPI programming data and regular data?
The Arduino can be programmed using SPI without a boot loader. Without a boot loader, the Arduino starts running its sketch right away. So, how does the Arduino know that it is being programmed via SPI vs regular SPI traffic already present on the…
Ana
- 470
- 2
- 7
- 13
4
votes
3 answers
"'Serial' does not name a type" error
I'm getting a "'Serial' does not name a type" error when this program is compiled. I need for the 8 channels of voltage to be displayed. I'm sure it's a simple fix, however I'm still learning Arduino programming. I thank you for your help.
int…
Tom Evans
- 127
- 1
- 2
- 8
4
votes
1 answer
SD card initialization fails randomly
I have a SD card reader that is working fine exept that sometimes SD.begin fails for no apparent reason.
To work around this issue I have put the SD.begin in a while loop and then I display the error on my LCD. When the error happens I then remove…
Aoaoaoappa
- 43
- 1
- 3