CodingTrain / Suggestion-Box

A repo to track ideas for topics
573 stars 86 forks source link

Tutorial For Serial Communication #411

Open nmistrys opened 7 years ago

nmistrys commented 7 years ago

Hay Daniel

Nishit Here.

I am a Huge Fan of your YouTube Channel and Enjoying every single episodes i really like the way you explain things and make things easy by conveying in your own style which entertain me a lot

The purpose of this mail is to request for the tutorial series on SERIAL COMMUNICATION (IF POSSIBLE)

These days i am working on processing with other applications like arduino and max/msp. and to communicate with processing it requires good knowledge of serial communications. 

I ll be glad, if you can work on it. and it will be helpful for your future Beginners/students as well. Let me know what do you think.

Cheers, NISHIT

TonyWilk commented 7 years ago

Good suggestion. Lots of IOT-like projects (using arduino type things) involve simple serial (async) comms, but lots of implementations are buggy. Understanding encoding/decoding, if only integer to text and back to int; Sending multiple parameters as csv as opposed to 'named' ("1,24,345" vs "a1b24z234;" Ensuring tx/rx of complete messages (e.g. not decoding a number string before all digits received) Data validation, checksums etc. More complicated (in an embedded app, unless you have functions already) using e.g. JSON Error handling - how do you abort a bad rx and resync to a new 'packet' oh, and mustn't forget State machines ... just a few thoughts there : )

melledijkstra commented 7 years ago

I'd like this! :)