Encuentros
>
>

PyLadies BCN - Very first hands on Arduino and its connection to Python through PySerial

Tuesday 10 April 2018, 19:00 - 20:00

Carrer d’Hondures, 30, 08027 Barcelona, Barcelona, España

The number of libraries available for Python is so big that anyone can’t guess how many things one can do using our lovely programming language without typing "How to do that fancy thing with Python". In this workshop we will show you one of these "fancy things": the interaction between Python and Arduino through PySerial library. The number of applications of such interaction is only limited by our creativity! In this workshop we will focus in the use of RGB LEDs, changing its color and its shine using Python code. Background knowledge: • Basic knowledge in python.• Desired extras: basic knowledge in C (or C++), fundamentals of electronics. Language: I will start in Catalan or Spanish and I will switch to English depending on the needs and preferences of the attendees. Slides will be in English. Material and software: - Python (of course), 2 or 3.- A text editor (Notepad++, Sublime Text, Vim,…).- PySerial library (see how to section).- Arduino IDE (see how to section).- Desired (we will have one or two boards, but more boards will be welcome):- Arduino UNO rev3 board (others can be considered, but only that one will be tested for the workshop).- A RGB LED.- Wires.- 3x 220Ohm resistors. How to: - Install PySerial using pip:python pip install pyserial - Arduino:Download software here: https://www.arduino.cc/en/Main/Software and follow the instructions. Install at least IDE and Serial controller.

Más información

Publicado por: Betabeers