Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
/ happy-plant Public archive

A project using microcontrollers and web technologies to keep your plants happy

Notifications You must be signed in to change notification settings

farhan2077/happy-plant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Happy Plant

A project using microcontroller and web technologies to keep your plants happy

Installation & setup

  1. Download or clone the repository.
git clone https://github.com/farhan2077/happy-plant.git
  1. Check out all individual folders' ( frontend, backend, arduino-section, esp8266-section ) individual setup processes first.

  2. Then deploy backend and frontend. While deploying frontned make sure to add your .env file similar to .env.example.

  3. The microcontroller folder has two seperate folders for two different microcontrollers. Each of them has their own schematics (which can be found in the folders). Connect all the required hardwares according to the schematics.

  4. Now burn the code from arduino-section-code folder to Arduino Uno.

  5. Before you burn the code from esp8266-section-code folder to NodeMCU EXP8266 make sure to chenge the following constants.

const char* ssid = "YOUR_WIFI_SSID";
const char* password = "YOUR_WIFI_PASSWORD";
const char* apiUrl = "YOUR_BACKEND_API_URL";

NOTE: Here in case of apiUrl, remove the s from the url of the https part and add /api/v1/plants at the end of the backend url (Ex: Let's say your backend url is https://example.com, so your apiUrl will be http://example.com/api/v1/plants).

Contribute

Any pull requests are welcome.

License

Everything is free to use except for the logo inspired by this dribble and illustrations inspired by this adobe stock photo used in frontend. I do not own any kind of rights to those logo or illustrations.