Bharath Ram
Published © Apache-2.0

On the Go Coffee Maker

It is to keep the Coffee warm and also to make the coffee while travelling... It is powered by IDT wireless charger

AdvancedFull instructions provided10 hours2,320

Things used in this project

Hardware components

Qi 5W Transmitter Prototype Kit
IDT Qi 5W Transmitter Prototype Kit
×1
resistor 5.2 ohm
×1
power bank
×1

Software apps and online services

Coffee
Android app

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

Schematic

Code

LinkitONE code

C/C++
just upload
#include <LBT.h>
#include <LBTServer.h>
#include <stdlib.h>
#define SPP_SVR "COFFEE" 

char buf[3];

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  bool success = LBTServer.begin((uint8_t*)SPP_SVR);
  if( !success )
  {
      Serial.print("Cannot begin Bluetooth");
      delay(0xffffffff);
  }
  else
  {
      Serial.print("Server created");
  }
  
  
  bool connected = LBTServer.accept(1800);
 
  if( !connected )
  {
      Serial.print("No connection");
      // don't do anything else
      delay(0xffffffff);
  }
  else
  {
      Serial.print("Connected\n");
  }
}


void loop() {
  // put your main code here, to run repeatedly:
        if(LBTServer.available())
        {
          LBTServer.readBytes((uint8_t*)buf,3);    
          Serial.println(buf);
        }
        int temp = (5 * analogRead(A0) * 100) / 1024;
   char buff[5];
// convert 123 to string [buf]
itoa(temp, buff, 10);     
        LBTServer.write(buff);
        delay(500);
}
        
        

Credits

Bharath Ram

Bharath Ram

6 projects • 22 followers

Comments