Most Popular

1500 questions
7
votes
3 answers

How to know positive and negative in breadboard

I have this breadboard, and there is no indication on it about what is positive/negative on it. In comparison, this other breadboard (pic from the internet) DOES have indications: Can anyone give me a hint ?
N Sharma
  • 355
  • 5
  • 9
  • 21
7
votes
3 answers

Can I connect an SD card shield to Digispark ATtiny85 board?

I have a Digispark ATtiny85 Arduino board (as shown in the picture). Can I connect a SD card shield to this board as a normal Arduino? How can I do that I'm new to this field?
knobiDev
  • 183
  • 2
  • 8
7
votes
2 answers

What are the problems with using an Arduino in a production environment?

I am thinking about making a real project using arduino to earn money. What could be the objective reasons (from both a technical and a business perspective) to not use an Arduino in a real profitable project?
Macit
  • 281
  • 2
  • 10
7
votes
1 answer

Question different ways of connecting L298N motor driver board to arduino and motors and powering them

I read few posts and tutorials on this topic but none of them kind of answered my questions. I bought this L298N motor board and i have two motors that are rated 3V Now i am trying to understand how to connect it to arduino and power the…
Yan
  • 173
  • 1
  • 1
  • 6
7
votes
2 answers

Using a transistor to get 100mA on a IR led

What i saw is that the led use 1.3V on 100mA with a 1:10 Cycle (100ms). Im currently at 30mA using only a 100 resistor, but the range of the led is 20cm at max, i want to get at least 2 meters. Since i know the max output of the Arduino pin is 40mA…
Luke
  • 73
  • 1
  • 1
  • 4
7
votes
1 answer

How to control a Nema 17 stepper motor with an arduino? (too much current / heat)

I am trying to control a Nema 17 motor with a L298n dual bridge and an Arduino Mega. My wiring is from this Instructable: http://www.instructables.com/id/Control-DC-and-stepper-motors-with-L298N-Dual-Moto/?ALLSTEPS When I connect it to my laboratory…
ce_guy
  • 73
  • 1
  • 1
  • 5
7
votes
1 answer

Arduino Servo won't move when using classes

I'm trying to make a class work with Arduino, however it doesn't seem to trigger properly. The code is compiling perfectly, and it's supposed to control the leg of an hexapod. Also, the example sweep works on this servo, so no problem here. However,…
7
votes
1 answer

Is it possible to program an Attiny85 with a USB-to-TTL converter?

I currently use my Arduino to program Attiny85. As I have one of these USB-to-TTL adapters I am wondering if it is possible to program Attiny85 with it, to free up my Arduino. I know it is possible to program Atmega's with such a thing. If it is in…
marlar
  • 487
  • 1
  • 6
  • 10
7
votes
7 answers

Understanding why should avoid “String” and alternative solutions

Why “Strings” are bad for Arduino? Which is the most efficient and fastest solution to read and store the data from Accelerometer and GPS? Stings are evil for Arduino An Uno or other ATmega328-based board only has 2048 bytes SRAM. The SRAM is…
Andrea Ciufo
  • 235
  • 1
  • 3
  • 9
7
votes
1 answer

Arduino Nano not visible in Serial Ports (Mac OS)

I have used by Arduino countless times over the past few years and only after installing an update to Mac OS Sierra did the device stop showing up under the Serial Ports. Now only tty-bluetooth shows up no others. I have looked a countless threads…
jctwood
  • 81
  • 1
  • 1
  • 3
7
votes
4 answers

How to increase life of EEPROM?

I want to store a few (8 as of now) IR codes into my Board's EEPROM. It would be great if someone could suggest a few tips to maximize the lifetime. The IR codes in my sketch are saved in array of unsigned longs. I know that the count of times that…
karx
  • 235
  • 3
  • 9
7
votes
3 answers

error: redefinition of ' '

When I am trying to compile the following code, int delayTime = 1; int charBreak = 2.1; #include int rled1 = 1; int rled2 = 2; int rled3 = 3; int rled4 = 4; int rled5 = 5; int gled1 = 6; int gled2 = 7; int gled3 = 8; int gled4 =…
user3826856
  • 83
  • 1
  • 2
  • 4
7
votes
3 answers

Multiple I2C sensors with the same address

I am trying to find the simplest way to connect multiple (preferably around 10-20) IMU sensors to one controller. There are two constraints: sampling at 60Hz and reasonably simple wiring as I want to put it on clothes. I am totally new to the…
Łukasz Kidziński
  • 173
  • 1
  • 1
  • 7
7
votes
1 answer

Sending MIDI messages using PING ultrasonic sensor

I am working on a project that uses a potentiometer and an ultrasonic sensor to create MIDI signals. This is my first time working with an arduino. I took a class in C++, but am teaching myself some C in order to program the arduino. So far I have…
EarleAB
  • 71
  • 2
7
votes
3 answers

Breadboard-to-Arduino wiring with flat flex cable assemblies?

I want to wire Arduino Due connectors to a breadboard 8-at-a-time, so they're easier to remove and more reliable. I tried these Flat Flex Cable Assemblies (FFC assemblies) terminated with "solder lugs" from Digi-Key, but the pins are just a little…
Bob Stein
  • 303
  • 3
  • 9