Use this tag to ask about electronics-related issues with your Arduino. For example: driver transistors, Ohm's Law, current-limiting resistors.

learn more… | top users | synonyms

1
vote
0answers
24 views

troubleshooting - Turn on a single led in a ws2811 ledstrip with an arduino Uno with FastLed

I want to to turn on a single led in a ledstrip running on ws2811 with an Arduino Uno. The problem is that when I try to turn just one of them on, they all three light up. The strip is a 3-wire ...
-2
votes
2answers
52 views

Problem stopping a stepper motor with an endstop

Basically I have created the following code to control my stepper motor: int pin_enable_motor_x = 38; int pin_motor_step_x = A0; int pin_direction_x = A1; int endstop_x = 3; void setup() { pinMode(...
2
votes
0answers
352 views

Are plain diodes uncommon? [migrated]

When i search online for buying diodes, i find much more zener-diodes than normal diodes. If there a reason for this? Can you use every zener-diode as normal diode or is it uncommon to use diodes in ...
1
vote
0answers
42 views

How to sense toggle switch using OPTOCOUPLER

I am using an EL817 Photocoupler, here is the Datasheet. I have designed a circuit to sense the Switch using EL817 and it is connected to the GPIO pin of Arduino. How can I sense the switch? The ...
-3
votes
1answer
31 views

What is LCD bias voltage and where do I have to connect it?

I noticed that I have VB0+, VB0-, VB1+ and VB1- pins on my LCD. In the datasheet it says they are for the "LCD Bias Voltage". I have never heard about that. So what is it? Where do I have to connect ...
0
votes
2answers
53 views

Making three led's blink at different times in Arduino

I have a breadboard connected to an Arduino Uno, 220k resistors connected to an led, of course it has a common ground and a pin connected to 5v. All pins are digital. Now, I want led 1 to turn on ...
3
votes
1answer
64 views

Design considerations for creating an Arduino 'shield' shield to limit EMI

I am building a shield that contains an AC power supply and relay for an Arduino-like board. The problem I am having is that the relay is quite noisy with respect to EMI, and I can see a few jitters ...
0
votes
1answer
25 views

connecting 3.3V to +3V

Well, I hope this question won' t be buried to the dark depths of this forum as my previous q' s:) But I suppose it won' t this time cause it's pretty short without this introduction part... I have ...
0
votes
2answers
33 views

Supplying power to arduino by 5V and 2A adapter

Can I power my Arduino using a 5V/2A adapter by connecting it through the USB port? More precisely, I have to run a module requiring 200mA but the aim is to make the laptop independent.
0
votes
1answer
26 views

Problems with running multiple ESC

I've written a program which allows me to use my Arduino Uno to send a PWM to an Electronic Speed Controller. 5 seconds after startup the ESC is sent a config via PWM to signal the low to high PWM ...
0
votes
1answer
52 views

Confusion about PNP transistors

I was reading through SparkFun's article on transistors when I came across something that confused me. The article showed this circuit: With this description: Similar to the NPN circuit, the base ...
0
votes
1answer
33 views

Do I need resistors or capacitors on this relay?

I'm using my Arduino to control a relay switch, which has an extension cord attached to it (see photo). The relay is connected to the Arduino via pin 9, which is set to pinMode(9, OUTPUT); Do I need ...
1
vote
1answer
29 views

Send button press over RF

I'm trying to send a button press over RF (performing a closed circuit operation on the receiving end). I have a controller with an UP and DOWN button. Unfortunately I am limited to the cable length, ...
0
votes
0answers
34 views

How can I use the Scope in SIMULINK as a Voltmeter?

I want to know if I can use the simulink Scope to measure voltage in a period of time from a circuit using Arduino. I have this simple inverter circuit assambled: Now, what I want, is to see the ...
1
vote
0answers
38 views

Make your own Cheap + Value Packed Arduino Starter Kit? [closed]

so I have recently started messing around with little electronics circuits and was thinking I should get an Arduino, along with some other bits and pieces, so that I can create my own little Arduino ...
1
vote
2answers
82 views

Unable to create a desired periodic signal with Arduino Mega 2560 and DAC0808

I wrote the code to produce the periodic signal by using arduino and DAC0808 where i turned on and off the respectively pins of PORTA by using a logic in iterative manner and created the periodic ...
3
votes
1answer
39 views

RC Car Hack Issue

I am trying to hack a cheap RC car as to be able to control it using my Arduino. I took apart the cars remote controller and found the pins that make it go forwards, backwards, left, and right. So I ...
0
votes
2answers
72 views

Split Power supply in voltage and gnd?

I am new to electronics and arduino in general. I need to split a power supply in gnd and voltage. Basically, the power supply has one single wire (with the voltage and the gnd passing through it i ...
0
votes
0answers
89 views

Arduino Oscilloscope Graph Output

For physical Arduino debugging purposes, I decided to make a simple Arduino oscilloscope (on a Nano v3) based on Sofian Audrey's 3-channel oscilloscope code which is at the heart of this instructable. ...
1
vote
1answer
73 views

Electric interference from cnc spindle

I've got a CNC machine and I recently started using a spindle for it. At first it was running smoothly with no issues, but after the first brush pair wore off (I've replaced them later on) it started ...
1
vote
2answers
50 views

How to calculate the needed voltage and current to supply for Arduino

I have Arduino MEGA and I'm connecting to it 5 servomotors. { 3 TowerPro M995 Basic Information Modulation: Digital Torque: 4.8V: 130.5 oz-in (9.40 kg-cm) 6.0V: 152.8 oz-in (11.00 kg-cm) Speed:...
1
vote
1answer
54 views

Is it safe to place a capacitor across vin and gnd?

I have a 3A fan hooked up to an ATX power supply in parallel with a transformer which powers my board through VIN/GND. The ATX is gated by a relay on its DC side and seems to cause enough of a ...
0
votes
0answers
11 views

Can't read high byte on hctl 2021 decoder

I am trying to use a rotary encoder with the HCTL-2021-A00 from avago. I am getting data output from the IC, but only one of the two bytes which it should be providing. When I move the encoder forward,...
0
votes
1answer
71 views

I want to run jvm on arduino.What minimum configuration do I need?

If Arduino IDE itself is built on Java can I run JVM on the Arduino? If yes how should I do it?
1
vote
1answer
40 views

How to reduce current from a AC TO DC power supply for arduino use

I have a AC to DC converter that was originally used for recharging the PSP, I stripped the 2 wires of the output and was wanting to use it for my arduino instead of using a 9V battery, it's output is ...
1
vote
4answers
85 views

Is it possible to make 4hz readings with the DS18S20 temperature sensor?

My current code that doesn't convince me: #include <OneWire.h> int DS18S20_Pin = 3; //DS18S20 Signal pin on digital 3 unsigned long startTime = 0; #define MEASURE_PERIOD 250 //Temperature ...
0
votes
1answer
61 views

Is it safe to power an MQ-7 gas sensor with a 9V D.C supply?

I'm looking for a portable power source for an MQ-7 gas sensor. According to my research - it needs 5V D.C power with at least 0.3A of current. I'm not really good with electronics so I need to know ...
1
vote
2answers
127 views

Soldering headers screwed up Trinket?

Last week I purchased a couple of Trinkets from Adafruit (5v micro-USB). The first thing I did was solder the headers to one of them. I did the whole setup process w/ the Arduino IDE and didn't have ...
1
vote
1answer
80 views

How to check if all pins are connected on my board to make sure Arduino sends the correct pattern number on my tool

What to add on this code to check my pins state during run? And how can i trigger error using Visual basic when 1 of my pin is disconnected? String input = ""; void setup(){ Serial.begin(9600); // ...
2
votes
2answers
46 views

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 ...
0
votes
2answers
34 views

Attach headers to servo wires?

I have these 3 wires coming from a servo motor. They're very thin and flimsy and despise staying in a breadboard. Is it possible to add headers to these wires to make them easier to put in a ...
1
vote
1answer
252 views

434 RF Transmitter and Receiver for distance measurement problem

As a student I'm working on a project where we use 434 MHz RF Transmitter and receiver pairs for distance measurement. I know that this technology is not a good choice for this, but we have to deal ...
0
votes
2answers
48 views

Machine installed with arduino suddenly turns on when usb is unplugged

Why is my machine suddenly turns ON when I unplugged the USB on my computer? Does it have connection on the auto reset feature of my arduino board? String input = ""; void setup(){ Serial.begin(...
4
votes
1answer
191 views

Why can't most servos rotate more than around 180°

I was looking how a servomotor works. I realized that a standard servo can only turn up to 180°, but I didn't understand why. Is it because of the potentiometer?
0
votes
1answer
54 views

Need help figuring out the pinout of a seven segmented display

A friend of mine gave me a 2in. 4 digit seven segment display. But when I sat down and looked at it, I found it has 7 pins on one side and 5 on the other and no indicators of its pinout on it. The ...
0
votes
2answers
31 views

(HELP)How to read Physical Dimensions in datasheets

Sir/ Ma'am, . How to read the dimension labels of this IC?
0
votes
4answers
506 views

How to run 5 wires hibrid stepper motor with arduino uno?

I have a question. How to run stepper motor (Nema 17) that has 5 wires with arduino and stepper driver. Here is the driver, stepper and Arduino when stepper has 4 wires. http://jdreyer.com/projects/...
0
votes
1answer
67 views

Arduino on breadboard Tension is 4.4V instead of 5 V,looking for some guidance

I build a circuit that work on breadboard now i try to prototype it,so i start solder it on a prototype board and the arduino is out of sync.So i check the tension and for some reason it's 4.4~4.6 on ...
1
vote
1answer
167 views

generating digital positive(+5) and negative(-5) signal?

Problem in getting -5V with aurdino. void setup() { pinMode(13, OUTPUT); } void loop() { digitalWrite(13, HIGH); delay(20); digitalWrite(13, LOW); delay(20); } Above code is generating ...
1
vote
2answers
62 views

where I can find ground? [closed]

there is AVR AVR ATmega32 and a board within. there is outputs for all ports (A, B, C, D) on board, and Vcc. the problem is - I have no external GND output. to watch current - I should search for ...
0
votes
1answer
40 views

How are HIDs (keyboard,joypad) created and mapped?

I am creating an electronic device that has a 4 position rotator switch and a SPST Momentary ON push button. For the knob, I plan for position 0 to be low (OFF). Position 1-3 are high (ON). But I want ...
0
votes
1answer
85 views

Arduino Uno pin dead for no reason. Why? [closed]

After struggling with an LCD showing rubbish characters on my previous post, I found that my pin 5 was dead, for no reason. I never connected it to anything except the LCD - I bought it two days ago. ...
2
votes
2answers
126 views

Arduino MP3 Player

I want to make a MP3 player with arduino. My problem is what board should I use? There is the SparkFun MP3 Player Shield, SparkFun Audio-Sound Breakout - WTV020SD. Then I want to attach a 2.8 TFT ...
0
votes
1answer
54 views

If value in serial begin is greater than that of delay in arduino, does delay time matters? [closed]

I think if the value inside Serial.begin() is greater than the value inside delay(),then delay will not take the next step as soon as the next input is there ... So , the delay() function is ...
0
votes
1answer
27 views

İs there any way different way than GND's Arduino

İ'm making a project on my arduino uno when i figured out i had no more GND left to finish the circuit. İs there any other way to optimize, use pins as input maybe. İ tried whit other websites, ...
0
votes
2answers
313 views

Industrializing Arduino - 24V io? (Electronics)

I would like to make an arduino board that is capable of handling 24V i/o. Powering the Arduino would be done through either a linear or switching regulator of some sort. Low amperages, so efficiency ...
1
vote
2answers
162 views

How does the PID controller actually work?

Preferably PID functions on an Arduino uno or any other examples. I have been researching but many of the the websites really do not explain it. P.S is there an algorithm for a PID? Thanks
0
votes
1answer
29 views

Is it possible to run emulator from IC? and how?

I have an Emulator and Roms I would like to create a portable device to allow me to connect via RCA to a TV and play. Only I have no prior knowledge of how Integrated Circuits function or what they ...
0
votes
1answer
20 views

Gain on a receiver

I'm doing a project on the arduino with simple 433MHz antenna modules. And I was wondering if someone could offer clarifications on how receivers work. I read that high gain receivers can pick up a ...
0
votes
0answers
62 views

Electromagnetic levitation

I'm a newbie to arduino and I'm attempting a project involving an electromagnet oscillating quickly causing a magnetic object to float in mid air. I'd like to know basically if this is possible using ...