0
votes
0answers
26 views

Unexpected behavior of Arduino

Currently I am working on Arduino with some ICs i.e. ADC IC with SPI interface, Isolators ,16x2 LCD and GSM/GPRS module. Everything is working fine if I deal separately with each IC or module ...
0
votes
1answer
36 views

MCU/Arduino RESET

I have below setup. I found that My arduino Getting restarted again. I have Arduino board , lCD Display, SENSOR. The Sensor and LCD Display SHARE common ground and 5v supply from 7805 IC and Arduino ...
0
votes
1answer
32 views

Computing multiple numbers with multiple operations

So I am creating a calculator that will compute numbers.I have this code(I will not include very basic codes) long num1, num2, answer; boolean mySwitch = false; boolean do_subtraction_flag = false; ...
1
vote
1answer
72 views

Digi 865LP xbee modules in point to multipoint network

I am very new to xbee networks. Earlier i had used Xbee modules by simply sending data using UART interface of controller unit.As per my information , a Xbee is basically a trans-receiver, which can ...
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
1answer
215 views

with what software should I program the funduino

With what software should I program the funduino? This is really silly but can I use the arduino software? If so what board should I assign?
0
votes
0answers
59 views

Visual Basic - Application hangup when serial is closed

my application performes serial communication with a microcontroller. Here is the event: Public Event DataReceived As IO.Ports.SerialDataReceivedEventHandler Handling the Event: Private Sub ...
0
votes
1answer
148 views

Transfering my arduino/TI-MSP430 Launchpad/Energia skills to real world projects and C

I'm learning electronics/microcontroller programming through TI-MSP430 Launchpad(Energia) and Arduino. Both are based on wiring framework, and very good place to start for a beginner like me. Now as ...
0
votes
3answers
288 views

Can VLC Player be embedded in a microcontroller to play videos?

I would like to know if there's any controller such as arduino or any other microcontroller that can be programmed to run VLC player embedded in its system. It is probably the best open source player. ...
0
votes
2answers
624 views

Java based Microcontrollers?

I have been looking into micro-controllers and was wondering if the majority of them are C/C++ based? I am quite proficient in java and want to ask you guys if anyone knows of a good cost efficient, ...
0
votes
1answer
96 views

Conflict between LED driver and analog to digital conversion on Arduino

On the Arduino Nano V3, I am trying to get an LED driver (TLC5960) and two analog to digital (ADC) converters (MCP3208) to work together. The LED driver is on the same pins as this guide. The ADCs ...
0
votes
2answers
198 views

Arduino YUN doesn't start

When we start an Arduino YUN board we see the LED RX binking once and then LED ON doesn't work. When we upload the program - it works, but we cannot see the WiFi of Arduino now, and LED ON doesn't ...
0
votes
1answer
524 views

Multiple analog to digital converters on Arduino using SPI bit banging

I am using a Nano Arduino (ATMega 328) to communicate to two 12-bit MCP3208 ADC chips based on this code. I have another device (LED driver TLC5940) tied to the pins that are suggested on this page ...
1
vote
1answer
74 views

Making an app that reads values from serial and make phone calls

I would love to know if there is a way to make an app on an android phone or IOS, that receives a signal from a micro controller through serial(cable,USB, or even Bluetooth) to push the phone to make ...
0
votes
1answer
63 views

GSM Shield not taking calls from other phones

I am using Arduino Uno R3 with the SIM900A for a couple of weeks. The problem I'm facing is, everytime I make a call from a Nokia (or anyother) cellphone to SIM900A - I see just one RING as ...
2
votes
1answer
214 views

What are the limits of C on microcontrollers without operating systems?

I've never programmed a microcontroller. I've been playing around with Arduino and have discovered that the programming language is just C, with boilerplate code dynamically generated by the IDE. ...
0
votes
3answers
2k views

What is the cause of “stk500_getsync(): not in sync: resp=0x00” in Arduino

I was using Arduino Uno to build a robot, but suddenly this error (stk500_getsync(): not in sync: resp=0x00) occurred. I tried a lot, searched on the net, to fix this error, but no solution worked for ...
0
votes
1answer
89 views

