https://github.com/saswatamcode/simpleiot
A simple internet of things application made using iOS and a Raspberry Pi. The application allows you to remotely turn an led on/off through the net.
https://github.com/saswatamcode/simpleiot
Last synced: 12 months ago
JSON representation
A simple internet of things application made using iOS and a Raspberry Pi. The application allows you to remotely turn an led on/off through the net.
- Host: GitHub
- URL: https://github.com/saswatamcode/simpleiot
- Owner: saswatamcode
- Created: 2019-12-21T17:33:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-21T18:07:31.000Z (about 6 years ago)
- Last Synced: 2025-01-25T16:23:50.655Z (about 1 year ago)
- Language: Swift
- Size: 13.1 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[](https://GitHub.com/Naereen/ama)
[](https://GitHub.com/saswatamcode/simpleIOT/network/)
[](https://GitHub.com/saswatamcode/simpleIOT/stargazers/)
[](https://GitHub.com/saswatamcode/simpleIOT/issues/)
[](https://github.com/ellerbrock/open-source-badges/)
[](https://cocoadocs.org/docsets/NSStringMask)
# SimpleIOT
A simple internet of things application made using iOS and a Raspberry Pi. The application allows you to remotely turn an led on/off through the net. Uses Firebase
## Screenshots
 
## To Run
- Visit Firebase's official website and go to console
- Create a new application and select iOS to setup this project and follow instructions
- Download the `GoogleService-Info.plist` and move it to the project directory
- Create a new realtime database with led as a child and an empty string as it's key
- Clone repo using Xcode Source Control
- Run app on preferred simulator
- Boot up Raspberry Pi 2/3/4
- Open the `led.py` file and update config object using your personal data available in `GoogleService-Info.plist`
- Connect an led to a ground port and GPIO18 port
- Open terminal/ssh and run the following:
`sudo su`
`pip3 install RPi.GPIO`
`pip3 install pyrebase`
`python3 led.py`
## Requirement
- iOS 13.x
- Xcode 11.x
- Raspberry Pi 2/3/4
- Python 3.x
- LED/Jumper wires/Breadboard/330ohm resistor