Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Use Serial Monitor? #42

Open
TSJim opened this issue Sep 8, 2018 · 6 comments
Open

How To Use Serial Monitor? #42

TSJim opened this issue Sep 8, 2018 · 6 comments

Comments

@TSJim
Copy link

TSJim commented Sep 8, 2018

How do I use the serial Monitor feature on the Gabinator DS203 firmware?

I'm hoping that I can connect it to an Arduino which is being powered by a non-USB power source (through VIN) and be able to see messages that the Arduino sends out with Serial.print functions.

I tried connecting the probe from the DS203's Channel A port and the tip to the Arduino's TX pin and the probe's alligator clip to GND on the Arduino, but nothing shows up. I also tried the other channels on the DS203, and tried connecting the tip to RX, GND and various combinations, but I'm not seeing any text displayed on the screen.

I am using 115200 on both devices.

Is there a trick to this, or am I just missing something? ;)

Thanks!

@gabonator
Copy link
Owner

gabonator commented Sep 10, 2018 via email

@TSJim
Copy link
Author

TSJim commented Sep 11, 2018 via email

@TSJim
Copy link
Author

TSJim commented Sep 17, 2018 via email

@TSJim
Copy link
Author

TSJim commented Sep 17, 2018 via email

@gabonator
Copy link
Owner

I am glad that it works for you :)
The private.h should contain these variables:

const char* ssid = "wifi-ssid";
const char* password = "wifi-password";
const char* host = "api.yourserver.com";
const char* script = "/path/to/php/script?uartmon";

I usually define default variables in main .ino file as macros, and then override them in private.h file. This time I forgot to do it in this way, but I think it is pretty straightforward to see what variables are missing and what is their meaning. In my repository, I set up the .gitignore file to ignore all "private.*" files, so I am not publishing my wifi password to public repository...

@TSJim
Copy link
Author

TSJim commented Sep 19, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants