Gyártósori adatgyűjtő megoldás továbbfejlesztése ügyféligény mentén

Összefoglaló A félév során a Simplexion Kft.-nél végeztem el az önálló labor tárgyat ahol több, egymástól független projektben vettem részt mint szoftverfejlesztő. A feladatom környezeti adatok vagy azonosítók gyűjtésére képes eszközök teljes szoftverének megírása volt ESP32 platformra a PlatformIO fejlesztői keretrendszer használatával. Az ESP32-re C++-ban írtam kódot, build folyamatok scripteléséhez pedig Python-t használtam. Kiemelten foglalkoztam az eszközök kommunikációjával és terepen elvégezhető konfigurációjával. Több funkció implementálásához is saját szoftver könyvtárakat készítettem. A beszámolóm végigveszi az ESP32-re való fejlesztés során felmerült általános feladatokat, érdekesebb problémákat és azok megoldását. Bemutatom magát a mikrokontrollert, biztonsági funkcióit illetve a félév során felhasznált részeit. Összehasonlítom a két elérhető fejlesztői keretrendszert (az ESP-IDF-et és az Arduinot), kitérve arra hogy hogyan tudnak együttműködni. Bemutatom a PlatformIO-t, az előnyeit illetve különbségeit az Arduino IDE-hez képest. Végül leírom milyen funkciókat és miért helyettesítettem saját könyvtárakkal, az implementációra illetve jövőbeli optimalizációs lehetőségekre kitérve. Abstract During my Project Laboratory class, I worked at Simplexion Kft., where I participated in several projects as a software developer. My job was to write the entire software for ESP32-based devices to collect environmental data and identifiers. I used the PlatformIO development environment to write the embedded software. I wrote for the ESP32 C++ code and used Python for scripting build tasks. I worked primarily on the communication and on-field configurability features of the devices. I wrote some software libraries myself to implement features. I will show the usual steps of developing ESP32-based devices, point out some interesting problems, and discuss their solutions. I present the microcontroller’s security and other features in general that I used during my work. I compare the two available software development kits, the ESP-IDF and Arduino covering their interoperability. I introduce the PlatformIO IDE, mentioning its advantages and differences compared to the Arduino IDE. I discuss which are the functionality I replaced with my implementations and why. I highlight a few implementation details and further optimization opportunities.

Remény Olivér

2022-07-01

Támogató: Simplexion Informatikai Kft.