Skip to content

Instantly share code, notes, and snippets.

View isaiah7p's full-sized avatar

Jason Bourne isaiah7p

  • Jason Joe
  • Hyderabad , Andhra Pradesh , India
View GitHub Profile
Install Mosquitto on raspberry pi
sudo apt-get install mosquitto mosquitto-clients
systemctl enable mosquitto
mosquitto_sub -h test.mosquitto.org -p 1883 -t iotdemo/test
mosquitto_pub -h test.mosquitto.org -p 1883 -t iotdemo/test -m "hello"
open arduino ide
got to file >> Prefrences >>
add below to the "additional boards manager urls" :
http://arduino.esp8266.com/stable/package_esp8266com_index.json,http://digistump.com/package_digistump_index.json,https://dl.espressif.com/dl/package_esp32_index.json,https://dl.espressif.com/dl/package_esp32_index.json,https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json,https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
pls wait , as it will download all the tools which are needed for firmware building .
IOT Book Link : https://drive.google.com/open?id=1XKuL4YxVoK3hHyOtESDDjnmbIH8Vjso5
-----------------------------------------
Code for Digital Read Write Operations
// digital read & write --
// analog read & write
//
step 1 : install
https://nodejs.org/en/
------------------------------
(base) iotmonk:~ isaiah$ node --version
v12.3.0
(base) iotmonk:~ isaiah$
-----------------------------
Chocolatey.org -
https://chocolatey.org/packages/apache-zookeeper
choco install apache-zookeeper
choco install rabbitmq
choco install mqttfx
Commands to setup AWS EC2 PHP MySQL Environment
Bring Up EC2 Instance Virtual Machine :
clear
apt-get update
apt-get upgrade
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt update
Prob : We need a device which can detect basics threshold params :
Mandatory :
1) heart Rate
2) BPM (Beats per minute )
3) Oxigen levels (SpO2)
https://docs.aws.amazon.com/iot/latest/developerguide/iot-plant-watering.html
https://docs.aws.amazon.com/iot/latest/developerguide/iot-plant-step12.html
Developer Guide :
https://docs.aws.amazon.com/iot/latest/developerguide/iot-dg.pdf#what-is-aws-iot
install alexa app on your smart phone
create sinric account
www.sinric.com
----
#include <Arduino.h>
visit : https://www.arduino.cc/en/Main/Software
Download Arduino Software .
Nodemcu Driver .
cp210x
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers