Thingiverse
Smart Coaster using ATtiny85 and mlx90615 by nid69ita
by Thingiverse
Last crawled date: 3 years ago
Connect to usb battery or PC, cable usb only use vcc/gnd. Green when no object on top.
With a heavy object, pushbutton HIGH, sensor read temperature. Blue with ice, yellow/red with hot water. On stl no hole for cable, I used a drill.
In code T1 to T4 level for colors/temperature
I used an CJMCU LilyTiny (AtTiny85) as MCU, for temperature reading an MLX90615, for leds a ring of 16 led WS2812. Libraries for mlx and Neopixel for leds.
Code (missing hashtag character):
include //Adafruit_NeoPixel.h
include // Wire.h
include "mlx90615.h"
const byte PIN_NEO=1;
const byte PIN_BUTTON=4;
Adafruit_NeoPixel strip = Adafruit_NeoPixel(16, PIN_NEO, NEO_GRB + NEO_KHZ800);
MLX90615 mlx = MLX90615(); // -40 to +115
define K_TMIN -400
define K_T1 0
define K_T2 200
define K_T3 400
define K_T4 800
define K_TMAX 1150
byte r,g,b;
int temp;
void setup()
{ pinMode(PIN_BUTTON,INPUT);
mlx.begin();
strip.begin();
strip.show(); // Initialize all pixels to 'off'
}
void loop()
{
if(digitalRead(PIN_BUTTON)==LOW)
{ for(int i=0; istrip.show();
return;
}
temp = mlx.get_object_temp()*10.0; //float temp=mlx.get_object_temp();
for(int i=0; i{ if(temp < K_T1) // -1=azure-> -40° blue
{ r = 0; b = 255;
g = map(temp, K_TMIN, K_T1+1, 0, 255);
}
else if(temp <= K_T2) // 0=azure-> 20° white
{ r = map(temp, K_T2, K_T1 , 255, 0);
g = 255; b = 255;
}
else if(temp <= K_T3) // 21°=bianco -> 60° giallo
{ b = map(temp, K_T2+1, K_T3 , 255, 0);
r = 255; g = 255;
}
else if(temp <= K_T4) // 61° yellow -> 90° red
{ g = map(temp, K_T3+1, K_T4 , 255, 0);
r = 255; b = 0;
}
else // 91=red-> 115° black
{ r = map(temp, K_T4+1, K_TMAX, 255, 0);
g = 0; b = 0;
}
strip.setPixelColor(i, r, g, b);
}
strip.show();
delay(2000);
}
Pinout:
P4 to button
P0 to mlx (sda) PB0
P2 to mlx (scl) PB2
P1 to led ring
With a heavy object, pushbutton HIGH, sensor read temperature. Blue with ice, yellow/red with hot water. On stl no hole for cable, I used a drill.
In code T1 to T4 level for colors/temperature
I used an CJMCU LilyTiny (AtTiny85) as MCU, for temperature reading an MLX90615, for leds a ring of 16 led WS2812. Libraries for mlx and Neopixel for leds.
Code (missing hashtag character):
include //Adafruit_NeoPixel.h
include // Wire.h
include "mlx90615.h"
const byte PIN_NEO=1;
const byte PIN_BUTTON=4;
Adafruit_NeoPixel strip = Adafruit_NeoPixel(16, PIN_NEO, NEO_GRB + NEO_KHZ800);
MLX90615 mlx = MLX90615(); // -40 to +115
define K_TMIN -400
define K_T1 0
define K_T2 200
define K_T3 400
define K_T4 800
define K_TMAX 1150
byte r,g,b;
int temp;
void setup()
{ pinMode(PIN_BUTTON,INPUT);
mlx.begin();
strip.begin();
strip.show(); // Initialize all pixels to 'off'
}
void loop()
{
if(digitalRead(PIN_BUTTON)==LOW)
{ for(int i=0; i
return;
}
temp = mlx.get_object_temp()*10.0; //float temp=mlx.get_object_temp();
for(int i=0; i
{ r = 0; b = 255;
g = map(temp, K_TMIN, K_T1+1, 0, 255);
}
else if(temp <= K_T2) // 0=azure-> 20° white
{ r = map(temp, K_T2, K_T1 , 255, 0);
g = 255; b = 255;
}
else if(temp <= K_T3) // 21°=bianco -> 60° giallo
{ b = map(temp, K_T2+1, K_T3 , 255, 0);
r = 255; g = 255;
}
else if(temp <= K_T4) // 61° yellow -> 90° red
{ g = map(temp, K_T3+1, K_T4 , 255, 0);
r = 255; b = 0;
}
else // 91=red-> 115° black
{ r = map(temp, K_T4+1, K_TMAX, 255, 0);
g = 0; b = 0;
}
strip.setPixelColor(i, r, g, b);
}
strip.show();
delay(2000);
}
Pinout:
P4 to button
P0 to mlx (sda) PB0
P2 to mlx (scl) PB2
P1 to led ring
Similar models
thingiverse
free
Tali's Mask - LED Sound Reactive by Pandariot779
...rgb values. in this case r=150, g=150, b=150
int bvalue = map(value, 0, 30, 0, 255);
pixel.setbrightness(bvalue);
pixel.show();
}
thingiverse
free
Lamp with WS2812B led
... else {
wheelpos -= 170;
color.r = 0;
color.g = wheelpos * 3;
color.b = 255 - wheelpos * 3;
}
return color;
}
thingiverse
free
FidgetReactionTimeTester (alcohol check?) by WillemvD
...to test it yet.
trouble with placing the batteries?
heat the pushpins with a soldering iron and push them slightly into the wall.
thingiverse
free
Cat feeder with Tropicana bottle hopper by TheLoupen
...;
cycle();
vibrate(3);
cycle();
vibrate(3);
//delay(20000);
k++;
}
//digitalwrite(led13, low);
write(0,0,0,0);
delay(10752000);
}
thingiverse
free
Arc Reactor Mark I by iamironman
...t a, int b, int c){
for(int i=0;i<strip_count;i++){
strip.setpixelcolor(i, strip.color(a,b,c));
strip.show();
delay(1);
}
}
//
thingiverse
free
Sound activated baby mobile by TheLoupen
...if (firsttime == 1) {
spins(50000);
firsttime = 0;
}
else {
if (statussensor == 1) {
spins(50000);
}
else {
write(0,0,0,0);
}
}
}
grabcad
free
case for Digispark Attiny85
...ecommendation:
petg filament
layer height 0.2 mm
nozzle 0.6 or 0.4 mm
15% - 20% filling
without supports
orient the x on the bed
thingiverse
free
Lighthouse - Isle of Lewis - Scale Model by CPomeroy
... = 450 ; x >= 0; x--) {
int brightness = 1+(x/7.63);
analogwrite(0, brightness);
delay(1);
}
analogwrite(0, 1);
delay(3800);
}
thingiverse
free
Const West Bracelet by TheAks999
...const west bracelet by theaks999
thingiverse
const int i = 0; is better than int const i = 0;
thingiverse
free
West Const Bracelet by TheAks999
...west const bracelet by theaks999
thingiverse
const int i = 0; is better than int const i = 0;
Attiny85
turbosquid
$2
ATTINY85 Microcontroller
... available on turbo squid, the world's leading provider of digital 3d models for visualization, films, television, and games.
thingiverse
free
Attiny85 arduino case by Tatucamore
...attiny85 arduino case by tatucamore
thingiverse
attiny85 arduino case
thingiverse
free
night light attiny85
.../youtu.be/quqrynwih0s
parts for assembly:
attiny85
touch ttp223
led strip ws2812 or ws2801
star model is better to print at 106%
thingiverse
free
ATtiny85 Ring Watch by moononournation
...by moononournation
thingiverse
please find assembly detail at instructables:http://www.instructables.com/id/attiny85-ring-watch/
thingiverse
free
Hungry Robot attiny85 TCRT5000 by xplp
...hungry robot attiny85 tcrt5000 by xplp
thingiverse
https://youtu.be/uhi2r9c3p6k
attiny85
tcrt5000
thingiverse
free
attiny85 snake by xplp
...attiny85 snake by xplp
thingiverse
https://youtu.be/uz-8nuoaz9u
thingiverse
free
Attiny85 10 LED POV by webboggles
...pov by webboggles
thingiverse
persistence of vision project. for circuit details visithttp://webboggles.com/attiny85-10-led-pov/
thingiverse
free
Attiny85 USB Mini Dev Board by BB11
...attiny85 usb mini dev board by bb11
thingiverse
case for attiny85 usb mini dev board.
thingiverse
free
T-Case and S-Case for ATTiny85-Driven Intervalometer by td0g
...ttiny85-driven intervalometer. more info at https://gerritsendesign.wordpress.com/2017/12/13/attiny85-driven-intervalometer-diy/
thingiverse
free
attiny85 8 led pov by xplp
...attiny85 8 led pov by xplp
thingiverse
https://youtu.be/xkodj1h5eim
Coaster
3ddd
$1
Coaster Slauson
...coaster slauson
3ddd
coaster slauson
3ddd
$1
Coaster Scotland
...coaster scotland
3ddd
комод
комод coaster scotland
3ddd
$1
Coaster Scotland
...coaster scotland
3ddd
письменный
шкаф coaster scotland
3ddd
$1
Coaster Scotland
...coaster scotland
3ddd
шкаф
шкаф coaster scotland
3ddd
$1
Coaster Scotland
...coaster scotland
3ddd
письменный
стол coaster scotland
turbosquid
$19
Coasters
... available on turbo squid, the world's leading provider of digital 3d models for visualization, films, television, and games.
turbosquid
$1
Coaster
... 3d model coaster for download as max, 3ds, dwg, dxf, and obj on turbosquid: 3d models for games, architecture, videos. (1592347)
turbosquid
$1
Coasters
...3d model coasters for download as max, 3ds, dxf, fbx, and obj on turbosquid: 3d models for games, architecture, videos. (1633632)
3d_export
$5
coaster
...an impressive element for your projects. low polygon, realistic image, easy to use. it is a model that will make your job easier.
3ddd
$1
Coaster
...sh: black
lathrop product dimensions
29" swivel bar stool with faux leather seat w19.25" x d20.25" x h45.5"
Smart
3ddd
$1
SMART
...smart
3ddd
стул smart
3d_export
$5
smart tv
...smart tv
3dexport
beautiful smart tv
turbosquid
$15
Smart
... available on turbo squid, the world's leading provider of digital 3d models for visualization, films, television, and games.
3ddd
$1
CTSsalotti / Smart
...ctssalotti / smart
3ddd
ctssalotti , угловой
ctssalotti smart 2800х1700
3ddd
$1
Gala Smart раковина
...gala smart раковина
3ddd
gala , smart
производитель gala
модель smart
design_connected
$13
Smart&Sleek
...smart&sleek
designconnected
wisteria smart&sleek computer generated 3d model.
3d_export
$5
Smart 3D Model
...smart 3d model
3dexport
smart car small mercedes
smart 3d model pio33d 67449 3dexport
3d_export
$15
Smart 3D Model
...smart 3d model
3dexport
smart auto car compact_car compat
smart 3d model savmart 95148 3dexport
3d_export
$12
samsung smart tv
...samsung smart tv
3dexport
samsung smart tv
3ddd
$1
Smart
...smart
3ddd
материалы вирей. модель не моя. переделал под вирей просто.
Using
3ddd
$1
US flag
...us flag
3ddd
флаг
us flag
3d_export
free
Among us
...among us
3dexport
among us red
3d_export
free
Among Us
...among us
3dexport
this 3d-model of a character from the game "among us". it can be used as a toy or decoration.
3d_export
$6
among us
...among us
3dexport
doll from among us in red
3d_export
$5
amoung us
...amoung us
3dexport
amoung us character. was created by cinema 4d 19
3d_export
$5
Humvee us
...humvee us
3dexport
humvee us 3d model good quality for animation
3d_export
$15
among us
...among us
3dexport
turbosmooth modifier can be used to increase mesh resolution if necessary
3d_export
$25
mailbox us
...mailbox us
3dexport
low poly model mailbox us. modeling in the blender, texturing in substance painter
design_connected
$13
Use Me
...use me
designconnected
sitland use me computer generated 3d model. designed by paolo scagnellato.
3d_export
$5
Among Us
...rt
the among us model comes in a variety of colors that can be customized by anyone, and even works with little in the animation