-
Notifications
You must be signed in to change notification settings - Fork 17
First setup of Moodlite
Daniel edited this page Jan 23, 2019
·
3 revisions
- Make sure that the data folder is located in the same directory as the Moodlite.ino
- Open the Moodlite.ino in Arduino IDE
- To make sure everything (libraries, board etc.) is setup right, you may click the verify button at first (or press
CTRL+R
) - You may see following warnings. This is nothing to worry about and totally normal
- Now have a look at the code and search for a section that is marked with
Basic Settings
. Configure everything the way you need it. For your first start with Moodlite just set STATIC_IP tofalse
and leave everything else as it is - Before uploading check if the correct COM port is selected in the Tools menu -> Port (after you connected the NodeMCU to your machine, of course)
- Then click the Upload button (or press
CTRL+U
) - When this worked without errors you now have to upload the web server files by using those menu items
- Now try to let the NodeMCU boot. Maybe you have to powercycle it or press the hardware reset button
- The NodeMCU now should open its own WiFi network (default SSID is Moodlite, default password is Moodlite)
- Connect to it using a WiFi capable device (e.g. a laptop or smart phone)
- You may have to manually configure the IP address of your device (e.g. IP address 192.168.100.10, subnet mask 255.255.255.0)
- Open http://192.168.100.250 in the browser of your device
- Enter SSID and password of your WiFi and enter a name for your Moodlite which it is reachable with in your network
- After saving these settings the Moodlite will restart and try to connect to your WiFi