Embedded Stuff
on

0 answers

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 …

0 answers

Arduino: Substring delivers wrong result? (Can't process string from bluetooth)

I wan't to controll some lamps by using bluetooth. I have a bluetooth module installed and I'm sending command messages using my android phone. The Message is a string that contains the values for ...

4 answers

What happens in a circuit, when the wire and the battery are superconducting. And shorted

When a wire with no resistance is connected to the terminals of an ideal battery, will a current exist in the circuit? If a capacitor is added to the circuit, will it be charged by the battery or will …

2 answers

How to power a Arduino Yun with a 6V battery?

I would like to power my Arduino Yun board with the following battery: Arduino Yun has a VIN pin that represents the input voltage to the Arduino board. The official documentation says: Unlike …

2 answers

Button cells for arduino uno

OK, before I start I know that there is significant difference and that the Arduino Uno is not designed to run off button cell batteries especially to run both the board AND its load but what if the …

1 answer

difference between “zynq-uboot>” prompt and “root@mcontroller:-# ” prompt, when intalling linux on zynq processor

I have zynq board ( not the zedboard), it doesn't have all the peripherals of zedboard. I am facing some problem while booting the linux on zynq with my new BOOT.bin. When I used to put the sdcard in …

3 answers

Controling 4 LEDs with 5 pushbuttons and Arduino

My code: #define MAX 50 const int LED1 = 2; const int LED2 = 3; const int LED3 = 4; const int LED4 = 5; int array[MAX]; int old_b = 0; int val; int counter = 0; int i; int temp; int L1; int L2; void …

2 answers

Real time Communication over 3g (PC -> Android Smartphone -> Arduino)

I'm developing an Arduino project (but this is not important). For this project I need to communicate (radio control) to my Arduino from my PC. The idea is to send the message or the instruction to …

3 hours ago
1 answer

How does current flow perpendicular to the wire?

This answer gives a great explanation of how surface charge builds up to force the current to move perpendicular to the wire: http://physics.stackexchange.com/a/102936/41086 However, it fails to ...

1 answer

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 …

6 hours ago
1 answer

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 ...

7 hours ago
0 answers

MODBUS WRITE COIL opearation

I am trying to perform write coil operation.In below code i can read data But i could not able to performs write operation. SInce my code size is big i am pasting part of code. Give me simple example …

7 hours ago
2 answers

MOSFET LED Driver for low power LED's

Now that the music festivals are getting closer this summer, I thought I would build some low-power dancefloor lights for my camp. The circuit I've found is really simple, but unfortunately I am not …

7 hours ago
0 answers

Transformers rate equation

Going back to transformers after some years I realize they hide a possible missconception I'm not sure I really understand. It is not easy to find a full derivation of the well known relation ...

1 answer

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 ...

8 hours ago
1 answer

arduino gsm shield: AT commands for sending data to server(ip & port), not HTTP requests

I have connected an arduino gsm/gprs shield on arduino uno. I want to send the data to a server(ip & port). They are not HTTP requests. What are the appropriate AT commands sequence to send data …

9 hours ago
2 answers

Programming an ATMega328 with Arduino bootloader via a FTDI USB-serial adapter

I would like your advice relating to using the Arduino IDE and avrdude to program an ATmega328 which is preloaded with an Arduino bootloader. I am using a USB to TTL-serial breakout board based on an …

10 hours ago
1 answer

MilesTag IR communication protocol

I'm making my own laser tag and I was checking out existing open source solutions. The MilesTag protocol uses 600us as the basic pulse length. This however limits the maximum rounds per minute to ...

10 hours ago
1 answer

Send String Over Bluetooth to Android Device on Arduino

I'm sending strings over Bluetooth to an Android device. I have an Arduino board with a Synapse SNAP RF100 module and a RN42 Bluetooth module connected to serial ports. The data is read from the ...

1 answer

How to connect mhz transmitter arduino

How am i supposed to connect a transmitter to my raspberry pi "pins"? I have bought a transmitter online But i have to wait about 10-15 days before its delivered, so i want to make sure that thats …

0 answers

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 …

12 hours ago
3 answers

Why do grapes in a microwave oven produce plasma?

Some of you may know this experience (Grape + Microwave oven = Plasma video link): take a grape that you almost split in two parts, letting just a tiny piece of skin making a link between each ...

0 answers

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 …

2 answers

GPIO User Space App

GPIO User Space App describes user space application to test the GPIO. Another related link is Linux GPIO Driver. This would be running on a xilinx zynq board having an ARM Cortex A 9 processor. I …

5 answers

Arduino Tools > Serial Port greyed out

I am running Debian 7 (Linux Crunchbang) and wanted to use The Arduino IDE to program my Arduino UNO. To do that I installed the package arduino. When I started the Arduino I was asked to add my user …

2 answers

Arduino + Max7221 + Common anode 4-digit 7-seg LED array?

I'm trying to hookup a common anode 4-digit 7-segment LED array to my Arduino via a Max7221 IC. Here's a hard-to-see (sorry!) pinout for my LED array (my LED array is the bottom common anode one, ...

20 hours ago
1 answer

Display digits on 7 segment 3 digit LED display with Launchpad

I have a 7 segment led display with 3 digits (BT-M512RD-DR1 ) and Valueline Launchpad MSP-EXP430G2 I connected LED display according to this answer and here is my version of the sketch But I am …

0 answers

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 …

2 answers

DMX (serial first) over Xbee Pro Module with Arduino

I want to transmit a DMX signal over a Xbee RF module. I came to realize that sending 1 Universe of DMX can be problematic. Looking at the Open DMX page we see that the computer's DMX information is …

1 answer

Canon DSLR - Read camera “busy” state

I'm going to control my Canon DSLR with an Arduino board. How can I get current camera "busy" state before firing then next shot so I will keep waiting until it will finish all its jobs?

yesterday
15 30 50 per page
1 2 3