# Scale Setup
The scale uses the NodeMCU board with ESP8266 Arduino Core library.
The Arduino libraries required are:
To use the code you will first need to create a wifi_details.h
file in the /silvia_scale directory with the following contents, replacing with your WiFi SSID and password:
#ifndef WIFI_DETAILS_H
#define WIFI_DETAILS_H
#define WIFI_SSID "********"
#define WIFI_PASSWORD "********"
#endif // WIFI_DETAILS_H
You will need to install the board manager as described on the Github page.
Useful information about the board can be found here: /oneguyoneblog.com
To flash the Arduino select "WeMos D1 R1" as the board in the IDE board manager.
# Notes on pins
I had real trouble getting the HX711 library to work due to the selection of available pins on the board. Using the D8 (GPIO 15) worked but if connected the board would not start up. Most combinations of pins tried caused the board to constantly reset during the setup()
stage. Int he end D4 (GPIO 2) which is connected to an on board LED and D9 (GPIO 3) worked.
← Arduino Setup Notes →