• Content Count

  • Joined

  • Last visited

About JohnnyG

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. THANK YOU!!! You rock! I'll let you know how it goes. -G
  2. LCDs expects the 4 MSBs to be transferred followed by the 4 LSBs. Can the AD2 support this type of communication? The AD2 would have to store the 4 MSBs and concatenate them with the 4 LSBs once received to make 8 bits LiquidCrystal object) which expects the 4 MSBs to be transferred followed by the 4 LSBs.which it would then display as ASCII.
  3. In one of the test, I used Clock and Enable in the bus settings. That did not work. In the configuration above, 0,1 and 2 are just Signal. Does it matter which wire they are plugged into?
  4. Thanks JColvin, I was going off of the comment above. I am confused too...LOL When I did the same experiment using serial.print, I was able to see the data (the text string) in the data display of WaveForms. In this experiment, to the LCD, I have "Analog Discovery 2, Learn, Experiment, Work!" as the data. I do not see any data... just control. The original setup was RS, EN, DP4, etc. That was not working. I noticed in the CPP that RW is in the mix too (as it is above). So I added RW. I'll change it back and see what changes. You said. "I do not think there is a way to readily have the WaveForms software analyze two separate bytes (or nibbles as it were)" So in this mode of operation (4 pin), I will never see the data? That is really all that I am trying to do. Should I give up and move on? JohnnyG
  5. Hey guys, any thoughts on this? Is it possible to capture that actual data? What am I missing? JohnnyG
  6. @attila I am not sure if I got it setup right or not but it seems to follow along with the manual. I get a lot of control but never data, am I expecting too much? The ino is simple. #include <LiquidCrystal.h> // RS - on Arduino pin 12 AD2 pin 0 // RW - on Arduino pin 11 AD2 pin 1 // EN - on Arduino pin 10 AD2 pin 2 // DP4 - on Arduino pin 9 AD2 pin 3 // DP5 - on Arduino pin 8 AD2 pin 4 // DP6 - on Arduino pin 7 AD2 pin 5 // DP7 - on Arduino pin 6 AD2 pin 6 LiquidCrystal lcd(12, 11, 10, 9, 8, 7, 6); void setup() { lcd.begin(16,2); } void loop() { lcd.print("Analog Discovery 2"); //delay(1); lcd.setCursor(2,1); lcd.print("Learn, "); //delay(1); lcd.clear(); lcd.print("Experiment, "); //delay(1); lcd.setCursor(2,1); lcd.print("Work!"); //delay(1); lcd.clear(); } Thanks! JohnnyG
  7. Thanks, I tried bus... I guess I did not have the setting right. I'll look at the datasheet and see if I can figure it out. While the rest of the world is going crazy because they are stuck at home I got the AD2 to keep me sane... -G
  8. 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
  9. I am following along with the Analog Discovery Tutorials: Scope 2: Triggered Acquisition tutorial. I have a very similar but not exact breadboard setup. 4V, 220 resistor, red LED. W1 is setup as the screen below shows, the W1 wire is on one end of the resistor, GND is on the far end of the LED. 1+ is on the same end of the resistor as W1 and 1- is on the other leg of the resistor. 2+ is on the same leg as 1-, and 2- is on the same leg of the LED as GND (hopefully this makes sense, if not, look at the video.) I am using a sign wave but the triangle gives similar results. I am trying to wrap my head around what I am seeing, am I close I am feeding the circuit with a sine wave that is 8 volts peak to peak (4V amplitude). It being 8V and not 4V took me a minute to figure out and caused a lot of confusion. The second screen show the scope waveform. Thinking that I was working with 4 volts, it made no sense to me. Once I figured out that I was working with 8 volts, things became a bit more clear. I think that in reality, the two signals needed to be added together (as in the 3rd screen) to get the total drop across the circuit (which should be 8Vpp). The LED only lights when the + voltage is high enough to light it (around 2 volts.) So there is a 2V drop across the resister when the light is on and a 6 volt drop across the LED when the light is off. When the LED is on, there is very little resistance through the LED which is why I am seeing less than a 8Vpp sign wave on channel 2. The voltage across the resister is only present when the voltage is above 2 volts (when the LED is allowing current to pass) Otherwise, there is no access to ground which is why the waveform is smaller and for a shorter duration. Basically, the blue trace is when the light is off and the yellow is when the light is on? Am I missing anything?
  10. Good morning @Bianca! Thanks, that makes sense. I am watching an older video "Analog Discovery Tutorials: Scope 2: Triggered Acquisition" That video shows the older version of the software. In one part, they show "load defaults" for the scope. Is that a feature in the new software? Thanks again!!! John BTW: Are you really in Romania?
  11. The Ultimate Package came with a Breadboard Adapter for AD. The package contained the adapter and a small solderless breadboard. I am trying to figure out a particle application for the adapter? Are we supposed to solder components and wires to the board or does the adapter and the solderless breadboard somehow work together? Thanks in advanced, JohnnyG
  12. The first time I ran into that, I pulled out a few hairs. Give it another try. When you get that message, go to your system preferences, security & privacy. You should see a message about allowing the software to install. I am new to the AD2 and Waveform.... it is AWESOME!!! Good luck. JohnnyG