Flipper-Zero: Introduction to JavaScript for Analog Sensors!

Опубликовано: 15 Июнь 2024
на канале: Derek Jamison
625
29

The latest Momentum dev branch has JavaScript support for accessing Analog Sensors (via ADC)! In this video we look at the JavaScript software to access the sensor data (determining a sensors voltage and resistance). We then go one step further and display the temperature from a NTC Thermistor! My previous video on Analog Sensors we looked at the hardware design (ensuring out output voltage from sensors is 0 - 2 volts).

This video and the previous one, contains all of the information you need to create JavaScript applications that can integrate with analog sensors! If you need additional help, feel free to reach out on my Discord server.

Previous video on creating hardware for sensors:
   • Flipper-Zero: Introduction to Analog ...  

Discord Server:
  / discord  

GitHub for this project (INCLUDES ChatGPT 4 VERSION):
https://github.com/jamisonderek/flipp...

Support this channel:
Option 1. Like, Subscribe and click the Bell (to get notified)
Option 2. https://ko-fi.com/codeallnight (donate $3 via PayPal or Venmo)
Option 3. Click the "Thanks" button on YouTube.
Option 4. Purchase a FlipBoard (I get a portion of the sale). https://github.com/MakeItHackin/FlipB...

Timeline:
0:00 - Introduction
0:35 - Create sensor.js to get millivolts
2:08 - Run the script
2:37 - Add delay
3:19 - Calculate sensor resistance
5:54 - Calculate temperature
7:24 - Format temperature (show 1 decimal place)
8:31 - Testing with heat
9:05 - Summary


Смотрите видео Flipper-Zero: Introduction to JavaScript for Analog Sensors! онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Derek Jamison 15 Июнь 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 625 раз и оно понравилось 29 посетителям.