Search this site
Embedded Files
  • Home
    • Coding Overview
  • C#
  • HTML, CSS, JS
    • Basics of HTML and CSS
    • CSS
    • Grid System Rules
    • Initial BS Tempate
    • Components
      • Class Coding
      • HTML CSS Fundamental
      • HTML, CSS, JS Practice
    • Concept: Practice
    • Media Query
    • Flexbox
    • Notes
      • Awareness Environment
      • Survey Form
      • E Commerce
      • Music Player
      • Calculator
      • Digital Clock
      • Pin Board Project
    • Color Mode
    • Button 3D
    • Bootstrap Made
  • Python+Colab
  • VS Code
  • Godot Game App
  • OSN
  • C++
    • Installing C++
      • Alternative
    • Data Types
      • Array
      • Pointers
      • Enumeration
      • Typedef
    • Variables
    • Logic Gates
    • Control Statements
    • Structures
    • Functions
    • OOPS
      • Methods
      • Polymorphism
    • Private vs protected
    • Sources
  • Swift
  • Java
    • Introduction
    • Taking input
    • Concepts
    • Operations
    • Collections
    • Variables
    • ArrayList
    • Arrays
    • Method
    • Conditional
    • OOPs
      • Java: Abstraction
      • Java: Encapsulation
      • Java: Polymorphism
      • Java: Inheritance concept
      • Classes and Objects
      • Interfaces: Java
    • Java Swing
    • CRUD in Java
    • Work with Java
    • Setup IDE IntelliJ Idea
      • First Project
    • IDE Eclipse
    • IDE Netbeans
    • JAVAFX IDE in IntelliJ
    • Java FX Builder
    • Constructor & Method in Java
    • Java and sqlite3
  • Kotlin
  • Rust Language
  • Cyber Security
    • Introduction
    • Foundations of Cybersecurity
      • Module 1
        • end of module 1
      • Module 2
      • Module 3
      • Module 4
      • Portfolio
    • Play It Safe: Manage Security Risks
      • Ethics
      • Module 3
      • Module 4
    • Resources
  • Markdown
  • AWS Back End
    • Back End
      • Rangkuman
    • Node.js
    • Jaringan
  • Package Managers
  • Github & Hosting
    • Introduction to Github
    • Clone a GitHub Repository
    • Branch and Merge
    • Diff
    • .gitignore
    • Markdown Guide
    • Remove a Git Remote
    • Resolve Merge Conflict
    • Upstream
    • Git Squash
    • Conventional Commits
  • Google Ads
  • SOLID
  • Terminal
  • Unit Testing
  • Library in Python
  • Rangkuman
  • Python and Streamlit
    • data
  • Python & Flask
    • Python with Flask
    • flask template
    • Basics
    • Basics 2
    • Basics 3
    • Basics 4
    • Calculator
    • Database
      • CRUD
    • Sign In & Sign Up
    • Create a Flask Application With Google Login
    • Simple Adminlte
    • Hotel Online App
    • Calculator with Flask
    • Send a E-mail
    • Upload Excel
    • Interactive Chart D3js+FLASK
    • DRY
      • Flask
      • Flask 2
      • SQLite Database CRUD Operation
    • Numbers
    • Data Science
      • NumPy
      • Pandas
      • Seaborn
    • OOPs
      • Inheritance
    • VS Code
    • Matplotlib+Flask
    • Dictionary and Functions
      • Dictionary, average of element and find Even Number
      • Different of Lists, Dict, tuples and Sets
        • Data Structure
    • Java Script and Pyhton
    • Tuple
    • *args
    • __init__.py
    • Lisence
    • books
    • program for rock paper Scissors
    • Pygame
    • List
    • Turtle
      • More about Turtle
    • Flags
    • admin lte
    • Linear Algebra
    • Machine Learning
      • Catatan
      • Classification
      • Regression
      • aaa
    • Module
    • Form Survey
    • CRUD
    • Palindrome
    • CRUD with Flask
    • Machine Learning
    • Weight Prediction
    • Car Price Prediction
      • Car Price Prediction 2
    • Rain Prediction
    • Game using Python
    • Scikit Learn
    • sqlite3
    • Dasar-dasar Machine Learning
  • Python Project
    • Working Off
  • Pyhton & Django
    • First Project
    • Pages
    • Blog App
    • Social Web
    • E Commerce App
    • eLearning Platform
    • Project
    • Ebooks
  • Javascript, Vue
    • Function
    • Javascript Graphics
    • Reuse HTML template
    • Rangkuman JS
    • Rangkuman Struktur Data di JS
    • Rangkuman Function
    • Rangkuman OOP
    • Rangkuman Functionalitas program
    • Node Version Manager(NVM)
    • Modular
    • Asynchronous Process
    • Node Package Manager (NPM)
    • JS Testing
  • Computer Skills
  • Roblox
    • Concepts
      • Creating Giving Point
      • Play Music in different Areas
      • Speed Boost
      • Open-Close Gate
      • Change the colors
      • Teleport
      • Building a Historic Landmark
      • Dice Game
      • Egg Hunting
      • Sword Game
      • Squid Game
      • Tower of Hell
      • Piggy Game
      • Simulator Game Part 1
      • Simulator Game Part 2
      • Zombie
      • Story Game
      • Among Us
      • Function
      • Model Scripting
      • Button Change Color
      • How to Make a Pop-up Menu
      • Starting Menu
      • Click Detection
      • Disco Pad
    • Design Your Island
    • Story Game
    • The 24 hours
    • Adventure Game Pt. 1
    • Adventure Game Pt. 2
    • Adventure Game Pt. 3
    • Adventure Game
    • Glowing Light
    • NPCs
    • Sound Effect
    • Concept
    • Introducton to Module Script
    • Hit Detection with Lasers
    • Building A Ferris Wheel
    • Creating an Animation
    • Creating A Score Bar
    • Controlling the Player's Camera
    • How to make working quiz
    • Creating Engaging Experiences
    • Creating Score a Bar
    • Battle Royale
    • Get Off the Ground
    • Volcanic Island
    • Introduction Terrain
    • Zombie
      • Zombie 1
      • Zombie 2
      • Zombie 3
      • Zombie 4
      • Zombie 5
    • Scripts
      • Writing Better Code
      • Part 1
    • Mining Simulator
      • Mining Simulator Part 1
      • Mining Simulator Part 2
      • Mining Simulator Part 3
      • Mining Simulator Part 4
      • Mining Simulator Part 5
      • Mining Simulator Part 6
      • Mining Simulator Part 7
    • Building Explosions
    • Secret Doorway
    • Spinning Trap
    • Loading GUI
    • Gold Rush
    • Main Menu
    • Kick Ball
    • Resources
  • Drawing
  • LUA Language
    • LUA: Variables
    • LUA: Data Types
  • Scratch, ML
    • Flowchart
    • Hungry Fish
    • Weather and Seasons
    • Universal Tour
    • My Music Band
    • Fruit Collector
  • Code.org
    • Ethan Priyanto
    • Lingges
    • Jesaiah
    • Jethro
    • Fadhal Hadi
    • Keindra Putra Dwinandito
    • Lesson
    • SHB
    • Aqeela F. Arinka
    • Car Racing Game
    • Ship
    • Cake Defender
    • Help Ducky
    • Flask App
    • Continents
    • Amanda
    • M. Al Fatih Shidiq Wibowo
    • Joe Abraham
    • Maulana Akbar
    • Maulana Akbar
    • Axton Soelayman
  • Edublocks
  • PHP & Frameworks
    • Connecting to database
    • Laravel
    • Konsep MVC
    • Query Builder and Eloquent
    • Views
    • Models
  • Cospaces
    • Additional
  • TinkerCad
  • Framework
  • Physics Corners
  • Thunkable
    • Friends/ Favorites Film
    • List
    • Carbon Foot
    • Stop watch App
    • Space Invader 1
    • Guess Movie?
    • Doodle
    • Car Race Game
    • Music Player
    • Chat App
    • Ideas
    • Endangered
    • Thought of the day
    • Palindrome Generator App
    • Calculator
    • Multiplication Table
  • Google Appscript
  • Tools/Resources
  • Fortran
  • C# and Unity
  • C Language
  • Demo Class
    • Scratch
    • Python
    • Senior
    • Junior
    • Beginner
    • c
  • sql
  • Portfolio(s)
    • Recording
    • Friday, 12 2022
  • GP
  • Trainer
 

Source(s):

https://digitalmaestro.org/tinkercad

https://www.tinkercad.com/learn/circuits

https://www.tinkercad.com/learn/project-gallery;collectionId=OMOZACHJ9IR8LRE

int baselineTemp = 0;

int celsius = 0;

int fahrenheit = 0;


void setup()

{

  pinMode(A0, INPUT);

  Serial.begin(9600);


  pinMode(2, OUTPUT);

  pinMode(3, OUTPUT);

  pinMode(4, OUTPUT);

}


void loop()

{

  baselineTemp = 40;

  

  celsius = map(((analogRead(A0) - 20) * 3.04), 0, 1023, -40, 125);

  

   fahrenheit = ((celsius * 9) / 5 + 32);

  Serial.print(celsius);

  Serial.print(" C, ");

  Serial.print(fahrenheit);

  Serial.println(" F");

  

   if (celsius < baselineTemp) {

    digitalWrite(2, LOW);

    digitalWrite(3, LOW);

    digitalWrite(4, LOW);

  }

  if (celsius >= baselineTemp && celsius < baselineTemp + 10) {

    digitalWrite(2, HIGH);

    digitalWrite(3, LOW);

    digitalWrite(4, LOW);

  }

  if (celsius >= baselineTemp + 10 && celsius < baselineTemp + 20) {

    digitalWrite(2, HIGH);

    digitalWrite(3, HIGH);

    digitalWrite(4, LOW);

  }

  if (celsius >= baselineTemp + 20 && celsius < baselineTemp + 30) {

    digitalWrite(2, HIGH);

    digitalWrite(3, HIGH);

    digitalWrite(4, HIGH);

  }

  if (celsius >= baselineTemp + 30) {

    digitalWrite(2, HIGH);

    digitalWrite(3, HIGH);

    digitalWrite(4, HIGH);

  }

  delay(1000); 

}

Project 1

Project 2

Link
Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse