The algorithm tag has no wiki summary.
-1
votes
4answers
128 views
If-else decision structure using op amps or any other non-programmable electronic device
The title is pretty clear, I would like to know if there is any circuit or an IC capable of dealing with signals to perform algorithmic sort of decisions, I mean, as you can solve differential ...
2
votes
2answers
45 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 ...
1
vote
3answers
101 views
Selectable Voltage Divider Optimal Switching Point
I've built a circuit to measure an unknown resistance (over a large range) which is basically the following:
simulate this circuit – Schematic created using CircuitLab
Range_Select_1 and ...
-3
votes
1answer
65 views
How does remote switches learning system work? [closed]
I've been searching like crazy for none success so now im asking you guys.
You know these electric control switches that you can turn on and off with a radio wave remote control? Usually the remote ...
5
votes
1answer
204 views
Wear leveling on a microcontroller's EEPROM
For example: The datasheet for ATtiny2313 (as do most Atmel AVR datasheets) states:
128 Bytes In-System Programmable EEPROM Endurance: 100,000 Write/Erase
Cycles
Imagine a program only ...
1
vote
1answer
123 views
Overview of typicals RAID/wear leveling algorithms used in SSD controllers
I am trying to understand SSD controller design. I am particularly interested in the physical distribution of data to several NAND chips/dies.
Can somebody point me towards an "idiot's guide to SSD ...
3
votes
1answer
195 views
Implementing a continuous time transfer function in PC code
I have a transfer function like this:
\$ H(s) = \frac{1}{Ts + 1} \$
I converted it into a difference equation to solve it iteratively:
\$
H(s) = \frac{Y(s)}{X(s)} = \frac{1}{Ts + 1} \\
TsY(s) + ...
2
votes
4answers
172 views
Data compression for large amount of binary data
In an embedded application of mine, the device generates a large amount of instrumentation data that is stored every few minutes in an NVM, such as a set of EEPROMs or a Data Flash. This data is ...
0
votes
2answers
127 views
Splitting a bit array in Verilog
i am designing a basic AES algorithm on verilog, and i need to split a 1828 bits array into 16 parts each one of 8 bits, for example (basic no 128 length example), if i receive in my 8 to 2 splitter ...
1
vote
2answers
228 views
Method to determine least-error prescaler and top values for timer1 of Arduino?
If this question should be in StackExchange instead of here I can delete here and post there.
Using an Arduino Duemilanove (Atmega328) I am trying to generate a square wave (50% duty cycle) of ...
3
votes
3answers
467 views
Fastest moving averaging techniques with minimum footprint
I have tried few running averaging techs for smoothing the change in ADC data in AtMega48 for controlling lights(PWM) when rotating a pot(ADC).
The filters (pseudo codes):
Moving average:
...
7
votes
1answer
263 views
Conversion of PID controller components with state feedback into single transfer function and discrete state-space form
I've been wrestling with this problem for about a week now, as a part of a year-long project. We're designing a controller for a specific reactor based on a model. After looking at this for a while, I ...
0
votes
1answer
578 views
How is a two-pass assembler designed? [closed]
What is the algorithm for the first pass and the second pass of an assembler?
I have been looking for a description or tutorial but haven't found one. If there are tutorials that explain these ...
3
votes
2answers
503 views
hardware implementation of division algorithm
I have tried hard but I don't understand how this algorithm is working.Please explain the flow chart.
\$DVF\$ is the divide overflow flip flop.
\$A_s\$ is the sign bit of \$A\$
\$B_s\$ is the ...