Coke Vending Machine with Bitcoin and Lightning Network

A Coca-Cola machine accepting Bitcoin via the Lightning Network.

 1HD0UG~1

Story

 

The project is for study purposes. The objective is to demonstrate the sales automation process using Bitcoin and the Lightning Network.

web-whatsapp-image-2018-09-28-at-22_50_IcE8JBt9P0

pi_rM8tfgTJvH

bomba_OoSH6TSlAA

l298n-ponte-h_hGwYQxwOf9

circuito_ES9D8RAEJQ

WHATSA~2

Hardware:

  • Raspberry Pi 3 Model B;
  • Display 7″ Official Touch Screen Para Raspberry Pi;
  • Water pump RS 385;
  • Bridge H L298N;

Software and Web Solutions:

  • Linux Raspbian in Raspberry Pi;
  • Apache Server + PHP in Raspberry Pi;
  • Html, Php, Javascript e jQuery.

In Raspberry Pi, I created a local web server (localhost) and in the root I put the files:

  • index.html
  • qr.png
  • payment_received.html
  • start_pump.php
  • stop_pump.php
  • coke.mp4

1_iyjuy9ehajbjorpkojnp0g1_gfeaIXK5f3

notification_4vBOEzGNJi

Scroll to Top