- 183
- 65 861
LETS CODE FOR THE OLDER FOLKS
United Kingdom
Приєднався 17 бер 2023
Hello!
LETS CODE FOR THE OLDER FOLKS is a channel for us 30ish to 70ish year olds to learn about single board computerws. We will build circuits and write code such as Python3 , C++ and Java to create some really great projects. All schools today teach information technology (IT) to students from an early age, and most use single board computers. This group is for us senior people (30+) to learn IT together so that we can understand and have conversations with our children and grandchildren on the tech they are learning at school. It would be great to site down with our children and grandchildren and together build some great projects. Lets have fun and have some great adventures in tech.
AZ-Delivery Link: sovrn.co/172iy2m
LETS CODE FOR THE OLDER FOLKS is a channel for us 30ish to 70ish year olds to learn about single board computerws. We will build circuits and write code such as Python3 , C++ and Java to create some really great projects. All schools today teach information technology (IT) to students from an early age, and most use single board computers. This group is for us senior people (30+) to learn IT together so that we can understand and have conversations with our children and grandchildren on the tech they are learning at school. It would be great to site down with our children and grandchildren and together build some great projects. Lets have fun and have some great adventures in tech.
AZ-Delivery Link: sovrn.co/172iy2m
How To Measure Distance Using The HC-SR04 Ultrasonic Sensor
How To Measure Distance Using The HC-SR04 Ultrasonic Sensor with ESP32 And MicroPython
In this session we’ll learn how to use the HC-SR04 Ultrasonic Sensor with the ESP32 to get the distance to an object using MicroPython firmware On the ESP32.
HCSR04 library:
raw.githubusercontent.com/RuiSantosdotme/Random-Nerd-Tutorials/master/Projects/ESP-MicroPython/HCSR04/hcsr04.py
sunfounder-esp32-ultimate-starter-kit: www.sunfounder.com/products/sunfounder-esp32-ultimate-starter-kit-with-esp32-camera-extension-board-battery?_pos=1&_sid=a295cfd83&_ss=r&ref=k077oxrv
In this session we’ll learn how to use the HC-SR04 Ultrasonic Sensor with the ESP32 to get the distance to an object using MicroPython firmware On the ESP32.
HCSR04 library:
raw.githubusercontent.com/RuiSantosdotme/Random-Nerd-Tutorials/master/Projects/ESP-MicroPython/HCSR04/hcsr04.py
sunfounder-esp32-ultimate-starter-kit: www.sunfounder.com/products/sunfounder-esp32-ultimate-starter-kit-with-esp32-camera-extension-board-battery?_pos=1&_sid=a295cfd83&_ss=r&ref=k077oxrv
Переглядів: 208
Відео
How To Draw Basic Shapes Using MicroPython
Переглядів 1399 місяців тому
How To Draw Basic Shapes Using MicroPython On The SSD1306 OLED Display With The ESP32 In this session we’ll learn how to draw shapes on an OLED display with MicroPython using the ESP32. To draw shapes on the OLED display, we will need to download and use the Adafruit GFX Library to our esp32. This library isn’t part of the standard MicroPython library by default. GFX library: github.com/adafrui...
How To Use MicroPython To Scroll Text On The SSD1306 OLED Display With The ESP32 (Part 2)
Переглядів 3249 місяців тому
In this session part 2, we’ll complete the sketch on how to control an OLED display with MicroPython using the ESP32. We'll show how to scroll the entire screen horizontally and vertically. OLED library: raw.githubusercontent.com/RuiSantosdotme/ESP-MicroPython/master/code/Others/OLED/ssd1306.py OLED 0.96 inch Display - 128×64 - SSD1306 makeradvisor.com/tools/oled-display-128x64-0-96-inch/ sunfo...
How To Use MicroPython To Scroll Text On The SSD1306 OLED Display With The ESP32 Part 1
Переглядів 3369 місяців тому
In this session part 1, we’ll learn how to control an OLED display with MicroPython using the ESP32. We'll learn how to scroll the entire screen horizontally and in paet 2 vertically. OLED library: raw.githubusercontent.com/RuiSantosdotme/ESP-MicroPython/master/code/Others/OLED/ssd1306.py OLED 0.96 inch Display - 128×64 - SSD1306 makeradvisor.com/tools/oled-display-128x64-0-96-inch/ sunfounder-...
How To Use MicroPython: OLED Display with the ESP32
Переглядів 1,2 тис.9 місяців тому
In this session, we’ll learn how to use the 0.96 inch SSD1306 OLED display with an ESP32 using MicroPython firmware. OLED library: raw.githubusercontent.com/RuiSantosdotme/ESP-MicroPython/master/code/Others/OLED/ssd1306.py OLED 0.96 inch Display - 128×64 - SSD1306 makeradvisor.com/tools/oled-display-128x64-0-96-inch/ sunfounder-esp32-ultimate-starter-kit: www.sunfounder.com/products/sunfounder-...
How To Use The BME680 Sensor Module With The ESP32 Using Micropython
Переглядів 83610 місяців тому
This session shows how to use the BME680 sensor module with the ESP32 to get temperature, humidity, pressure, and gas (air quality) readings using MicroPython firmware The gas sensor can detect a broad range of gases like volatile organic compounds (VOC). So the BME680 can be used in indoor air quality control. A library to read from the BME680 sensor isn’t part of the standard MicroPython libr...
Measuring Temperature And Humidity With Esp32 Using Micropython - A How-to Guide!
Переглядів 48410 місяців тому
This session shows how to use the DHT11 temperature and humidity sensors with the ESP32 development board using MicroPython firmware. The DHT11 sensor contains a chip that does analog to digital conversion and spit out a digital signal with the temperature and humidity. This makes them very easy to use with any microcontroller. sunfounder-esp32-ultimate-starter-kit: www.sunfounder.com/products/...
How To Put The ESP32 Into Deep Sleep Using Micropython
Переглядів 47310 місяців тому
This session we will look at how to put the ESP32 in deep sleep mode and wake it up using an input device using MicroPython firmware. If have your ESP32 running on active mode with batteries it’s not ideal, since the power from batteries will depleat very quickly. If we put our ESP32 in deep sleep mode, it will reduce the power consumption and your batteries and they will last longer. Having th...
How My Raspberry Pi 5 Came Alive
Переглядів 1,4 тис.11 місяців тому
This session I introduce you to my Pi5 and add a NVMe Base and M2 SSD. SD cards were designed for storage and not to run operating systems like the Raspberry Pi image. Adding a NVME Base with the 520 M.2 SSD drive makes the system more reliable! The changes are unbelievable! NVMe Base for Raspberry Pi 5 - NVMe Base : shop.pimoroni.com/products/nvme-base?variant=41219587178579 sunfounder-esp32-u...
Learn How To Configure Interrupts Using MicroPython with ESP32
Переглядів 24011 місяців тому
This tutorial we will use interrupts. They are useful for making things happen automatically in microcontroller programs and can help solve timing problems. With interrupts you don’t need to constantly check the current pin value. When a change is detected, an event is triggered (a function is called). www.sunfounder.com/products/sunfounder-esp32-ultimate-starter-kit-with-esp32-camera-extension...
How To Read Analog values with MicroPython On The ESP32
Переглядів 38811 місяців тому
This tutorial shows how to read analog values with the ESP32 board using MicroPython firmware. There are several pins on the ESP32 that can act as analog pins - these are called ADC pins. All the following GPIOs can act as ADC pins: 0, 2, 4, 12, 13, 14, 15, 25, 26, 27, 32, 33, 34, 35, 36, and 39. www.sunfounder.com/products/sunfounder-esp32-ultimate-starter-kit-with-esp32-camera-extension-board...
How To Automate PWM with MicroPython On The ESP32
Переглядів 12411 місяців тому
This experiment shows how to generate PWM signals with the ESP32 board using MicroPython firmware. As an example, we’ll dim the brightness of an LED by changing the duty cycle over time. www.sunfounder.com/?ref=k077oxrv
Lets Interact With The GPIOs On The ESP32 Using MicroPython
Переглядів 14711 місяців тому
In this session we’re going to take a look on how to interact with the ESP32 General Purpose Input/Output (GPIOs) pins using MicroPython. We’ll show you how to read digital and analog inputs, how to control digital outputs and how to generate PWM signals. We’ll build a simple circuit that works as follows: Read the state of a pushbutton and set the LED state accordingly - when you press the pus...
How To Use Digital Inputs And Outputs With MicroPython
Переглядів 351Рік тому
In this session we will learn how to use digital inputs and digital outputs, we’ll build a simple project example with a pushbutton and an LED. www.sunfounder.com/?ref=k077oxrv
How To Run Your First Micropython Script On An ESP32
Переглядів 198Рік тому
This session we will get familiar with the process of writing a file and executing code on your ESP32 boards, we’ll upload a new script that simply blinks the on-board LED of your ESP32. www.sunfounder.com/?ref=k077oxrv
Lets Get Started with MicroPython on ESP32 And The Raspberry Pi.
Переглядів 502Рік тому
Lets Get Started with MicroPython on ESP32 And The Raspberry Pi.
Looking Ahead: What To Expect In The Future
Переглядів 52Рік тому
Looking Ahead: What To Expect In The Future
How To Prepare Your ESP32 With The Arduino IDE For The Lamp Server Part2
Переглядів 113Рік тому
How To Prepare Your ESP32 With The Arduino IDE For The Lamp Server Part2
How To Prepare Your ESP32 With The Arduino IDE For The Lamp Server
Переглядів 168Рік тому
How To Prepare Your ESP32 With The Arduino IDE For The Lamp Server
Learn How To Display Database Content With A Php Script In This Easy To Follow Tutorial.
Переглядів 76Рік тому
Learn How To Display Database Content With A Php Script In This Easy To Follow Tutorial.
How To Insert Data Into A MySQL Database - PHP Script HTTP POST
Переглядів 115Рік тому
How To Insert Data Into A MySQL Database - PHP Script HTTP POST
How To Publish Data To A Raspberry Pi LAMP Server
Переглядів 181Рік тому
How To Publish Data To A Raspberry Pi LAMP Server
How To Install A LAMP Server On Your Raspberry Pi
Переглядів 658Рік тому
How To Install A LAMP Server On Your Raspberry Pi
Lets Code For The Older Folk Channel Introduction
Переглядів 494Рік тому
Lets Code For The Older Folk Channel Introduction
How To Monitor Your Raspberry Pi System Using Influxdb Telegraf
Переглядів 971Рік тому
How To Monitor Your Raspberry Pi System Using Influxdb Telegraf
How To Send BME280 Sensor Readings To InfluxDB2 Continued
Переглядів 199Рік тому
How To Send BME280 Sensor Readings To InfluxDB2 Continued
How To Send BME280 Sensor Readings To InfluxDB2
Переглядів 413Рік тому
How To Send BME280 Sensor Readings To InfluxDB2
How To Install Influxdb 2 On A Raspberry Pi 4
Переглядів 1,7 тис.Рік тому
How To Install Influxdb 2 On A Raspberry Pi 4
How To Create An Esp32 Mqtt Node-red Flow
Переглядів 367Рік тому
How To Create An Esp32 Mqtt Node-red Flow
ESP32 MQTT - Publish and Subscribe The Internet Of Things Part Two
Переглядів 381Рік тому
ESP32 MQTT - Publish and Subscribe The Internet Of Things Part Two
thx unc !!!❤
nice video you helped me a lot!
Thank you very much for your effort
Thank you so much for the video <3
great tutorial, thank you
How difficult would it be to port to use the EspressIF environment (Eclipse+IDF Plugin) ? I have an ESP32-C3 board, and installed the Espressif Framework.. not sure how easy VS Code/Arduino is.. but after much trial and error I am finally single stepping thru a hello world project, so would prefer not to switch. My goal is for the ESP32 to act as both a webserver (station mode) and Access Point mode (hotspot), such that the ESP32 data broadcasts its data using WebSockets to any connected clients/browsers.. although , I understand AJAX is also popular (javascript can use XMLHttpRequest to fetch /data every second and update a portion of the page (R"rawliteral). BTW, do you have any thoughts/experience on using the ESP32's ultra-low-power coprocessor? For example, can the ULP coprocessor access all the peripherals, like ADC/UART and then wake up the main processor(s) as necessary (RiscV or Xtensa LX7 processors)?
Hello! I have a Raspberrypi HAT Dragino configured and receiving LoRa packets on raspibian. I want to receive these packets and send using mosquitto service....How I make this? Thank you!
thank youuuuuu
your content excellent but UA-cam video not getting much attention from the audience? This could be due to an SEO issue, resulting in low views and subscribers.
Thank you, that was a very nice little tutorial on Micropython, and at a good pace I love Micropython it is easer than C++ for none programmers like me at 80 years old, cheers, Bob in the UK.
Really helpful project! I think copying and pasting line by line would be better option because you don't have to foucus on rewriting and you can tell more about what which line does.
You forgot the semicolon after the ip 😊
Any update?
love your vids really helps me out with linux
how do i convert the gas resistance to voc values betweeen 0 and 500
Due to the complex nature of the algorithms, the BME680 alone couldn't run these calculations.
@@LetsCodeForTheOlderFolks-dt2vx you need to use a library called BSEC from bosch.
you need to use a library called BSEC from bosch.
number ❌numbaaaaaaaaaaa ✅
Thanks for making the video..found u with ESP32 search ..finding a way to fix my stuff.
Fabulous, but you call "less than" (<) "greater than")
Interesting video, Do u have projects using sensors with raspberry pi and scratch ?
yes i do if you go to my youtube channel I have loads. Lets code for the older folk
@@LetsCodeForTheOlderFolks-dt2vx excuse me but I haven’t seen any. I saw only project based on the programming with scratch on Raspberry pi, but I wanted to see like a block coding where we program the ultrasonic sensors or any sensors with scratch on raspberry pi ! I don’t know if I’m clear enough ! Thank you
nice
Being an older learner this is great. New subscriber
This is a cool video that should see more views comments and likes. :-)
Also LED 2 & 1 connected to same output.
Great tutorial, have a look at your circuit at 10.25, you will see that you have LED 3 & 4 connected to the same output, LED 5 is now, technically, ONE space away and not two, consequently throwing the rest of the sequence out of sync. I appreciate that at times one cannot see the forest for the trees. Eric.
Very good.
I liked your video very good. I mainly use the C code in the Arduino ide, might have to start using more of the Micropython.
as binary computer language goes off complete lists and sets of directions, what are some good directories when tempting a more boolean approach to coding, and essential write or compose programming based off a heart monitor that would have Tuples and finite series to complete with outlined but still unlimited parameters for composition or execution of the programming
Sorry can i use this for dev kit esp32 ? I am beginer of this
Thanks for the video 😊
thx you're video helped me alot
can you please tell maximum distance of each node mcu from other ?
According to tests we are able to get a stable communication up to 220 meters (approximately 722 feet) in open area
nice vid...I have 2 LoLin NodeMcu V3 boards that get recognized by PC (com 8) in this case, but my arduino IDE won't connect to board and times out waiting for packet header...any suggestions? they both do the same thing
I do not have a LoLin NodeMcu V3 board but i guess this would be the same. When you run the skech try pressing the boot button. Its thr small button bottom right.
Sir, what is the purpose of "processor" function? You passed the function along with other attributes to request->send_p. But inside HTML, it doesn't call this function. I also name my variable SliderVal in the main c++ code while inside HTML's updatesSlide PWM I name it SliderValue . So how both variables are linked together?
Hi jumbo We need to add some JavaScript code to your HTML file using the <script> and </script> tags. You need to add the updateSliderPWM() function that will make a request to the ESP32 with the current slider value. We need to create the processor() function, that will replace the placeholders in our HTML text with the current slider value when you access it for the first time in a browser.When the web page is requested, we check if the HTML has any placeholders. If it finds the %SLIDERVALUE% placeholder, we return the value saved on the sliderValue variable. I hope this helps.
This would have been a great video if you had placed the code in the description. It just takes too long to type It out when all I came her for was how to get mac address
Anyone could fix the errors showed after press "mosquitto -v" command? This errors appear in minute 7:40. I already installed mosquitto in docke and i have this problem all the time and is headache becaus idk what to do...
Excellent tut brother... you are an outstanding patient explainer... greetings from Houston, Texas .... SUBSCRIBED ! 😊
If anyone else had trouble getting all the programs to work - before you drive yourself crazy I found the easiest thing to do was wipe out everything and reload a new operating system onto your Raspberry pi and reload the programs.
long but worth it. nice job!!
Lovely job, I am learning a lot. Thanks for publishing these!
10:26 - if you "deploy" the color change it updates on the dashboard
Nice job. Thank you!! FYI to anyone interested, I loaded Node-Red onto my Windows PC following the instructions on the Node-Red site. Not hard at all if you don't have a Raspberry Pi or just want to use a Windows machine.
Nice and informative. Thanks, Simon
I would like to extend your code.
this error came in my receiver code in esp-now receiver side C:\Users\Dell\AppData\Local\Temp\.arduinoIDE-unsaved2024229-4764-g6luht.bh7b7\sketch_mar29b\sketch_mar29b.ino: In function 'void setup()': C:\Users\Dell\AppData\Local\Temp\.arduinoIDE-unsaved2024229-4764-g6luht.bh7b7\sketch_mar29b\sketch_mar29b.ino:47:28: error: invalid conversion from 'void (*)(const uint8_t*, const uint8_t*, int)' {aka 'void (*)(const unsigned char*, const unsigned char*, int)'} to 'esp_now_recv_cb_t' {aka 'void (*)(const esp_now_recv_info*, const unsigned char*, int)'} [-fpermissive] 47 | esp_now_register_recv_cb(OnDataRecv); | ^~~~~~~~~~ | | | void (*)(const uint8_t*, const uint8_t*, int) {aka void (*)(const unsigned char*, const unsigned char*, int)} In file included from C:\Users\Dell\AppData\Local\Temp\.arduinoIDE-unsaved2024229-4764-g6luht.bh7b7\sketch_mar29b\sketch_mar29b.ino:1: C:\Users\Dell\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-3662303f31/esp32/include/esp_wifi/include/esp_now.h:156:54: note: initializing argument 1 of 'esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t)' 156 | esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t cb); | ~~~~~~~~~~~~~~~~~~^~ exit status 1 Compilation error: invalid conversion from 'void (*)(const uint8_t*, const uint8_t*, int)' {aka 'void (*)(const unsigned char*, const unsigned char*, int)'} to 'esp_now_recv_cb_t' {aka 'void (*)(const esp_now_recv_info*, const unsigned char*, int)'} [-fpermissive]
Thanks for assuming I'm less than knowledgeable on all of this detail. You're right to. Cheers, mate! (sub'd)
The amount of precise detail you put in was appreciated. Thanks, mate, from an old Aussie. (subscribed)
thanku so much
I did everything you did but got a dashboard full of No Results panes
I may of confused a few rows are not 🚫 connected columns are connected
Mate, we are learning with your videos four our college class here in Brazil, and we are loving every "brackets off, semicolon, enter" thanks for the amazing learning content
Hi I am glad you are finding my videos useful