Resonance v1

Published  Mar 09, 2012
Updated  Mar 09, 2012
URL 
0  8

Description

VERSION 1

Resonance is a simple analog circuit simulator app for Processing.
The schematic shown is a simple RC low-pass filter. As the frequency increases or as the capacitance increases or as the resistance decreases, the OUT1 voltage increases.
I have programmed a graphing utility and a vector diagram but in this upload only the vector diagram is visible.
The vector displays the circuit's total impedance (diagonal) as the result of the capacitance (vertical) and the resistance (horizontal). With the default component values, the vector will appear only as a black dot on the right side of the window. To make the vector more visible, lower the capacitance value of the capacitor and increase the resistance value of the resistor (instructions for modifying component values described below).
I plan to add more schematics but for now the RC low-pass filter is the only one I have programmed (I will also enable the ability to switch between viewing the graph and the vector diagram).
I plan to give the app Arduino interface functionality via serial communication(haven't coded that yet either :P).
The Arduino will be programmed to test for the value of a capacitor, resistor, inductor, or ac source (this will be done using external circuitry) and create a new capacitor, resistor, inductor, or ac source object with the test value.
You could effectively import an entire circuit into the processing and simulate the circuit's output.

Use SPACE to select a component when the mouse is over. This will change the outline to a green-blue.
To deselect, press SPACE when the mouse is not over the component.
While selected, a component's value can be changed by using W, A, S, D.
W - increases the increment value (10)
S - decreases the increment value (
.1)
A - decrease the component's value by the increment
D - increase the component's value by the increment

Comment if you have any questions.

Download

Filename
Size
Date
Downloads
225.25 KB
Mar 09, 2012
39

Comments

Sign in to comment.
supercapacitor   -  Mar 10, 2012

Thank you!

 Respond  
Hawkee   -  Mar 10, 2012

I updated the dimensions, so it should all show up now.

 Respond  
supercapacitor   -  Mar 09, 2012

Width should be 800, height should be 500.

 Respond  
Hawkee   -  Mar 09, 2012

What width and height should the demo be? We have support for a custom width and height, but I haven't built the interface to change it yet. I can do it manually.

 Respond  
supercapacitor   -  Mar 09, 2012

Just demo'ed it and realized that part of the window is cut off. You won't be able to see the vector diagram in this version. Perfectly functional though.

 Respond  
supercapacitor   -  Mar 09, 2012

About all the o's, I was in a hurry to upload and didn't have time to write a detailed description.
Basically the app is a simulator for analog circuits.
The schematic shown is a simple RC low-pass filter. As the frequency increases or as the capacitance increases or as the resistance decreases, the OUT1 voltage increases.
I have programmed a graphing utility and a vector diagram but in this upload only the vector diagram is visible.
The vector displays the circuit's total impedance (diagonal) as the result of the capacitance (vertical) and the resistance (horizontal). With the default component values, the vector will appear only as a black dot on the right side of the window. To make the vector more visible, lower the capacitance value of the capacitor and increase the resistance value of the resistor (instructions for modifying component values described below).
I plan to add more schematics but for now the RC low-pass filter is the only one I have programmed (I will also enable the ability to switch between viewing the graph and the vector diagram).
I plan to give the app Arduino interface functionality via serial communication(haven't coded that yet either :P).
The Arduino will be programmed to test for the value of a capacitor, resistor, inductor, or ac source (this will be done using external circuitry) and create a new capacitor, resistor, inductor, or ac source object with the test value.
You could effectively import an entire circuit into the processing and simulate the circuit's output.

Use SPACE to select a component when the mouse is over. This will change the outline to a green-blue.
To deselect, press SPACE when the mouse is not over the component.
While selected, a component's value can be changed by using W, A, S, D.
W - increases the increment value (10)
S - decreases the increment value (
.1)
A - decrease the component's value by the increment
D - increase the component's value by the increment

Comment if you have anymore questions.

 Respond  
Sorasyn   -  Mar 09, 2012

Neat application. Is it a game or what? As of right now, all I could get it to do was drag the corresponding pieces to their respective spots on the diagram.

 Respond  
Hawkee   -  Mar 09, 2012

How does it work? Also, you might want to fix all those o's in your description.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.