Does anyone know how to initialize mq3 alcohol sensor in keil software using c language? To also know how many percentage (range) of the presence of alcohol from someone's breath to be as input? Please help
azzahra said:Does anyone know how to initialize mq3 alcohol sensor in keil software using c language?
The same way it would be done using any other toolchain, on any other hardware, using any other language.
i tried to include arduino library in keil's software but i can't. Is there another way to do that?
The sensor neither knows nor cares what microcontroller you use - let alone what language or toolchain:
How to Interface Anything to Anything Else
Have you studied the sensor's datasheet ?
Have you explored the sensor manufacturer's website for support materials - such as examples, tutorials, application notes, etc ?
azzahra said:i tried to include arduino library in keil
Which "Arduino library" ?
Note that most Arduinos use AVR - not ARM - so you will need to port the library if you want to use it:
https://en.wikipedia.org/wiki/Porting
OR: why not just use an Arduino ?