External Inputs to an Arduino

I'm doing a school project and I have an Arduino Leonardo and I am trying to get an intergrated circuit to communicate with it using serial. Is this even possible?
0
votes
1answer
103 views

Is there a Arduino microcontroller that can convert analog to digital [closed]

I am trying to find a microcontroller (arduino would be the most ideal) that can convert analog data collected to digital, which then i can read on the computer. The data i will be collecting is from ...
1
vote
3answers
233 views

bit-shift operation in accelerometer code

I'm programming my Arduino micro controller and I found some code for accepting accelerometer sensor data for later use. I can understand all but the following code. I'd like to have some intuition as ...
1
vote
4answers
278 views

C++ data-types, and their effects on executable size

I'm basically new to C++, aside from attempting to learn the language over 10 years ago and giving up, as I didn't really have a project to motivate me... Anyways, I'm just stating that I'm pretty ...
0
votes
1answer
297 views

SIM900A GSM module related AT command to know the number of message sender

I am using SIM900A for some purpose and want to know the number of the sender from where message come.I am unable to find the a specific AT command related to receiving message which give me number ...
1
vote
2answers
363 views

Atmel microcontroller: difference between UBRR0H and UBRRnH

So I am reading up on programming an Atmel 328p and I want to be able to program serial input and output but I saw something I didn't completely get: UBRR0H is called UBRRnH in this assembly code: ...
1
vote
1answer
170 views

Different I2C addresses on Arduino?

I've written a class for Arduino that reads the compass data of the HiTechnic LEGO Mindstorms compass sensor. Using the Wire-library, I can very well fetch the data from the respective registers. In ...
1
vote
1answer
957 views

Capturing real time video while still using arduino

As the title says, I would like to capture real time video while still using arduino, however, not in that I must connect the camera directly to it, I want to use the arduino Uno for navigation, but ...
0
votes
1answer
247 views

Serial Port Data Issue

I have a network configuration as: Arduino--Xbee--> <--Xbee-Arduino--> Java App on PC I had burnt a code into the Sender node to send 1s continuously to the Receiver. But what i see is that even ...
0
votes
2answers
149 views

Best book for interacting directly (in the C language) with a simple CPU [closed]

The original idea was to interact with an Atmel AVR chip using C with an Arduino. However, I have had difficulty finding a resource for doing this. Are there any books that can be recommended for ...
4
votes
2answers
867 views

Arduino TinyGPS no data

I am using the TinyGPS library and am trying to display information to get to a specific latitude/longitude via an LCD screen. I am not getting any data. The output of directionto is "broke" and ...
-1
votes
2answers
256 views

Arduino Leonardo OR Uno for a pototype solenoid project ?? [closed]

I am a software developer with no prior experience in embedded programming. I have to develop a prototype project:(example) to generate Morse Code pulses which are to be output through a solenoid in ...
0
votes
2answers
151 views

Which model of arduino to use for a solenoid based output project?

I am a software developer with no prior experience in embedded programming & electronics. I have to build a project that requires microcontrollers inclusion. The task is kind of(example) I need ...
3
votes
3answers
328 views

C - How do I receive a bit from a bit field as a parameter in a function?

