Embedded Stuff
on

## Potential difference inside charge distributions

Always when I think about potential difference inside a symmetrical charge distribution, I think of it being equal to zero because it's dependent on the field and I imagine the directions of each of ...

## Bluetooth Low Energy Proximity sensing less than 2 feet?

I am working on a project where I need a TX and RX to be able to sense if the modules are within 2 feet of one another. Ideally, we would like to only utilize BTLE 4.0 for both devices since power ...

## How to transfer signed integers with libusb?

Folks at programmers stack exchange asked me ask here: I want to communicate with an arduino and sent integers it. I code this program in C++. I initialy used bulk_transfer(), but it sends only char ...

## Understanding electric field and potential inside an half-connected wire

Let's say we have a 9 V battery and a wire as shown in the image below: Let's assume H is the reference for measuring potential. I know the potential in F is 9 V, and I know the electric field in F ...

## While loop causes unwated latency while activating a TENS Machine for a limited time

Hi I have a Unity video game controlled using a flex sensor - when the user flex's their bicep the character moves forward. I want to activate a TENS machine when the user collects certain objects in ...

## Why do like charges repel and opposite charges attract?

Why do like charges repel and opposite charges attract?

## Current/Voltage sensing for wheelchair battery using arduino

I am working on a project that requires me to monitor the power consumption of wheelchairs across a spectrum of different activities. (electric wheelchairs batteries are 2x12V) To do that I am going ...

## How to create boot SD card for Banana Pi manually

It seems that I have a lack of understanding how booting SD-Card images on devices like the Banana Pi work. The situation is as follows. I have a Banana Pi and a Banana Pro. Every device has an ...

## Why did the electric potential energy fall in this situation?

Suppose you have two capacitors configured as shown in the image below. One of them has charge $q$ and the other one is uncharged. Then, you close the switch, allowing charges to flow. After ...

## Is it possible to use the DASH7 protocol in an arduino?

I've been reading about the protocol DASH7 but can't find much documentation about it. There seems to be a protocol stack called OpenTag writen in C and I want to know if there is something familiar ...

## Time interval - I want something to happen every x milliseconds (Arduino-not relevant)

So I have a piece of code that do something every 12 seconds. unsigned long currentMillis, previousMillis; void loop() { unsigned long currentMillis = millis(); time = currentMillis - ...

2 answers | 4 hours ago by user3672802 on stackoverflow.com

## Problems with Arduino remotely controlling an outlet

This is a project that will be turned in, in 8 hours! We are stuck with this problem and thought of this place as a kind of last resort. I'm trying to turn on/off a remotely controlled outlet with an ...

1 answers | 5 hours ago by JimboSlice on stackoverflow.com

## Serial communications and good software for android dev

So I am teaching this programming class and ran into a little problem. I was originally going to teach serial communication between Raspberry Pi and arduino with python, but my RPi died suddenly. Oh ...

## Getting CellId by GSM device without SIM

its pretty difficult to find someone who can answer this question, but i would like to know if or how its possible to receive only the CellId of GSM without using a SIM card? I would like to use a gsm ...

## wrapper function in c++ for connecting arduino

How to write a wrapper function in c++ for connecting arduino . And use keyboard keys so as to function them. I have tried searching for arduino wrapper for coudn't get any proper details .

## Connecting a Random Ground Fixed the Circuit?

So I built an inverting Schmitt trigger with an op-amp with schematic shown below: The purpose of the circuit was to detect whether a mouse licks a feeding tube, and the feeding tube ended up being ...

## Electric field on the surface of a charged sphere

We know that the electric field for a point charge is $$E = \frac{KQ}{R^2}.$$ If $R$, i.e. distance from the electric field producer to the point where we want to find the electric field becomes ...

## Arduino int to String conversion

I have this code: String c = String(BTLEserial.read()); char relevant = c.charAt(0); Serial.println(relevant); where BTLEserial.read() returns type Int. I'm converting that to a String, in the ...

2 answers | 14 hours ago by Ross M. on stackoverflow.com

## NRF24l01 Raspberry Pi and Arduino

I've been trying to make work the NRF24l01 RF module with Raspberry and Arduino, but I can't. This is the version of the module I have: NRF24l01 Module I'm trying to send the data from the Arduino, ...

## bitWrite function with a pointer

I'm new to arduino and it's programing language. I learnt that we can't have methods returning arrays, but we can use pointers as an alternative. So I have this method: byte SUM(byte A, byte B, bool ...

1 answers | 16 hours ago by Bruno Tavares on stackoverflow.com

## Can I use arduino to feed this circuit instead of an external power source?

I am following this tutorial to connect the output from my guitar with arduino. I'm wondering: is it possible not to use the batteries, and to feed the circuit with the 5V output pin provided by ...

## problem of transmitting data from serial device to bluetooth on Arduino

I am using an accelerometer which uses serial communication on Arduino (UART), I wish to transmit the data to a bluetooth module (blusmirf gold) using I2C and finally read it from my android ...

## Sporadic sensing rates for hc-sr04 ultrasonic distance sensor

Been working on a robot recently which uses ultrasonic sensors for an integral part of the navigation. While testing the sensors I noticed a strange behaviour, the sensors seem to frequently stop ...

## Arduino Yun and GoPro

I'm trying to control my GoPro with Arduino Yun and having some difficulty. Given this difficulty, I'm wondering if I'm going about it the right way and/or whether I should be trying something else ...

## Reading LightBlue Bean scratch on iOS devices

I am playing with this example called ISOApiExample, which should allow me to read the scratch from LightBlue Bean. But I am having trouble reading what's on the scratch. This is the ...

## XBee Pro 900 RPSMA not detecting

I bought 2 XBee Pro 900 RPSMA from Sparkfun.One of them is detected by XCTU but same other one is not detected by XCTU. so I tried recover faultly one by seeing this video ...

## arduino on windows 8 stuck open but can't find in task manager

I deleted a folder from within the arduino 'open folder' function in their program, and the mouseover window got stuck on my screen. So I tried taskkill /f /im dwm.exe and it worked to reset the ...

## Stop timer set new value and start again AVR (Interrupt)

I have AVR MCU. I am playing with timer now. What I need ? I have timer counting up with some frequency. In each interrupt I am incrementing variable, and somewhere I need to check value of this ...