[{"data":1,"prerenderedAt":278},["ShallowReactive",2],{"blog-post-2":3,"content-query-ntvg48FKz6":170},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"img":10,"tags":11,"order":15,"body":16,"_type":164,"_id":165,"_source":166,"_file":167,"_stem":168,"_extension":169},"\u002Fblog\u002Fpost-2","blog",false,"","Getting started with ESP32","ESP32 features and a minimal PlatformIO blink setup for IoT prototypes.","blog\u002Fesp.jpeg",[12,13,14],"esp32","iot","embedded",2,{"type":17,"children":18,"toc":160},"root",[19,33,40,45,52,77,83,96,107,115,126,137,146],{"type":20,"tag":21,"props":22,"children":23},"element","p",{},[24],{"type":20,"tag":25,"props":26,"children":32},"img",{"src":27,"alt":28,"className":29},"\u002Fblog\u002Fesp.jpeg","ESP32",[30,31],"rounded-t-lg","max-h-[28rem]",[],{"type":20,"tag":34,"props":35,"children":37},"h1",{"id":36},"getting-started-with-esp32",[38],{"type":39,"value":8},"text",{"type":20,"tag":21,"props":41,"children":42},{},[43],{"type":39,"value":44},"The ESP32 is a low-cost SoC with Wi-Fi and Bluetooth, dual-core Tensilica cores (up to 240 MHz), and a rich set of peripherals. It is a strong default for IoT prototypes that may later grow into production fleets.",{"type":20,"tag":46,"props":47,"children":49},"h2",{"id":48},"why-teams-pick-it",[50],{"type":39,"value":51},"Why teams pick it",{"type":20,"tag":53,"props":54,"children":55},"ul",{},[56,62,67,72],{"type":20,"tag":57,"props":58,"children":59},"li",{},[60],{"type":39,"value":61},"Built-in Wi-Fi and BLE",{"type":20,"tag":57,"props":63,"children":64},{},[65],{"type":39,"value":66},"Enough RAM\u002FCPU for sensors + protocols without an immediate Linux SBC",{"type":20,"tag":57,"props":68,"children":69},{},[70],{"type":39,"value":71},"Huge community and PlatformIO support",{"type":20,"tag":57,"props":73,"children":74},{},[75],{"type":39,"value":76},"Low enough cost to instrument many devices",{"type":20,"tag":46,"props":78,"children":80},{"id":79},"minimal-platformio-setup",[81],{"type":39,"value":82},"Minimal PlatformIO setup",{"type":20,"tag":84,"props":85,"children":90},"pre",{"code":86,"language":87,"meta":7,"className":88},"pip install platformio\nmkdir my_esp32_project\ncd my_esp32_project\npio project init --board esp32dev\n","bash",[89],"language-bash",[91],{"type":20,"tag":92,"props":93,"children":94},"code",{"__ignoreMap":7},[95],{"type":39,"value":86},{"type":20,"tag":21,"props":97,"children":98},{},[99,105],{"type":20,"tag":92,"props":100,"children":102},{"className":101},[],[103],{"type":39,"value":104},"platformio.ini",{"type":39,"value":106},":",{"type":20,"tag":84,"props":108,"children":110},{"code":109},"[env:esp32dev]\nplatform = espressif32\nboard = esp32dev\nframework = arduino\n",[111],{"type":20,"tag":92,"props":112,"children":113},{"__ignoreMap":7},[114],{"type":39,"value":109},{"type":20,"tag":21,"props":116,"children":117},{},[118,124],{"type":20,"tag":92,"props":119,"children":121},{"className":120},[],[122],{"type":39,"value":123},"src\u002Fmain.cpp",{"type":39,"value":125}," blink:",{"type":20,"tag":84,"props":127,"children":132},{"code":128,"language":129,"meta":7,"className":130},"#include \u003CArduino.h>\n\nvoid setup() {\n    pinMode(LED_BUILTIN, OUTPUT);\n}\n\nvoid loop() {\n    digitalWrite(LED_BUILTIN, HIGH);\n    delay(1000);\n    digitalWrite(LED_BUILTIN, LOW);\n    delay(1000);\n}\n","cpp",[131],"language-cpp",[133],{"type":20,"tag":92,"props":134,"children":135},{"__ignoreMap":7},[136],{"type":39,"value":128},{"type":20,"tag":84,"props":138,"children":141},{"code":139,"language":87,"meta":7,"className":140},"pio run -t upload\n",[89],[142],{"type":20,"tag":92,"props":143,"children":144},{"__ignoreMap":7},[145],{"type":39,"value":139},{"type":20,"tag":21,"props":147,"children":148},{},[149,151,158],{"type":39,"value":150},"When you outgrow demos, read ",{"type":20,"tag":152,"props":153,"children":155},"a",{"href":154},"\u002Fblog\u002Fpost-iot-production",[156],{"type":39,"value":157},"Shipping IoT past the demo",{"type":39,"value":159},".",{"title":7,"searchDepth":15,"depth":15,"links":161},[162,163],{"id":48,"depth":15,"text":51},{"id":79,"depth":15,"text":82},"markdown","content:blog:post-2.md","content","blog\u002Fpost-2.md","blog\u002Fpost-2","md",{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"img":10,"tags":171,"order":15,"body":172,"_type":164,"_id":165,"_source":166,"_file":167,"_stem":168,"_extension":169},[12,13,14],{"type":17,"children":173,"toc":274},[174,181,185,189,193,212,216,224,233,240,249,257,265],{"type":20,"tag":21,"props":175,"children":176},{},[177],{"type":20,"tag":25,"props":178,"children":180},{"src":27,"alt":28,"className":179},[30,31],[],{"type":20,"tag":34,"props":182,"children":183},{"id":36},[184],{"type":39,"value":8},{"type":20,"tag":21,"props":186,"children":187},{},[188],{"type":39,"value":44},{"type":20,"tag":46,"props":190,"children":191},{"id":48},[192],{"type":39,"value":51},{"type":20,"tag":53,"props":194,"children":195},{},[196,200,204,208],{"type":20,"tag":57,"props":197,"children":198},{},[199],{"type":39,"value":61},{"type":20,"tag":57,"props":201,"children":202},{},[203],{"type":39,"value":66},{"type":20,"tag":57,"props":205,"children":206},{},[207],{"type":39,"value":71},{"type":20,"tag":57,"props":209,"children":210},{},[211],{"type":39,"value":76},{"type":20,"tag":46,"props":213,"children":214},{"id":79},[215],{"type":39,"value":82},{"type":20,"tag":84,"props":217,"children":219},{"code":86,"language":87,"meta":7,"className":218},[89],[220],{"type":20,"tag":92,"props":221,"children":222},{"__ignoreMap":7},[223],{"type":39,"value":86},{"type":20,"tag":21,"props":225,"children":226},{},[227,232],{"type":20,"tag":92,"props":228,"children":230},{"className":229},[],[231],{"type":39,"value":104},{"type":39,"value":106},{"type":20,"tag":84,"props":234,"children":235},{"code":109},[236],{"type":20,"tag":92,"props":237,"children":238},{"__ignoreMap":7},[239],{"type":39,"value":109},{"type":20,"tag":21,"props":241,"children":242},{},[243,248],{"type":20,"tag":92,"props":244,"children":246},{"className":245},[],[247],{"type":39,"value":123},{"type":39,"value":125},{"type":20,"tag":84,"props":250,"children":252},{"code":128,"language":129,"meta":7,"className":251},[131],[253],{"type":20,"tag":92,"props":254,"children":255},{"__ignoreMap":7},[256],{"type":39,"value":128},{"type":20,"tag":84,"props":258,"children":260},{"code":139,"language":87,"meta":7,"className":259},[89],[261],{"type":20,"tag":92,"props":262,"children":263},{"__ignoreMap":7},[264],{"type":39,"value":139},{"type":20,"tag":21,"props":266,"children":267},{},[268,269,273],{"type":39,"value":150},{"type":20,"tag":152,"props":270,"children":271},{"href":154},[272],{"type":39,"value":157},{"type":39,"value":159},{"title":7,"searchDepth":15,"depth":15,"links":275},[276,277],{"id":48,"depth":15,"text":51},{"id":79,"depth":15,"text":82},1791356687685]