I have a bit field defined like that (it is from a microcontroller library, so it looks a bit different): typedef union { byte Byte; struct { byte PTAD0 :1; byte PTAD1 ...
1
vote
1answer
373 views

Generate PWM with interrupts

I am working with an Arduino Mega 2560. The problem I have currently is that the servo motor I'm using makes a slight noise in idle state. It's because it's not a pure signal. How do I generate PWM ...
1
vote
0answers
137 views

Functions used in ASF instead of IODIR, IOSET, PORTD

I have programmed microcontroller before and used instructions like IODIR, IOSET, PORTD, DDRD and etc. I am now using Arduino Due which have the ATSAM3X8E Cortex M3 microcontroller. Iam programming ...
1
vote
2answers
332 views

Can I remap an ECU using CAN bus?

I am thinking to use something like this to connect an Arduino to a motorbike ECU: http://www.skpang.co.uk/catalog/arduino-canbus-shield-with-usd-card-holder-p-706.html I never do something like this ...
2
votes
1answer
482 views

Arduino: LiquidCrystal Won't Print With Ethernet Library

Problem I can't get my Arduino Uno's LiquidCrystal library to print to my LCD screen when using the Ethernet library (and shield, of course). Code #include <SPI.h> #include <Ethernet.h> ...
0
votes
1answer
2k views

Arduino - managing two SPI devices at once

I'm trying to control two SPI devices at once using identical MISO, MOSI, and CLOCK pins but different SS pins. One is the Wifly shield from SparkFun that uses a SPI-to-UART chip, the other is a ...
0
votes
3answers
175 views

Does importing libraries load everything in Arduino?

I am experimenting with an Arduino using various open source libraries written for Arduino. Most of those libraries have hundreds of methods/features but I am actually using a very few of them. In ...
0
votes
1answer
814 views

Using an Arduino Motor Shield in conjunction a Bluetooth Shield

Hopefully this won't be too specific to warrant a question closure. I'm working with a research group on campus learning about robotics and automation. My current task is learning the insides and ...
0
votes
0answers
1k views

Making a button do something on Arduino TFT touchscreen

so I have an Arduino MEGA2560 and a TFT shield touchscreen. I used one of the examples to make 2 buttons to display on screen, by just using drawRect(). But how do I make these 2 boxes do something ...
1
vote
2answers
776 views

Can't program ATtiny2313a with Arduino. Is my chip bricked?

I've been trying to burn a program into ATtiny2313A-PU with my Arduino Uno R3 used as a programmer. First I tried to program it from Arduino IDE 1.0.1 (Windows 7) and it seemed to uploade the sketch, ...
0
votes
2answers
897 views

Arduino Uno rejects uploads, changes ports

After experimenting with some Serial communication (which may or may not be relevant), the Arduino IDE throws a "Error opening serial port" error when I try to upload new code to the Arduino or use ...
0
votes
1answer
568 views

Arduino IR remote with other blocking functions

I have decoded my IR codes for my remote and have them working when run in a sketch, see IR CODE. My RFID cat feeder sketch runs fine as well, see RFID Code. I am however having trouble using the IR ...
0
votes
1answer
1k views

ADIE bit in AVR ADC in Free running mode

I have been writing my own "library" to handle different inits on an AVR chip. However, I am stuck on the action of the ADIE bit in the ADCSRA register (p.261 in the datasheet). The datasheet doesn't ...
0
votes
3answers
7k views

Using MPU6050 accelerometer/gyroscope module

I'm testing my MPU6050 module with Arduino Mega. I found Jeff Rowberg has written a library for this. I tried with this example provided by him. But the Arduino IDE gives a large number of errors when ...
0
votes
1answer
2k views

Arduino interrupt alternatives

From what I've read, the solution to my problem is to use an interrupt, but if I understand them correctly, I can't use a delay in the routine that gets called by the interrupt. I've got a large ...
1
vote
2answers
493 views

How to broadcast to Icecast/SHOUTcast from a microcontroller? [closed]

I want to make my own streaming box. It only takes an audio input jack and broadcasts the audio to SHOUTcast/Icecast server infinitely. I've made a lot of research, but I can't find if it's possible ...
0
votes
1answer
6k views

How to add header files in Atmel Studio 6

I'm trying to go with Atmel Atudio 6. But i'm not sure how to add .h files to my project. Is that something allowed? if so, how can i add them?
0
votes
3answers
699 views

Android external accessories development library?

I want to build a device with sensors (either with an Arduino or a homemade circuit with a microcontroller) and I want to send data from it to an Android device via an USB cable. What is the library ...
0
votes
0answers
940 views

Arduino Duemilanove - PWM and timer

By default for Arduino Duemilanove we have: Pins 5 and 6: controlled by timer0 Pins 9 and 10: controlled by timer1 Pins 11 and 3: controlled by timer2 Settings to use timer1: #define ...
7
votes
1answer
556 views

Arduino Fail-Safe Mechanism

Suppose I am developing a fail-safe mechanism for Arduino (Or any other microcontroller). In other words a secondary microcontroller or a seperate board should get the responsibility when the primary ...