# Using Arduino with HiveMQ

**URL:** <https://community.hivemq.com/t/using-arduino-with-hivemq/2101>\
**Category:** Uncategorized\
**Created:** [May 27, 2023, 5:05pm UTC](https://community.hivemq.com/t/using-arduino-with-hivemq/2101 "2023-05-27T17:05:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henrychanflag](https://avatars.discourse-cdn.com/v4/letter/h/e9c0ed/32.png) [@henrychanflag](https://community.hivemq.com/u/henrychanflag)\
**Post date:** [May 27, 2023, 5:05pm UTC](https://community.hivemq.com/t/using-arduino-with-hivemq/2101/1 "2023-05-27T17:05:24Z")

</div>

Hi, I try to follow the instructions and make Arduino works with HiveMQ.  
After running the python code, I cannot get the .ar file.  
A message in the console shows “You need the program ‘ar’ from xtensa-lx106-elf found here: (esp8266-arduino-core)/hardware/esp8266com/esp8266/tools/xtensa-lx106-elf/xtensa-lx106-elf/bin/ar”. Do you what is wrong?  
I save the python on my desktop and use VScode to run.  
Thanks!!

---

<div class="post-metadata">

**Author:** ![Diego](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@Diego](https://community.hivemq.com/u/Diego)\
**Post date:** [May 29, 2023, 5:39pm UTC](https://community.hivemq.com/t/using-arduino-with-hivemq/2101/2 "2023-05-29T17:39:02Z")

</div>

Hello @henrychanflag

Welcome to HiveMQ Community! There is a detailed discussion regarding this same error on this post [Getting start with Arduino ESP8266 certificate generation error - #16 by rickqinj](https://community.hivemq.com/t/getting-start-with-arduino-esp8266-certificate-generation-error/844/16)

**About the exception “ar” not found.**  
If you get your ESP8266 boards installed via Arduino IDE Board Manager, you may not have the path in your Arduino IDE home folder which the cert download script `certs-from-mozilla.py` requires. However, you can find the folder somewhere else on your system. In my case, I used the software `Everything` to look for the folder `xtensa-lx106-elf` and found the `ar.exe` finally.

Kind regards,  
Diego from HiveMQ Team
