We will become questioned which version of the construct we need our media task, the pursuing dialog leaves everything unchanged, and confirm with okay button.In this content, we will talk about the use of Serial Communication class, integrated in Home windows.Devices namespace.
At the hardware degree, we will make make use of of Raspberry Pi2 panel, Arduino Uno, etc. At the equipment level, we will create make use of of Raspberry Pi2 board, Arduino Uno, temp sensor DHT11 and a simple diode Directed both wired on the Arduino Uno pin number. We will deal with the temp sensor for the display of information on Raspberry, while the LED will assist us to demonstrate how we can send a control from the Arduinó Raspberry by SeriaIComunication class. ![]() Hardware needed After this short introduction, lets shift to the following step. For the realization of our signal, we need the pursuing hardware materials, Raspberry Pi2 with 10.0.10586.0 edition installed on SD credit card, equipped with a strength supply. Visual Basic Serial Communication Software Program AVisual Basic Serial Communication Windows 10 Build 10Necessary software program A-level software program you will require, Home windows 10 build 10.0.10586.0 installed on pc Visible Recording studio 2015 Up-date 2 Windows SKD 10.0.10586.0 (and the second option still incorporated with Visible Facilities 2015 up-date 2) Arduino IDE or Visual Micro for Arduino Windows 10 IoT primary 10.0.10586.0 installed on SD card Windows 10 Before continuing with the development of the two tasks, namely with Visible Studio room 2015 for the UWP and the Arduino, you must set up all the software program described above. So it will start with the installation of Windows 10 that you find in this link. Visual Basic Serial Communication Download Link HereVisual Recording studio 2015 update 2 For installing the operating system and the period to install Visual Business 2015 update2, find the download link here. Arduino Ide After setting up Visual Facilities 2015, its time to devote our attention to the Arduino. As mentioned earlier, you can select to acquire yourself of thé IDE Arduino discovered at this hyperlink. Visible Micro for Arduino Alternatively, you can download and set up this PIug-in that wiIl let you generate Arduino tasks straight from Visual Studio 2015. The advantages are that you have got accessible the intellisense fór those who understand that an automatic prompter will help -- and not really a little -- when creating code. Cons are that unlike thé IDE Arduino, not like debugging, if you mean to debug your software you will have to purchase it individually. Raspbrerry Pi2 Now that we have got everything you need on your Computer, its time to think about the Raspberry Pi2 credit card. We must, nevertheless, for the set up have a tiny SD of at minimum 8GN, then install the working system on it, at the end insert the SD cards inside the dedicated port on Raspberry. To install Home windows 10 IoT Primary, refer to the subsequent process, which describes in a basic and comprehensive method throughout the method. We have got installed all the required software parts, and we furthermore have all hardware elements. Before switching to the development of the tasks, it will be required to wire the electric circuit. It will be DHT11; link the sensor and the Directed diode to the Arduino panel. Electrical Circuit Below is the final outlet of our task, we accomplished it with Fritzing, an exceptional software for the recognition of electric electronic techniques. ![]() These are usually all necessary contacts, and nowits time to spend ourselves to the development of the test project. Test task We begin Visual Studio room 2015, on the File menu go for New Project, select a universal project, and develop in C as proven in the physique, and we contact it Prova Comunicazione seriale. We will end up being asked which edition of the build we desire our mass media task, the sticking with dialog leaves everything unchanged, and confirm with ok switch.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |