Electronics Questions not on EE
   21 tags on 18 sites

1 answer

Calling constant complexity O(1) 5 line function significantly impacts performance, why?

I have the following code: #include <ros.h> #include <ros/time.h> #include <sensor_msgs/Range.h> #define sensNumber 3 #define firstTrigPin 3 #define firstEchoPin 9 ...

2 answers

Opening a COM Port using a Windows Compact 2013 Virtual PC

HANDLE hCom = INVALID_HANDLE_VALUE; hCom = CreateFileW( L"COM1:", GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL ); I am trying to ...

0 answers

Will ARM JTAG debugger work on s3c6410

I am planning to buy a JTAG debugger/programmer for ARM. can i flash the NAND chip on Samsung S3C6410 using this debugger? or should i buy one for S3C6410 processor.

1 answer

Do I need my codec to be ALSA or not?

I have a project that I am working on, for the purposes of this question, lets say they are wireless speakers. We are using the raspberry pi for development right now but we plan to move to our own ...

1 answers | 1 hour ago by Funkyguy on Stack Overflow stackoverflow.com
2 answers

Understanding the Location Counter of GNU Linker Scripts

I'm working on a university project where I'm writing software for an Atmel SAM7S256 microcontroller from the ground up. This is more in depth than other MCUs I've worked with before, as a knowledge ...

1 answer

cross compile linux kernel for beaglebone black

I try to crosscompile the linux kernel 3.14 much time for my beaglebone black with different ARCH(x64, i386) and different toolchain. But none of them can start correctly. It always stop at ## ...

3 answers

How to do Gesture Recognition using Accelerometers

My goal is to recognize simple gestures from accelerometers mounted on a sun spot. A gesture could be as simple as rotating the device or moving the device in several different motions. The device ...

0 answers

Get power management to work on ARM Snapdragon 800

I'm trying to make power management work on a Qualcomm Snapdragon 800 SoC board, and I don't seem to be able to get the power management to work. I've got the wireless, bluetooth, CPU, etc. to work, ...

1 answer

Arduino yum hangs on bootup when using Firmata

I am using the StandardFirmata on a new Yum. https://gist.githubusercontent.com/edgarsilva/e73c15a019396d6aaef2/raw/b00e100f1551d87e30f49e5ac98517370e699ee2/StandardFirmataForATH0.ino Everything ...

1 answers | 6 hours ago by user2040670 on Stack Overflow stackoverflow.com
5 answers

Why does ARM documentation recommend having only 4 function arguments? Is there a specific performance cost of having more?

Currently working with ARM embedded systems and would like to know how many arguments at max a function/method should have so that code should remain readable and efficient at the same time. ...

5 answers | 7 hours ago by Dheeraj Kumar on Stack Overflow stackoverflow.com
0 answers

OpenWrt Script (Inifinite Loop) Stops sending data over Serial Port

