All Questions

4
votes
1answer
623 views

Extract .hex from ATtiny45 using Arduino

As it is possible to program a ATtiny45 using Arduino as ISP Programmer, is there a way to backup an ATtiny45 program to a .hex file using Arduino?
2
votes
3answers
4k views

How to use output from Arduino in C++ code?

I am a complete novice in Arduino and moderately experienced with the language C++. What if I want to use the output from the serial monitor in C++ code in real time? Also how can I write to the ...
1
vote
1answer
749 views

Arduino NRF24L01+ arduino to netmf transmit issue

I want to communicate between Arduino Mini Pro (china import) and a stm32f4 running netmf runtime. At the moment I'm able to communicate between SPI1 and SPI2 on the stm32 board. After that I ...
1
vote
0answers
174 views

Arduino Software Serial reading a value of zero after several reads? [closed]

I am using the ID12-LA RFID reader with an Arduino Pro Mini (5V, 16MHz). I am also using the software serial library to read the serial data form the reader. Initially the serial data is being read ...
1
vote
2answers
983 views

Debugger for Code::Blocks + Arduino

I am not very experienced in this, but I was wondering if Code::Blocks has a way of getting a debugger that runs for Arduino chips, specifically. I understand there is Arduino IDE for but does it ...
2
votes
2answers
12k views

Arduino can't create file in sd card

I need to write and read some data from SD card. I link SD card(LC STUDIO) to Arduino (UNO). I use this link for create my project. In first day I don't have any problem and data correctly save to ...
0
votes
1answer
567 views

While using Arduino Ethernet shield, do we need to explicitly select/Deselect SD and W5100 in our code?

It has been mentioned here http://arduino.cc/en/Main/ArduinoEthernetShield that corresponding libraries take care of chip select between SD and W5100 in Arduino Ethernet shield. Does it take care ...
1
vote
1answer
2k views

PWM generation using Registers

I'm using the Registers of the Arduino micro to get a signal for Electronic Speed Controllers (ESC) for brushless motors. As far as I read, ESCs interpret everything they can, while just ignoring too ...
-3
votes
2answers
147 views

Problem uploading to Arduino Yun

I have an Arduino Yun. I am trying to upload the code in Arduino but after I click on Upload, I get the error message shown in the image. At first it showed the Arduino Yun under the port tab, after ...
1
vote
1answer
216 views

Problems with substring loop

Hey folks … I was hoping some of you might cast your eye over my code. It splits up a string read from EEprom into an array of separate strings. Based on String length information stored in a ...
1
vote
2answers
7k views

Arduino Due SD Card

I have an Arduino Due and want to save data to an SD card. For this I use a 3.2 'display of ITead with integrated SD slot (http://imall.iteadstudio.com/im120419006.html). This I connected to the ...
0
votes
2answers
2k views

Arduino: How does digitalRead read a value? And what is this value?

I have a Arduino Uno with 14 digital pins. I believe they have an output of 5V. But they can also input values. I'm not sure of what exactly it reads when it does that (amperage, voltage ...). Also, ...
7
votes
3answers
23k views

Are there any reasons to pick Nano over Micro?

Nano is from 2008, and micro from 2012. Micro seems better on every parameter, in particular in having a better (I think) microcontroller, ATMega32u4, over ATMega328P. However, all the shops I've ...
0
votes
2answers
1k views

Ruby and Arduino over Serial

I'm trying to send data over serial and pick it up in a ruby script. I'm using the serialport gem (https://rubygems.org/gems/serialport) as stated in the Arduino docs (http://playground.arduino.cc/...
2
votes
1answer
350 views

What is the execution context of the function registered via the Wire.onReceive() method?

I'm basically wondering if it's OK to Serial.write() or print in the function I register to be called when I2C data is received. I can't seem to find the execution context or any warnings. http://...
1
vote
1answer
2k views

Arduino function to fade from one RGB color to the next

For my Arduino project I have a Neopixel RGB Strip with 72 LED's. I can successfully change the colour of any of the LED's (at the moment I'm only setting the first one 0 for testing purposes) so I ...
0
votes
2answers
445 views

Communication between Arduino and iOS device

How can I get weight that has been measured by an Arduino device to show up on an iOS mobile or tablet device as a number? Thanks. Warmly, N.
1
vote
2answers
2k views

How to store gps values in EEPROM arduino?

I have two successfully working individual programs, 1.GPS coordinate extract program. 2.EEPROM saving and reading program. now all I want to do is combine them both, whenever GPS location is updated ,...
1
vote
2answers
2k views

uBlox LEA 6H and UNO no data

While using NEO 6M and getting close-to-perfect accuracy, connecting the 3dr uBlox LEA 6H shows incoming characters, but gibberish data (at 38400) like it is connecting to a wrong baud rate (although ...
31
votes
5answers
146k views

What are the 5V and VIN pins for?

I believe I can supply the Arduino with power in three different ways: Use USB. The design trusts the 5V to be regulated, and does not regulate it in any way. Use a regulated power source, trusted ...
5
votes
2answers
6k views

Are all Arduino shields compatible with all Arduino boards?

Are all Arduino shields compatible with all Arduino boards? Like is the Wi-Fi one compatible with the Arduino Nano & Micro as well as the Uno, etc., or do I need to be careful when buying shields ...
-1
votes
1answer
2k views

Arduino Mega 2560 as ISP for ATTINY2313 / ATMEGA328P

I have posted this on the Arduino forum also, but I give it more chance if posted here also. I've been trying to use my Arduino Mega as an ISP for programming two different ATMEGA328P's and a ...
8
votes
1answer
36k views

Counting pulses with interrupt

I have been trying to count pulses from a 12,500 Hz square wave to trigger an output. Here's the code I have so far. When the Arduino is reset it prints 315 to the serial over a 25 ms sample....
0
votes
1answer
188 views

Setting data pin with NanodeUNIO

I'm using a sketch that helps to reset Da Vinci XYZPrinter cartridge EEPROMs, and it's based on the NanodeUNIO library. It uses digital pin 7 for data. I want to use my TFT Touch Shield to set the ...
5
votes
1answer
784 views

Cannot compile C++11 code via Makefile

I am building my Arduino project with a makefile: BOARD_TAG = uno ARDUINO_PORT = /dev/ttyACM0 USER_LIB_PATH = /home/prakhar/dev/alfred/arduino/libraries CPPFLAGS=-x c++ -std=c++11 -Wall -...
4
votes
4answers
10k views

Can I have backup power for an Arduino device?

I have an arduino project that will work while plugged into a generic outlet. But I want to connect a battery in case the power goes out. I know there are various power sources (coin cell, polymer ...
1
vote
1answer
326 views

I want to be able to upload a batch of tweets to a twitter bot to be qued' for tweeting

I have built a twitter bot with my Arduino and an Ethernet shield right now, the way to make it tweet something is to manually add a phase into the code and upload it to the board for each new tweet, ...
2
votes
1answer
103 views

Arduino mini requires uploading on every power up?

My Arduino mini is experiencing some really strange problem. I'm using the BlinkWithoutDelay example sketch for testing: const int ledPin = 13; int ledState = LOW; // ledState used to ...
2
votes
0answers
1k views

Power servo with external power using a hacked USB cable

I want to use a servo motor and control it by an Arduino Duemilanove (or a Leonardo). It seems to work fine when I connect it directly to Arduino's VCC, GND and an PWM pin. But I am a bit worried if ...
1
vote
0answers
234 views

A robust IoT module with CC3000

I'm trying to report temperature to a server every minute using the CC3000 and Adafruit's library. It runs between 2-20 hours before the connectTCP() call stops working. Should I run through the ...
2
votes
4answers
2k views

Send Processing color data into Arduino

I am trying to send color() data from Processing to Arduino. Here is my code from Processing: import processing.serial.*; Serial myPort; void setup(){ myPort = new Serial(this, Serial.list()[7], ...
2
votes
1answer
2k views

What is the use of ISP and ICSP in Arduino?

I am trying to connect gsm module with my arduino uno. confused about the use of isp and icsp
1
vote
1answer
520 views

Arduino GSM Shield not responding?

I'm trying to get my Arduino GSM shield working with the example "Send SMS" code provided. However, when I upload and compile the program, the serial monitor displays "SMS Messages Sender" and nothing ...
0
votes
2answers
3k views

Pixy(CMUcam5) robot Distance code

Can anyone help me with the code-ing to allow the robot to stop at a certain distance when the robot is approaching the tracked object. I am trying to implement it as a colour tracking wheel chair. ...
0
votes
1answer
3k views

Arduino output pin from 5V to 3.3V

I just have a question regarding Arduino output-pins and Voltage divider, because I am getting other results than what my calculations are giving me. I have measured the output-pin (from the Arduino) ...
0
votes
1answer
261 views

Atmel STK500 and Atmel Studio

Is the Atmel STK500 worth using as a AVR programmer and Dev board? I am starting to get to into AVR programming with Atmel studio. I plan on purchasing the AVRDragon and also looking into purchasing ...
0
votes
1answer
3k views

Combine Code Arduino GSM Shield and Adafruit GPS Shield

I have a problem to combine both code for Arduino GSM Shield and Adafruit Ultime GPS Shield. I already change my code to the basic one like examples. I think i found the problem. The problem is when i ...
2
votes
2answers
2k views

Stepper motor clock [closed]

I am currently using an Adafruit motor shield on my arduino uno for the first time. The idea is turning the stepper motor with basicly 1RPM. But i just cant do it. This is the first time working with ...
2
votes
4answers
665 views

SD card fails to write every 5 or 6 minutes

My SD card initializes fine in the beginning. It finds the right file and opens it. However, after 5 or 6 minutes of data logging, the error "file not found" appears on my LCD. Why would this be the ...
1
vote
3answers
2k views

Why can't I read anything but Pin 0 of PORTC?

So I am working on this lab for my Embedded Systems class, but I can't seem to read anything but the first bit of PORTC. What's even weirder is that if any of the pins go low the first bit will go to ...
2
votes
0answers
995 views

Controlling Dynamixel MX24T, MX64T servo wirelessly using Arduino Mega?

I am planning to control multiple Dynamixel servos (MX28T or MX-64T) wirelessly using an Arduino Mega. Since this servo uses serial communication, I need an additional serial port to interface with ...
6
votes
3answers
2k views

Advisability of Using Bit Fields in Structs

I have to track a large amount of data (for an Arduino) in a program while taking care of a fair amount of other business. I started with a struct like this: struct MyStruct { // note: these ...
1
vote
1answer
851 views

How do I connect this display to an Arduino Uno

I am completely new to this, and a novice when it comes to electronics but I want to learn. Can someone pls tell me how I would connect the display in the photo here with an Arduino Uno (which I have ...
6
votes
3answers
6k views

How can I program an arduino in pure C?

I am a beginner and I want to learn AVR C/C++. Can I do this using an Arduino? (I'm asking this because I already have one). If so, could someone tell me using which IDE can I write code in pure C/C+...
1
vote
1answer
689 views

Turn Arduino on only by double tapping switch?

I don't have much experience with electronics. I was wondering if it is possible to create a push button switch, which will turn on the device only if it is tapped twice in quick succession? If it is ...
0
votes
1answer
427 views

Getting a long avrdude error while uploading a simple sketch to arduino uno

This is the error which shows up after the sketch is compiled and starts uploading. Is there some sort of fix to this problem? There are no shields connected to it, not even I/O pins are being used, ...
0
votes
1answer
592 views

Arduino Leonardo Upload issue with ubuntu 14.04

I got a bare conductive board ( which is based on arduino leonardo ) . I was trying to upload a blink sketch using arduion 1.5.7. But its always failing and here is the log. I never work a leonardo ...
0
votes
1answer
141 views

A good place to begin with Arduino? [closed]

So I bought the Arduino starter kit a few weeks ago and I've done a few of the projects in the book supplied with the set. Unfortunately the book is quite poor, with inaccurate explanations and ...
4
votes
3answers
5k views

Is `millis()` affected by long ISRs?

I have a project that uses timers and interrupts frequently. A lot of CPU time is spent handling ISRs over an extended period of time. Would this affect code inside the main loop that relies on the ...
4
votes
6answers
27k views

How can I run two loops simultaneously on an Arduino Uno?

I'm new to Arduino and I have two devices that I'm trying to control: A RGB LED light strip that can change colors A light sensor that can detect the ambient light level What I'd like to do is have ...

15 30 50 per page