how can i interface a mcp3008 with nodEMCU
Well in answer to your title question, a nodeMCU is a ESP8266 development board. It can be programmed using the arduino IDE or a LUA script, Ive not had much work with LUA but programming an ESP8266 from arduino is easy you just need to download the board managers for it (plenty of online tutorials for adding this, I cant remember the exact url)
If memory serves me right MCP3008 is a SPI ADC, the ESP8266 has cabaplitly for using the SPI bus. If you search on google for "ESP8266 SPI tutorial" you will find plenty of tutorials. hope this helps
Lets not try and reinvent the wheel here, have a look at :
https://www.youtube.com/watch?v=NGNNDz_ylzs
also
https://github.com/Sillern/esp_mcp3008
This should get you well on your way in a hurry....
Regards.
Yunus
I am not sure what it is exactly that you are really trying to do.
But should you have the need for more that just 8 ADC's, then you might want to use the 74HCT4051 or the 74HCT4067
at a fraction of the cost of a MCP3008.
Have a good look at this:
http://internetofhomethings.com/homethings/?p=530
you might find it very helpful.
Yunus