I Am researching Arduino duplex serial communication for home automation - Eg, Posting a temp sensor reading from the Arduino on serial to a PC then after PC does the logic sending a trigger command from the PC back to Arduino to actuate a solid state relay (switches on the boiler). After reading this article I came up with the idea of using the PC to Poll the Arduino temperature then sending back the Trigger command if required (a much more efficient way of doing it as Arduino can just run a serial read loop and only post the temp on request!) Once I have it tested I'll post something up on the arduino forums! Thanks for taking the time to write the article!
. Next tutorial, you need to read is in which I have explained How you can read data coming through Serial Port and then displayed it on LCD. It’s an interesting tutorial and you must read that out. It will help you in understanding How you can receive data through serial port and then use that data. This data could be coming from GPS or GSM or some other serial sensor or device. For reading data though Serial Port you need to use below command: char data = Serial.read;. You must read the above tutorial to have a strong grip on it.
Has anyone interfaced with a SitePlayer device to Arduino? Server via its serial port.
How to use Arduino Serial Monitor. As I have told in the start that Arduino UNO has just one Serial Port so you can only connect one Serial device with Arduino UNO.
So, what if you want to do more than one serial device with Arduino UNO then there’s you need to know. So you guys must read this tutorial becuase we have to use it a lot in Arduino Projects. So, that’s all for today. I hope you have enjoyed this tutorial. I am gonna add more tutorial in it when I post them on our blog. So till next tutorial take care and have fun!!!
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |