0
votes
1answer
34 views

Identified amplitude in secret knock project

I'm doing project like this http://grathio.com/2013/11/new-old-project-secret-knock-drawer-lock/ The project only process time interval between knock, and I try to add amplitude as input, if I just ...
0
votes
0answers
26 views

Arduino not connecting to computer after working before

I bought my Arduino Uno R3 a few months ago. It's been working like a charm since then, but today, it stopped interfacing with my computer. Let me be more specific. I have a 2013 Macbook Pro Retina ...
0
votes
0answers
18 views

Trouble loading code to Arduino board from Mac OSX Mavericks

I have an Arduino Uno and code was loading fine yesterday but today I am consistently getting the following error (shown by setting the upload section to verbose) avrdude: Version 5.11, compiled on ...
0
votes
2answers
29 views

Passing array of uint8 to function reduces its size (c++ code) [duplicate]

I'm having trouble with some code that I'm writing using the Arduino IDE. The problem I'm having occurs when I try to pass an array of type uint8_t of length 12 to a function. When passing the ...
0
votes
0answers
45 views

Define Loud and Soft Volume of Sound

Analog_Read() in Arduino range from 0-1023. If I'm using a Piezo Buzzer, how I can define from range 0-1023 that the sound I read are Loud or Soft? I'm already testing it (basic Piezo Buzzer and ...
0
votes
1answer
21 views

duino bleep code not running

I am trying to run the following nodejs code, based on the duino module found here: https://github.com/ecto/duino bleep.js: var arduino = require("duino"); var board = new arduino.Board(); var led ...
0
votes
1answer
25 views

Json parsing with arduino uno

Hi I was wondering if there is a way to parse json response from a server. I'm using arduino uno with a wifi shield. Also is it advisable to process json? I read that the uno may have too little ...
0
votes
1answer
22 views

Android and BarTender Arduino 1.0.5-r2

I am creating drink using Android nexux5 and Arduino Board. When I send the data from android device to Arduino Board It giving me the output "Evt disconnected Advertising time out error" I am ...
0
votes
1answer
24 views

How to debug Arduino Duemilanove Boards using Atmel Studio Version.6.2

I am using Arduino Duemilanove and I have followed the tutorial from this link http://www.engblaze.com/tutorial-using-atmel-studio-6-with-arduino-projects/ inoredr to use flash the program from Atmel ...
0
votes
0answers
11 views

arduino cannot connect to network

Hi I just bought a wifi shield and I cannot connect to my wireless network (WPA2). I used the sketch from the arduino site for connecting to WPA network and put my SSID and password on but it doesn't ...
0
votes
0answers
19 views

Arduino wifi shield cannot find IP address

Hi i'm trying to access my wifi shield's ip address on the browser but I keep getting Oops! Google Chrome could not connect to "IP ADDRESS". Things I've done: 1.)Updated firmware on wifi shield ...
0
votes
1answer
14 views

Arduino upgrading firmware

Hi I'm trying to upgrade firmware on my wifi shield by following the http://arduino.cc/en/Hacking/WiFiShieldFirmwareUpgrading instructions for mac. I was wondering what this means? "Connect a jumper ...
1
vote
1answer
52 views

c++ program for arduino failing

I'm trying to write a simple / my first hello world program for the arduino using ther IDE. I have the following code block: void setup() { Serial.begin(9600); } void loop() { ...
0
votes
1answer
36 views

Raspberry Pi, ROS, Romeo board, Arduino - How are they interlinked? what are basic connections between them to build a robot?

I am a newbiee in building robots, And through searching internet i find out that we need Raspbery pi (a computer), Romeo board (The hardware), Arduino (Development environment), ROS (Robot operating ...
-2
votes
0answers
35 views

Arduino IR Sensor thingy

can somebody help me modify this code: /* Raw IR decoder sketch! This sketch/program uses the Arduno and a PNA4602 to decode IR received. This can be used to make a IR receiver (by looking for a ...
0
votes
1answer
82 views

MG811 CO2 wiring help Arduino

I have a CO2 sensor with 4 pins. VCC, DOUT,AOUT, GND. Where does the VCC, AOUT, and DOUT wire to? I found no wiring manual when I purchased this sensor off of ebay. I have gone to this link where ...
0
votes
1answer
21 views

error: expected constructor, destructor, or type conversion before '.' token?

I'm trying to run this program on my arduino, here is my code: http://pastebin.com/z4K3ZgA0 Please Help!
0
votes
0answers
26 views

How can I send 1 char after loop data is sent from Arduino serial to iPhone app via BLE?

I'm building an app for iPhone/iPad that monitors output from 3-4 sensors on an Arduino vis BLE and have a very simple sketch set up for proof of concept. void setup(){ Serial.begin(9600); ...
0
votes
0answers
8 views

How to deploy an m-file with a supporting subfolder?

I have a M-file with an ArduinoIO package supporting it. The package contains .m and .ino file extensions. My question is, what is the proper way to deploy the function in .NET to be specific? I need ...
0
votes
1answer
34 views

Has anyone used Arduino Fio with an MPU 6050?

I am having trouble using the MPU 6050 DMP with my Arduino Fio. I have been using the code provided by https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050 and I am having a really tricky ...
0
votes
1answer
33 views

Arduino - How to control piezo with button?

What I am trying to achieve is a button that acts as an on/off switch for playing a tune on a piezo. Initially I want the piezo not to make any sound until the user presses a button, and then they can ...
2
votes
1answer
253 views

Issue communicating over serial to Arduino from Matlab

Update 2: Turns out adding a pause(2) after opening the serial port was all it needed. Update: I am able to manually enter the Matlab code into the Matlab command window and it will update the LEDs ...
0
votes
3answers
63 views

Arduino Coding Issue: 2 sections not working when combined

I'm using an Arduino Uno and trying to code together 2 parts of a school project. Both parts work fine separately but when combined, only part 1 works. Part 1: Involves 1 button switch, 2 LEDs where ...
0
votes
0answers
44 views

Getting irregular output on Serial Monitor made with C++ (PC interfaced with Arduino)

I have a basic sensor system set up with an Arduino Uno. IR Emitter pointed at a phototran. Analog in reads the voltage (Vce) across the phototran. I need to be able to detect interference with a C++ ...
0
votes
1answer
122 views

Bluetooth RN41 does not respond

I want to send some commands to my RN41 Bluetooth Module connecting to Arduino Leonardo over the serial port using serial monitor, as the tutorial shows. But it does not respond. I can connect to the ...
0
votes
0answers
38 views

Arduino Touchscreen TFT2.8

I have touchscreen TFT 2.8 Arduino MEGA 2560. I have a project to do for my school, and it's been several days since I struck on something .. I want to display an image on the screen, but when I ...
0
votes
1answer
38 views

allocate/reserve avr sram with known address at load time to fit into progspace

i'm trying to reserve some bytes of sram where the address MUST be know at load time so that it can be fitted into PROGSPACE. Untill now i tested my code ok with a tricky allocation on the arduino ...
0
votes
0answers
88 views

Arduino Interrupts and simultaneous activity

I have some code that does multiple things and I would like some information pertaining to the various kinds of interrupts. Most of my code is event based. So I am using timers to call certain events. ...
1
vote
0answers
44 views

how i can decide the the direction in the line follower

i wrote line follower code but i am stuck how to decide the direction. here is my code: void LineFollower(){ unsigned int sensors[6]; uns igned int position = qtrrc.readLine(sensors); // ...
0
votes
3answers
677 views

Sending data from arduino through bluetooth serial

I’m currently trying to design a controller that would communicate through Bluetooth to an android phone (Galaxy Nexus). I’m facing a few challenges. Also, I don’t have much practical programming ...
0
votes
2answers
82 views

Arduino: Upload Timeout error

I'm new to the Arduino programming. I'm using an Arduino Mega 2560 R3 and use Arduino IDE 1.5.5-r2. I have a very simple program and when I try to upload, it locks near the end. Some time appears to ...
1
vote
2answers
579 views

Seeedstudio SIM900 Arduino GPRS Shield V2.0 does not reply response to terminal

I have Arduino Leonardo and Seeedstudio GPRS Shield v2.0. Both of them working seamlessly. Following tutorial on main gprs shield link here, I've succesfully compiled the following code to arduino: ...
0
votes
0answers
122 views

Arduino DS1307 RTC and PHP Sending Clock date to MYSQL

I have a DS1307RTC, Arduino Mega, and a WiFi shield. I would like to send the clock date to a PHP script and have that script write to MySQL. I posted the code below. As of now, the &hour works ...
0
votes
1answer
35 views

Read and write values from a Class in arduino IDE

I'm using a timer library which has a function that takes a void function as parameter to execute it after a certain time. I want to use a function that writes a value on a digital PIN depending on ...
0
votes
0answers
25 views

Arduino Sketch Issue: avrdude: stk500_recv()

I have an Arduino UNO that I plugged into my mac. I trued to use the sketch example "Blink," however, I keep on getting the error: avrdude: stk500_recv(): programmer is not responding Any ideas? ...
-1
votes
3answers
250 views

Arduino Digital Pins HIGH LOW output seem to be reversed

I've written a code last year which was working well at that time. However on loading the same code this time I am getting reversed output. That is, when the Digital Pin is set to HIGH, it return LOW ...
0
votes
2answers
150 views

Reading back ATmega328p program using FTDI Basic

I am trying to read the application I programmed to an ATMega328p atmel processor using the FDTI Basic small usb board, I am using Avrdude 6.0.1 and I am using the following command: avrdude.exe -p ...
0
votes
1answer
430 views

correct way to include .cpp and .h files in an Arduino sketch

First, the problem: main sketch file: char foo; // required to clean up some other problems #include <Arduino.h> // tried it in desperation, no help #include "a.h" void setup(){ ...
0
votes
1answer
56 views

Arduino help, which value is the largest?

I'm working on a program that will read distance with 16 analog sensors. I just came to the problem, and compare them to see which one is the largest. Perhaps there is a method or something that help ...
0
votes
1answer
101 views

Arduino Software Reset WITH Bootloader

I am trying to accomplish a reset of the arduino using a watchdog timeout that allows it to return to the bootloader to be programmed. However the over arching objective is simply to be able to reset ...
1
vote
1answer
86 views

Arduino: initialise custom object in constructor

I've created 1 library with 2 classes. Class Wave and Class LEDLamps. In the second class constructor i'm trying to populate a array of first class objects without any luck. Here are some parts of ...
0
votes
1answer
17 views

Arduino call windows/system left/right arrow function

I'm new to the Arduino scene and was wondering how I would get my sketch to call or interface with windows. For instance if I create a circuit with two buttons how would I use those buttons to call ...
0
votes
0answers
347 views

Speed measurement with arduino and ultrasonic hc-sr04 sensor?

i want made speed detection "device" using with Arduino and two ultrasonic hc-sr04 like this link. but I want to make it with ultrasonic instead by LDR. from that link. how lasers and ldr work, like ...
0
votes
1answer
42 views

Arduino fsr retains value

Hi I'm doing a project using force sensors with arduino uno. The problem I have encountered is that when I apply force on the sensors it shows the value but when I stop applying force it stills show ...
0
votes
1answer
78 views

Arduino issues with fsr and LCD

I am doing a project which requires the use of arduino uno, 4 force sensors and a 16x2 LCD. I'm trying to display the readings of the force sensors onto the LCD with the implementation of the buttons. ...
0
votes
1answer
67 views

How to send fully cycle pulse on lower volts with Arduino?

I am currently using analog pin 3 on my Arduino Uno to send out voltage from 0 to 5V. I am using that voltage to control the motor and currently I am using the function: analogWrite(pin, PWM_PULSE); ...
0
votes
1answer
41 views

Arduino WiFi shield rarely connects to network, any tips?

// attempt to connect to Wifi network: while (status != WL_CONNECTED){ listNetworks(); Serial.print("Attempting to connect to SSID: "); Serial.println(ssid); // Connect to WPA/WPA2 ...
0
votes
1answer
193 views

Arduino PID on a Timer

I am trying to configure my arduino mega with PID functionality. The arduino example initiateS a Relay that turns on and off that is based off the 'millis' function. However, I would like to know if ...
1
vote
1answer
141 views

Arduino at 11.0592MHz. Modify Timer0, delayMicroseconds()

I am using the ATMega328P at 11.0592MHz with the Arduino environment. I recognized that the delayMicroseconds() function is about 27% too fast. The reason is, that the code in wiring.c assumes that ...
0
votes
0answers
69 views

Arduino Wifi UDP begin Errors

After installing my library wifiudp and including it in my sketch it works fine. The moment I put WifiUDP.begin into my sketch, I get these errors. I go to my cpp file where the errors are referring ...