Arduino is an open-source electronics prototyping platform.
-1
votes
0answers
4 views
Curve Fit on Arduino
It is possible to put this library and function on an Arduino?
http://rosettacode.org/wiki/Polynomial_regression#C
I need to curve fit 5 points.
Has anyone done this before? This was the best I ...
0
votes
0answers
8 views
HTTP vs TCP/IP, send data to a web server
I'm currently working on a project where I need to use an Arduino Nano (http://arduino.cc/en/Main/arduinoBoardNano) to send data from a temperature sensor to a web server.
At first I thought it would ...
0
votes
0answers
6 views
Smoothie Chart doesn't work on Arduino webserver
I'm trying to read the value of pin A2 and show it on a webpage.
I now have this arduino code:
/*--------------------------------------------------------------
Program: ...
0
votes
0answers
18 views
Android speech to text unable to display custom toast message when bluetooth is enabled
I am trying to write a code where it will be able to send bluetooth signal to arduino when a specific speech to text is being detected. Speech to text is able to display custom toasts when bluetooth ...
0
votes
0answers
7 views
Android App Help ( Data from Bluetooth stream )
SO i am creating an app for a project which requires me to get data on my android application from a Bluetooth HC-05 adapter, i just want my android app to read that Serial Data and plot it on a graph ...
0
votes
0answers
10 views
SensorGraph fail to load sensor data
I really need somebody to help me. I have an arduino nano V3.0 ATMega328, MPU-6050 accelerometer/gyro sensor and JY-MCU Bluetooth. I have followed the tutorial given from the Amarino website ...
0
votes
1answer
15 views
Serial Output to Arduino LED Display
I recently completed this project with my Arduino (a fairly new hobby for me):
http://www.instructables.com/id/Make-a-24X6-LED-matrix/?ALLSTEPS
I can change the code to make whatever messages I want ...
1
vote
0answers
7 views
graph and save serial data into processing
just wanted to say I've been using the forums to learn a lot so thank you to all contributors and supporters of stack overflow.
I'm a student new to processing/arduino and I'm trying to make a ...
-1
votes
0answers
18 views
Arduino GSM(SIM900) tcp server
I start TCP server with arduino GSM SIM900
Here is SIM900 library http://www.gsmlib.org/download.html and this is my GMS modem:
#include "SIM900.h"
#include "SoftwareSerial.h"
#include "inetGSM.h";
...
0
votes
1answer
21 views
Arduino library include error
I'm writing a library for a Arduino project, and i have been struggling with this code for quite a while now. I keep getting this error: "motorSource.cpp:4: error: 'motorStyring' has not been ...
1
vote
0answers
7 views
Serial.IsOpen failed - C# - Kinect
I'am working on a Kinect User Interface gesture recognition.
I also used an arduino with eight leds connected to the digital pin. The leds simulate an output (like opening the doors).
So I used the ...
-2
votes
1answer
31 views
What is a .tlc file?
Hi im quite new in this stuff. I am trying to get an arduino board to run with a stepper motor and Simulink model but when I try to run my Simulink model on the arduino i keep getting an error that ...
0
votes
1answer
18 views
Arduino port gets stuck on
I am trying to create a pattern that will turn one of the Arduinos ports on and off. However, after about 2 on/offs it gets stuck on and won't turn off unless I unplug the Arduino. I have tried many ...
0
votes
0answers
11 views
Creating a Web Server: Multiplexer & Ethernet Shield
I am trying to send the data from a bunch of sensors to a web server that I've written using Node.js. I have written the following code for my Arduino Sketch but it doesn't work. Can someone help me ...
1
vote
0answers
35 views
Arduino Mega receiving correct data through Serial 0 but not Serial 1-3
I currently have a HC-06 Bluetooth device connected to my Arduino Mega 2560 in order to receive strings sent from an Android device. With the HC-06 on Serial 0, I am receiving the data without error ...
-5
votes
0answers
21 views
Anyone know how I can create this type of accessories service for iOS / android (I use ARDUINO) [on hold]
I need to read what is on the screen of the phone and send it via bluetooth to the accessory.
and receiving information as an accessory keyboard input.
See this example.
...
0
votes
0answers
17 views
Can I send data via android bluetooth on schedule?
I'm making mobile app in android for room automation control via bluetooth ( android -> bluetooth -> arduino -> devices ). I want to make few sceneries, for example when I wake up at 7am I want to get ...
0
votes
0answers
14 views
How I can emulate a arduino program on my PC, and handle it with my phone?
I want learn arduino ,but i don't have one.
so i wanna emulate a basic program on arduino, can handle with my phone.
for example turn a LED , from mi android phone
-1
votes
0answers
17 views
How to control servo ( Arduino ) via Bluetooth with slider in App Inventor?
im 15 years old and i need help for my school competition. I'm trying to control my servos with sliders in app inventor.
I've tried this code, but is not working (slider in app inventor sending text ...
0
votes
0answers
29 views
Arduino APDU comunication
I want to read my personal smart card's PAN.
I am using SCLib for arduino, i receive the correct ATR ("3B FF 96 00 FF 81 31 FE 45 65 63 06 07 52 02 50 00 10 A0 B0 A0 92 06 40 EE"), but when i'm ...
1
vote
0answers
20 views
Real time image processing timing
I am using Arduino controller with MATLAB to build a system that reads in sensor data, which triggers a live feed camera to capture an image for real time image processing. Based on these results ...
0
votes
1answer
18 views
How #define works arduino?
I have some confusion about the #define thing in Arduino. Normally I use #define to select the pin I want to use.
But here the code has lines like
#define LTC_CS 2
#define LTC_MISO 4
#define LTC_SCK ...
0
votes
0answers
16 views
Sending Data to WEB server: Data is being sent, but only once
This code sends data to my server, where it is being get with php and sent to mysql.
The main problem is, that I use cycle void loop(), but it does its task only once. If I will reset the Arduino, ...
0
votes
1answer
6 views
Transmission of a JPEG image to Email Address or Mobile Device
Can anyone provide insight on how to send a JPEG image from an SD card on an Arduino Mega 2560 board to someone's email address or phone?
0
votes
2answers
92 views
How to minimize code size?
I have some problems with memory. Is it possible to reduce memory of compiled programm in this function?
It makes some calculations with time variables {hh,mm,ss.0} and returns time (in millis) that ...
0
votes
0answers
10 views
How to keep HTTP session with arduino ethernet shield and web client
I want get json from my website. I am trying send POST request for authentication and after it i want to send GET request for getting json, but i can't do it, because it gives me en error 401 ...
0
votes
1answer
16 views
Unable to get switch to change LED color, just loops through all colors regardless of switch pressed or not
I am trying to learn how to do basic things on Arduino by working through this tutorial http://lilypadarduino.org/?page_id=216. I would like to write a program that would allow me to control a 3 color ...
1
vote
0answers
21 views
jssc send message to arduino
I tried to send some string to my arduino: t11:45#d2014.04.15#p#
on this way:
Java code:
String message = (String) params.get(MESSAGE);// // t11:45#d2014.04.15#p#
System.out.println("SENT:" + ...
0
votes
0answers
8 views
QtCreator: DTxfrUsb “0” error checking failed (what does it mean?)
I am sure I have qextserial port installed (it is included in my project, and is in my qtcreator main project).
My program builds and runs, but i always get the following notification in my ...
0
votes
1answer
22 views
QT undefined reference error (Qextserialport)
i found this code for QT Creator and am brand new to the IDE, but have been trying to get this code to run. The main error I am seeing is about 12 instances of similar errors related to ...
0
votes
2answers
38 views
how to stop a loop arduino
I have this loop, how would I end the loop?
void loop() {
// read the pushbutton input pin:
a ++;
Serial.println(a);
analogWrite(speakerOut, NULL);
if(a > 50 ...
0
votes
2answers
47 views
show highest score
I have a simple program that has a loop to create a timer, a beep starts the game and ends the game, there are 4 buttons so 4 players.
I have a button click event that registers a click every time ...
1
vote
1answer
20 views
Hex multiplication on an Arduino
I've been coding in high-level, dynamically-typed languages for a long time, but I've just recently started working with C++ (on Arduinos). I'm trying to write a function that converts 3 ints between ...
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
2answers
18 views
PHP to UDP over a port
I need to send data from a web page to an arduino, but without knowing the ip address. My idea is to make the arduino listening on a specific port and the web page would send data to this port.
Can ...
0
votes
0answers
23 views
Measuring TDOA using Arduino
I need help with a project, i have done extensive research, but I still cannot seem to find out what is wrong. I'm trying to localize sound using TDOA(Time Difference Of Arrival). Which in theory is ...
0
votes
1answer
16 views
Problems with arduino tone command
I am trying to make an Arduino Piano with analog sensors as keys. However, all of the keys produce the same tone, the tone produced doesn't appear anywhere in the program. When multiple keys are ...
0
votes
0answers
18 views
Compiling AVR CDC-232 in Arduino IDE
Please tell me how to build the project AVR CDC-232 in Arduino IDE.
I can collect it in an environment AVR Studio 4 (for atmega328/16MHz), but in the Arduino IDE reporting errors, eg
Code:
: In ...
0
votes
0answers
18 views
Retrieve data from HC_05 in Android through Bluetooth
I am trying to develop one Android that will retrieve data from Arduino Board through Hc-05 Bluetooth model. I faced the problem to read the data from the hardware. I can able to connect with the ...
0
votes
1answer
25 views
Arduino Serial.readBytes() Incompatible Types
When I do this on Arduino:
const unsigned long baudrate = 57600;
const int TledPin = 13;
//---------------------------------------------------------------
void setup() {
...
0
votes
1answer
17 views
Server not sending HTTP 101 response when creating a websocket using CC3000 and socket.io
I am connecting CC3000 to a node.js server using socket.io. I have used the following library to create a websocket
https://github.com/chadstachowicz/socket_io_arduino_cc3000
In SocketIOClient.cpp, ...
0
votes
1answer
42 views
How to automaticaly get IP to my server program?
Is there any possibility to obtain IP by DHCP to my server program? I want to create an "receiver" using TCP server to obtain data sent by Arduino.
If'd use IPAdress.Any I get 0.0.0.0 IP address.
-1
votes
0answers
25 views
Are there any open-source simulator for AVR and electronic circuits?
To simulate arduino boards (both ATMega MCUs and electronic circuits).
0
votes
1answer
23 views
Arduino Uno Code Creates Incorrect Time Values
Hello I have an Arduino Uno board that I got recently and I am trying to run a stopwatch function on the board. I have two momentary pushbuttons. When the first button is pressed it stores the amount ...
0
votes
1answer
22 views
If statement with function as a condition in Arduino without () works fine
I was using function returning bool as a condition in if statement in Arduino:
bool conditionFunc(){
return true;
}
void setup(){}
void loop(){
if (conditionFunc){
}
}
In my opinion I should ...
0
votes
0answers
24 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
1answer
31 views
2 Pin RGB LED on an Arduino
I'm having some trouble setting up my RGB led. It's not common anode, so it only has 2 pins. Not 4. I can't seem to set the led up to change color. It will only blink red. I want the led to cycle ...
0
votes
1answer
14 views
Serial communication in python causing higher CPU usage over time
I have a script that utilizes OpenCV to track an object and communicate the location to an arduino. Essentially all it's doing is passing an integer to the arduino and the arduino interprets the ...
0
votes
0answers
15 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
19 views
Arduino LCD Not displaying?
So I just wanted to mess around with my arduino LCD display (May I add it came with the kit from arduino...)
Basically all the wiring is fine, and is done as the diagram shows in the book.
The back ...