I have a TP Link Router TL-MR3020 flashed with the latest Attitude Adjustment. It is connected to an Arduino Uno via the usb port (usb cable into the arduino's type b connector). I have the following ...

2 answers

How can I connect the BeagleBone to my wireless network using an ALFA AWUS036EW USB WiFi Adapter?

I am new to Linux so thanks for your help. This WiFi adapter isn't commonly used in the BeagleBone/Raspberry Pi world, but it is useful because it will allow me to attach a custom directional antenna ...

2 answers | 7 hours ago by user391339 on Unix & Linux unix.stackexchange.com
0 answers

IRremote Library causes SD Card to stop… Why?

I'm tring to use IRremote Library with the SD card library but it doesn't work, even if I just import the IRremote library, the SD card stops to work immediately anyone knows why? Here's some code ...

0 answers

Optimisation of Arduino sketch -> using for or while loops instead of switch

I created an Arduino sketch, which I use to switch on or off two sets of LEDs. The idea of the program is to run in cycles with a certain number of steps in each cycle. So far, I have written the ...

0 answers

Xbee wireless communication from Computer to Arduino - RSSI led

I'm trying to set up a wireless communication between a Computer (coordinator) and a Arduino Mega (router) using two xbees. Here is the Coordinator configuration: ZIGBEE COORDINATOR AT Serial ...

0 answers

MSP430 G2553 UART Baudrate 9600 16MHz clock Issues

I'm interfacing my G2553 to a standard LCD screen using UART. I got it working like a dream at 1MHz, but need the system to run at 16MHz for certain other peripherals. I got it very close to working ...

1 answer

Android kernel building on linux

For create a bootable android image , I built linux kernel with ./build.sh -p sun4i_crane -k 3.0 clearly. Then for Building Android Sources set the environment source build/envsetup.sh For ...

1 answer

Mimo 2G USB Monitor and cheap computer (Raspberry Pi?)

I have a Mimo 2G USB Monitor (UM-710S I believe) which I got in college due to the lack of space for a real second monitor in the dorm. Now I don't really have a use for it, so I thought of ...

1 answers | 10 hours ago by Matt on Unix & Linux unix.stackexchange.com
3 answers

Determine which circuits are parallel and which are in series

I need to find the Equivalent Resistance across A and B. The problem is, I don't know which one's are in series and which ones are in parallel. How do I identify which ones are parallel or series?

0 answers

Physical meaning of Orbital Polarization

In this paper, the Orbital Polarization (OP) is defined as: $$OP=\frac{n_{x^2-y^2}-n_{z^2}}{n_{x^2-y^2}+n_{z^2}}$$ where $n_i$ is (I suppose) the occupancy of that given orbital. I would like to ...

2 answers

How to use C++ STD with AVR compiler?

I have set up the AVR compiler for using with an Atmel microcontroller using this guide. I don't have access to strings, vectors etc. How can this be added?

0 answers

uBoot on BananaPi, stuck waiting for waiting for root device /dev/mmcblk0p2

I flashed banian linux 14.09 to an SD card stolen from a raspberrypi. I've plugged a 2.0amp raspberrypi power supply into the correct microusb power port (the one by the SATA connector). Boot stops ...

0 answers

Cross-compile qemu for ARM

I need to cross-compile qemu to use it on a cubieboard2 with an ARM Cortex-A7 CPU and I'm cross-compiling it on Linux Mint. I can't find anywhere the commands I need to use to do it, the only thing I ...

0 answers

Alarm System using arduino

i'm working on arduino project and i have a problem that the arduino cannot read the if statement command , here's my code : #include <Password.h> #include <Keypad.h> #include ...

0 answers

Mono 3.10.0 for Debian Jessie (Hard Float)

So I'm trying to install a later version of Mono then the standard one for Jessie. My current version is 3.2.8, but I would really like to have 3.10.0 or as close as I can come to it. I had to use ...

4 answers

Can you run a function multiple times at the same time with Arduino Uno (c code)?

I have eight LEDs, four red ones and four yellow ones. There is one button for both rows. When you push a button, a row of LEDs gets a pulse. That means they light up in a row in 0.1 second intervals. ...

4 answers | 16 hours ago by NikiNeu on Stack Overflow stackoverflow.com
4 answers

How can I call a member function via a stream insertion operator?

Using gcc 4.8 with C++11 enabled, I have a class like this: class OutStream { public: OutStream& operator<<(const char* s); OutStream& operator<<(int n); ...

6 answers

Copy struct to struct in C

I want to copy an identical struct into another and later on use it as a comparance to the first one. The thing is that my compiler gives me a warning when Im doing like this! Should I do it in ...

6 answers | 18 hours ago by Christian on Stack Overflow stackoverflow.com
1 answer

Why does TCP connection keep closing while connecting to xively from Adruino GPRS with AT commands?

I'm trying to send data from a cellular-connected arduino temperature sensor to xively.com using AT commands. I can open the TCP connection, but then it immediately closes. Why does the TCP ...

1 answers | 19 hours ago by Goodword on Stack Overflow stackoverflow.com
0 answers

Why am I getting “killall -q -USR1 udhcpd” error message?

I have a router with me. It always shows the following debug message: killall -q -USR1 udhcpd Can anyone explain to me what is happening here? Why am I getting such an error?

15 30 50 per page
1 2 3