circuit

Simple serial AVR programmer for beginner

What is the cheap and good way to make a serial (RS232) programmer for AVR atMega and atTiny? There are several circuits in the Internet, but which one is better? I'd like to be able to program my controller from Linux and Windows using some standard tools. ...

Steps to make a LED blink from a C/C++ program?

What are the easiest steps to make a small circuit with an LED flash from a C/C++ program? I would prefer the least number of dependencies and packages needed. What port would I connect something into? Which compiler would I use? How do I send data to that port? Do I need to have a micro-processor? If not I don't want to use one for ...

How do I convert a number to two's complement in verilog?

I am trying to design a 4-bit adder subtracter in verilog. This is only the second thing I have ever written in verilog, and I don't know all the correct syntax yet. This is the module I have so far: module Question3(carryin, X, Y, Z, S, carryout, overflow); parameter n = 4; input carryin, Z; input [n-1:0]X, Y; output re...

What's the best way to learn how to build circuits

I've always wanted to have a better understanding of what is happening at the hardware level. As a practical level, anything after compile equals 'magic' and I'd like to remedy that. I'd like to investigate building circuits and then moving up to assembly programming on basic chip sets, both for my own sake and also for my son's, as som...

TRS to RJ9 conversion for audio in/output

I was wondering if anyone had resources that I could reference for creating a TRS (Tip-Ring-Sleeve) 1/8" audio, to RJ9 Telephony jack conversion kit. Effectively, I'm trying to create a bridge from an audio device (PC/MP3 player) to a telephone connection, allowing audio from the PC/MP3 player to be broadcast into a telephone line. Try...

Need help on selecting items in simple database in python.

I'm trying to write a circuit schematic drawing tool in Python. I'm creating a simple database based on dictionaries which holds all the components and their properties. I'm also trying to create a simple query language where you can select, for example, all resistors with value>100ohms or footprint='0402' So far, I can select thing...

Analog circuit simulation library?

I'm working on a genetic programming tool and I'd like to evolve analog circuits. Can anyone suggest a library or tool or even a reference for hooking my GP code up? I just need some way to have something like SPICE evaluate the circuits that are created by my code. I've seen reference to plain text representations of the circuits (netli...

free electronic circuit and PIC simulator for linux?

I need a simulator for electronic circuit and PIC for linux to study PIC design, and I tried EAGLE,piklab,geda, hard to understand.. I don't know which is most suitable for learning circuits and PIC programming. Does anyone knows? ...

What is a good piece of low cost electronic kit for programming?

Now that systems are so powerful, there doesn't seem to be anything like the fun challenge of trying to get the most out of some 8-bit micro and with less than 64kb memory. Is there something (that isn't an emulator) which can provide a similar experience? ...

Circuit that counts the number of set bits in 15-bit input

How to build an area-efficient circuit that counts the number of set bits in 15-bit input using 4-input LUTs (look-up tables). The output is obviously 4-bit (counts 0-15). Some claim that it's possible to do using 9 LUTs. ...

Or gate using 2 NANDS

The diagrams I've seen for making an OR gate from a NAND gate use 3 NAND gates but if you have both inputs connected to both connectors of a NAND gate and then the output of this gate as inputs to both connectors of a second NAND gate it should behave like an OR gate. So you'd need only 2 gates? edit: this pic below was an attempt I m...

Circuit Design book for programmers

I need a book that teaches circuit design that will be useful when programming microcontrollers. Usually when I join a project, before I can start programming any logic into the microcontroller, it needs to be integrated into a circuit with a power supply, transducer, etc. I find that I'm lacking the skills to do this myself but once the...

Digital Circuits Half/Full Adders

I am taking a Digital Circuits class in which we do not use a book, only lecture notes. In the section that covers adders I only have 2 small examples covering addition and subtraction of binary numbers. I am pretty sure i am going to have worded problems in the exam such as design a circuit to count something etc. Does anyone know any s...

State Space and circuit simulator.

As far as I know there is no state-space based general purpose circuit simulator around. Though there are certain algorithm to figure out how to find state-spaces (unique?) in a circuit (represented by graphs). Has anyone tried writing a program to simulate some basic circuit elements? [ref] 1. Sheshu and Reed, Electrical networks and ...

Advice on logic circuits and serial communications

As far as I understand the serial port so far, transferring data is done over pin 3. As shown here: There are two things that make me uncomfortable about this. The first is that it seems to imply that the two connected devices agree on a signal speed and the second is that even if they are configured to run at the same speed you run in...

Tool to draw logic gates from text

Is there a tool to draw out logic gates / the circuit diagram from a textual description of those gates (such as HDL)? Thank you. ...

.NET 2d library for circuit diagrams

I want to draw and manipulate logic flow (as opposed to analog) circuit diagrams and I'm trying not to reinvent the wheel. Problems like positioning, line drawing, line crossing and connecting, path finding, rubberband lines, and drag & drop are also identical in flow charts, UML diagrams, or class diagrams so I started by viewing relat...

Is there a programming language for designing and web publishing electronic circuits ?

Hi, there are good languages to publish math contents on the web. But, is there any such language for electronic circuits diagrams. Which can help you design circuit diagrams, save in several formats [.pdf,.ps, .djvu etc] and publish on the web? By, publishing on the web I don't mean first save in some picture format and then use html to...

How can I do modeling in reverse by parsing a C program and turning it in to a circuit diagram to be displayed.

How can I do modeling in reverse by parsing a C program and turning it in to a circuit diagram to be displayed. Example Except this is psedocode. ...

How to obtain Dual Tone signal from DTMF IC6847?

I have to obtain dual tones from DTMF 6847 chip.Which pins are to be shorted to obtain different sets of frequencies so that I can see them on the oscilloscope? Please help. ...