Embedded Stuff
on

2 answers

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

1 answer

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

0 answers

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

1 answer

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

0 answers

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

1 answer

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

0 answers

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

1 answer

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

0 answers

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

2 answers

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 Stack Overflow stackoverflow.com
1 answer

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 Stack Overflow stackoverflow.com
2 answers

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

0 answers

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

0 answers

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 .

0 answers

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

2 answers

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

2 answers

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 Stack Overflow stackoverflow.com
1 answer

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

1 answer

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 Stack Overflow stackoverflow.com
1 answer

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

1 answer

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

2 answers

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

0 answers

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

0 answers

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

0 answers

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

1 answer

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

1 answer

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

1 answer

Why is my SSD1306 OLED only displaying half of the screen area?

I am trying to get this display working with my arduino via i2c: http://www.buydisplay.com/default/0-49-inch-oled-display-module-64x32-pixel-ssd1306-i2c-white-on-black I have successfully initialized ...

0 answers

Sending numbers via Serialport from C# to Java

I'm making a Bluetooth quadcoopter using Arduino. I have no problem sending letters, but I cant seem to write or read numbers. I'm not very good at programing so bear with me. C# code: private ...

15 30 50 per page
1 2 3