Difference between revisions of "IoT - The Arduino-MQTT-Keypad-Display project"

From The TinkerNet Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 +
[[File:IoT Keypad 2.jpg|right|300x200px|IoT Keypad.jpg]]
 +
[[File:IoT Buttons In Situ.jpg|right|300x200px|IoT Keypad.jpg]]
 +
 
{| style="width: 500px" border="1" cellspacing="1" cellpadding="1"
 
{| style="width: 500px" border="1" cellspacing="1" cellpadding="1"
 
|-
 
|-
Line 9: Line 13:
 
| style="background-color: rgb(0, 204, 255);  text-align: center"|"Bloody Hell!"
 
| style="background-color: rgb(0, 204, 255);  text-align: center"|"Bloody Hell!"
 
| style="background-color: rgb(0, 204, 255);  text-align: center"|"Yee Ha!"
 
| style="background-color: rgb(0, 204, 255);  text-align: center"|"Yee Ha!"
| style="background-color: rgb(255, 0, 0);  text-align: center"|NightLight
+
| style="background-color: rgb(255, 0, 0);  text-align: center"|PantryLight
 
|-
 
|-
 
| style="background-color: rgb(0, 204, 255);  text-align: center"|"Bullshit!"
 
| style="background-color: rgb(0, 204, 255);  text-align: center"|"Bullshit!"
Line 16: Line 20:
 
| style="background-color: rgb(255, 0, 0);  text-align: center"|BeerLight
 
| style="background-color: rgb(255, 0, 0);  text-align: center"|BeerLight
 
|-
 
|-
| style="background-color: rgb(255, 0, 0);  text-align: center"|Night Lights
+
| style="background-color: rgb(255, 0, 0);  text-align: center"|"Bork"
 
| style="background-color: rgb(0, 204, 255);  text-align: center"|"Dang!"
 
| style="background-color: rgb(0, 204, 255);  text-align: center"|"Dang!"
 
| style="background-color: rgb(255, 0, 0);  text-align: center"|"Say wut?"
 
| style="background-color: rgb(255, 0, 0);  text-align: center"|"Say wut?"
| style="background-color: rgb(255, 0, 0);  text-align: center"|PantryLight
+
| style="background-color: rgb(255, 0, 0);  text-align: center"|NightLight
 
|}
 
|}
 
[[File:IoT Keypad 2.jpg|right|600x400px|IoT Keypad.jpg]]
 
[[File:IoT Buttons In Situ.jpg|right|600x400px|IoT Keypad.jpg]]
 
  
 
Blue buttons send text to the Google Home Mini.
 
Blue buttons send text to the Google Home Mini.
Line 38: Line 39:
  
 
[https://github.com/cdntinker/IoT-Keypad-2 The firmware]
 
[https://github.com/cdntinker/IoT-Keypad-2 The firmware]
 +
 +
[[IoT_Buttons_-_Flow|The NR Flow]]
  
 
Current version of the firmware actually causes it to publish which button has been pressed. So NR can decide what to do with them. (Original firmware sent MQTT to the Google Home topic(s)...)
 
Current version of the firmware actually causes it to publish which button has been pressed. So NR can decide what to do with them. (Original firmware sent MQTT to the Google Home topic(s)...)

Latest revision as of 02:12, 30 December 2021

IoT Keypad.jpg
IoT Keypad.jpg
"Fucking Retard!" "Well... Shit!" "woot woot" Screens
"Idjit!" "Bloody Hell!" "Yee Ha!" PantryLight
"Bullshit!" "Oh Poop!" "Ooga Booga" BeerLight
"Bork" "Dang!" "Say wut?" NightLight

Blue buttons send text to the Google Home Mini.

(will also be configured to talk to the other GH units in future...)

Letter buttons control devices directly...

'*' & '#' will be adjustment controls later...

Basic shopping list

The Circuit

The firmware

The NR Flow

Current version of the firmware actually causes it to publish which button has been pressed. So NR can decide what to do with them. (Original firmware sent MQTT to the Google Home topic(s)...)

Problems
  Ethernet.h

(W5100)

UIPEthernet.h

(ENC28J60)

Data 1194 1867
Program 16664 24956
  • Sadly, need UIPEthernet for the ENC28J60
  • huh... more than one online at once causes some sort of looping in the broker connection... weird
    • Duh... client.connect("ClientName") needs a unique ClientName...
To be done
  • Needs a reset button that's more accessible.
  • Needs an OK indicator light.