All Questions
0
votes
2answers
13 views
Knowing the Arduino memory capacity
I am using Arduino uno. My data is storing into EEPROM whenever i run my program, it will store multiple data depend on the loop. For my program it calculate 10 sample in 0.1 sec, so 100 sample in 1 ...
0
votes
0answers
5 views
Using TMRpcm object, why is the SD Card failing to be found by arduino?
I am using this micro-sd card reader, and my wiring configuration is as follows (double and triple checked):
3.3v goes to 3.3v on the Arduino UNO
GND goes to Ground on Arduino UNO
D0 goes to pin 12 ...
0
votes
0answers
18 views
What electronics should I study to create something like a fridge temperature monitor? [on hold]
I would like to be able to design an arduino circuit for a fridge monitor that would have a temperature sensor, a small speaker to emit a sound when the temperature changes past a threshold and an lcd ...
2
votes
1answer
44 views
Shortest time interval that Arduino Uno R3 can read
I am doing a light speed determination experimsmt. Lightspeed is around 3*10^8 m/s. For this, I need to measure time interval between 2 light sensors in nanoseconds, Somewhere about 50ns. Is this ...
0
votes
1answer
15 views
Using both TMRpcm and VirtualWire libs with ATmega328, despite the conflict on TIMER1
I wanted to use both TMRpcm and VirtualWire with ATmega328 in an Arduino-like board I'm making, but both libraries use TIMER1. I wanted to use each lib for the following purposes:
TMRpcm: play a WAV ...
0
votes
0answers
22 views
Olimexino (32u4): power down
I want to power down my Olimexino as much as possible and only wakeup on a pin-change interrupt. I removed the 3.3V/5V jumper (so the processor does not get power) and 3µA were displayed, so the ...
0
votes
1answer
34 views
125KHz RFID reader with arduino
I want to know why toroidal inductor is being used in the RFID reader described in this site: http://playground.arduino.cc/Main/DIYRFIDReader. I feel that toroidal inductor wouldn't be very effective ...
3
votes
1answer
60 views
Delay function without using a timer
Is there a delay function available that does not use millis() which itself makes use of a timer? Does not need to be hyper-exact.
1
vote
1answer
19 views
Read multiple char from USART
int i, j;
char data;
int flag=0;
void loop()
{
if(Serial.available() > 0){
data = Serial.read();
flag=0;
}
if (data == 'd' && 'b') {
digitalWrite(cONOF, HIGH);
} else ...
0
votes
1answer
19 views
What is exactly MQ-2 sensor?
What detect the MQ-2 sensor detect?
I know it detects concreations of flammable gas. But does it detect smoke from fires too?
What about smoke from cigarettes, and other things?
1
vote
1answer
25 views
square root of large number
I've got 2 int16_t numbers, say 388 and 10288, which are sensor readings from an accelerometer. I want to estimate the angle of the device on that, but seemingly there are some type overflow issues:
...
0
votes
4answers
46 views
H_Bridge with PWM gets too hot
I'd like to use an H-Bridge AND send PWM signal.
I've used this schematics: http://itp.nyu.edu/physcomp/Labs/DCMotorControl
and use the PWM signal inside the enablePin. But the H_Bridge is getting ...
0
votes
1answer
20 views
YUN. How to reset the micro controller from linux?
As the title, I'd like to reset the Arduino sketch from the linux machine. Is it possible? how?
One solution could be to save the hex file inside the sd card and then upload it via the lua sketch but ...
1
vote
2answers
36 views
External (pin change) interrupt and power consumption
I want to write a lipoly powered arduino device that can be launched from sleep mode by pressing a certain key that is connected to ground. Usually, when no in sleep mode I enable the internal pull-up ...
0
votes
2answers
35 views
Measure low current with variable voltage
I want to make a system that always have the same current (about 1ma) in a water with silver electrode. At start it will be purified water so conductivity will be really low.
But with time silver ...
1
vote
1answer
34 views
How to avoid odd naming rules for Arduino when writing a library?
I'm building a small library that will be used and production and released open source. I'm paying a lot of attention to the "best practices" to make sure this code is reliable and easy to use. I also ...
1
vote
2answers
19 views
Using an Adafruit Trellis to control a set of relays
I've been going through my program again and again, and I can't figure out what is causing it not to work as intended. First, the story: I'm trying to use an Arduino to control a bunch of relays ...
1
vote
0answers
28 views
LED's won't light up when LCD/RNG hits 2 || 3 of a kind
I am a true beginner here. Trying to build a "slot machine" type game and am in the beginning stages. Found a RNG for LCD code and tweaked it a bit to get three digits to display randomly. Worked just ...
0
votes
2answers
47 views
Using Arduino as USB Device?
I'm trying to get audio data from an ADC connected to an Arduino into a host PC. I've done some digging and found LUFA, which I think Arduino uses under the hood. Is it possible to use the Arduino as ...
0
votes
1answer
22 views
Arduino GSM Module with network GPS
I have looked through the AT command set of Arduino GSM Shield boards. I dont find any AT command that provides network GPS. I wonder what I am missing. Why isn't it possible for GSM module to provide ...
0
votes
1answer
8 views
Arduino Nano and SIM300 module for http calls for location
I am new to Arduino and SIM300/900 world. But I see that there is a possibility of building a vehicle tracker (approximate locality since I will use GPRS network location) using just these 2 boards.
...
3
votes
2answers
100 views
Arduino Remote controlled RGB LED strip, having issues with brightness/dimming
I have this sketch:
#include <TimerOne.h>
#include <IRremote.h>
#include <RGBMood.h>
int RECV_PIN = 2; // IR-Receiver PIN
int led = 13; // Satus-LED PIN
int modus; ...
0
votes
1answer
24 views
Coding and libraries for Maxtronix Ultrasonic sensors
I need to access distance data using a LV-EZ0 Maxtronix ultrasonic sensor.
http://www.maxbotix.com/Ultrasonic_Sensors/MB1000.htm
Can anyone suggest what particular arduino libraries or code would be ...
1
vote
2answers
27 views
Arduino Packet for Bluetooth
I'm having trouble figuring out how to start my project. The objective is to control a robot with four servo motors and six DC motors through bluetooth. I have a bluetooth shield from Adafruit and I'm ...
1
vote
4answers
76 views
How to handle multiple input pins at once?
I am relatively new to Arduino platform and not know much. I am working on a Bicycle speedometer with turn and stop indicators.
I am planning on connecting an inductor magnet to calculate the ...
0
votes
0answers
22 views
How to send data from cc3000 to herokuapp server
I tried this code:
#include <Adafruit_CC3000.h>
#include <ccspi.h>
#include <SPI.h>
#include <string.h>
#include "utility/debug.h"
#include "DHT.h"
#include<stdlib.h>
...
1
vote
1answer
36 views
How to modify Arduino boards.txt to support new MCUs
In this post, it was mentioned that to get the Arduino IDE to support an ATmega328 (only the ATmega328P is supported):
I should mention the Arduino way of doing this, is to create a new
...
0
votes
0answers
15 views
Best way to process data received by EthernetServer
I have a program where the Arduino acts as an Ethernet Server.
The client continuously sends packets which is of the following format
Start Byte=0x7E;
Some Data/Command Bytes; //Can be of ...
1
vote
1answer
55 views
Why can't this C++ program read my arduino's Serial.write()?
I made a super simple arduino uno sketch to send a serial byte once every second:
void setup(){
Serial.begin(9600);
}
void loop(){
Serial.write(12); // send a byte with the value 12
...
1
vote
2answers
49 views
Using Arduino to learn AVR programming
I want to learn AVR C programming instead of arduino programming. I have an arduino UNO board and few Atmega328 chips that I bought, and Atmel studio for programming. Can I UNO board as programmer to ...
0
votes
0answers
40 views
RGB LED strip with Arduino
I am trying to control an RGB LED strip with an Arduino. I have followed the tutorials in both of these websites:
Using MOSFETs: https://learn.adafruit.com/rgb-led-strips?view=all
Using LED ...
0
votes
0answers
30 views
Using Leonardo and getting absolute x,y Mouse values
Trying to modify the native mouse methods so that it can use absolute, rather than the relative values it currently uses. This is so it can function as a touch screen pointer, and NOT a mouse.
Am ...
1
vote
2answers
18 views
Simply Button Problem (Teensy 2.0)
I am getting back into doing some hardware stuff after a fairly long time away and am having a hard time getting back into it. I have a Teensy 2.0 and am trying to run a basic sketch that when a ...
0
votes
1answer
43 views
What is this component? (range finder)
I've taken apart an old range finder (see photo here). It uses a circular, seemingly gold-plated, two-wire sensor that I'd like to re-use in an Arduino project.
I'm looking for a datasheet of the ...
2
votes
4answers
116 views
Need a sensor to make ball roll away from pet but which sensor?
Having recently entered the world of Arduino I am seeking to make, as my first project, a ball that will sense my dogs approach and roll away.
I can handle the rolling part but I have been unable to ...
0
votes
2answers
57 views
Raspberry pi -Arduino bridge
I am building a small wireless controlled robot using the Arduino and the raspberry pi. It works by the user wirelessly connecting through to the raspberry Pi (using vnc or some other form wirelessly) ...
0
votes
1answer
36 views
Can anyone tell me the best books for studying UAV? [closed]
It's kind of hard to get full guide from the internet. I just wanna buy a book for UAV guide. I gotta make DIY drones. I'd appreciat it if you recommend good books.
0
votes
0answers
18 views
ANALOG ANGLE CONVERSION FROM +70 DEG TO -70 DEG
I am using below sensor (accelometer ).My application is solar tracker, Where i wanted to convert the sensor output into +70 degree to -70 degree format.My question How to convert the angle
#define ...
1
vote
1answer
38 views
Why does arduino work on usb power?
The arduino website states that the operating voltage of an arduino is 7-12V.
Why does the arduino work powered on just usb then? As usb only outputs 5V and 500ma.
Is it preferable to say run the ...
0
votes
0answers
24 views
converting arduino uno with Ethernet Shield sketch for Ardunino Yun
Hi I'm new to the Arduino Yun and I'm trying to convert a sketch written for the Arduino Uno with a Ethernet Shield. The sketch does HTTP posts to Azure Mobile Services.
I've added in the Bridge.h ...
0
votes
2answers
31 views
RGB LED Strips with Arduino
I am trying to control an RGB LED strip with an Arduino. I have followed the tutorials in both of these websites:
Using MOSFETs: https://learn.adafruit.com/rgb-led-strips?view=all
Using LED ...
2
votes
2answers
57 views
Exoskeleton Motor Control Code
Background:
I have been working on an exoskeleton project with a group of friends, and I need help. I made another post on the robotics.stackexchange site for the drive system: ...
0
votes
0answers
47 views
Serial communication between pc and arduino via RS232 using c++
I am trying to communicate with my arduino duemilanove via an RS232 cord. I simply want to be able to send a byte (or char) to my arduino from a desktop application. The Arduino is plugging into USB ...
0
votes
0answers
34 views
Connection issues with TI CC3000 & Arduino Uno
I bought a CC3000 Wifi Shield from Sparkfun and attached it to Arduino Uno board.
As first thing I tested the board with the board test example:
SparkFun CC3000 - Board Test
CC3000 ...
0
votes
1answer
28 views
Connecting Arduino Android Wirelessy
I am working with Arduino and Android. I am interested in connecting Arduino (Mega 2560 ADK) to my Android tablet (Nexus 7) wirelessly. The chepaest option is via bluetooth but the communication in ...
1
vote
2answers
63 views
Arduino Control over the internet
I am really interested in IoT (enthusiastic noob) and I would like to use the arduino board. Here are the steps according to me, with my queries:
User goes to example.com/arduino_switch
Interacts ...
1
vote
3answers
57 views
arduino boot loader problem
I am using atmega 328pu instead of atmega328p-pu. I am trying to upload the bootloader using AVR pocket programmer.
I have changed signature from 0x1e 0×95 0x0F to 0x1e 0×95 0×14.
(Relevant link)
...
1
vote
0answers
44 views
Cannot read from 2 I2C slaves consecutively
I am currently trying to communicate between 3 Arduinos using I2C. One of them act as a master, while the rest act as a slave.
I can request data correctly from the master. But if I were to do a ...
0
votes
0answers
27 views
Transfer data between Yun and Sketch in Python
I'd like to have my main programming logic in Python and interface with the Sketch for things such as IO (I have an SPI LCD screen that I'd use to output strings and such, also buttons for control ...
0
votes
1answer
29 views
How do I proceed with a fall detection sensor?
I am working on a human fall detection system using accelerometer and gyroscope which raises alarm in case of a fall. In all the papers I have read people have used net acceleration magnitude and ...