The tag has no usage guidance.

learn more… | top users | synonyms

-2
votes
1answer
57 views

Explanation of how to create circuit from transfer function

So I'm in this lab course that must be taken concurrently with the main upper div circuits class, but we were assigned a lab that our professor did not explain and that the lab manual does not ...
0
votes
1answer
55 views

Output voltage function (circuit-analysis)

What will the function of the output voltage be? My work, and am I right?: ...
1
vote
2answers
94 views

Why does VHDL function declaration not accept bounds for the return type, e.g. std_logic_vector?

I know that in VHDL each function call is instantiated as a separate combinational circuit. I am writing a function that takes in a 4 bit value and returns a 7 bit value from a look up table. The ...
0
votes
1answer
49 views

Trying to simulate the linear region of a MOSFET

I wanted to simulate the linear region, so I tried this: simulate this circuit – Schematic created using CircuitLab I expected the triangle wave to be curved, but it didn't have those ...
0
votes
1answer
38 views

bjt, f(input)=5-input

All math is in the unit [V] volt. EDIT: Here's the circuit I was looking for, which I solved by tweaking the resistors. Question 2 & 3 remains. The function I am trying to achieve is this one: ...
3
votes
1answer
99 views

VHDL functions with generic or “run time variable”, synthesis issues

I have been thinking about functions in VHDL. If we have a function we could have both a function where we pass a "generic" (i.e. a fixed parameter known at compilation time) and a variable/signal ...
-1
votes
1answer
127 views
1
vote
2answers
54 views

Why am I getting an error in my transfer function?

I'm trying to solve part b here, and my transfer function is coming out as -1.25s/(s^2 + 2.05s + 1 instead of the given -1.25s/(s^2 + 1.6s + 1). Since there were no initial conditions, I just ...
0
votes
1answer
72 views

Functions that return Enums?

In Atmel ASF I found this piece of code ...
-1
votes
2answers
192 views

Boolean function and logic circuits

I have at my disposal: 2 input AND & OR logic gates and 1 input NOT logic gates. I need to prove (or disprove) that: 1) Every Boolean function in 3 variables (all 256 of them) can be represented ...
5
votes
1answer
183 views

Custom WAVE file results in different sound profile than created

My problem is as following: I'm trying to use my sound card to produce a custom repeating wave pattern which I will use in some laboratory test setup. My curve is based on a combination of a couple ...
3
votes
1answer
78 views

Function call isn't executed in verilog

Why function call to clogb2 is not being executed in the following code. I don't get any compilation errors but still parameter ...
1
vote
2answers
244 views

AVR IO Alternative Functions Priority

If in an AVR microcontroller there's at least two functions for example SPI, Analog Comp and GPIO pins in one 8bit PORT what's the priority of the functions? for example: If SPI enable first, and then ...
3
votes
1answer
278 views

Can a photodiode emit light?

I read that an LED (primarily emits light) can also be used as a photodiode (primarily detects light). Is this true in reverse? I mean, can a photodiode also emit light?
1
vote
3answers
2k views

How to call void function in response to receiving serial data (Arduino)

I'm new to Arduino, and I'm trying to decipher this code. There are various void functions that I am trying to call in response to receiving serial data (the Monitor outputs "Please enter valid ...
1
vote
1answer
320 views

Meaning of maximum load function generator can drive

For example, if a function generator has a minimum load of 1kohm and a maximum load of 50Mohm, if we connect less than 1kohm, the output amplitude will distort. But what happens to the output ...
2
votes
1answer
40 views

Initial value of time function

I need help find the the initial value for the following time function: $$F(s) = \frac{10(s+6)}{(s+2)(s+3)} $$ I've found the final value to be \$F(s)=0\$
0
votes
1answer
148 views

What is this go-no go function in some oscilloscopes and how can I use it?

I have seen some oscilloscopes with this option (go-no go function), but I don't know what it is. I couldn't find anything about it in my searches. What is it?
2
votes
2answers
939 views

Arduino linking assembler funtions

I would like to use (link) a function written in assembler in an Arduino project. What I want to do is: write the function in assembler using avr-gcc calling conventions declare the function as ...
4
votes
1answer
4k views

How to properly open and close files “inside” a member function? [closed]

I am using Arduino Uno and the Ethernet Shield with a 2GB SD Card. I have the following working code intended to be used to write data on the SD Card (note: the SD Library is properly initialized and ...
1
vote
3answers
313 views

Ideal Hardware Timer Setup Routine

Imagine you were trying to write a C routine for an 8bit microcontroller that converted a desired timespan (be it seconds, milliseconds, hertz, etc). to the corresponding hardware timer preload value ...
2
votes
1answer
922 views

Simple Differentiator with OpAmp - response function

Ok, I have a differentiator with an OpAmp, a resistor and a capacitor. I've calculated the response function, and I've written it in the picture. Now, the OpAmp has a single-pole response ...
1
vote
4answers
2k views

How to fake an encoder signal with one function generator?

I wish to be able to have a encoder quadrature signal that I could set the frequency to some specified values (from 10 to 60 Hz). I have a function gen that fulfills the freq requirements but it has ...