0
votes
0answers
2 views

Arduino Program for Olimex ekg/emg shield to detect heart rate in bpm as well as show ECG in ElecGuru software

The manual of olimex ekg/emg shield provides a link for ShieldEkgEmgDemo code, it can show ecg in realtime in a software ElecGuru. The link to software is also provided in the manual. I need to get ...
0
votes
0answers
5 views

avrdude get_sync() error response values

I programmed AVRISP onto my Uno R3 and setup a breadboard to program a standalone AVR following standard tutorials. The goal here is to flash on regular C programs using the Arduino as the programmer. ...
1
vote
0answers
14 views

Different dht21 readings on different arduinos

First of all, let me begin by saying that I'm still pretty much a rookie. I have a project with a dht21, an LDR and an ultrasonic distance sensor. I have 3 different arduino uno boards, namely: A ...
0
votes
0answers
8 views

Communication arduino MODBUS fails on high number of registers

When I try to run the following program it runs ok: #include <modbus.h> #include <modbusDevice.h> #include <modbusRegBank.h> #include <modbusSlave.h> #include ...
1
vote
1answer
21 views

Using A 4 Ohm Speaker With Arduino

I've salvaged a 4 Ohm, 1.5 Watt speaker from an old computer, and I was wondering how I'd go about getting it to work with my Arduino. I've heard of various amplifier circuits such as opamps, but I do ...
-1
votes
0answers
22 views

PHP code dosen`t works on Uno even with auto-reset disable

well i just started to use arduino, and i'm having that troubleshooting thats annoying me. I'm already using a capacitor on reset and gnd to disable the auto-reset and the arduino still don`t ...
0
votes
0answers
18 views

Convert 32 characters to Hex / binary

I have a project with several different Arduino boards involved (3 uno and 1 mega.) The mega is basically running the show. My plan is to communicates with the others (via wire library) by passing a ...
0
votes
2answers
12 views

Razor 9DOF SMD Capacitor replacing

I just bought This IMU a while ago, and when I reached the point where I wanna connect it, I noticed that one of the capacitors have been removed by accedint, and since it took too long to check the ...
1
vote
1answer
31 views

Cheap weatherproof ultrasonic range sensor?

What's an inexpensive ultrasonic range sensor that's reasonable waterproof or weatherproof that also interfaces easily with an Arduino? I've used these kinds of ultrasonic range sensors, which are ...
2
votes
1answer
68 views

AVCC and AREF when using a reference voltage lower than 5V?

I'm designing a circuit that will use a 2.5v reference for the AREF. Should AVCC be powered from 5V or 2.5V?
0
votes
1answer
31 views

How to convert the 0-5V to a 4-20mA current loop?

I'm pretty clueless about electronics so everything has to be explained in simple terms to me. I have an Arduino with a program which provides a value via the Analog output, so that is anything from ...
0
votes
1answer
21 views

GSM Modem with MAX232 to Arduino Serial?

I have GSM modem that has MAX232 interface for RX/TX/GND on three pins. Is it possible to interface Arduino in some way? Tnx for help.
0
votes
3answers
35 views

Integrating an analog signal using ARDUINO UNO SMD

I need to integrate an analog signal using my ARDUINO uno. I am sampling the input signal at 1KHz using a delay command in my void loop and adding up the values at the analog read at that specific ...
0
votes
1answer
26 views

Saving Arduino output to a text file in append mode

I used the code below to save output from an Arduino Uno to a text file. The problem is whenever I run the code the old data in the text file is deleted. I don't want the old data to be deleted, ...
0
votes
0answers
13 views

Flickering LCD when using > 5v power supply on a Pro Mini

I have a Pro Mini wired up to an LCD via an I2C board. At http://www.arduino.cc/en/Main/ArduinoBoardProMini it says the pro mini can accept up to 12v on the RAW pin as it has a voltage regulator on ...
0
votes
1answer
41 views

Integrating Shift Registers into 7 Segment LED Circuit

I'm trying to implement a shift register(s) into my circuitry and program to control two seven segment LEDs that would count up from 00 - 99. So far I have a fairly straightforward code (at least, I ...
0
votes
1answer
45 views

How to monitor 12V lipo charging from Arduino

What's the safest way to determine a lithium-ion polymer battery's discharge and charging state using an Arduino? I see a ton of 12 lipo batteries like this being sold on Ebay and elsewhere. They ...
0
votes
0answers
11 views

