I've been trying to learn how to use the AD2 Logic Analyser. I got it to work with Serial.println("Hello world!"). I've learned that the Base: selection is critical to capturing the data. If you get it wrong, you get Framing Errors and the wrong characters.
Now I am trying to use the Logic Analyser with an Arduino Uno running a clock/date ino that displays on a 16x2 LCD. I do not have the LCD connected, but when I wrote the program it was and it worked perfectly. I have also tried an ino that displays Hello World on the top line of the LCD.
My connection is described below. I have tried several different setups in the Logic section of Waveforms and I am not able to capture ascii data. I've tried spi, spi mosi/miso, UART, and a few others. I have also tried to just add Signal lines to the connections below. With that, I am able to see the waveforms, but not the data.
Is it possible to read the data with the AD2 and Waveform?
The ino notes say to connect the Arduino to the LCD as follows. The number after the dash is the AD2 logic connection wire. I.E. I have a jumper from Arduino Digital pin 12 to AD2 Logic wire 0 and so on. As the LCD is not physically connected. some of the connections in the ino were not used (as noted).
* LCD RS pin to digital pin 12 - 0
* LCD Enable pin to digital pin 11 - 1
* LCD D4 pin to digital pin 5 - 2
* LCD D5 pin to digital pin 4 - 3
* LCD D6 pin to digital pin 3 - 4
* LCD D7 pin to digital pin 2 - 5
* LCD R/W pin to ground - (Not Used)
* LCD VSS pin to ground - (Not Used)
* LCD VCC pin to 5V - (Not Used)
I have a jumper from the Android ground to the AD2 Ground.
Question
JohnnyG
I've been trying to learn how to use the AD2 Logic Analyser. I got it to work with Serial.println("Hello world!"). I've learned that the Base: selection is critical to capturing the data. If you get it wrong, you get Framing Errors and the wrong characters.
Now I am trying to use the Logic Analyser with an Arduino Uno running a clock/date ino that displays on a 16x2 LCD. I do not have the LCD connected, but when I wrote the program it was and it worked perfectly. I have also tried an ino that displays Hello World on the top line of the LCD.
My connection is described below. I have tried several different setups in the Logic section of Waveforms and I am not able to capture ascii data. I've tried spi, spi mosi/miso, UART, and a few others. I have also tried to just add Signal lines to the connections below. With that, I am able to see the waveforms, but not the data.
Is it possible to read the data with the AD2 and Waveform?
The ino notes say to connect the Arduino to the LCD as follows. The number after the dash is the AD2 logic connection wire. I.E. I have a jumper from Arduino Digital pin 12 to AD2 Logic wire 0 and so on. As the LCD is not physically connected. some of the connections in the ino were not used (as noted).
* LCD RS pin to digital pin 12 - 0
* LCD Enable pin to digital pin 11 - 1
* LCD D4 pin to digital pin 5 - 2
* LCD D5 pin to digital pin 4 - 3
* LCD D6 pin to digital pin 3 - 4
* LCD D7 pin to digital pin 2 - 5
* LCD R/W pin to ground - (Not Used)
* LCD VSS pin to ground - (Not Used)
* LCD VCC pin to 5V - (Not Used)
I have a jumper from the Android ground to the AD2 Ground.
Thanks
JohnnyG
Link to comment
Share on other sites
14 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.