{"id":2639,"date":"2021-02-21T07:23:38","date_gmt":"2021-02-21T15:23:38","guid":{"rendered":"http:\/\/www.donluc.com\/?p=2639"},"modified":"2021-02-21T07:23:38","modified_gmt":"2021-02-21T15:23:38","slug":"17-meditation-glasses-led-meditation-audio-player-mk02","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=2639","title":{"rendered":"#17 &#8211; Meditation &#8211; Glasses LED Meditation &#8211; Audio Player &#8211; Mk02"},"content":{"rendered":"<div style=\"width: 720px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-2639-1\" width=\"720\" height=\"480\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05W.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05W.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05W.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p>#donluc #meditation #glassesmeditation #glassesledmeditation #glassesled #neopixels #audioplayer #microsd #arduino #sparkfun #project #programming #electronics #microcontrollers #consultant #patreon #videoblog<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05a.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05a.png\" alt=\"Meditation Music\" width=\"720\" height=\"548\" class=\"alignnone size-full wp-image-2641\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05a.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05a-300x228.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05b.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05b.png\" alt=\"Meditation Music\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-2642\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05b.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05b-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05c.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05c.png\" alt=\"Meditation Music\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-2643\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05c.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2021\/02\/DL2102Mk05c-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>Meditation Music<\/strong><\/p>\n<p>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.<\/p>\n<p>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. <\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<p><strong>DL2102Mk05<\/strong><\/p>\n<p>1 x Arduino Pro Mini 328 &#8211; 5V\/16MHz<br \/>\n2 x Breadboard-friendly RGB Smart NeoPixel<br \/>\n1 x Panel Mount 1K potentiometer<br \/>\n1 x Knob<br \/>\n1 x MicroSD card breakout board+<br \/>\n1 x MicroSD Memory Card (8 GB SDHC)<br \/>\n1 x SparkFun Audio Jack Breakout<br \/>\n1 x Audio Jack 3.5mm<br \/>\n1 x Hamburger Mini Speaker<br \/>\n20 x Wire Solid Core &#8211; 22 AWG<br \/>\n2 x Half-Size Breadboard<br \/>\n1 x SparkFun FTDI Basic Breakout &#8211; 5V<br \/>\n1 x SparkFun Cerberus USB Cable<\/p>\n<p><strong>Arduino Pro Mini 328<\/strong><\/p>\n<p>PO0 &#8211; Analog A0<br \/>\nSS0 &#8211; Digital 10<br \/>\nMOS &#8211; Digital 11<br \/>\nMIS &#8211; Digital 12<br \/>\nSCK &#8211; Digital 13<br \/>\nSPE &#8211; Digital 9<br \/>\nNP1 &#8211; Digital 6<br \/>\nVIN &#8211; +5V<br \/>\nGND &#8211; GND<\/p>\n<p><strong>DL2102Mk05p.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ ***** Don Luc Electronics \u00a9 *****\r\n\/\/ Software Version Information\r\n\/\/ #17 - Meditation - Glasses LED Meditation - Audio Player - Mk02\r\n\/\/ 02-05\r\n\/\/ DL2102Mk05p.ino 17-05\r\n\/\/ 1 x Arduino Pro Mini 328 - 5V\/16MHz\r\n\/\/ 2 x Breadboard-friendly RGB Smart NeoPixel\r\n\/\/ 1 x Panel Mount 1K potentiometer\r\n\/\/ 1 x Knob\r\n\/\/ 1 x MicroSD card breakout board+\r\n\/\/ 1 x MicroSD Memory Card (8 GB SDHC)\r\n\/\/ 1 x SparkFun Audio Jack Breakout\r\n\/\/ 1 x Audio Jack 3.5mm\r\n\/\/ 1 x Hamburger Mini Speaker\r\n\/\/ 20 x Wire Solid Core - 22 AWG\r\n\/\/ 2 x Half-Size Breadboard\r\n\/\/ 1 x SparkFun FTDI Basic Breakout - 5V\r\n\/\/ 1 x SparkFun Cerberus USB Cable\r\n\r\n\/\/ Include the Library Code\r\n\/\/ NeoPixel\r\n#include &lt;Adafruit_NeoPixel.h&gt;\r\n\/\/ SPI (Serial Peripheral Interface)\r\n#include &lt;SPI.h&gt;\r\n\/\/ SD Cards\r\n#include &lt;SD.h&gt;\r\n\/\/ PCM\/WAV Audio Playback\r\n#include &lt;TMRpcm.h&gt;\r\n\r\n\/\/ NeoPixels\r\n#define PIN 6\r\n\/\/ How many NeoPixels are attached to the Arduino\r\n#define NUMPIXELS 2\r\nAdafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);\r\n\/\/ Color\r\n\/\/ Red\r\nint red = 0;\r\n\/\/ Green\r\nint green = 0;\r\n\/\/ Blue\r\nint blue = 0;\r\n\/\/ Panel Mount 1K potentiometer\r\n\/\/ Brightneed\r\nconst int iSensorBrightneed = A0;\r\n\/\/ Max - Min\r\nint BrightneedValue = 0;\r\n\/\/ Minimum sensor value\r\nint BrightneedMin = 0;\r\n\/\/ Maximum sensor value\r\nint BrightneedMax = 1023;\r\n\r\n\/\/ PCM\/WAV Audio Playback\r\nTMRpcm music;\r\nint iSpeaker = 9;\r\nint iPlaying = 0;\r\n\r\n\/\/ SD Cards\r\nint iSD = 10;\r\n\r\n\/\/ Software Version Information\r\nString sver = &quot;17-02&quot;;\r\n\r\nvoid loop() {\r\n\r\n  \/\/ Range Color\r\n  \/\/ White\r\n  isRangeColor();\r\n\r\n  \/\/ Playing\r\n  iPlaying = music.isPlaying();\r\n  if ( iPlaying == 0 ) {\r\n\r\n    \/\/ Play\r\n    music.play(&quot;dleMk001.wav&quot;);\r\n   \r\n  }\r\n\r\n}\r\n<\/pre>\n<p><strong>getNeopix.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Neopix\r\nvoid isNeopix() {\r\n  \r\n  for(int i=0; i&lt;NUMPIXELS; i++){\r\n\r\n    \/\/ Neopix\r\n    \/\/ Read the Brightneed\r\n    BrightneedValue = analogRead( iSensorBrightneed );\r\n\r\n    \/\/ Apply the calibration to the BrightneedValue reading\r\n    BrightneedValue = map(BrightneedValue, BrightneedMin, BrightneedMax, 0, 255);\r\n\r\n    \/\/ In case the sensor value is outside the range seen during calibration\r\n    BrightneedValue = constrain(BrightneedValue, 0, 255); \r\n    \r\n    \/\/ The pixels.Color takes RGB values, from 0,0,0 up to 255,255,255\r\n    pixels.setBrightness( BrightneedValue );\r\n    pixels.setPixelColor(i, pixels.Color(red,green,blue));\r\n    \/\/ This sends the updated pixel color to the hardware\r\n    pixels.show();\r\n \r\n  }\r\n  \r\n}\r\n\/\/ Range Color\r\nvoid isRangeColor() {\r\n\r\n   \/\/ Range Color\r\n   \/\/ White\r\n   red = 255;\r\n   green = 255;\r\n   blue = 255;        \r\n   isNeopix(); \r\n  \r\n}\r\n<\/pre>\n<p><strong>setup.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Setup\r\nvoid setup() {\r\n  \r\n   \/\/ This initializes the NeoPixel library\r\n   pixels.begin();\r\n\r\n   \/\/ PCM\/WAV Audio Playback\r\n   music.speakerPin = iSpeaker;\r\n\r\n   \/\/ SD Cards\r\n   SD.begin( iSD );\r\n\r\n   \/\/ PCM\/WAV Audio Playback\r\n   \/\/ Volume\r\n   music.setVolume(5);\r\n   music.quality(1);\r\n   \/\/ Play\r\n   music.play(&quot;dleMk001.wav&quot;);\r\n\r\n}\r\n<\/pre>\n<p><strong>Music<\/strong><\/p>\n<p>dleMk001.wav<\/p>\n<p><strong>People can contact us:<\/strong> https:\/\/www.donluc.com\/?page_id=1927<\/p>\n<p><strong>Technology Experience<\/strong><\/p>\n<ul>\n<li>Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi,Espressif, etc&#8230;)<\/li>\n<li>Robotics<\/li>\n<li>Research &#038; Development (R &#038; D)<\/li>\n<li>Desktop Applications (Windows, OSX, Linux, Multi-OS, Multi-Tier, etc&#8230;)<\/li>\n<li>Mobile Applications (Android, iOS, Blackberry, Windows Mobile, Windows CE, etc&#8230;)<\/li>\n<li>Web Applications (LAMP, Scripting, Java, ASP, ASP.NET, RoR, Wakanda, etc&#8230;)<\/li>\n<li>Social Media Programming &#038; Integration (Facebook, Twitter, YouTube, Pinterest, etc&#8230;)<\/li>\n<li>Content Management Systems (WordPress, Drupal, Joomla, Moodle, etc&#8230;)<\/li>\n<li>Bulletin Boards (phpBB, SMF, Vanilla, jobberBase, etc&#8230;)<\/li>\n<li>eCommerce (WooCommerce, OSCommerce, ZenCart, PayPal Shopping Cart, etc&#8230;)<\/li>\n<\/ul>\n<p><strong>Instructor<\/strong><\/p>\n<ul>\n<li>PIC Microcontrollers<\/li>\n<li>Arduino<\/li>\n<li>Raspberry Pi<\/li>\n<li>Espressif<\/li>\n<li>Robotics<\/li>\n<li>DOS, Windows, OSX, Linux, iOS, Android, Multi-OS<\/li>\n<li>Linux-Apache-PHP-MySQL<\/li>\n<\/ul>\n<p><strong>Follow Us<\/strong><\/p>\n<p><strong>J. Luc Paquin \u2013 Curriculum Vitae<\/strong><br \/>\nhttps:\/\/www.donluc.com\/DLE\/LucPaquinCVEngMk2021a.pdf<\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.com\/<br \/>\n<strong>Web:<\/strong> http:\/\/www.jlpconsultants.com\/<br \/>\n<strong>Web:<\/strong> https:\/\/www.donluc.com\/DLE\/<br \/>\n<strong>Web:<\/strong> https:\/\/www.donluc.com\/DLHackster\/<br \/>\n<strong>Web:<\/strong> https:\/\/www.hackster.io\/neosteam-labs<br \/>\n<strong>Patreon:<strong\/> https:\/\/www.patreon.com\/DonLucElectronics<br \/>\n<strong>Facebook:<\/strong> https:\/\/www.facebook.com\/neosteam.labs.9\/<br \/>\n<strong>YouTube:<\/strong> https:\/\/www.youtube.com\/channel\/UC5eRjrGn1CqkkGfZy0jxEdA<br \/>\n<strong>Twitter:<\/strong> https:\/\/twitter.com\/labs_steam<br \/>\n<strong>Pinterest:<\/strong> https:\/\/www.pinterest.com\/NeoSteamLabs\/<br \/>\n<strong>Instagram:<\/strong> https:\/\/www.instagram.com\/neosteamlabs\/<\/p>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212; #donluc #meditation #glassesmeditation #glassesledmeditation #glassesled #neopixels #audioplayer #microsd #arduino #sparkfun #project #programming #electronics #microcontrollers #consultant #patreon #videoblog &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; 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, &#8230; <a title=\"#17 &#8211; Meditation &#8211; Glasses LED Meditation &#8211; Audio Player &#8211; Mk02\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=2639\" aria-label=\"Read more about #17 &#8211; Meditation &#8211; Glasses LED Meditation &#8211; Audio Player &#8211; Mk02\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[135,47,50,38,59,5,138,58,10,43],"tags":[86,6,102,4,19,85,136,141,24,9,27,109,33,34,108],"class_list":["post-2639","post","type-post","status-publish","format-standard","hentry","category-meditation","category-adafruit","category-arduino","category-digitalelectronics","category-fritzing","category-microcontrollers","category-patreon","category-arduino-programming","category-projects","category-sparkfun","tag-adafruit","tag-arduino","tag-components","tag-consultant","tag-electronics","tag-fritzing","tag-meditation","tag-meditation-music","tag-microcontroller","tag-programming","tag-projects-2","tag-sparkfun","tag-technology","tag-video-blog","tag-vlog"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2639"}],"version-history":[{"count":2,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2639\/revisions"}],"predecessor-version":[{"id":3736,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2639\/revisions\/3736"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}