LinkSprite Camera with TTL Serial

Sorry, forgot to comment the Spark.function(), I don't use it.

I just flash the core via usb with the code in the particle build page, then I ask for the serial monitor's data with this code:

I just need the serial port problem fixed, everything else works fine.

It might be /dev/tty. if i remember correctly. Can you try using a terminal software to see if the device is listed there?

Still having the same problem, when I ask for ā€œparticle serial listā€ says ā€œno devices available via serialā€

Have you tried my short test sketch from above?

Yes, and it gave me this error:

so I replaced it for a "HIGH", asked for the serial monitor and still said "no device available via serial"

That was a typo, which has been corrected already digitalWrite(D7, !digitalRead(D7));

If this sketch doesn’t work, I’d expect you’ve got a problem with your USB port, USB cable or computer and not the Core.

Is there any other way I could see the serial monitor than the command line?

Maybe @kennethlimcp can help here since I have no clue about Mac.
But I’ve heard about CoolTerm, if this helps.

Hi @KarinaMendez

I use CoolTerm or just the command line tool screen on my Mac. Both work great. You will have to figure out which device in /dev/ is your Photon. The easiest way is to just list the /dev/ directory before and after connecting it.

http://freeware.the-meiers.org/

http://hints.macworld.com/article.php?story=20061109133825654

I know witch one is it: dev/cu.usbmodem1411, it appears when I ask for the particle serial list before flashing the code, but after flashing any code, there’s no serial ports available…

Hi @KarinaMendez

If this is a Core, then the USB device only get enumerated and shows up after your firmware does Serial.begin(baudRate);.

If this is a Photon, it normally enumerates the device by default.

By the way, the name can change if you plug in other USB devices with serial capability.

Something that happens is that when I set it up with the command line to the cloud, it never passes the step ā€œclaiming core to your accountā€.

This is what I keep trying to get accross too!

1 Like

By any chance do you have an example of how to post data from spark to a database? Been trying some like

but it's not working