How would I move a parallax servo a few degrees forward and back and stop?

I have a arduino uno and for a school project im suppose to use a Uno to control when a dog gets fed, by having the parallax servo moving forward and back and then stop till the next time it needs to ...
0
votes
0answers
23 views

How do I change the Console colour of Arduino IDE?

Leading on from the question Can I change font Color and/or Type for IDE 1.5.6r2?, in 1.6.0, or 1.6.1 it does not seem to be possible to change console.color or console.error.color. To be precise, you ...
-1
votes
0answers
14 views

Digispark joystick example help

Firstly, I have successfully managed to to create a usb gamepad (one analog pad and eight buttons) using a Sparkfun Pro Micro. Now im trying to set up a single gamepad with a single analog pad (x+y) ...
0
votes
0answers
39 views

Why are MOSFETs only giving 8.1V for LEDs, not 12V?

I'm using three PWM outputs from an Arduino Mini Pro to drive the R/G/B parts of some strips of LEDs. The circuit is basically this: I've got a single 12V power supply, rated at 200W, to light the ...
0
votes
0answers
22 views

Play sound track from SD card on UNO

i am a beginner. i want to interface sd card with arduino uno and play music files. how to interface sd card? how will sd card recognize .mp3 files? how to use pwm pins for the output to the speaker?
0
votes
1answer
24 views

Seeedstudio Wifi shield v1.1 Not working with Arduino Mega 2560

I have been trying use the Seeedstudio wifi shield v1.1 with Arduino Mega 2560 as part of my project but I could not make the WiFly library provided on the wiki work with the Mega. I tried to run the ...
3
votes
1answer
299 views

port manipulation using C code

I'm trying to manipulate the ports of Arduino using C code. I have attached an LED in Pin8 and a tact switch in Pin13 (with a pull down resistor). The code works fine, and the results are printed on ...
0
votes
0answers
17 views

Pro Mini 3.3v + Neopixel not working when disconnected from USB

I'm doing a project using an Arduino pro mini 3.3v and Adafruit's Neopixel. I've flashed an example (strand example) from the Adafruit Neopixel's library sketch into the Arduino using the FTDI Basic ...
0
votes
0answers
18 views

How to do Serial monitor with Arduino Yun?

I'm trying to read some values from a TCS3200 colorsensor using Arduino Yun. I have some code, which you can see below, that I used when I tested on the Uno. With the Uno everything worked fine and I ...
2
votes
0answers
30 views

Why is the atmega chip reset three times during programming?

I'm trying to understand the auto reset process and why a capacitor hooked up between DTR and Reset works so I ran it through my logic analyzer and I'm seeing the chip reset three times during the ...
0
votes
1answer
22 views

Question about infrared receiver with metal shell to detect heart pulse rate?

I'm newbie to the world of arduino and environmental sensing. I have been searching for a while about how can I measure the heart pulse rate, I came through the following tutorial: Click Here I ...
0
votes
0answers
15 views

How to: soil moisture measurement with WaterMark?

I am new with Arduino, and i cant find documentation about how to connect Arduino with Watermark successfully. I would like to connect my Arduino UNO with a watermark like this: ...
1
vote
2answers
43 views

Generating a PWM frequency greater than 125Khz using Arduino Uno

I need to obtain a PWM frequency of at least 125Khz. I plan to drive a pair of mosfets using this PWM as the driver signal. The below code gives 1Khz frequency. Can I just change the delay values to ...
0
votes
1answer
31 views

Connect 5V DC Fan to Ardumoto

