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
Summary of Contents for Arduino starter kit with Logic Analyzer
Page 10: ...W h a t I s a L o g i c A n a l y z e r...
Page 13: ...12 PORT OVERVIEW L A P E D U C A T O R...
Page 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...
Page 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...
Page 42: ...S e r i a l I n t e r f a c e...
Page 48: ...E x p e r i m e n t 1 L E D...
Page 51: ...50 5V Digital PIN 8 10k 330 Digital PIN 9 A K S C H E M A T I C...
Page 52: ...A K B U I L D I T...
Page 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...
Page 57: ...Use a photoresistor Get and manipulate values Obtained from a sensor 56 G O A L S x 1 x 1 x 11...
Page 59: ...58 5V Analog PIN A0 10k S C H E M A T I C...
Page 60: ...B U I L D I T...
Page 64: ...E x p e r i m e n t 3 S e n s o r s...
Page 68: ...A K Sound Sensor GND VCC OUT B U I L D I T...
Page 70: ...Microphones are sound sensors REAL LIFE APPLICATIONS B U I L D I T...
Page 72: ...E x p e r i m e n t 4 F i n d t h e k e y...
Page 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...
Page 75: ...74 5V Digital PIN 13 330 10k Analog PIN A0 A K S C H E M A T I C...
Page 76: ...A K B U I L D I T...
Page 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...
Page 84: ...Adj GND Out LM335 LM335 1N4148 E C B BC337 2N222 B U I L D I T...
Page 88: ...E x p e r i m e n t 6 L C D...
Page 98: ...E x p e r i m e n t 7 K e y b o a r d...
Page 101: ...100 D E S C R I P T I O N...
Page 102: ...VCC D D GND S C H E M A T I C...
Page 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...
Page 122: ......
Page 123: ......