A highly sensitive and reliable pH sensor based on a polyaniline-nickel hydroxide modified nickel foam electrode: electrochemical and DFT investigations

Abstract

In this study, a highly porous three-dimensional (3D) pH sensor was developed using polyaniline (PANI)-modified nickel hydroxide-coated nickel foam (NF/Ni(OH)2/PANI). The fabrication process involved the electrodeposition of nickel hydroxide onto nickel foam, followed by heat treatment and subsequent electropolymerisation of aniline at a constant current. The structural and morphological properties of the NF/Ni(OH)2/PANI electrode were analysed using field emission scanning electron microscopy (FSEM), X-ray photoelectron spectroscopy (XPS), Fourier transform infrared spectroscopy, and Raman spectroscopy. FESEM images show oblate and spherical particles of NF/Ni(OH)2/PANI, while XPS analysis confirms the elemental composition and the presence of different chemical bonds. The pH response was evaluated via open-circuit potential measurements, revealing a sensitivity of 46.00 mV per pH (R2 = 0.99) over the pH range of 3 to 11. The sensor demonstrated excellent stability, reproducibility, and minimal drift, ensuring reliability for practical applications. Real sample analysis using vinegar, orange juice, and baking soda solutions confirmed the sensor's accuracy, showing strong correlation with commercial pH meters. Additionally, density functional theory calculations were performed to investigate the interaction energy between PANI and H3O+ ions, revealing increasing binding affinity with longer PANI chain lengths (−68.01, −159.72, and −682.78 kJ mol−1 for 1PANI, 2PANI, and 4PANI, respectively). HOMO–LUMO energy gap analysis further supported the electronic interactions governing the sensing mechanism. This combined experimental and theoretical approach confirms the potential of the NF/Ni(OH)2/PANI sensor for real-time assessment in food safety, environmental monitoring, and biomedical analysis.

Graphical abstract: A highly sensitive and reliable pH sensor based on a polyaniline-nickel hydroxide modified nickel foam electrode: electrochemical and DFT investigations

Supplementary files

Transparent peer review

To support increased transparency, we offer authors the option to publish the peer review history alongside their article.

View this article’s peer review history

Article information

Article type
Paper
Submitted
01 Aug 2025
Accepted
10 Sep 2025
First published
24 Sep 2025
This article is Open Access
Creative Commons BY license

Mater. Adv., 2025, Advance Article

A highly sensitive and reliable pH sensor based on a polyaniline-nickel hydroxide modified nickel foam electrode: electrochemical and DFT investigations

M. Islam, Md. S. Hossain, N. Padmanathan, K. M. Razeeb and M. Jamal, Mater. Adv., 2025, Advance Article , DOI: 10.1039/D5MA00830A

This article is licensed under a Creative Commons Attribution 3.0 Unported Licence. You can use material from this article in other publications without requesting further permissions from the RSC, provided that the correct acknowledgement is given.

Read more about how to correctly acknowledge RSC content.

Social activity

Spotlight

Advertisements