I wish to connect 2 simple 5V DC Brushless Fan (80x80x15mm, https://www.sparkfun.com/products/9649) to Ardumoto (https://www.sparkfun.com/products/9815). Therefore, how to I turn on/off the fan as I ...
0
votes
3answers
80 views

Arduino/C++ byte manipulation

Consider this scenario, I have a single byte of data; I have to use the 8 bits it is composed of to generate 4 extra bits from it. Now, my problem is that I have to store this data somewhere while I ...
0
votes
0answers
53 views

Control Speed of DC FAN Using PID

I want to make a circuit that control speed of DC fan Using Arduino PID Library to get thing at specific temperature. The circuit looks like this but can be changed, The transistor base pin ...
0
votes
4answers
24 views

good button debouncing/stateChange library

I need debouncing/stateChange for a push button configuration. Is there a BEST library for debouncing/stateChange buttons in arduino (without delay)?
0
votes
1answer
26 views

Reading I2C sensors with a timer interrupt

I would like to read a sensor connected via I2C using Timer3 and Arduino Mega. Values are read from the sensor in the interrupt service routine and timer3 is set to trigger an interrupt at 200Hz. ...
1
vote
1answer
39 views

Can I safely connect my original Arduino Uno to a 19V adapter?

I have an original Arduino Uno R3. According to the specifications the recommended input voltage is 7 to 12 Volt. However, I have a laptop adapter of 19V that I want to use to power my arduino ...
3
votes
2answers
58 views

UNO analog input voltage reading not accurate

My loop code is this: // read the input on analog pin 0: int sensorValue = analogRead(A0); // print out the value you read: Serial.println(float(sensorValue*5000.0/1023)); delay(1); // delay ...
0
votes
1answer
33 views

Arduino UNO R3 USB not working

I have a problem with my Arduino Uno board, its not mounting in my linux machine but its power is On and L light is glowing. It was working before. After I tested buttons with 12V external supply. I ...
0
votes
0answers
21 views

Can I use relays with 10A125V~ for my 220V~ applications, safely?

I am using the TinkerKit Relay Module and recently they changed the relay mounted on the board from a white one with 10A250V~ to a black one with 10A125V~. In my country the voltage is 220V~. Can I ...
2
votes
1answer
185 views

Why does timer ISR not execute?

This is my code which I have written as a library #include "avr/interrupt.h" #include "Arduino.h" #include "AllTimer.h" AllTimer::AllTimer() {} void AllTimer::dofun(void) { //TIFR1 |= ...
0
votes
0answers
11 views

Simulation of Arduino Mega 2560 with GSM Module using Proteus

I have really been suffering with my simulation! Tried connecting my arduino mega 2560 to COMPIM (used as GSM Module) in my circuit and also loaded sample code but damn! In vain! I wanted to view the ...
0
votes
0answers
29 views

Fast logging of data to SD card

I am trying to log data onto a SD card using UNO and the speed is critical. I am using two buffers to achieve this, so that when the data is being written to SD card the data from ADC gets stored in ...
0
votes
1answer
21 views

Can anyone suggest me a software timer library that does not use polling but timer ISR instead?

There are many software timer libraries available in Arduino. A library called SimpleTimer http://playground.arduino.cc/Code/SimpleTimer is really good with many functions, but it uses polling. If ...
1
vote
1answer
35 views

Bizarre compilation problem — only compiles with the addition of a single Serial.println() line?

I have a SwitchDoc Labs DS3231 Real Time Clock Module that I am using with an Arduino Mega. It's connected to 3.3V and the SDA(20)/SDL(21) pins. I'm also using SwitchDoc's RTC_SDL_DS3231_ARDUINO ...
0
votes
1answer
32 views

Arduino as ISP for attiny85 to drive 4-digit 7-segment using two 74HC595N shift register not alternating fast enough

I am using an Arduino Uno to program an AtTiny85 (1MHz) to drive a 4-digit 7-segment LED (common cathode, 12-pin). I'm just counting from 0 to 9 and alternating between the first two digits (pin 12 ...
0
votes
0answers
7 views

Teleduino with CC3000

I have just bought the CC3000, and it looks great. However, I want to use my new WiFi connectivity with Teleduino service, but the Teleduino examples and code only support Ethernet connection. I have ...
0
votes
0answers
46 views

Analog Input not going to Zero

Arduino Uno user here I am building a project with 4 analog inputs A0 dose not work. A1 A2 and A3 work perfectly fine! But for last input when I connect to A4 or A5, then they do not go to zero. They ...
0
votes
0answers
23 views

Receive multiple data from arduino using String builder

I am working on a small project where I have to read data from different hardware and display it on android app. I am using arduino Uno to get the values from a sensor and a motor and I use a ...
0
votes
0answers
28 views

Ethernet shield not getting IP

I am just running the below DHCPAddressPrinter sketch in Arduino example to setup EthernetShield with MAC and IP #include <SPI.h> #include <Ethernet.h> // Enter a MAC address for your ...
1
vote
0answers
36 views

Analog Input not going zero [duplicate]

Arduino Uno user here I am building a project with 4 analog inputs A0 dose not work. A1 A2 and A3 work perfectly fine! But for last input when I connect to A4 or A5, then they do not go to zero. They ...

15 30 50 per page