Serial monitor: no data Sparkfun Edge

By peepo_com - Sat Sep 30, 2023 9:37 am

Setup:

  • Ubuntu 22.04 fully up to date
  • SparkFun Edge 2
  • SparkFun Serial Basic board with CH340G serial chip
    Arduino IDE 2.2.1 connected to device ttyUSB0, baud 9600

The board is brand new, nothing tried, and in default state. Yes/No LEDs not very responsive, but perhaps sometimes?
blue LED blinking.

anyway: there is no data on the serial monitor, tried putty, same.

CH340 tx/rx jumper echo wfm

please advise what might be needed?

tx

according to the instructions, any audio, but particularly yes, no or other words should produce text on serial monitor yes, no or other...

Output will only appear on the Serial monitor if it is set up to receive at at the correct baud rate and if you print data to it

Try this simple sketch

void setup()
{
  Serial.begin(9600);
}

void loop()
{
  static byte x = 0;
  Serial.println(x++);
  delay(1000);
}

Do you see anything on the Serial monitor ?

Hi thanks,
I have various other boards, all connect fine with serial data.
The Sparkfun Edge as unboxed is supposed to print data to the serial port, on a sound such as "yes", baud 9600 is as required.

from the link below: this is the sketch that comes pre-loaded on your SparkFun Edge Board, so you should already see the blue LED blinking. If you open the Serial Monitor of your Arduino IDE, saying "Yes" will return something like "Heard yes (203) @4032ms," accompanied by a single blink of the yellow onboard LED; saying "No" will return a statement similar to "Heard no (209) @7936ms," along with a blink of the red onboard LED. Any other word or statement that the mics pick up will return "Heard unknown (212) @50304ms."
https://learn.sparkfun.com/tutorials/programming-the-sparkfun-edge-with-arduino

All very interesting, but does the simple sketch above work ?

no?

had seen:

micro_speech.ino loaded from "the non-precompiled version of the library"

thought I had the Sparkfun Edge non-precompiled version installed, but seems hard to find?

In order to make all relevant information available to any who are interested in this subject, I'll share a link to the related discussion here:

https://forum.sparkfun.com/viewtopic.php?f=153&t=60307

Why did you add a question mark?

Please answer the following questions very precisely:

Did you upload the simple test sketch provided by UKHeliBob to your board?

After you uploaded that simple test sketch to your board, did you see numbers being printed in Serial Monitor?

thank you for your comments, following your request I tried to upload,
I did not succeed, It would be good to have some clear instructions.
I am now practiced at press rst press 14 release rst release 14 after upload

As per this link: arduino - Sparkfun edge bootloader problem... not working - Stack Overflow

and get the same outcome as that linked, ie 3 tries failed

The default bootloader was Sparkfun variable loader
I changed to ambiq secure bootloader
and tried changing SVL baud rates, which is also ticked on my IDE,

verbose output ends:

Sending Hello.
No response for command 0x00000000

alternatively using SVL

Phase:	Setup
	Cleared startup blip
Failed to enter bootload phase

thanks again

please note when unboxing one might not expect to need to overwrite the contents,
to get the product working, hence my reluctance.
This should work out of the box!

ptillisch/UKHeliBob is there anything further you might add?

I'm at a loss as my other TinyML boards worked pretty much out of the box.

adding USB CH340 sparkfun edge

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.