Hello.
I cannot find Arduino example code for ZMOD4510.
When I download zip from https://www.renesas.com/en/products/sensor-products/environmental-sensors/metal-oxide-gas-sensors/zmod4510-gas-sensor-o3-and-no2
I can see code for some other systems
but I cannot find Arduino example.
Could you please provide link where I can download Arduino example for ZMOD4510.
Thank you
Hello,
Thanks for reaching out Renesas Engineering Community!
Yes the folder you are showing in the screenshot does not include the Arduino libraries and examples.
In order to get them you should go to the webpage of ZMOD4510 in Software Downloads and select to download the libraries for the operation mode you would like to.
https://www.renesas.com/en/products/sensor-products/environmental-sensors/metal-oxide-gas-sensors/zmod4510-gas-sensor-o3-and-no2?sam_secondary=visible#design_development
For measuring both O3 and NO2 gases concertation I would suggest to get the libraries for this mode:
https://www.renesas.com/en/document/swo/zmod4510-selective-nitrogen-dioxide-and-ozone-firmware-recommended-new-designs?r=463746
If your application requires low power consumption I would suggest this mode:
https://www.renesas.com/en/document/swo/zmod4510-selective-ozone-and-ultra-low-power-firmware?r=463746
This mode is reading only O3 gas concertation.
As soon as you download on of them you will see a folder named arduino including the libraries and an example code.
You can find more information about the installation of Arduino libraries in Arduino IDE in the Programming manual document provided here:
www.renesas.com/.../zmod4510-programming-manual-read-me
Best Regards,
IK
Thank you, I see now Arduino cortex m0 example.
Is this correct that Arduino nano on atmega328p is not supported?
The corresponding avr-gcc architecture for atmega328p is avr5 as you can see from the screenshot below:
In the .zip file you downloaded if you navigate to lib\Microchip ATmega32\ path you will see that there is a folder named avr5.
You can get and use in Arduino IDE these precompiled libraries for the specific MCU target you are mentioning.
By default the libraries we give work with Cortex-M0 plus based arduino boards. In order to make them work with other MCUs in Arduino IDE, please check the FAQ provided below, to see what steps you need to do.
https://en-support.renesas.com/knowledgeBase/20678418
Hope it helps.