Flipper-Zero: Introduction to JavaScript for Analog Sensors!

Published: 15 June 2024
on channel: 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


Watch video Flipper-Zero: Introduction to JavaScript for Analog Sensors! online, duration hours minute second in high quality that is uploaded to the channel Derek Jamison 15 June 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 625 times and liked it 29 visitors.