1
vote
1answer
4 views

Stepper motor jittering

I'm trying to make nema17 stepper motor work using ramps1.4 and a4988 driver . But when i'm trying to rotate motor it spins with almost no torque and constant shaking. Motor 2-phase nema17 , Step ...
0
votes
1answer
6 views

Is it possible to measure the velocity of a Unmanned Aerial Vehicle using only accelerometer?

Our project is about dropping a payload from a UAV on the specified area. We are using an accelerometer (connected to the Arduino board) to measure the velocity of the plane (assuming the initial ...
0
votes
0answers
9 views

Arduino + ESP8266 as Webserver

I want to connect Arduino to my Home Wifi and make it serve as a server to access GPIO pins on Arduino from remote (like controlling LED connected to Arduino from remote). I am using ESP8266 to ...
-1
votes
0answers
11 views

Arduino nano get off when the load is connected

Every time I connect my Arduino nano to load e.g., led, relay, etc My arduino get off, if it is connected to a computer it disconnected also. The led indicates like a loss of power.
0
votes
1answer
5 views

Does this MQ-135 gas module come with load resistor ? If yes then what is value of it?

http://www.sainsmart.com/sainsmart-mq135-sensor-air-quality-sensor-hazardous-gas-detection-module-arduino.html i want to convert analog values (0-1023 range) to ppm and the code requires load ...
0
votes
0answers
9 views

connect Arduino to plc (data exchange)

The arduino should read data from a plc. Has anyone experience with this? What would be possible interfaces? I would prefer OPC-UA, but all the research I did it was only OPC-DA mentioned. Thanks ...
0
votes
0answers
10 views

Control 4 12V DC motors

I am going to create a little car. I have 4 CIM motors (12V dc motors). How should I do it? Can I use arduino uno and adfruit motor shield to control the motors? (I found about it on the internet) If ...
0
votes
0answers
6 views

SIM900A with no power button

I have bought a SIM900a module This module has no power button. I have seen a SIM900a module which has a power button. In my module when I insert a sim it does not get registered. Although in the ...
0
votes
2answers
17 views

Explanation of the formula of the map funtion

Can someone please explain (mathematically) how the formula for the map function actually came to light? I have given the code of the map function below. You can see that it uses a formula to "map" ...
0
votes
2answers
21 views

How is a local variable address retrieved/returned inside the CPU of Arduino?

How is the address of a local variable retrieved in Arduino's ATMEGA328 micro-controller? Lets say somewhere inside the main we have lines as: int x = 5; //a variable declared and value of 5 stored ...
0
votes
1answer
14 views

can I connect a hc-05 bluetooth module to a bluetooth game pad

Is it possible to connect a hc-05 bluetooth module to the following bluetooth game pad? http://r.ebay.com/DY7Vof
0
votes
0answers
7 views

mp3 player not working

I'm getting a weird error where no matter how the input pin is set it reads as HIGH. I am using a sparkfun mp3 board. I'm using a push button for input following these instructions.Regardless if the ...
0
votes
2answers
24 views

Why declare analog pins as ints?

I often see code like this: const int piezo = A0; const int sensorPin = A1; From my understanding, an int variable can hold things like -123, 0, 1, 456, etc. How can A0 or A1 be an int?
0
votes
0answers
8 views

ML8511 Sensor, unable to achieve meaningful results. Output voltages are atypical

Problem: ML8511 Sensor, unable to achieve meaningful results. A mapping to the voltage output yields values that are unrealistically high. Variance is greater than expected [by me], and sensitivity, ...
0
votes
0answers
20 views

How do I read a random PWM signal [on hold]

I have a project where I want to read the PWM from a LED dimmer. After my arduino reads this signal I'm going to control a servo with the output PWM ratio of my min and max PWM.
0
votes
0answers
16 views

Implementing an external ADC in Arduino

I'm planning to use a ADS1220 4-channel 24 bit adc but I really have no experience with SPI. I have found this library but I can't really understand the code that much and also this is measuring the ...
1
vote
2answers
18 views

Using MMA8451 accelerometer to count steps

I'm trying to use an Adafruit MMA8451 accelerometer to create a pedometer-type device that counts steps. I'd like to initiate a counter that says "if the x-axis readout is > some threshold, add 1 to ...
0
votes
0answers
12 views

How to use UsbKeyboard.h to send string instead of keystroke - Atmega328p

I am using Arduino nano Atmega328p board to emulate a keyboard. It uses UsbKeyboard.h and some additional components for usb connection. http://www.practicalarduino.com/projects/virtual-usb-keyboard ....
0
votes
0answers
22 views

Split a string by a chosen character [duplicate]

My question is very simple but with thorough googling I couldn't find anything I could understand. In Python there's a function which allows you to take a string for example: "String String String" ...
0
votes
0answers
5 views

Why do I need to reset Leonardo each time I reboot my PC?

I am currently working on a project involving my Arduino Leonardo: writing Windows 10's login password by pressing a button (I know it brings with it lots of security issues, but I am not worried ...
0
votes
0answers
18 views

Control an audio amp board with arduino

I have a bluetooth audio board with play/pause, next, previous and volume buttons. I want to toggle these buttons with an Arduino without using mechanical devices like a servo. Something like ...
1
vote
1answer
33 views

ESP8266-12E Startup Problem

The ESP8266-12e does not start upon the first attempt, I have to reset the module (or power on/off) multiple times and then it starts after number of attempts. The voltage reading in the multi-meter ...
0
votes
0answers
20 views

Arduino + ESP8266 POST max 49 characters

I have a problem with Arduino connected to ESP8266, when sending data to a web server via POST. When I POST 44 characters of data like "sensor_1_total_volume=150&sensor_2_total_vol", then it's ...
1
vote
1answer
28 views

Can I detect with software when a PIR sensor is physically connected to Arduino?

I'm creating a circuit using an Arduino Nano + ESP8266 to allow LED remote (via mobile app) activation and configuration (RGB colour, timeout, etc.). The circuit also has an optional PIR sensor to ...
0
votes
0answers
31 views

Microcontroller program upload

I'm new Arduino and trying to program Attiny13a microcontroller for Servo. I have connect succesfully 13a microcontroller with arduino and light is blinked after select board. My question is I have ...
1
vote
3answers
35 views

4.7v as HIGH on digital output instead of 5v

I'm new to Arduino, just got my starter kit, and I noticed that digital outputs 3 & 4 have 5v as HIGH level while 5 to 13 have 4.7v as HIGH level. Is it as it suppose to be?
0
votes
1answer
23 views

Serial Communication

When I send data using Serial.println() in what format does it go? I want to observe the data using the software 'Terminal'. When I observe there, if I've sent 255 using Serial.println(), I get a ...
1
vote
2answers
39 views

Temperature sensor and LCD

I have a project which uses a DS18B20 temperature sensor and an LCD with an I2C interface on it. I have connected somewhat the sensor to my micro-controller(the DS18B20 has a 12 bits digital output) ...
0
votes
1answer
20 views

Keyboard.println missing characters when I print long strings

The topic is pretty straight forward: When I use Keyboard.println(), it sends short (up to 30-ish) strings just fine, but when I get up around 100 characters there are random characters missing. "...
3
votes
2answers
107 views

Why use a motor driver board?

I'm just getting into electronics in general and I'm confused a bit as to why I'd want/need to use a motor driver board instead of just setting up my own transistor/diode/etc when attempting to power ...
0
votes
1answer
18 views

Mega 2560 r3 problem

my new mega 2560 r3 only has the two red led working one of them blinks all the time and no other lights at all and this problem is common with many of the Mega 2560 r3 parts that I bought so far ??
0
votes
1answer
44 views

Global variables use to much space in the dynamic memory

I use two simple libraries (see 1, 2) I found online for my code on the Arduino Uno, unfortunately I also use ROS and all those libraries take away to much space, when I compile my code I get this ...
0
votes
1answer
19 views

Best way to detect tilt using MPU 6050 [on hold]

I want to make a gesture controlled car using this IMU.. What is the simplest way to detect tilts? I've seen many programs on the Internet that calculate the angles but is this really necessary? Why ...
0
votes
1answer
14 views

Understanding Nikon modified version of SPI

I am trying to use this library to connect a Nikon lens to a ardunio. https://lainy.github.io/NikonLens/classlain_1_1t_nikon_lens.html Im finding it very hard to understand the correct wiring. ...
-4
votes
0answers
25 views

IR code too long. Edit IRremoteInt.h and increase RAWLEN

I tried a lot still I face this problem. Even after I edited #define RAWBUF 500 // Maximum length of raw duration buffer So how to solve this problem?
0
votes
1answer
22 views

How do I see the command line equivalent of clicking Verify?

I am using the ESP8266 board manager. I want to see how Arduino IDE compiles my code once I click Verify. Why do I want to do this? I am trying to integrate a C library for which there is now ...
0
votes
0answers
7 views

Barebones Arduino Zero with ATSAMD21G18

I have been using the ATmega328p Tqfp32 chip for quite a while and I would like to try something new and came across the ATSAMD21G18 used by Arduino Zero and M0. However, there aren't any information ...
0
votes
1answer
20 views

How to unify all RPS reading in one function?

Want to unify rps reading in one function. However, it shows incorrect values. when it is reading for one it works fine. Following is the code. Appreciate for your help. float rps[4] = {0.00, 0.00, 0....
-4
votes
0answers
22 views

How to communicate Two different Arduino using I2C? [on hold]

Actually i am using two arduino board.One arduino connects with RTC(in I2C)and other one connects with SD card (in SPI).Then how to communicate with each other using I2C communication. One of arduino ...
0
votes
1answer
24 views

Conflict between SPI and I2C?

Currently I work on pronto code. I found model vise pronto code. Still I don't get perfectly pronto hex code. If I get this code then I will be controlled any of home appliances. What I had done now: ...
1
vote
0answers
25 views

Erratic behavior from 'randomly' generated values in array

Currently working on a data collection algorithm on the Arduino MEGA (ATMega1280) and I've run into a problem with some of the code I've written. I feel my problems may be stemming from the way in ...
-1
votes
2answers
19 views

Problem with combination of Bluetooth and RF 434MHz with Arduino Mega

I want to receive text from Bluetooth from an android phone to Arduino Mega. Then I want to send that text to other Arduino UNO through RF 434MHz. Here is my code for Transmitter. #include <...
-1
votes
0answers
15 views

How to decode pronto code directly?

Currently I work on pronto code. I found model vise pronto code. Still I don't get perfectly pronto hex code. If I get this code then I will be controlled any of home appliances. What I had done now: ...
0
votes
0answers
19 views

Ladder Diagram to Arduino Converter

I am student in Engineering Education and I want to make a simple trainer for PLC. But I just want to make a simple trainer which is when I make a Ladder Diagram on a simulator, then it will convert ...
1
vote
2answers
27 views

How to I press a button once to display text and again to remove it?

My code is displaying voltage and I want to have a button that when pressed it displays a text and when I pressed it again it would turn off the text. I put the word "YES" just for a test float vPow =...
0
votes
0answers
13 views

Arduino wireless communication giving lots of lag on processing?

I have a mpu-6050 on an arduino along with a nrf24l01. On the other end there is another nrf24l01 attached to another arduino uno where its receiving the information from the mpu-6050 from the first ...
0
votes
0answers
14 views

Beginner problems with IRF520 transistor

http://imgur.com/a/WSCDu This is the schematic for the project. I'm using an IRF520 transistor (http://www.futurlec.com/Transistors/IRF520.shtml) which goes from left to right Gate->Drain->Source. So ...
0
votes
1answer
24 views

How can I stop my Servo rotating?

I have a continuous servo motor connected to my Arduino UNO. I want it to react to the Hexadecimal code received by an Infrared remote. I want the motor to rotate once in one direction and then rotate ...
1
vote
1answer
23 views

De-Auth “attacks” using Arduino?

So I'm trying to use my Arduino and an ESP8266 to spam De-Auth "attacks". I am quoting attacks because I do not plan on using this for malicious or destructive purposes. Ive heard that the ESP8266 ...
0
votes
0answers
13 views

Arduino Due: ADC gain adjustment problem

I want to increase gain of the ADC channel. To achieve this I'm using adc_set_channel_input_gain function from adc.h. Here is the entire sketch: const byte aPin = A6; void setup() { ...

15 30 50 per page