-1
votes
0answers
5 views

Motor is not as powerful when connected and controlled through arduino and H-bridge using PWM

I am working on controlling the speed and direction of a DC motor. The motor will has a 12v power supply, and it is controlled through an L298N H-bridge, and the PWM from and arduino UNO. I have been ...
-1
votes
0answers
13 views

How to measure free RAM on an Arduino Due in Runtime?

I use this Library to measure my free RAM on a Mega in runtime. But this Library does not work on the Due.
0
votes
1answer
13 views

Does 'digitalPinToInterrupt' work with analog Analog pins

I have an interrupt signal attached to the A12 pin of an Arduino Mega 2560. Would the following source line activate the interrupt processing? I am calling the digital function (...
0
votes
1answer
29 views

Does arduino support normal C language?

I need to implement accelerometer- gyroscope sensor fusion using Kalman filter in Arduino Mega. Since I don't know C/C++, I have written the program in MATLAB. Using MATLAB, C code can be generated ...
-1
votes
1answer
10 views

Does running Serial Monitor to Tx/Rx on D0 / D1 with Uno board and shield require any specific code?

I have a Uno & 3G shield. I cannot get Serial Monitor to Tx and Rx AT commands, but I can write code to successfully execute AT commands. This makes me suspect a contention problem. Does running ...
1
vote
1answer
11 views

Help with 1-Wire to I2C translate

Please, someone. I want to use a temperature sensor (DS18B20) in an I2C only shield (Tentacle Mini), but this sensor is One Wire only. Can I write an I2C code to change the 1-Wire to I2C for this ...
0
votes
0answers
22 views

Read Serial 8 Bytes from arduino Buffer

Fairly new to Java but with a rather complicated question. We are looking at reading some bytes coming in from arduino. Arduino send bytes in the form: Serial.print(Voltage1); Serial.print(voltage2)...
-3
votes
0answers
22 views

How can I use the same I/O pins for input and output in a single program for Arduino Uno? [on hold]

The code: int G1 = 1; int G2 = 2; void setup() { Serial.begin(9600); } void loop() { pinMode(G1, OUTPUT); // Put your setup code here, to run once: pinMode(G2, OUTPUT); delay(1000); ...
0
votes
0answers
9 views

How to connect ITEAD 3G Shield to NodeMCU

I will preface this question by stating my experience working with electronics is almost non existent. I have been programming using the Arduino IDE for a couple of weeks as my job has required, but ...
0
votes
1answer
19 views

Why is communication between a Python program and Arduino not producing the expected result?

I have written some Arduino code (with help from the post Serial Input Basics). On serial I send some data and, based on certain values sent, certain LEDs will be lit. Here is the Arduino code: const ...
0
votes
0answers
10 views

Using a camera with an Intel processor Arduino

Is it possible to perform video capture with an intel based processor. Platmforms like Intel Edison, Intel Galileo or Genuino (that houses an Intel Curie module)... I am aware of arducam, but as far ...
0
votes
0answers
24 views

KY-038 Microphone with Firmata (Johnny-Five)

I'm a noob with Arduino so I might be missing something on this. I have a KY-038 Microphone sensor and I connected the pin with "A0" to the A0 analog on my Arduino UNO. Then I connected D0 to the ...
0
votes
1answer
41 views

Using pointers with Arduino

I am learning about pointers. I was wondering how the memory address is defined in programming. I get different outputs depending on the format I choose for memory address. So I was wondering if it ...
-1
votes
3answers
44 views

How to correctly read a string from Arduino serial port?

I'm trying to communicate with my Arduiono UNO via USB serial port, more precisely I'm trying to read a string like 125,0, I know it's full of article out there about this, but belive me I've tryied ...
0
votes
1answer
33 views

Controling pump while displaying moisture value on a LCD at the same time with soil moisture sensor?

I'm new with Arduino (and I'm not very good at English). Recently with Arduino Nano I have tested: Control water pump based on soil moisture (using relay) (1) Display soil moiture (in percent) on a ...
-3
votes
0answers
8 views

I want to connect two arduino using rn 42 module. I just want to know how to interface both arduino for sending data using bluetooth?

I want to connect two arduino using rn 42 module. I just want to know how to interface both arduino for sending data using bluetooth without any other intermediate devices ? Plus I need hardware ...
0
votes
0answers
20 views

How to interface arduino to a POS printer? [on hold]

I have a POS/till small thermal printer that has an ethernet socket. How do I interface an arduino uno to the printer and make it print via the ethernet port? I searched for answer but havent found an ...
0
votes
0answers
30 views

ESP8266 Programming using ESP-01 to USB converter

I am new to ESP8266. To ease out the task of programming esp8266, I bought this: ESP-01 ESP8266 Programmer CH340G Chip USB WiFi Wireless UART GPIO0 Adapter. Configured Arduino Interface to run AT ...
-3
votes
2answers
39 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(...
-1
votes
3answers
22 views

Gradual change of PWM motor control

Can someone please tell me what I'm doing wrong? The motor's not turning at all, never mind changing speed.
1
vote
1answer
34 views

Arduino Micro Power Questions

I have a few questions about the Arduino Micro circuit: If I can provide a steady 5 V source (connected to +5V), then I don't need to use the voltage regulator module (including the selector) of the ...
1
vote
1answer
20 views

RFID-RC522 Can't access sector after writing to trailer block

I'm currently using an Arduino Uno R3 and an RFID-RC522 with https://github.com/miguelbalboa/rfid . I wrote the following bytes to the trailer block in order to experiment with it: byte ...
-3
votes
1answer
28 views

Arduino & ESP8266

I connect my ESP to Arduino to my PC. If I send AT commands from my serial monitor, I receive full response. I use 115200 and both NL & CR in my serial monitor. ESP TX is connected to TX Arduino,...
1
vote
1answer
12 views

Matlab interfacing with arduino ERROR

I installed the MATLAB support package for arduino in my MATLAB r2013a today. Now I plugged on my Arduino in my usb port. And ran the command: a = arduino() Error: Undefined function ...
-4
votes
0answers
21 views

How to send voice signals to arduino from phone via bluetooth without touching the phone screen? [on hold]

How can I send voice signals to arduino from phone via bluetooth without sending the phone always when we want to speak? It should be likethe phone should always be hearing us and understanding the ...
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 ...
-3
votes
2answers
21 views

getting error while trying to compile code for soil moisture sensor

I think the below logic should work but its throwing error void setup() { Serial.begin(9600); } void loop() { int soil_moisture = analogRead(A0); // read from analog pin A3 // int soil_moisture ...
1
vote
2answers
29 views

What is the best type of Arduino board for simple delivery robot? [on hold]

I'm new to arduino, and I want to design a Simple Delivery Robot for Data Center, which has an arm to move items, and it follows line while moving. I have no idea if there is a special arduino board ...
1
vote
1answer
19 views

Simulation of IoT based systems in Software

Thank you for reading this. Generally there are libraries for GSM and Ultrasound sensors for the software called Proteus and you can simulate them along with you MCU and the interfacing peripherals ...
4
votes
1answer
30 views

Methods to prevent Accelerometer values changing from current spikes

I've connected an Arduino Uno to a MAX7219 IC, which is connected to a standard 8x8 LED matrix, and an ADXL355 3-axis accelerometer. I use the matrix initially, and turn on all LEDs, while taking the "...
0
votes
1answer
32 views

Pointer to Hardware Differences Documentation For Arduino Boards?

I hope this question isn't overly broad although it is more of a search for consolidated information. BACKGROUND: I am new to the Arduino universe and am drawn in by the open hardware concept. ...
1
vote
1answer
17 views

ADC port manipulation

I was modifying this ADC Touch implementation, namely switching analogRead and pinMode to what I thought would be port manipulation equivalents. I get very different readings (better and more stable ...
1
vote
2answers
35 views

Single pin as input and output

Is there a way to set an arduino pin as being both an input, and an output? I was looking at tristates, I'm not sure if that is related, or if there is some other method. perhaps I can try switching ...
-1
votes
1answer
21 views

Serial communication between NodeMCU and Arduino doesn't work when I try to use the DC jack or Vin

I have a unidirectional communication from NodeMCU (ESP8266) -> Arduino UNO. The communication works when I power both the devices to my computer. Note that since it is from NodeMCU to Arduino only, I ...
-3
votes
0answers
21 views

Combining Two Codes, from Different Sensors

I have been able to run the codes of a magnetometer, and a GPS unit separately, with the sensors with no problem. I'm trying to combine the two codes so I can run both on the same Arduino, but my ...
1
vote
2answers
45 views

Power Arduino Over 9V automatically after being disconnected from USB 5V

Am wondering if there is some way the Arduino can automatically power itself using through the 9v port in case the USB is disconnected, and afterwards if the USB is connected again it stop feeding ...
1
vote
1answer
17 views

Stepper motor with HCSR-04 sensor

I want to make a stepper motor increase and decrease speed working with a HCSR04 sensor. The idea is that if the sensors detects an object the stepper motor is going to decrease, and stop as close as ...
0
votes
0answers
12 views

Create ZigBee network using Arduino, Arduino Xbee Shield and Xbee

i am beginner with this protocol and i try to learn it. My ideas is to create a Mesh netowork using ZigBee protocol, where my end device detect temperature , send this to router and their send the ...
0
votes
1answer
23 views

Where can I find the Arduino Mega core code?

I am looking to modify the receiving hardware serial buffer size for the Arduino Mega. To do so I need to redefine it in HardwareSerial.h in the core code. However, I can't seem to find a copy of the ...
0
votes
1answer
18 views

Gnd pins at the power pin strip VS Gnd pin at the IO pin strip

I noticed there are two Gnd pins at the lower pin strip, and another on the upper strip. Is there a difference in their purpose?
0
votes
0answers
18 views

Streaming data from an Arduino to off site web server (and back?) [on hold]

In my project I have a teensy 3.1 reading and decoding NMEA strings coming in from an EM-406 GPS module. That data, after being decoded, is sent over serial through an xbee into my computer where I ...
1
vote
2answers
30 views

Use interrupts with analog pins in arduino or another possible solution?

I have a very simple circuit, but my program is some what complicated. Here is the circuit diagram: Here is the code: /* 01 - GND -------- GND 02 - +5V -------- 5V 03 - V0 -------- ...
0
votes
1answer
16 views

Utilizing 3G/4G connection as gps

Is it possible to get GPS data without using a GPS, but instead using the internet provided from a 3G or 4G connection to get GPS data? Maybe if you used the HTML5 geolocation API somehow? I have ...
0
votes
0answers
27 views

'prog_char' does not name type (compiling existing program)

Being a newby on Arduino I tried to compile an existing programm. My intention is to see the programm working and then go through it and understand what happens. The compiler stopped however with ...
1
vote
1answer
27 views

Looks like a smartwatch but only has a gps tracker and password

I was wondering if anyone had any suggestions about my idea. I want to crate something like a smartwatch but all I need it to have is a Gps and aa password. I want to be able to track it with a smart ...
-5
votes
0answers
26 views

Identify where the timer argument was first declared [on hold]

I am currently working on a countdown timer for the Arduino. I came across this portion of the code with the attached libraries. I am trying to find out if the timer argument is defined in the ...
-1
votes
1answer
42 views

Arduino motor shield

I'm making a soccer car with arduino. And I have this undocumented motor control shield. So I don't know how to program it. I've tried to code it as if it be an H bridge, but is not working. Someone ...
3
votes
2answers
26 views

Where on Uno to connect BLK and GRN pins of openlog board

I have the following SD card reader on the left side from Sparkfun. In the tutorial they have it connected directly into an Arduino mini which has BLK and GRN pins but I would like to connect it to ...
1
vote
1answer
14 views

IRemote with PulseSensor

I have a problem with these two modules. I am trying to create a pulse sensor but also want to use a remote for some further functionality (menu system). I have the code separated into two files, one ...
1
vote
0answers
23 views

ESP01 connected to Arduino cant publish MQTT

I have Arduino UNO + connected NodeMCU ESP01 module into it that communicate via serial pins. NodeMCU is powered from Arduino 3.3V pin. My idea is that ESP01 receives MQTT messages, sent it to Arduino ...

15 30 50 per page