Most Popular

1500 questions
4
votes
2 answers

No valid serial ports for Arduino UNO on Mac

UPDATE: The issue turned out to be with my work laptop. Our IT department has them configured in such a way that the assignment of serial ports is different somehow. When I plugged in on my personal Macbook Pro it all worked perfectly. I just got…
Jonathan Miller
  • 151
  • 1
  • 6
4
votes
1 answer

Leonardo-based tachometer?

I'm new here. I'm not a native speaker, so pardon my English. I just received my Arduino Leonardo today. I tried some basic calculations and stuff like blinking and LCD interfacing. Its interesting. I am now trying to make a tachometer with the…
x0x
  • 149
  • 4
4
votes
3 answers

Connect 9 V battery to Arduino Mega 2560 directly?

Is it safe to connect a 9 volt battery to an Arduino Mega 2560 directly to power it?
Waqas
  • 41
  • 1
  • 4
4
votes
1 answer

Difference in Arduino pin distance

I have an Arduino Uno rev 3. Today i tried to mount a breadboard as a shield for my Arduino on top of it. I plugged in the pin headers i bought and was surprised that the breadboard won't fit. As you can see in the picture below the distance between…
user5675428
  • 53
  • 1
  • 4
4
votes
1 answer

What USB to UART chip provides highest data rates with Arduino boards?

Checking out online stores for a USB/TTL adapter, I came across a wide range of products, and I'm having a hard time selecting the one which would achieve the highest data rate. I was comparing datasheets of the chips I have seen so far, to…
Dmitry Grigoryev
  • 1,278
  • 10
  • 31
4
votes
2 answers

How can I make my Arduino code work?

I am trying to make an automatic lock which stays open during different times and on different days. I want the door open Monday through Friday 8am to 5pm. On Saturdays and Sundays I want the door locked. I will be using an electric lock strike the…
Kyriazis
  • 65
  • 5
4
votes
2 answers

What programming practices should be adopted while coding sketches for Arduino?

What are some of the best programming practices that can be adopted while coding sketches for Arduino, so that it uses the least memory and performance should not suffer from memory outage, and still the code be robust? From the link:…
Ciasto piekarz
  • 575
  • 2
  • 12
  • 28
4
votes
0 answers

Arduino Due SAM3X ADC programmable input offset not working

In the datasheet of the SAM3X8E in Section 43.6.9 Page 1327 it clearly states that the SAM3X/A has a programmable offset for ADC input in Single-Ended mode and I believe that the Atmel ASF library also has a function dedicated to configuring analog…
Hac Le
  • 41
  • 4
4
votes
2 answers

MPU-6050 - angle drift

Setup Windows 7 Entreprise MPU-6050 : GY-521 breakout Arduino Nano (chinese) with CH340 FTDI driver Arduino IDE 1.6.12 Library for the gyro Problem When I run my code, the MPU will detect the angles at a good enough accuracy, but when I leave it…
Dat Ha
  • 2,913
  • 6
  • 23
  • 45
4
votes
3 answers

eval() function for Arduino?

I plan to do the following: void setup(){ String term = "12 + (2 * 5)"; int result = eval(term); // eval function (from Python) Serial.println(result); // expecting 22 } However there is no eval function. Are there any alternatives?
loucket
  • 41
  • 1
  • 2
4
votes
4 answers

ArduinoUNO/MEGA, Is there a way to exceed 256 in analogWrite

I am using Arduino UNO/MEGA, I want to analogWrite(pin, val); where the value is 0-1023. How can I make that ? Thanks.
Mostafa Khattab
  • 281
  • 4
  • 16
4
votes
1 answer

How to create a smooth change in voltage?

We are given two voltages A and B between 0 and 5V. So how do I generate a smooth/continuous analog change in voltage from A to B in a predefined time? The current with that varying voltage is 1 ma or less. The output voltage value is described by…
Pete
  • 89
  • 8
4
votes
4 answers

Arduino Pro Mini Serial Monitor garbage

This is my first post. I hope that I am posting in the right section of the forum. Otherwise, could an admin move this topic to the appropriate section please? Board : Arduino Pro Mini 3.3V 8MHz Arduino IDE : 1.6.12 Arduino is powered by a FTDI…
Luca Andrei
  • 49
  • 1
  • 3
4
votes
1 answer

I2C to UART bridge as breakout or in DIP package

For a project, I need to connect more than one device to an Arduino through a serial port with hardware flow control (RTS/CTS). Sparkfun used to make breakout boards for the SC16IS750, but this product is discontinued and I can't find any place to…
jarnbjo
  • 328
  • 3
  • 10
4
votes
3 answers

Unexpected Delay Between For Loops

I made some arduino code for leds that blink down a row and then back again, but when the program is run, there is an approximately 2 second delay in between the first for loop and the second. This is my code in the loop function: int leds[] = {13,…
Minecat40
  • 43
  • 3
1 2 3
99
100