#17 – Meditation – Glasses LED Meditation – Audio Player – Mk02
——
#donluc #meditation #glassesmeditation #glassesledmeditation #glassesled #neopixels #audioplayer #microsd #arduino #sparkfun #project #programming #electronics #microcontrollers #consultant #patreon #videoblog
——
——
——
——
Meditation Music
Music Meditation has many wonderful benefits for helping people with control meditation may significantly reduce stress, anxiety, depression, COVID-19, HIV, TMJD, aphasia, ADHD, cancer, and pain; and enhance peace, perception, self-concept, and well-being. Music Meditation can also lift your mood, slow your breathing, and create other stress-inducing changes.
From mood enhancement and relaxation to full-blown oneness with the cosmos, music has the ability to powerfully shift our state of mind. Meditation is not that different. Meditation lowers the stress hormone cortisol, helps us sleep better, and rewires the brain with a host of positive emotional qualities. The goal of both music and meditation is to create a powerful and positive shift in our mental state.
Music is a reliable source of transformational experience for many, and we are attracted to music for the same reasons that meditators meditate. Music and meditation both allow a fuller and richer experience of our emotions. They stop our incessant and often negative mental chatter and offer us an opportunity to inhabit the present moment more fully and meaningfully. These are all important for good health and happiness in human beings.
Meditation and music are calming, transformative activities that can improve health in multiple ways. Research studies indicate that meditation can protect of a heart attack or stroke, improve sleep, relieve pain, sharpen mind and memory, lift mood, and ease anxiety.
DL2102Mk05
1 x Arduino Pro Mini 328 – 5V/16MHz
2 x Breadboard-friendly RGB Smart NeoPixel
1 x Panel Mount 1K potentiometer
1 x Knob
1 x MicroSD card breakout board+
1 x MicroSD Memory Card (8 GB SDHC)
1 x SparkFun Audio Jack Breakout
1 x Audio Jack 3.5mm
1 x Hamburger Mini Speaker
20 x Wire Solid Core – 22 AWG
2 x Half-Size Breadboard
1 x SparkFun FTDI Basic Breakout – 5V
1 x SparkFun Cerberus USB Cable
Arduino Pro Mini 328
PO0 – Analog A0
SS0 – Digital 10
MOS – Digital 11
MIS – Digital 12
SCK – Digital 13
SPE – Digital 9
NP1 – Digital 6
VIN – +5V
GND – GND
DL2102Mk05p.ino
// ***** Don Luc Electronics © ***** // Software Version Information // #17 - Meditation - Glasses LED Meditation - Audio Player - Mk02 // 02-05 // DL2102Mk05p.ino 17-05 // 1 x Arduino Pro Mini 328 - 5V/16MHz // 2 x Breadboard-friendly RGB Smart NeoPixel // 1 x Panel Mount 1K potentiometer // 1 x Knob // 1 x MicroSD card breakout board+ // 1 x MicroSD Memory Card (8 GB SDHC) // 1 x SparkFun Audio Jack Breakout // 1 x Audio Jack 3.5mm // 1 x Hamburger Mini Speaker // 20 x Wire Solid Core - 22 AWG // 2 x Half-Size Breadboard // 1 x SparkFun FTDI Basic Breakout - 5V // 1 x SparkFun Cerberus USB Cable // Include the Library Code // NeoPixel #include <Adafruit_NeoPixel.h> // SPI (Serial Peripheral Interface) #include <SPI.h> // SD Cards #include <SD.h> // PCM/WAV Audio Playback #include <TMRpcm.h> // NeoPixels #define PIN 6 // How many NeoPixels are attached to the Arduino #define NUMPIXELS 2 Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); // Color // Red int red = 0; // Green int green = 0; // Blue int blue = 0; // Panel Mount 1K potentiometer // Brightneed const int iSensorBrightneed = A0; // Max - Min int BrightneedValue = 0; // Minimum sensor value int BrightneedMin = 0; // Maximum sensor value int BrightneedMax = 1023; // PCM/WAV Audio Playback TMRpcm music; int iSpeaker = 9; int iPlaying = 0; // SD Cards int iSD = 10; // Software Version Information String sver = "17-02"; void loop() { // Range Color // White isRangeColor(); // Playing iPlaying = music.isPlaying(); if ( iPlaying == 0 ) { // Play music.play("dleMk001.wav"); } }
getNeopix.ino
// Neopix void isNeopix() { for(int i=0; i<NUMPIXELS; i++){ // Neopix // Read the Brightneed BrightneedValue = analogRead( iSensorBrightneed ); // Apply the calibration to the BrightneedValue reading BrightneedValue = map(BrightneedValue, BrightneedMin, BrightneedMax, 0, 255); // In case the sensor value is outside the range seen during calibration BrightneedValue = constrain(BrightneedValue, 0, 255); // The pixels.Color takes RGB values, from 0,0,0 up to 255,255,255 pixels.setBrightness( BrightneedValue ); pixels.setPixelColor(i, pixels.Color(red,green,blue)); // This sends the updated pixel color to the hardware pixels.show(); } } // Range Color void isRangeColor() { // Range Color // White red = 255; green = 255; blue = 255; isNeopix(); }
setup.ino
// Setup void setup() { // This initializes the NeoPixel library pixels.begin(); // PCM/WAV Audio Playback music.speakerPin = iSpeaker; // SD Cards SD.begin( iSD ); // PCM/WAV Audio Playback // Volume music.setVolume(5); music.quality(1); // Play music.play("dleMk001.wav"); }
Music
dleMk001.wav
People can contact us: https://www.donluc.com/?page_id=1927
Technology Experience
- Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi,Espressif, etc…)
- Robotics
- Research & Development (R & D)
- Desktop Applications (Windows, OSX, Linux, Multi-OS, Multi-Tier, etc…)
- Mobile Applications (Android, iOS, Blackberry, Windows Mobile, Windows CE, etc…)
- Web Applications (LAMP, Scripting, Java, ASP, ASP.NET, RoR, Wakanda, etc…)
- Social Media Programming & Integration (Facebook, Twitter, YouTube, Pinterest, etc…)
- Content Management Systems (WordPress, Drupal, Joomla, Moodle, etc…)
- Bulletin Boards (phpBB, SMF, Vanilla, jobberBase, etc…)
- eCommerce (WooCommerce, OSCommerce, ZenCart, PayPal Shopping Cart, etc…)
Instructor
- PIC Microcontrollers
- Arduino
- Raspberry Pi
- Espressif
- Robotics
- DOS, Windows, OSX, Linux, iOS, Android, Multi-OS
- Linux-Apache-PHP-MySQL
Follow Us
J. Luc Paquin – Curriculum Vitae
https://www.donluc.com/DLE/LucPaquinCVEngMk2021a.pdf
Web: https://www.donluc.com/
Web: http://www.jlpconsultants.com/
Web: https://www.donluc.com/DLE/
Web: https://www.donluc.com/DLHackster/
Web: https://www.hackster.io/neosteam-labs
Patreon: https://www.patreon.com/DonLucElectronics
Facebook: https://www.facebook.com/neosteam.labs.9/
YouTube: https://www.youtube.com/channel/UC5eRjrGn1CqkkGfZy0jxEdA
Twitter: https://twitter.com/labs_steam
Pinterest: https://www.pinterest.com/NeoSteamLabs/
Instagram: https://www.instagram.com/neosteamlabs/
Don Luc
Leave a Reply