Skip to content

Arduino JSON Server with the w5100 Ethernet Shield + a React Native App to measure temperature and turn a LED on and off

License

Notifications You must be signed in to change notification settings

brunovgois/Simple-IOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to run

Arduino JSON Server

You need to edit Servidor.ino on Arduino IDE and change the values of:

  1. mac[]: MAC addres, need to be unique in your local network
  2. ip[]: Assign a valid and unused IP to the Arduino Server
  3. gateway[]: Replace by the gateway of your local network
  4. subnet[]: Replace by the subnet mask of your network

after that, simply compile and run the code.

React Native App

Follow the instructions of your specific OS to install all the dependencies of React Native: https://reactnative.dev/docs/environment-setup

After that, you can install the local dependencies using npm install on the App folder.

to start the app, run npx react-native run-android or npx react-native run-ios

Materials Used

  • Arduino Leonardo
  • RJ45 Ethernet cable
  • Arduino w5100 Ethernet Shield
  • 1 Led
  • 1 Resistor(120 Ohmn)
  • LM35 Temperature sensor
  • 5 jumper cables

About

Arduino JSON Server with the w5100 Ethernet Shield + a React Native App to measure temperature and turn a LED on and off

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published