The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328 microcontroller.
0
votes
0answers
11 views
void loop followed by other “void” expressions
I hope this is a simple request from a newcomer to Arduino and programming. I have understood that once a program enters a void loop section, it loops round indefinitely. However I have recently seen ...
2
votes
1answer
20 views
How to display an entire incoming string from the serial monitor in arduino ide?
this is my first question in this forum.
I need to receive a string from the Arduino serial monitor and display it when the communication is over. I have a similar problem like the one discussed in ...
2
votes
1answer
30 views
The Mysterious Case of the Mostly-Vegetable Servo
Story:
I was playing around with my Uno along with a servo.
To my stupidity (or more appropriately: ignorance), I set the voltage to my servo with analogWrite(), rather than servo.write(). It worked ...
2
votes
4answers
73 views
How to track revolution of DC motor?
I am currently trying to build a line follower robot that is designed to solve maze. This maze has a loop, thus it needs to know distance it already travelling (or at least I assume so, please let me ...
0
votes
0answers
9 views
Problem unable to rename 'core\core.a'; reason: Permission denied Windows 8
I'm a beginner with arduino, I tried to run the Blink sketch but i recieved this error message :
Arduino: 1.6.12 (Windows 8.1), Board: "Arduino/Genuino Uno"
c:\arduino\hardware\tools\avr\bin../...
0
votes
1answer
31 views
How to connect a varying output voltage to the Arduino?
I have a smart meter and i want to connect my output pulse meter to the Arduino in order to count the pulses, but the problem is my output pulse voltage is varying and the Arduino is accepte only a ...
0
votes
0answers
18 views
ELM327 and HC-05 as Master and Slave
I'm trying to make automatic connection between ELM327 v.2.1 and HC-05. I used this code to get into AT Commands with Arduino UNO R3:
#include <SoftwareSerial.h>
SoftwareSerial BTserial(10, ...
1
vote
0answers
19 views
Odd symbols in ESP8266 responses to AT commands
I used the code below to control an ESP8266. I am getting some unknown symbols in the responses.
#include <SoftwareSerial.h>
const byte rxPin=2;
const byte txPin=3;
SoftwareSerial ESP8266( ...
0
votes
1answer
34 views
Sending digital signal from one arduino to another
I have one arduino with two proximity sensors that send two digitalWrite signals if an object is detected. I checked to make sure the output of these is working properly and only sending high signals ...
-1
votes
2answers
30 views
Setup arduino uno with ESP8266 ESP-1
Iam trying to set up the arduino uno with the wifi module ESP8266. I use this schematic setup:
I have followed this tutorial: Tutorial ESP8266
Thereby I removed the Mega328P Chip like it says above, ...
0
votes
2answers
35 views
Code prints out garbage. I need to encrpyt it [on hold]
My task is to first enter the key. If the key matches with the key stored then input the text to encrypt. The logic used for the encryption is exor bitwise.
However the above code doesn't work, it ...
1
vote
2answers
54 views
speed up the arduino
I wrote a code in Arduino that controls a stepper motor using the AccelStepper library. When it receives a serial signal from visual basic that contains a coordinate value, the Ardino will control the ...
0
votes
0answers
33 views
How to get return value [on hold]
Complete code
I am trying to call ASMX web service through my program written in c++. I am using ehternet.h library. My code is:
#include <SPI.h>
#include <Ethernet.h>
#include "DHT.h"
# ...
0
votes
0answers
18 views
Only 1/4 Arduinos seen in Port list?
At some point last week I was able to connect to and upload code to all 4 of my arduino unos from my mac (OS X Sierra). I've been working on one Arduino for a few hours, and now that I tried to plug ...
1
vote
1answer
28 views
Amplify Piezo Sensor
I am trying to amplify a piezo sensor per the instructions found at the link below. I am not trying to trigger a buzzer only print to the serial monitor whether the vibration was detected or not. I ...
1
vote
1answer
48 views
How to detect Arduino serial port programmically on different platform?
I am trying to write a little program that needs to detect arduino port automatically. I have tried many methods but haven't found any reliable way.
I can see that Arduino IDE could detect it, by ...
0
votes
1answer
18 views
clkI/O 256 & 1024 (From prescaler) not working with driving PWM on Nano board
I've been working with PWM in TIMER0 of my nano board.
So, it's working now and I know how to set OCR0A or OCR0B.
Then, I went to play with Clock Select Bits CS02 CS01 CS00 in TCCR0B.
0, 8 and 64 ...
0
votes
0answers
18 views
Anaren module connect with Arduino
I currently have an Anaren Atmosphere BLE module, and I want to connect that with my arduino. My app layout consists of different buttons, sliders, and other components which will act similarly to the ...
0
votes
0answers
18 views
Getting an error while uploading a code to the Arduino when ethernet shield is attached
I bought ethernet Shield today and connected it to Arduino Uno, now when I try to upldoad I get the following error, however if I remove the shield from the UNO it works fine.
Sketch uses 10,486 ...
0
votes
3answers
52 views
How to automate an electric kettle?
I have this tea kettle, which requires pressing two buttons one after the other ("on" and "prog") to start.
I'd like to automate that action (tying it to Tasker on my phone), and am wondering what's ...
-1
votes
1answer
22 views
Arduino Uno + aRest + ESP8266
So, I can use the aRest library to program to the ESP8266 standalone, but if I have the ESP8266 connected to the Arduino Uno, can I still use the aRest library? Or will this no longer work? Thanks!
...
0
votes
0answers
9 views
Unable to change the access point in wifly shield v1.2
I was working on the wifly shield v1.2 by seedstudio. It was working fine. I was able to run the wifly_test example. It was connecting before.I tried another example on which we can make our shield ...
0
votes
1answer
19 views
NRF24L01+ unable to receive data
I have 2 Arduino UNO R3 nodes communicating using NRF24L01+ transceivers with the TMRh20 library.
Setup I have original as well as cheaper but 'compatible' arduinos. One of the nodes uses an original ...
-4
votes
0answers
26 views
0
votes
0answers
17 views
Maplin Bluetooth Shield for Arduino - BAUD rate
I am currently using a Bluetooth shield which i bought from maplin, see: http://www.maplin.co.uk/p/bluetooth-shield-for-arduino-n97dg.
I have got it to work perfectly on the default 38400 BAUD , but ...
0
votes
2answers
67 views
Using An Arduino As A Crystal Oscillator?
So I want to overclock my Gameboy Advance SP. GBA SP's have a built-in 4mhz crystal, and I was able to temporarily replace it with an 8mhz crystal to see if I was able to overclock it, which I was :). ...
0
votes
0answers
26 views
Arduino Uno and ESP8266 serial monitor issue
I plugged in the Arduino Uno and the ESP8266 following this schema:
When I enter "AT" in the serial monitor, I get an "OK". I can also connect to my wifi using typical ESP8266 commands.
What doesn't ...
1
vote
2answers
32 views
What options do I have to wirelessly connect my computer to an arduino?
For my project I have an arduino Uno connected to my robot. I need to control it wirelessly. I have thought of using a bluetooth module , but I need a larger range. Then I thought of using an RF-...
0
votes
1answer
38 views
NeoPixel setPixelColor works only in for loop
I am working with a NeoPixel RGB led and have gone through various tutorials but I have a question regarding the setPixelColor().
If I do not have my setPixelColor() and show() inside of a for loop ...
0
votes
2answers
38 views
Why is my switch not working?
I'm trying to have a common light switch turn a LED on and off.
When I connect the light switch directly to a LED, it works like it should - the LED turns on and off with the switch.
When I connect ...
1
vote
1answer
31 views
Interfacing Digital clock with Uno
I want to take input from a clock for a specific time and respond to it.
I am taking alarm as input because it will send some signal to a buzzer and I want to decode it through Arduino.
I am using ...
0
votes
0answers
22 views
Cannot upload program to my board [duplicate]
When uploading my program to ATmega328p, the board is powered up but IDE shows:
avrdude: stk500_recv() :programmer is not responding
and
avrdude: stk500_geysync () attempt 1of 10: not in sync:...
0
votes
2answers
67 views
Why is my arduino acting like a radio? And is there a way to abuse this?
I am playing around with an arduino and a cheap SDR dongle and I just noticed something strange!
When I play a tune on pin 13 with just a random piece of wire connected to the pin (Using the Melody ...
1
vote
1answer
49 views
Transistor Switching
I'm hoping that someone will be able to help me. I'm looking to produce a power interrupt for testing. I'm looking to have 28V DC input flowing to an output which I can hook up to a load and then ...
1
vote
1answer
41 views
Attiny45 resets when setting digitalOutput to low
I currently try to program an Attiny45 with an Arduino UNO as ISP.
The Arduino is able to program the Attiny45.
However, when I try the blink example, it resets the Attiny, when setting ...
0
votes
1answer
22 views
How to add toggle button for LCD display text and backlight
I have set up BMP180 and DHT11 to display data on HD44780 20x4 LCD,
I want to be able to toggle the altitude meters to feet and temperature fro degree celsius to Fahrenheit and pressure from ...
0
votes
0answers
21 views
Input PUK code, when requested
Problem:
I'm working with a GPRS module (the same as in the Arduino GSMShield). In some cases the PUK code is requested, and the PIN is thus locked. For this I wrote some code (which can be seen ...
0
votes
1answer
41 views
SoftwareSerial data not available
Second time I'm asking the same question with no solution, let me elaborate in other way for clarity.
I wrote an Arduino program which uses two serial ports, one is hardware serial port and other is ...
0
votes
0answers
19 views
two hc05 communication rc car arduino to arduino(joystick shield)
hi guys i have one servo and one dc motor,joystick sield,l293d motor shield,two hc-05 module for rc car. i want these motors controlled from joystick shield but i didn communicate bluetooth modules. ...
0
votes
1answer
35 views
Serial print message results in gibberish
I'm trying to print messages to the serial monitor, and all I get is some unreadable format.
Looping Serial.println("Wait...!"); gives me the following results:
ö’ö’ƒÕ•¬ƒ´¼Õƒö“ƒ²ƒƒƒ¬‘¼¬Õ”’“ƒ¬•
...
3
votes
1answer
36 views
Arduino - read multiline serial input
I'm trying to get data from a heat counter via the serial, the format of the response is:
t1=ХХХ.ХХ t2=ХХХ.ХХ t3=ХХХ.ХХ t4=ХХХ.ХХ
P1=ХХ.ХХ P2=ХХ.ХХ
VolSpd1=ХХ.ХХХ VolSpd2=ХХ.ХХХ
MassSpd1=ХХ....
0
votes
0answers
20 views
Bluetooth and EEPROM
I want to send a file(text document) from PC to Arduino UNO via Bluetooth and store it in EEPROM. How do it? And I want to display this text document on Graphic LCD Nokia 5110. I have tried ...
-1
votes
1answer
30 views
Why the GSM Shield is discontinued? What options are available?
I need to build a device with a single button to make a call over a mobile network (GSM)
I wanted to buy an arduino one and an arduino gsm shield for this, but just noticed that the GSM Shield is ...
-1
votes
2answers
67 views
How come my transistor doesn't work?
I have a TIP 120 to 229 NON 60V 5A transistor
I'm trying to use it to switch an electro magnet. Using the blink example to test it out:
// the setup function runs once when you press reset or power ...
1
vote
0answers
23 views
Quadcopter yaw PID with MPU6050 [closed]
I'm working on a diy quadcopter (with my own code)and I'm having some problems with yaw. Is it possible to make it stable using Z axis of gyro, or do I have to use compass? I have not found this info ...
0
votes
1answer
10 views
Arduino shield bluetooth
I have this arduino motor shield, and I want to connect a Bluetooth module, but don't know how (the tx and rx pins are used by the plate). Tried to sold it but now I don't have the tin to do it. So I ...
-3
votes
1answer
43 views
Strange binary number representation
I have a very simple sketch, something like this:
int aFour = 4;
softwareSerial.print(4,BIN);
softwareSerial.print(aFour,BIN);
Which gives the following output:
1001
0011
Why don't they print ...
-1
votes
0answers
14 views
Xbee disconnects when using sensor
So I have an Xbee and an MPU6050 connected to the 3.3V of my Arduino Uno. Now As soon as I read from the Sensor the Xbee disconnects. What can I do about that? Does the Uno not have enough power to ...
-1
votes
0answers
34 views
Arduino Accelstepper
I want to make a project that connects Visual Basic and Arduino through serial port: when I send a number from Visual Basic to Arduino, the stepper motor shall turn according to the number I sent:
if ...
0
votes
1answer
27 views
Explanantion of Addressing
I'm new Arduino user and I'm trying out a SPI protocol to interface a SRAM, specifically, the 23LCV512.
I have found the instructables steps to interface a SRAM using the SPI bus on an Arduino UNO ...