Bluetooth Beacon Based Covid-19 Corona Social Distancing App

Leave a comment

This has started as a personal curiosity to use Bluetooth based distance measuring to alert users of security distance. Finally the solution came as using BLE Beacon technology to continuously detect other beacon and alert users. The app works continuously both as a beacon transmitter and receiver. It uses a secure ID for each device … Continued

Using Firebase in place of own hosting, database and what not!

Leave a comment

Firebase benefits Key/Value document (NoSQL) Real time database Hosted URL based Integrated Authentication Firebase NoSQL data design principles: – Don’t treat firebase like a relational database – User Root branches as your primary container – Avoid deep nesting – Duplicating Data (More art than science) – Design around data access – Data design is driver … Continued

Accepting Stripe payment in an Android app

Leave a comment

Android Integration from the official site: https://stripe.com/docs/mobile/android — Add this to your build.gradle implementation ‘com.stripe:stripe-android:6.1.2’ — We will use  built-in Stripe cardinputwidget to collect card information — in the view’s layout.xml e.g. activity_layout.xml include <com.stripe.android.view.CardInputWidget   android:id="@+id/card_input_widget"   android:layout_width="match_parent"   android:layout_height="wrap_content" /> — In the activity file MyActivity.java import com.stripe.android.view.CardInputWidget; import com.stripe.android.Stripe; import com.stripe.android.model.Token; CardInputWidget … Continued

Temperature and Humidity Controller for Egg hatching

Leave a comment

Project source : https://github.com/mzc1986/incubator /*—–( Import needed libraries )—–*/ #include <Wire.h> // Comes with Arduino IDE #include <LCD.h> #include “DHT.h” #define DHTPIN 2 // what digital pin we’re connected to // Uncomment whatever type you’re using! #define DHTTYPE DHT11 // DHT 11 DHT dht(DHTPIN, DHTTYPE); // Get the LCD I2C Library here: // https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads // … Continued