Giter Site home page Giter Site logo

sat's Introduction

Smart Arduino Trash bin


서비스 소개

  • Arduino의 스텝모터, 초음파 거리센서, LCD, 그리고 RGB LED를 이용하여 쓰레 기를 자동으로 압축하고 잔량을 표시한다.

시연 이미지

  • 쓰레기통이 열렸다가 닫히면 스텝모터가 작동하면서 쓰레기통에 있는 쓰레기를 압축한다.

  • 압축된 쓰 레기의 높이를 초음파 거리센서가 측정하여 쓰레기통의 잔량을 LCD는 퍼센트(%)로, RGB LED는 색으로 출력한다. 쓰레기 높이가 60% 이하이면 녹색, 쓰레기 높이가 90% 이상이면 적색을 확인할 수 있다.

사용 센서

  • 스텝모터에 줄을 연결하고, 반대쪽 끝에 쓰레기에 압력을 가할 수 있는 판을 부착해 압축 도구로 활용했다.

  • 초음파 거리센서를 쓰레기통이 열렸는지, 그리고 쓰레기통에 존재하는 쓰레기의 양을 인식하는 장치로 활용했다.

  • LCD의 화면으로 쓰레기통의 잔량을 퍼센트(%)로 표시해주는 장치로 활용했다.

  • RGB LED는 쓰레기통 잔량에 따라 점등하는 색을 다르게 하여 직관적인 알림 장치로 활용했다. 쓰레기의 높이가 60% 이하면 녹색, 60~90%는 황색, 그리고 90% 이상은 적색으로 설정했다. 다른 3색의 LED 사용보다는 깔끔하고 핀의 사용이 적은 RGB LED를 사용했다.

센서 연결

  • 핀의 개수가 제한적인 점, 그리고 유선 장비인 점을 고려해 좌측의 그림과 같이 4개의 센서를 연결했다. 잔량을 나타내는 LCD와 RGB LED를 하나의 보드에, 그리고 초음파 거리센서는 별도의 보드에 설치했다. 쓰레기통에 부착할 것을 고려해 초음파 거리센서의 보드는 최대한 긴 케이블을 이용해 연결했다. 우측의 그림은 직접 쓰레기통을 제작하여 센서들을 부착한 모습이다.

사용 기술 스택

  • Arduino

sat's People

Contributors

yamiblack avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.