All Questions
0
votes
1answer
5 views
Encoding an entire Byte for File Reading
I'm using an Arduino Yun to read from a datafile, which will then populate a data structure. The file.read() function "returns: The next byte (or character), or -1 if none is available."
This ...
0
votes
0answers
7 views
ACS712 inacurrate reading. Wild jumping
I'm trying to use my 30A ACS712 on my OSD (it has ATMEGA16L).
But it is very unstable, 0 amps goes from 450 to 445, but that isn't that bad, but when I put 10A of current through it jumps from 440 ...
0
votes
1answer
10 views
How to count the time until the next day of the week?
I wants to do in Arduino countdown that shows how many days, hours and minutes remaining to Friday 12:00.
In my program I used a function in php strtotime('next friday') which thus could calculate ...
0
votes
0answers
7 views
Programming problem: bit not turning on
I am making an 80 led clock. Almost done and everything works, the second, the minute, and the hours all work, but the last 7 leds for the day of week is not turning on.
this is the code for turning ...
0
votes
0answers
9 views
Issue while connecting ESP8266 with Arduino Mega. It always says “Module have no response.”
I am having Issue while connecting ESP8266 with Arduino Mega. It always says "Module have no response."
Please check and correct me if I am wrong anywhere.
I am using below code and and wiring ...
0
votes
1answer
28 views
Arduino: Record value of the encoder only once at the instant my joystick reads 128 (when at rest)
I'm working on a project where I need my arduino to detect the value of encoder at the instant the reading of the joystick change to 128. When the joystick is at rest, the reading is 128 which also ...
2
votes
3answers
46 views
Passing the input from one pin to another as output without polling?
I am trying to pass the input from one pin to another pin as output. Effectively I want to create a blind passthrough. The end goal is to connect two Arduinos and a series of test points together like ...
0
votes
1answer
31 views
Why does my LCD display random characters?
I've been struggling with my LCD for hours, and after solving more different issues than I can remember, I'm out of ideas for this one.
My LCD is showing random characters, see the picture below (the ...
0
votes
0answers
19 views
Serial does not work when LiquidCrystal library is used
I have been struggling with a LCD for 6 hours straight - I've had many problems including random characters showing up, and this time (not quite sure what changed, I tried so many things) as soon as I ...
0
votes
0answers
17 views
Why are some of my GSM Modules not taking commands?
I had posted a couple weeks ago about having a GSM error. I had moved past it and the code seemed to be working on my GSM module (I think a SIMCOM). But then I needed to create some more systems and ...
0
votes
1answer
17 views
Integrating two Arduino Ethernet libraries in one sketch
I am trying to integrate two different Arduino Ethernet libraries, EtherShield and UIPEthernet in one sketch.
EtherShield library is used to control LEDs via Android mobile application. While ...
2
votes
1answer
61 views
Atmega168 Watchdog timer
I'm trying to use the watchdog timer to prevent the atmel from being stuck in a loop.
Right now, I have the watchdog timer in System Reset Mode, with a 8sec timer. I reset the timer in every loop ...
1
vote
2answers
26 views
Human circuit trigger
The main idea is to create trigger which can be switched on by touching 2 plates on opposite walls. And these should be performed by few peoples holding each other hands.
Obviously human body has big ...
0
votes
3answers
18 views
HC-06 data receiving
I've wrote a script in python which sends data through PC's bluetooth to HC-06 on arduino.
"state" is integer from 0 to 1000 (it is controlled through potentiometer)
...
...
0
votes
1answer
14 views
NRF24 Mixing with/without antenna
Is it possible to have the NRF24 module on an Arduino Mini transmitting to an NRF24 with SMA antenna on a Mega? In that case, would the antenna on the Mega help pickup the signal of the transmitting ...
0
votes
1answer
17 views
serial communication between several arduinos to pc
Is possible the communication between several Arduinos to one serial port in the PC ?
If I have ARD_A, ARD_B,... ARD_Z running with some code like this
void setup()
{
Serial.begin(9600);
}
...
1
vote
2answers
62 views
How do nested for loops work?
In the following code from an Arduino sketch will it run the first "for" statement before enacting the second "for" statement. Also how does it know go run the first stamens again? Will it continue to ...
-1
votes
0answers
30 views
How can i make an autonomous quadcopter? [on hold]
I want to make an Arduino based quad-copter which is completely autonomous and can avoid obstacles. I want it to follow some flags like a line following robot that follows a line something like that ...
0
votes
1answer
40 views
GET the first result in HTTP request
I have a String content="" and if I put an HTTP request like this:
client.println("GET /api/actions?parking_id=39 HTTP/1.1");
client.println("Host: ramp-rampcontrol.rhcloud.com");
...
-2
votes
2answers
68 views
How I can make serial output print short?
Could someone help me how to make the serial output short with number from 1 tob10.
This is photo about my sketch and I need it short instead of long sketch:
#include <Streaming.h
//setup
void ...
2
votes
3answers
44 views
Arduino beginner - doubt about blinking LED code
I'm new to Arduino so this may be a really silly doubt but I'm not finding an explanation for it anywhere online. I first uploaded this code (to blink 5 LEDs) on my Arduino Uno :
void setup(){
...
0
votes
1answer
12 views
SIM900 AT command HTTP GET request not show the web page
I build a simple HTTP GET request by SIM900. Here is it:
-----1-----
AT+CSQ
+CSQ: 25,0
OK
-----2-----
AT+CGATT?
+CGATT: 1
OK
-----3-----
AT+SAPBR=3,1,"CONTYPE","GPRS"
OK
-----4-----
...
0
votes
2answers
33 views
Comparators for digital input mode
I've asked another question in electronics about what to use to compare 2 input voltages, the answer was to use comparators.
Digging around a bit, turns out most of the comparators outputs are ...
1
vote
2answers
36 views
USB mini type B port on Arduino Uno
I bought today an Arduino Uno R3, and I'm looking forward to make it an HID device. I have seen many projects using a serial USB type B port. As I want to build a little gamepad, I would like to use ...
0
votes
1answer
25 views
How to connect this motor driver board to Arduino to drive bidirectional motor?
I am familiar with using PWM on Arduino and have done so with simple 3-pin interfaces: e.g. PWM, DIR (direction) and GND pins. Choose a direction with DIR, set speed with PWM in software (0 - 255), ...
0
votes
1answer
23 views
Transistors to switch monitor inputs
I am using the following setup on my Arduino UNO to measure cpu fan RPMs:
The code is set to bring the trigger pin for each transistor high when it is checking that fan's RPM and FreqMeasure.h is ...
0
votes
1answer
32 views
Would Arduino Nano be good for Bluetooth + Sound
So I've been browsing around for a whole looking for a good microcontroller that's super small. So far the smallest one I found was an Arduino Nano. But before I go buying it, there are some questions ...
0
votes
1answer
38 views
Buttons and LED
I am creating a program that turns on and off an led. When two buttons are considered "high". But there is a twist, The first button needs to stay "high" until the second button is pressed and the led ...
3
votes
1answer
75 views
Arduino code (on board) runs really slow
Stumbled upon this weirdest behavior, from time to time, my Arduino (UNO) runs gode really slow.
Searching this issue didn't clarify anything, most people have problems with IDE itself. My issue is ...
0
votes
1answer
12 views
Problem in SIM900 GPRS connection
I make simple code to read web page by ITEAD Gboard. Here is my code:
Serial.write("\nStarting..........\n");
mySerial.print("AT+CSQ");
delay(1000);
while(mySerial.available()!=0)
...
0
votes
1answer
30 views
Potentiometer won't work
I'm trying to get the potentiometer seen at the top left of the photo to work, essentially as a dimmer. I've managed to upload the Arduino sketch, but it isn't working. Any help would be greatly ...
0
votes
0answers
16 views
Can't program bareduino. “avrdude: stk500_recv(): programmer is not responding”
I've built a bareduino. The blink sketch that it came preprogrammed with worked. I was also able to program the ATmega328 by putting it into a arduino uno.
What I can't do is upload a sketch ...
0
votes
1answer
26 views
How to connect the SIM908 GSM+GPS+GPRS Dev. Board V1 to my Arduino Mega?
I'm trying to connect the SIM908 GSM+GPS+GPRS Dev. Board V1 from Electrodragon to my Arduino Mega. I connected the TX and RX pins to rx0 and tx0 in the Mega and the power pins using the diagram shown ...
1
vote
2answers
30 views
Making servo spin and able to detect angle
After researching other posts I can see how to make a servo spin continually and remove the ability to set to a specific angle.
What I'm trying to do is make a small project that has a spinning ...
0
votes
1answer
20 views
Looking for circuit diagram for evaluation of a pulsed signal
How can I evaluate a pulsed signal in Arduino? The signal comes from an car alarm system and is called (-) output 200 mA. Arduino and the car have the same GND. Can I attach the output through a ...
0
votes
1answer
16 views
Where to get the potentiometer that comes with Arduino kit
Does anyone know where I can get the potentiometer that comes with the Arduino kit? You can see them here.
They are sold out on their website.
0
votes
1answer
39 views
How do I start a function with serial input?
I want to create a LED Sunrise/Sundown alarm clock. Therefore, I will use a Raspberry Pi that is sending commands over serial to a Teensy 3.1. Like:
"30 Minute Sunrise starting with ...
1
vote
1answer
69 views
Why are there 3 crystals on the Mega2560 schematic?
I am a software engineer who is new(er) to electronics, I only started a couple of months ago. I've built a bunch of custom circuits, then some arduino nodes that are around my apartment that ...
-3
votes
1answer
24 views
Problem with Arduino code
Please help me with this code it's shows some error [but I can't be bothered to tell you what].
#include <TimerOne.h>
/**
Analog Clock
Paul Cox Dec 2010
*/
#define PI ...
0
votes
0answers
11 views
Client.connect galileo gen2 not working
I'm having a problem with the intel galileo gen2 ethernet. I am trying to get a webpage, but I can only connect to the ethernet, not the webpage.
I get this in the Serial monitor:
My code:
/*
Web ...
-1
votes
2answers
51 views
temperature control of water at 50 degrees C
I have to build a project that uses an Arduino Uno to heat water to 50 degrees Centigrade, it must also sound an alarm if the temperature exceeds 50 °C, this must also be done using using the PID ...
0
votes
1answer
25 views
Ethernet to Cellular Modem Possible? | GSM + Ethernet + Arduino
Is it possible to combine an Arduino µC with a GSM shield and an ethernet shield such that a device connected via ethernet to the Arduino has internet access over the GSM network?
I have a system ...
0
votes
1answer
12 views
Smart Servo Shield: How to upload code to AtMega8
I recently bought a Smart Servo Shield controller from DFrobot to use with my new AX-12A Dynamixel servos. The shield is attached to an Arduino Uno. The shield itself works fine, but it does not ...
0
votes
1answer
36 views
Hard-resetting an arduino
I need to hard reset (or seriously breathe life into) a stuck Arduino clone (Sunfounder UNO) which doesn't get recognized by Windows (error 43) after installing the wrong sketch. I am using the latest ...
0
votes
1answer
26 views
10k ohm Potentiometer vs 10k ohm Resistor on LCD Display
I'm trying to use a LCD Display with my Arduino, but I don't have a potentiometer and all of the guides I find always require one, usually a 10k ohm potentiometer.
The point is that I'm not very good ...
1
vote
1answer
14 views
Using Piezzo Electric buzzer 10V with an Arduino Lilypad USB
I bought a 10 V Piezzo electric buzzer and I wonder how to connect it to an Arduino (in my case a Lilypad USB, but the question stands for any Arduino I guess...).
I hadn't realized this was a 10V ...
0
votes
2answers
21 views
Communicating Via Serial1 on Arduino Mega
Apologies if this a relatively simple question, but I am rather new to Arduino's and cannot seem to find any concise information on the topic.
This is my XBee, mounted on a shield and placed onto a ...
0
votes
1answer
31 views
Why did my program stop working when I eject the serial cable like it did an auto reset?
Arduino Uno based on 328p micro-controller board only works while I am inserting the serial cable between the board and the computer and I can control the speed of my two motors and every thing is ...
-2
votes
0answers
24 views
Interfacing of Arduino with 0V7670
I want to interface Camera OV7670 with Arduino Mega, any suggestions?
I want to take an image through this camera, and send to it to the GSM mobile network.
0
votes
2answers
19 views
How to rsync my node.js project to my intel edison board, through ssh?
I would love to get rid of Intel's heavy XDK software, and be able to quickly push the updates of my node.js code into my Intel Edison (arduino compatible) board.
I tried this: rsync -avz ./ ...