1

I am currently working on a project to read temperatures from multiple points using a sensor and Node MCU setup. I require all these datas (from 16 node MCU) to be stored to a web server. Can I do it without internet. I don't want to do live monitoring but have to store data for few days in the server. I have a Raspberry pi that can be used to create the wifi hotspot and a repeater to extend the range. Sorry if the post is confusing. I am a beginner in this field. Can I implement this? If yes can anyone please outline the steps to be followed?

6
  • 1
    Why do you think you would need an internet connection?
    – hardillb
    Feb 8, 2020 at 8:15
  • 1
    Since I have multiple node MCU, I thought i may require Internet. Can you please guide me with the steps? Feb 8, 2020 at 12:46
  • 1
    do not confuse local area network (LAN) with the internet
    – jsotola
    Feb 8, 2020 at 23:27
  • 1
    If I make a local server database using xamp, mysql and apache, will i be able to connect multiple node MCU and update the database? Feb 9, 2020 at 2:43
  • 1
    If everything is on the same local network, then yes, the NodeMCUs will be able to communicate with the local apache installation and subsequently make updates to the local database. A connection the the internet would not be required in that case.
    – John S
    Feb 9, 2020 at 5:58

1 Answer 1

2

If you are going to create a Hotspot in Raspberry PI i.e WAP(Wireless access point) and gonna connect all 16 NodeMCUs to it you will have to transform your Raspberry PI into a solid LAMP (Linux, Apache, MySQL, PHP) system with one apt-get invocation. Google Search "Building LAMP server on Raspberry Pi".

Xampp is for the Intel-based computers not ARM Linux based. There is no way you will get it to run on Raspberry Pi.

And If you are just going to connect your 16 NodeMCU to Raspberry PI WAP and then send the data received by Rasberry Pi to the PC having XAMPP on it, it will be difficult and complicated for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.