If your software question isn't electronics related, ask on stackoverflow.com

learn more… | top users | synonyms

2
votes
0answers
24 views

Open source software for schematics [duplicate]

I am looking for an open source (or just free) software for creating electric schemes. It would be better if your program could do other schematics (for instance, installation schemes of physical ...
0
votes
2answers
46 views

Sending CAN protocol data(1Mbps) via serial port

I would like to build a tool for viewing CAN protocol data on my computer. The CAN protocol data is captured using a microcontroller (STM32F4 discovery board) and sent to a PC via a serial port. My ...
-1
votes
0answers
40 views

Frequency meter application

Has anyone tried to implement a frequency counter with a maximum frequency of 50 Mhz on the beagle bone? I need to incorporate such a counter in my application.
1
vote
2answers
63 views

Is there any program that I can use to find the transfer function of a filter?

I need to find the transfer function of Sallen-Key second order notch filter. Is there any program that can show the transfer function of s?
0
votes
2answers
155 views

How to use USBee AX logic analyzer under Linux?

I've got clone of USBee AX logic analyzer, to play with one and see if I need a device of such type at all. Unfortunately, I haven't found any Linux software that supports one. I have tried Sigrok, ...
0
votes
2answers
82 views

Can we run Quartus II on Ubuntu?

I can compile digital components and download them to the boards DE2 and DE2-115 I got. I do it from Windows 7 but I want to enable this on ubuntu while the files from Altera are for Red Hat Linux. ...
-4
votes
0answers
51 views

Getting a Software Engineering Job with Electrical Engineering Degree [closed]

I am going to graduate in a year with a degree in electrical engineering. I have realized my real interest is in software and simply coding. So, that is the type of job I want after graduating, ...
2
votes
0answers
12 views

How can I get my Arduino Duemilanove to work with Windows 7? [migrated]

I am having trouble getting my Arduino Duemilanove (w/ ATmega328) to work under Windows 7 Professional (64 bit). I have the Arduino 1.04 software in Windows 7 and Ubuntu 12.10 (64 bit) on the same ...
2
votes
2answers
230 views

Simulation for a transmission loop using PowerWorld

I am now learning how to use PowerWorld Simulator. However, I faced some problems when I tried to enter the data given in the paper. I want to simulate the following transmission loop: First things ...
3
votes
2answers
185 views

Arduino LED brightness switching using pushbutton

I'm trying to switch between 4 different brightness of an LED using an Arduino Uno. I've used analogWrite and not digitalWrite with PWM. The problem i'm facing is that the brightness does not switch ...
2
votes
2answers
77 views

Char array at an int in C18

In Jal, it's possible to do something like this: var word the_var = 0x1234 var byte the_array[2] at the_var; Now you can easily access the bytes of the word ...
0
votes
1answer
87 views

How to use the PIC16F628A's PORTA,4-7 as inputs?

I'm working on a countdown timer and I want to use the MSN of PortA for my switches. I'm using MPLAB. I can't use C to program the PIC because the collage taught us to program in decimal, and they ...
-4
votes
5answers
213 views

Any research to turn Schematics as a picture into a simulation? [closed]

Suppose I have a schematics such as the below. I want to fast simulate it: see how the current flow and put my mouse to different positions to see how things work. Since there are many different ways ...
1
vote
1answer
9 views

Are there any disadvantages to look out for when using Optiboot?

Optiboot appears to be superior to the official Arduino bootloader in just about every way. Despite this, is there anything I need to look out for when using this bootloader? Common pitfalls? ...
4
votes
2answers
15 views

How do you update the Arduino IDE?

I currently have Arduino 1.0.1 and I want to upgrade to the new version. However, do I just replace the old files? How do I know if I need to update the drivers for the boards? Does Arduino even ...
3
votes
1answer
9 views

Tell if interrupts are enabled

Is there a way of telling if sei()/interrupts() or cli()/...
1
vote
2answers
45 views

How to avoid SD Card and W1500 SPI mixup on the Ethernet Shield?

In an answer Kevin Mark points to a solution/reason for the usage of the Ethernet shield together with the SD Card. The documentation says that SD Card and the Ethernet chip both share the SPI bus and ...
4
votes
1answer
51 views

analogRead(0) or analogRead(A0)

The arduino reference states that you would use the following code to read the value from analog pin #5: int val1 = analogRead(5); However to read from digital ...
2
votes
2answers
47 views

Simulate a bouncing ball on a LED cube

I just finished working on my 4x4x4 LED cube. I am trying to write an animation for a bouncing ball in the cube. Basically, a ball either 1 LED big, or 2x2 LEDs big should be moving around within the ...
4
votes
2answers
13 views

How can I control things without using delay?

I have always hated that you couldn't do other things unless you used the delay(); function. However, I want to blink a LED or do whatever while using serial, but ...
5
votes
2answers
25 views

Ethernet.begin() only works with SD Card removed - why?

When I run this code on my W5100 Ethernet Shield: byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; void setup() { Ethernet.begin(mac); } it only works ...
6
votes
2answers
26 views

What's the difference between INPUT and INPUT_PULLUP?

On newer Arduinos, one can set pinMode to one of three states: OUTPUT,INPUT, and ...
3
votes
1answer
16 views

Can I use a USB keyboard with the PS2Keyboard library?

It is my understanding that most newer USB keyboards will not work with the PS2Keyboard library because they do not use the PS/2 protocol. Some, but not all, do have the ability to use the PS/2 ...
5
votes
2answers
17 views

How do I interface an XBee wireless module with the Uno?

I want to use an XBee wireless module with my Arduino Uno. How should I go about doing this? Do I need a shield like this one?
-2
votes
1answer
56 views

Software for AVR Prototype [closed]

I am having a project using ATmega8 to control alarm using SMS. How can I make a software to change some code that have been programmed into microcontroller before ? Or maybe how to control the ...
7
votes
1answer
93 views

What is slew rate for I2C?

I'm configuring I2C on a PIC18 using the built-in functions of the C18 compiler as described in section 2.4 of the documentation: ...
1
vote
1answer
41 views

Get bytes from a short long in C18

I'm using the C18 compiler and need to get the three bytes of a short long from MSB to LSB. I'd say I could use this: ...
7
votes
2answers
75 views

Detecting overflow with C18

I'm implementing a calculator in a microcontroller which is controlled over the serial port. For example, I'd send 1234*5678= and it would reply with ...
3
votes
1answer
66 views

Integers >9999 in PIC C18

In this answer, I made a function to convert an integer to an ASCII string: ...
5
votes
5answers
243 views

Integer to ASCII in C18

I'm writing code for a PIC18F46K22 using the C18 compiler. I want to write the value of an integer \$n\$ in ASCII over the USART to my PC. For \$n<10\$, it's easy: ...
8
votes
1answer
13 views

Can I connect two different 1-Wire Devices to the same data pin on an Arduino?

I have used DS18B20 temperature sensors many times and understand that they can be daisy chained on the same data pin. Could two different sensors be connected in the same manner? For instance, could ...
0
votes
0answers
135 views

UART connection b/w Arduino Uno and UHF RFID reader

Working on integrating this RFID reader with an Arduino UNO using standard RS232. Using the Rx, Tx, Power (+12V) and GND wires from the Reader and creating a soft serial connection. Here is sample ...
5
votes
1answer
37 views

How do I transition from using the Arduino IDE to plain avrdude/make?

Part three of a three part series on transitioning from Arduino to a plain AVR microcontroller and minimum supporting components (part one, part two) I already know how to use an Arduino as a ...
9
votes
1answer
41 views

How should one switch from using an Arduino as a programmer to an external programmer?

Part two of a three part series on transitioning from Arduino to a plain AVR microcontroller and minimum supporting components (part one, part three) I've seen a lot of people ask this on the ...
18
votes
3answers
42 views

Is there any way to simulate a program run before burning it onto the board?

Programs may, at times, have runtime errors. These are sometimes hard to find and can easily be missed. Is there any way to test the program before actually burning it onto the board ?
5
votes
2answers
12 views

What are methods to mitigate or reduce brown out resets?

How can I prevent or reduce the effects of low voltage causing the Arduino to reset? What would be the best proactive or reactive methods to deal with brown out resets? Edit: is there a reactive way ...
24
votes
7answers
121 views

Can I develop with the Arduino using an IDE with more features?

The simplicity of the open source Arduino IDE is great, but a bit limiting sometimes - I like to use Netbeans for instance for other work that I do. Do any plugins exist for more fully featured IDEs ...
5
votes
1answer
13 views

Building a menu and scheduler for a thermostat (rotary encoder for input, LCD screen)

I'm building an advanced thermostat on an arduino with the following goals: Use a rotary encoder (with pushbutton) as the only input device Use LCD display (standard 16x2) Use a real time clock ...
5
votes
3answers
27 views

How can I create a serial bridge using two Bluetooth dongles?

I own two of the SparkFun BlueSmirf bluetooth modules and I would like to connect them to eachother - one as the master, and one as the slave. It is easy to pair these together using a PC with Putty ...
3
votes
1answer
71 views

Difference between USART's synchronous and asynchronous mode

I'm writing software to initialise the EUSART1 module for RS232 on a PIC18F46K22. I'm using the usart.h library, built-in in the C18 compiler. There is some reference in MPLAB C18 C Compiler Libraries ...
1
vote
3answers
67 views

Simulating Altera FPGAs with an old version of ModelSim?

I'm hoping to do some development work on Altera FPGAs that will likely be larger than is supported by the free edition of ModelSim. I have an old copy of the full version hanging around (version ...
2
votes
2answers
205 views

Controlling a LED's intensity with a text file from an SD card

I need your help for a project. My equipment: Arduino Uno, microSD Shield, power LED shield, micro SD card First, I want to control the intensity of a led by reading a text file. Here is an example ...
0
votes
3answers
140 views

Interrupt when a variable passes a threshold

I am programming the code for a LM4F120 Stellaris Launchpad, and I need a method to activate a software interrupt when the value of a particular variable exceeds a predefined threshold value. When the ...
0
votes
1answer
94 views

Questions about connecting a passive infra-red sensor to the USB port

So, we are linking a sensor to a computer via USB, using a female USB connector and male USB wires. The sensor is connected to a circuit with 3 pins, vcc, ground, output signal. If I would want the ...
0
votes
1answer
78 views

How do I debug or visualise my ARM USB HID project on Mac

I've been looking around to try and find an application for Mac OS X that I can use to visualise the inputs of an USB HID device, like for example a game controller, or my USB HID STM32F4 Discovery ...
0
votes
1answer
34 views

Setting up an IBL2403 motor driver

I received an shiny new IBL2403 the other day: However, I've been having difficultly using the EasyMotion Studio software that comes with it. When I try and set up the driver for the first time, ...
0
votes
1answer
102 views

Simulation software to terminate planar waveguides by geometry and material choice?

There are a lot of electromagnetics software modeling suites out there (HFSS, CST Microwave, Sonnet some I've heard of). I want to terminate a coplanar GS or GSG waveguide with 50 ohm. I know that ...
1
vote
0answers
48 views

Gerber file edits

I'm making my own PCBs at home and I'm using KiCAD to layout the boards and create the Gerber files. From the files I'm making my template which I transfer to my boards and then finish the etching ...
4
votes
4answers
246 views

Accessing individual I/O pin on MSP430

Im porting some software from Microchip PIC (using the HI-Tech C Compiler) to TI MSP430, and in the existing code they access the pins directly with something like: ...
1
vote
0answers
99 views

CircuitCam 6.1 Alternative

I just got an old LPKF 91s PCB mill, from another department at my school. The mill came with 2 broken computers. I have just finished setting up the mill to work with a "new" computer. I got ...

1 2 3