40
1. As a rule of thumb, sample a digital signal at a frequency at least 4
times the signal’s frequency. When the frequency of the target signal
is unknown, choose a sample rate so that there are a minimum of four
samples points per cycle (2 when High, 2 when Low). You can display
the number of samples on the waveform in the menu option m> customize
waveform area m> waveform information. How often you record (sample)
the voltage value on each channel is called the sample speed. A higher
sample speed ensures that you are not missing anything. Too high and
you’ll fill the memory with unnecessary samples. Too low and you’ll miss
a lot of information, resulting in a waveform which is not a correct
representation of the real signal.
2. How to determine whether a certain voltage should be read as a 0 or a
1? By comparing it to a reference value, also called the trigger level.
Anything below that value is a 0. Anything above it is a 1.
3. Adjust the trigger position to capture more data before (pre-trigger)
or after (post-trigger) the trigger event.
4. It happens because the channels are not updated at the same time.
Look at the code, you can see that in the first counter function it is
written PORTB = bus_counter whereas the other counter updates each pin
with digitalWrite(). digitalWrite() updates the pins one after another.
PORTB updates all pins at once.
REMARKS
REMARKS
Содержание Arduino starter kit with Logic Analyzer
Страница 10: ...W h a t I s a L o g i c A n a l y z e r...
Страница 13: ...12 PORT OVERVIEW L A P E D U C A T O R...
Страница 14: ...S o f t w a r e I n s t a l l a t i o n a n d I n t r o d u c t i o n...
Страница 30: ...L o g i c A c q u i s i t i o n a n d S o f t w a r e T u t o r i a l...
Страница 31: ...30 G O A L S Learn basic concepts of logic acquisition Introduce import ant software functions x 8...
Страница 42: ...S e r i a l I n t e r f a c e...
Страница 48: ...E x p e r i m e n t 1 L E D...
Страница 51: ...50 5V Digital PIN 8 10k 330 Digital PIN 9 A K S C H E M A T I C...
Страница 52: ...A K B U I L D I T...
Страница 56: ...E x p e r i m e n t 2 P h o t o r e s i s t o r...
Страница 57: ...Use a photoresistor Get and manipulate values Obtained from a sensor 56 G O A L S x 1 x 1 x 11...
Страница 59: ...58 5V Analog PIN A0 10k S C H E M A T I C...
Страница 60: ...B U I L D I T...
Страница 64: ...E x p e r i m e n t 3 S e n s o r s...
Страница 68: ...A K Sound Sensor GND VCC OUT B U I L D I T...
Страница 70: ...Microphones are sound sensors REAL LIFE APPLICATIONS B U I L D I T...
Страница 72: ...E x p e r i m e n t 4 F i n d t h e k e y...
Страница 73: ...72 Use the logic analyzer to solve a problem G O A L S x 1 x 1 x 1 x 4 x 1...
Страница 75: ...74 5V Digital PIN 13 330 10k Analog PIN A0 A K S C H E M A T I C...
Страница 76: ...A K B U I L D I T...
Страница 80: ...E x p e r i m e n t 5 T e m p e r a t u r e c o n t r o l l e d D C m o t o r...
Страница 84: ...Adj GND Out LM335 LM335 1N4148 E C B BC337 2N222 B U I L D I T...
Страница 88: ...E x p e r i m e n t 6 L C D...
Страница 93: ...92 In the serial monitor type a few words and click on Send Here is what you should see P R O C E D U R E...
Страница 94: ...You can use the table below to match the values shown in ZP studio with the characters P R O C E D U R E...
Страница 98: ...E x p e r i m e n t 7 K e y b o a r d...
Страница 101: ...100 D E S C R I P T I O N...
Страница 102: ...VCC D D GND S C H E M A T I C...
Страница 106: ...E x p e r i m e n t 8 I 2 C p r o t o c o l C o n t r o l t h e L E D s...
Страница 122: ......
Страница 123: ......