- 181
- 23 138
Electricum
United States
เข้าร่วมเมื่อ 11 ก.ค. 2024
This Channel is intended for hobbyist on micro controllers and micro processors with a bit of coding python and C++
I make use of Arduino, Raspberry Pi and Espressif Systems.
I make use of Arduino, Raspberry Pi and Espressif Systems.
Remotely take a picture with ESP32Cam via ESP-NOW
1 ESP32-C3 (Sender):
• Equipped with a button on GPIO 8.
• When pressed, it sends a message to the ESP32-CAM using ESP-NOW.
2 ESP32-CAM (Receiver):
• Listens for the ESP-NOW message from the sender.
• Upon receiving the message, it captures an image using its camera module.
• The image is saved to an SD card with a unique filename.
Code:
github.com/ukkokalevala/ESP32Cam_PressButton_ESP-NOW.git
• Equipped with a button on GPIO 8.
• When pressed, it sends a message to the ESP32-CAM using ESP-NOW.
2 ESP32-CAM (Receiver):
• Listens for the ESP-NOW message from the sender.
• Upon receiving the message, it captures an image using its camera module.
• The image is saved to an SD card with a unique filename.
Code:
github.com/ukkokalevala/ESP32Cam_PressButton_ESP-NOW.git
มุมมอง: 264
วีดีโอ
ESP32Cam motion detection will save pictures automatically on the SD card
มุมมอง 41014 วันที่ผ่านมา
1. PIR Sensor Integration • The PIR sensor is connected to GPIO 14. It detects motion and sends a HIGH signal to the ESP32-CAM when movement is detected. • This signal triggers the camera to capture an image. 2. Camera Initialization • The ESP32-CAM is initialized with its camera settings, including pin configurations (like CAM_PIN_PWDN, CAM_PIN_RESET, etc.). • If the camera initialization fail...
ESP32Cam press the button to take a picture simple code
มุมมอง 25414 วันที่ผ่านมา
Required Components: 1. ESP32-CAM AI THINKER 2. Push button I use GPIO 16 3. Onboard LED GPIO 4 1. Initial Setup (setup()): • Camera Initialization: o The ESP32-CAM is configured to use specific pins for the camera module. These pin assignments are predefined (e.g., Y2_GPIO_NUM for the OV2640 sensor). o The esp_camera_init() function initializes the camera with these settings. If it fails, the ...
ESP32Cam with PIR motion sensor
มุมมอง 54221 วันที่ผ่านมา
you can find ESP32-CAM examples in the Arduino IDE under the File menu, then Examples, then ESP32, and then Camera and CameraWebServer: ESP8266 NodeMCU or ESP32 ESP32-CAM AI Thinker Arduino IDE with ESP8266 and ESP32 board support installed Appropriate wiring Wiring: ESP8266 TX - ESP32 RX ESP8266 RX - ESP32 TX ESP8266 GND - ESP32 GND you will also need to Connect a wire between the EN and GND p...
Unlock door remotely across two ESP devices using ESP-NOW
มุมมอง 26821 วันที่ผ่านมา
To split the rotary encoder and the OLED combination lock logic across two ESP devices using ESP-NOW, the encoder's ESP will act as a transmitter, sending updates (like position changes or button presses) to the OLED ESP, which acts as a receiver. Overview of the Changes 1. Transmitter (Encoder ESP): o Reads the rotary encoder's position and button state. o Sends these values via ESP-NOW to the...
Unlocked doors with password codes by rotary encoder with oled display
มุมมอง 22128 วันที่ผ่านมา
expected Behavior Turning the encoder updates the current digit on the OLED display. Pressing the button confirms the digit and moves to the next position. After entering all digits, the program checks if the combination matches. If correct, "Unlocked!" is displayed on the OLED. Key Features in Revised Code Manual Encoder Handling: Reads CLK and DT signals directly. Adjusts the counter to keep ...
Stopwatch with rotary encoder and display on an oled 128X64
มุมมอง 8528 วันที่ผ่านมา
Features: • Start/Stop: Pressing the rotary encoder button toggles the timer. • Reset: Long-pressing the rotary encoder button resets the timer to 0. • Adjust Time: Rotating the encoder adjusts the timer while stopped. Usage Instructions: 1. Connect the OLED: o SDA to GPIO 7. o SCL to GPIO 6. 2. Connect the Rotary Encoder: o A (CLK) to GPIO 4. o B (DT) to GPIO 3. o Button to GPIO 5. Main Compon...
Pong game with ESP-NOW via peer to peer 2 players with remote control paddle.
มุมมอง 13028 วันที่ผ่านมา
Components and Roles 1. Two Wemos D1 Mini Pro Devices (Player Controllers): o Each ESP8266 Wemos D1 Mini-Pro reads the position of a potentiometer. o The potentiometer's position represents the paddle's vertical position on the Pong game. o Each ESP8266 Wemos D1 Mini-Pro sends its paddle position data wirelessly to the ESP32-C3 using ESP-NOW. 2. ESP32-C3 (Game Host with OLED Display): o Receive...
Color Bars rainbow gradient dynamic sound waves display on pico-LCD-1.14
มุมมอง 41หลายเดือนก่อน
Key Features of the Code: 1. Rainbow Gradient: The wave is displayed with a dynamic rainbow gradient, transitioning smoothly from red to green to blue. Colors are calculated using the getColorGradient function, which maps each vertical bar to a part of the color spectrum. 2. Real-Time Waveform: Sound sensor data is mapped to the screen height, and a vertical bar is drawn at each x position. 3. ...
Oscilloscope look like dynamic amplitude waves display on OLED
มุมมอง 187หลายเดือนก่อน
Key Features to Implement: 1. Real-Time Horizontal Scrolling: The waveform should scroll left as new data points are added. 2. Dynamic Amplitude Mapping: The height of the waveform should represent the sound sensor's analog input. 3. Middle Line as a Baseline: A central horizontal line acts as the baseline for the waveform. 4. Grid Effect (Optional): Add a subtle grid-like background to resembl...
Controlling sound waves with potentiometer
มุมมอง 131หลายเดือนก่อน
How It Works: Key Features in This Code 1. Amplitude Adjustment: Controlled by the potentiometer on AMPLITUDE_POT_PIN to increase or decrease wave height. 2. Wave Length Adjustment: Controlled by the potentiometer on LENGTH_POT_PIN to stretch or compress the wave horizontally. 3. Sensitivity Adjustment (Optional): An additional potentiometer connected to SENSITIVITY_POT_PIN adjusts: Threshold: ...
3DWaveLCD1 14
มุมมอง 44หลายเดือนก่อน
Pico 1.14" LCD (Waveshare) Pinout to Wemos D1 Pinout: 1. VCC (Power Input) - 5V (Wemos 5V pin) 2. GND - GND (Wemos ground) 3. DIN (SPI MOSI, Data input) - D7 (GPIO13, Wemos MOSI pin) 4. CLK (SPI SCK, Clock) - D5 (GPIO14, Wemos SCK pin) 5. CS (Chip select, Low active) - D2 (GPIO4) 6. DC (Data/Command control) - D3 (GPIO0) 7. RST (Reset, Low active) - D4 (GPIO2) 8. BL (Backlight control) - D1 (GP...
Sound Sensor with raw data display on OLED with ESP32C3
มุมมอง 135หลายเดือนก่อน
Sound Sensor Without a Pot: Analog Output: Connect the analog output pin to an ADC-capable pin on the ESP32-C3 (e.g., GPIO 1). Signal Characteristics: The signal will reflect audio waves in real time, providing variations in amplitude. Calibration: The absence of a potentiometer means you'll need to scale and map the ADC readings correctly. Adjusting the Code for Raw Analog Data: Since your sen...
4 different animated sound waves display on OLED by pressing a button.
มุมมอง 62หลายเดือนก่อน
Sound-Reactive Animations: Dynamically adjust amplitude, turns, and radius based on sound input. Three Animation Styles: Dynamic Helix: Vibrating helix structure. Pulsing Ring: Breathing ring that modulates with sound. Spiral: Expanding and contracting spiral with sound levels. Smooth Sound Input: A moving average filter for more stable animations. Interactive Button Control: Switch between ani...
3D sound waves with OLED and ESP32 real time configuration.
มุมมอง 525หลายเดือนก่อน
Reading Sound Data The sound sensor measures sound intensity as analog values (0-4095 for ESP32 ADC). These values are read using analogRead(SOUND_SENSOR_PIN). Non-Linear Scaling for Softer Sounds Since soft sounds produce small changes, they are amplified using a power law: float normalized = pow((float)soundLevel / 4095, 1.5); The pow function applies a non-linear curve, giving more weight to...
3D sound wave with sound sensor display on an OLED
มุมมอง 236หลายเดือนก่อน
3D sound wave with sound sensor display on an OLED
Ultra sound sensor with OLED shows wave pattern with press button for wave distance.
มุมมอง 80หลายเดือนก่อน
Ultra sound sensor with OLED shows wave pattern with press button for wave distance.
Ultra sound HC-SR-04, ESP8266 with OLED showing wave pattern distance
มุมมอง 44หลายเดือนก่อน
Ultra sound HC-SR-04, ESP8266 with OLED showing wave pattern distance
Sound Sensor with ESP32 shows line-based waveform that updates in real-time OLED.
มุมมอง 495หลายเดือนก่อน
Sound Sensor with ESP32 shows line-based waveform that updates in real-time OLED.
Rotary encoder time clock menu navigation example display on LCD 1602
มุมมอง 47หลายเดือนก่อน
Rotary encoder time clock menu navigation example display on LCD 1602
Rotary Encoder move servo motor with LCD displaying angle degrees values
มุมมอง 48หลายเดือนก่อน
Rotary Encoder move servo motor with LCD displaying angle degrees values
NTP server time clock display binary LED as 0=off, 1=on with Max7219 dot matrix
มุมมอง 146หลายเดือนก่อน
NTP server time clock display binary LED as 0=off, 1=on with Max7219 dot matrix
ESP8266 Breathalyzer with MQ-3 sensor & LCD 1602 display alcohol consumption
มุมมอง 26หลายเดือนก่อน
ESP8266 Breathalyzer with MQ-3 sensor & LCD 1602 display alcohol consumption
Sound Sensor display particles moving through air with pico lcd 1,14 display
มุมมอง 204หลายเดือนก่อน
Sound Sensor display particles moving through air with pico lcd 1,14 display
Binary count to 31 with 5 LED synchronized with Oled
มุมมอง 117หลายเดือนก่อน
Binary count to 31 with 5 LED synchronized with Oled
DHT11 Temperature sensor shows 3 different warning levels with Pico-LCD 1.14
มุมมอง 49หลายเดือนก่อน
DHT11 Temperature sensor shows 3 different warning levels with Pico-LCD 1.14
World time clock display values on OLED using NTP server controlled by ESP32
มุมมอง 37หลายเดือนก่อน
World time clock display values on OLED using NTP server controlled by ESP32
Display multi timezone on various cities with HD44780 LCD
มุมมอง 73หลายเดือนก่อน
Display multi timezone on various cities with HD44780 LCD
World time clock displayed on LCD1602 via NTP server
มุมมอง 28หลายเดือนก่อน
World time clock displayed on LCD1602 via NTP server
Exchange Rate currency on a ESP8266 mini-pro D1 shows on an LCD i2c
มุมมอง 29หลายเดือนก่อน
Exchange Rate currency on a ESP8266 mini-pro D1 shows on an LCD i2c
Thanks. I will try it out soon. Nice that you posted a link to the code.
Thanks this is a really handy video. Good job.
Just started my own ESP32-Cam project and I was looking for some good starting points; this is so convenient (and kinda creepy) to see posted just 3 days ago!
Hope will help you
Thank you, your video is very helpful
For my cats I have a door which opens if they are in front of it. The Sensor for it is a PIR-Sensor too, but I have reduced the sensing area with some paper board. There is only a little slit of ~5mm width, 30mm length and the sensor is facing downwards. I only have to put my hand under the sensor and it opens the door. I must try this SD-card thing, it is nice to store some other data on it.
Sound great yes the SD card can be interesting thank you have great week-end
The frame rate is faster than expected. Possibly it can record sound too, then I could put it over my letter-box. I have such a device, but till now not used.
Hi there best for 2025 I wonder if a sound sensor would be good enough to record voice? will see what can I come up with later. It's a good idea though
Thank youuuuuuuuuu, i looked at many tutorials with different codes and i couldn't get my head around them. This one was simple enough for me to understand, thanks for keeping it simple.
THANK YOU SO MUCH. WORKING PERFECTLY
Thank you
Thank you, for your video. I respectfully submit this help for your channel. Here are some key points to consider when publishing a TH-cam video: Optimize for SEO: Conduct keyword research and include relevant keywords in your video title, description, and tags to improve visibility in search results. Use a clear and concise title: Craft a title that accurately describes your content and includes target keywords. This will help viewers find your video and entice them to click. Add closed captions: Include closed captions to make your video more accessible and improve engagement. You can use automated captioning tools or manually add captions. Write a compelling description: Provide a brief summary of your video content, including relevant keywords, to help viewers understand what they’ll learn or experience. Use a custom thumbnail: Create an eye-catching thumbnail that visually represents your content and includes text that accurately describes it. This will increase click-through rates. Schedule your video’s publication: Consider scheduling your video to publish at a specific time to maximize viewership and engagement. Pin a comment: Write a comment on your video and pin it to encourage engagement and foster a sense of community around your channel. Promote your video: Cross-promote your video on other social media channels to drive initial views and increase visibility. When publishing your TH-cam video, focus on making it easily discoverable, engaging, and accessible to your target audience. By following these points, you’ll be well on your way to creating a successful TH-cam video. online-tech-tips.com How to Specify a Starting Point for TH-cam Videos lifewire.com How to Link to a Specific Part in a TH-cam Video support.google.com Schedule video publish time - TH-cam Help later.com 8 Things to Know Before You Publish Your First TH-cam Video reliancedigital.in How to publish your first TH-cam video | | Resource Centre by Reliance Digital uscreen.tv How to Make a TH-cam Video: later.com/blog/youtube-tips/
Thank you for taking the time to share your knowledge this is a great advice thank you again
is it possible to get satellite images using this?
Yes I just have to find the way I will get there Just gone get a bit of time
@electricum-z8u Wait so you can get actual images of physical sites zoomed in and everything? Like let's say I want to get an image of my house from space.
@@_yourNameHere__ not I meant showing a trajectory over openmap, or google maps this is a far too small project to access satellite maps
@@_yourNameHere__ you can try this way NASA Worldview Provides near-real-time satellite imagery from NASA's Earth Observing System. Free to use for educational or research purposes. NASA Worldview.
Nice!
It's A Great Project Bro ! I Really Appreciate That Man
We do not need the words "Time" and "Date" on the display. It would be better to print only the time and the date, what it is is clear for the people if there is nothing else on the display. I would print only: 12:50:23 14.11.2024 But I got now an Idea for my clock in the bathroom. Thank you!
Thank you you are right people don't need to know the text and it looks much better I have added a file on the codes github as no text only values thank you once again.
@@electricum-z8u - For me this "14.11.2024" is more easy to read and the name of the day would be useful. String dateText = (day < 10 ? " " : "") + String(day) + "." + (month < 10 ? "0" : "") + String(month) + "." + String(year);
@@mikropower01 Morning change done github update_no_text
Nice! What really be cool is provide accurate Time Clock for your network using the NTP protocol.
Hi there thank you yes I made few time clocks with GPS I am sure with NTP as well but will check.
Nice
Very interesting. difficult understand your accent. But checked Transcript .That had details to Help! Thanks!
really neat idea, thanks for the video, ill add to my potential project list!
Yes, the nRF24L01+ does not have this RSSI feature, because of this they had try to reproduce it with the number of successfully received packages. A better way would be to decrease the transmission power of the transmitter (there are 4 stages) and then to look how many of the packages we receive. The ESP have such a hardware RSSI feature integrated and I have tried it.
Very interesting although similar to ESP NOW and probably can work peer to peer as ESP NOW
Are you there close to water? High humidity and I think I have hear there a horn of a ship. Try: radio.setPALevel(RF24_PA_HIGH); [I did wrote this yesterday, did you deleted my comment or did youtube?] RF24_PA_MIN=-18dBm, <= 0.016mW RF24_PA_LOW=-12dBm, <= 0.063mW RF24_PA_MED=-6dBM, <= 0.25mW RF24_PA_HIGH=0dBm. <= 1mW
I see your message now I didn't receive any messages from you yesterday, yes I am about 23 M above see level and close to the Fish Hoek sea cost, I like your RF24 power data base
Hey bro, you can use AI for voice, which makes it more comfortable for viewers. Your video interesting, anyway
I don't like AI voices. His voice is ok. Not everyone have a great microphone, a soundproofed studio and special software for audio processing. These kind of videos don't have to be fancy, they have to be valuable. 😉
If you think use AI for fancy that your thought not mine, I just want this video to become better so it can reach everyone
Nice project. I used this modules too and controlled my toy car with it, but it is not LoRa. This NRF24L01 use 2.4GHz and transmit with 0dBm (1mW). There are other NRF24L01 which have a amplifier stage so that they can transmit with 100mW. I did build up a LoRa-WAN gateway 4 years ago, the Antenna was big (and expensive, 1000€) because if had to get the signals from all the LoRa transmitter in 10 km range even if they only transmit with 25mW. We build this antenna on the roof of our university, with all the protection against lightning, over-voltage and rain. This LoRa modules on Aliexpress are 5€ each. I want to use them for my new project to control a beehive.
sound an amazing project
@@electricum-z8u - Yes, we have here a problem with our bee population and we try to understand what we can do to change this. Possibly the beehive could build a bit differently or possibly the poison at the farmers field is a problem. We simply have to gather some information to be able to make a good decision. I use a Influxdb2 database there I can put the data and make it easy visible. The important thing is to find some constellations in the data. Hopefully ... we will see.
@@mikropower01 sound a fantastic and challenging project collecting database to monitor bees behavior this type of project will benefit the future well just fascinating
@@electricum-z8u - At least the people can see that the bees do still have food and are alive. If we get useful information this could change something and we hope so.
@@mikropower01 True considering they are responsible for helping almost all the plants on Earth to reproduce this can be consider a serious matter.
Great channel name
Thanks bro ❤❤
I have here a System which I had used to get the GPS-position and calculate the distance. In the 8kbyte Flash of the Microcontroller I could not use the library for Sinus, so I used something what is more easy and on a distance of 1km exact enough. This ESP controller have 4MByte of flash and some have 16MByte.
With the increased flash memory of your ESP controller (4MB or 16MB), you have much more flexibility compared to the 8KB on your previous microcontroller. you should be able to use more precise libraries for GPS positioning.
@@electricum-z8u - I had done this project with a ATmega8 and it was to measure the distance to a transmiter and the RSSI-value, so I was able to make a picture of the signal strength in this area. I did this with different modules, frequencies and antennas. This was a project for my University. My project right now: I have the plan to add a capacitive sensor under the toilet seat and activate a fan which is pumping the air out. I have added a Y-pipe to the hole where the water comes in (a U-pipe that the water can not go out) and through the same hole the air get pumped out, so that it does not smell in the room any more. I must say this is working awesome! This is increasing life quality and comfort. 🙂 Now I do not want to push the switch every time I go onto the toilet, I want to sit down and the thing is going on I got today this red "TTP223" touch buttons today, this is a little PCB with a touch-chip, 10 cent each. I will try it with a ESP8266 module. It only have to activate the fan and have then 5 minutes delay after it is going off again.
The ISS is in 370 bis 460 km height, 1000km is very very close. I would add a blinking LED which blinks faster if the ISS is more close to my position, his would make is more interesting to look at. Kapstadt in South Africa ... 🙂 Then you could be one of my ancestors from the Netherlands/Holland. We are here since several hundred years in Germany, the name is still recognizable that our Origin is in Holland.
yes that is brilliant idea the ISS just got as close as 290 KM at about 13h00 yes kaapstad very afrikaans
Right now I try to work with the ST7735S display (1.8 inch, 128x160 pixel). My project: This should be a display for the CO2 data from a Sensirion SCD30 Sensor Module in the sleeping rooms. I will see how I can manage this. If it is not working like expected, I will use this 16x2 LCD with I2C connection what you had in your other videos. I had install here a a InfluxDB with Grafana on my RaspBerryPi4 and there I want to send the CO2/Humidity/Temperature data from the sensor. I have hier a ESP32-C3 SuperMini and a ESP8266, possibly it will work with this controller in the ArduinoIDE. What I can do right now is sending some random data to the database. Now I need the TFT and the CO2 sensor to be able to run.
Hi there ESP32C and ESP8266 can communicate via ESP-NOW and are compatible with Arduino IDE
Is there any more data you can fetch from GPS module ?
Hi there yes a lot Tracking Movement: • Speed and Altitude Measurement: • Time Synchronization: • Navigation Systems: • Geofencing: • Data Logging: and more
That sensor is not analogue IMHO
very effective gps system amazing work😁, question how long have you been in the engineering world i just happened to stumble onto your channel?
very effective gps system amazing work😁, question how long have you been in the engineering world i just happened to stumble onto your channel?
💖💖💖💖
Thank you. I take it as a compliment. I like the guy
You sound like David Attenborough, no offense
so the gps rx goes to the to wemos tx, the gps tx goes to the wemos rx, classic uart wiring setup.
Hi there this is the way it works on mine RX from GPS goes on wemos D4 and TX to wemos pin D3 but on the sketch it will shows the other way around which is confusing after some time the GPS will start to flash a red light then you should be able to see the lat and lon let me know if you come right I also have added a pin test extra file on github
Also keep in mind that The RX and TX pins on the Wemos (GPIO1 and GPIO3) are typically reserved for communication between the microcontroller and your computer (USB) for programming and serial output. using them directly for the GPS can cause issues.
you live in FISH HOEK in front of the 11th Ave
Yes indeed
nice, do the wemos pins have any special function or just plain gpio, no pwm/mosi/miso ....
Hi there they do have lots of various function but in a limited way
nice, do the wemos pins have any special function or just plain gpio, no pwm/mosi/miso ....
Okay I will try it. 🙂 I got some for only 2,59€ each, some LCDs and Sensors .... now I try to work with it.
Thanks for the project demo. Could not get this to compile for the ESP8266 (Library is several years old). Able to compile after selecting ESP32 Dev module, change the WiFi library include to WiFi.h and remove the letter D from the pin assignments so just 0, 1, 2 etc except for ESP32 they will be RS = 13, EN = 12, D4 = 14, D5 = 27, D6 = 26, D7 = 25 or "LiquidCrystal My_LCD(13, 12, 14, 27, 26, 25);" Will breadboard to try out soon 😁
Hi Malcolm let me know if you get it right thank you
Very elegant work Sir Great video & liked👍
Thank you
вау, спасибо за объявления 😊 привет из России
Thank you
Thank you I managed to finished my project
Здорово! Когда есть любимое дело!
Indeed it is thank you
Great video
Awesome video! ESP-Now has some great potential. Any suggestions what the best wireless protocol is for overcoming shielding? I want to receive a signal from inside a metal container that's inside a metal fridge. RF, bluetooth, ESP-NOW, 802.11? I'm also an FPV drone tinkerer, so could potentially use ELRS or similar.
Hi there thank you, very interesting project not easy it will require lots of testing, could try an external antenna as some esp32 and 8266 have U FL connection for this or different material, there must be a way if we think submarine communicate under water may be could look at attenuation in water to boost signal. Good luck let me know when you come right
@@electricum-z8u - 2.4GHz are very fast absorbed in the water, if you put your sender in a water tight container and put it in water, then a tiny layer of water is enough to make the signal disappear. I use a nRF24L01P with a Power Amplifier-Chip and can send the signal from the fridge to my receiver. The fridge have a rubber sealing and trough this the communication take place.
Thank you this is what I have been searching for. I have been trying to work out how the button and led split over the 2 boards with wifi. Next project is combining a tb6612fng board to control a motor with a potentiometer.
Hi Darren this works in ESP-Now which is peer to peer communication protocol between ESP boards without dedicated WiFi router I hope I understood your question thank you
My problem was splitting the code for the switch and led, but this give me the answer on how it is done. I have an additional project to add the tb6612fng to run a motor. I am trying to get a model train running using esp-now
@@darrenwilliams7951 Hi Darren ok I see we could try to run a servo or a dc motor ?
@@electricum-z8u I will be running a dc motor
I m working on it Can you guide me
Hi Did you check the schematic on github
github.com/ukkokalevala/ESP32-cam.git
Tolong buat untuk audio volume saya sangat berterima kasih kepada anda
Hi there thank you for your feed back I will try to change it you have a good night thank you