The Alpha Geek – Geeking Out

Electronics

#17 – Meditation – Glasses LED Meditation – Music Meditation – Mk05

——

#donluc #meditation #glassesledmeditation #musicshield #neopixels #arduino #sparkfun #project #programming #electronics #microcontrollers #consultant #zoom #patreon #videoblog

——

Music Meditation

——

Music Meditation

——

Music Meditation

——

Meditation or Aesthetics or Ambient of Music

Aesthetics of music is a branch of philosophy that deals with the nature of art, beauty and taste in music, and with the creation or appreciation of beauty in music. In the pre-modern tradition, the aesthetics of music or musical aesthetics explored the mathematical and cosmological dimensions of rhythmic and harmonic organization.

As an early 20th-century French composer, Erik Satie used such Dadaist-inspired explorations to create an early form of ambient/background music that he labeled “furniture music”. This he described as being the sort of music that could be played during a dinner to create a background atmosphere for that activity, rather than serving as the focus of attention.

I think of it as melodious, softening the noises of the knives and forks at dinner, not dominating them, not imposing itself. It would fill up those heavy silences that sometime fall between friends dining together. It would spare them the trouble of paying attention to their own banal remarks. And at the same time it would neutralize the street noises which so indiscreetly enter into the play of conversation. To make such music would be to respond to a need.

Background music for meditation should be calm, relaxing, and to evoke a warm feeling that allows viewers to feel safe and comfortable. Moreover, meditating music should quiet the inner voice, allowing the viewer to stay in the present moment and focus on immersing in meditation.

DL2103Mk01

1 x Arduino Uno – R3
1 x ProtoScrewShield
1 x Music Shield V1.1
2 x Breadboard-friendly RGB Smart NeoPixel
1 x microSD Card – 2GB
1 x Panel Mount 1K potentiometer
2 x Knob
1 x SparkFun Rotary Switch – 10 Position
1 x SparkFun Rotary Switch Breakout
1 x Breadboard Solderable
11 x 1K Ohm
1 x Hamburger Mini Speaker
20 x Wire Solid Core – 22 AWG
1 x Half-Size Breadboard
1 x SparkFun Cerberus USB Cable

Arduino Uno – R3

RW0 – Analog A4
PO0 – Analog A5
NP1 – Digital 1
MB0 – RST
VIN – +5V
GND – GND

DL2103Mk01p.ino

// ***** Don Luc Electronics © *****
// Software Version Information
// #17 - Meditation - Glasses LED Meditation - Music - Mk05
// 03-01
// DL2103Mk01p.ino 17-05
// DL2103Mk01
// 1 x Arduino Uno - R3
// 1 x ProtoScrewShield
// 1 x Music Shield V1.1
// 2 x Breadboard-friendly RGB Smart NeoPixel
// 1 x microSD Card - 2GB
// 1 x Panel Mount 1K potentiometer
// 11 x Knob
// 1 x SparkFun Rotary Switch - 10 Position
// 1 x SparkFun Rotary Switch Breakout
// 1 x Breadboard Solderable
// 11 x 1K Ohm
// 1 x Hamburger Mini Speaker
// 20 x Wire Solid Core - 22 AWG
// 1 x Half-Size Breadboard
// 1 x SparkFun Cerberus USB Cable

// Include the Library Code
// NeoPixel
#include <Adafruit_NeoPixel.h>
// Fat 16
#include <Fat16.h>
#include <Fat16Util.h>
// New SPI
#include <NewSPI.h>
// Arduino
#include <arduino.h>
// Music Player
#include "pins_config.h"
#include "vs10xx.h"
#include "newSDLib.h"
#include "MusicPlayer.h"

// NeoPixels
#define PIN 1
// 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
// Brighten
int BrightenValue = 0;
// Color
const int iSensorColor = A5;
int y = 0;
int ColorVal = 0;

// Rotary Switch - 10 Position
// Number 1 => 10
int iRotNum = A4;
// iRotVal - Value 
int iRotVal = 0;
// Number
int z = 0;
int x = 0;

// Music Player
MusicPlayer myplayer;

// Software Version Information
String sver = "17-05";

void loop() {

  // Rotary Switch
  isRot();

}

getNeopix.ino

// Neopix
void isNeopix() {
  
  for(int i=0; i<NUMPIXELS; i++){

    // Neopix
    // BrightenValue = 40
    BrightenValue = 40;
    pixels.setBrightness( BrightenValue );

    // The pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
    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
  ColorVal = analogRead( iSensorColor );
  y = (ColorVal / 127);
  
  switch ( y ) {
    case  0:
      // Blue
      red = 0;
      green = 102;
      blue = 204;        
      isNeopix();
      break;
    case 1:
      // Yellow
      red = 255;
      green = 255;
      blue = 0;        
      isNeopix();
      break;
    case 2:
      // Pink
      red = 255;
      green = 153;
      blue = 203;        
      isNeopix();
      break;
    case 3:
      // White
      red = 255;
      green = 255;
      blue = 255;        
      isNeopix();
      break;  
    case 4:
      // Green
      red = 0;
      green = 255;
      blue = 0;        
      isNeopix();
      break;
    case 5:
      // Orange
      red = 255;
      green = 102;
      blue = 0;        
      isNeopix();
      break;
    case 6:
      // Violet
      red = 204;
      green = 102;
      blue = 204;        
      isNeopix();
      break;     
    case 7:
      // Red
      red = 255;
      green = 0;
      blue = 0;        
      isNeopix();
      break; 
  }
  
}

getRot.ino

// Rotary Switch
// isRot - iRotVal - Value
void isRot() {

  // Rotary Switch
  z = analogRead( iRotNum );
  x = map(z, 0, 4095, 0, 9);
  iRotVal = map(z, 0, 1023, 0, 10);

  // Range Value
  switch ( iRotVal ) {
    case 0:

      // Range Color
      isRangeColor();
      
      break;
    case 1:

      // Music
      // Add To Playlist
      // 3:18
      myplayer.addToPlaylist("DLEMk001.mp3");
      // 2:47
      myplayer.addToPlaylist("DLEMk002.mp3");
      // 4.34
      myplayer.addToPlaylist("DLEMk003.mp3");
      // There are two songs in the playlist
      // 10:37
      myplayer.playList();
      while(1);
      
      break;
    case 2:

      // Music
      // Add To Playlist
      // 22:53
      myplayer.addToPlaylist("DLEMk004.mp3");
      // There are two songs in the playlist
      // 22:53
      myplayer.playList();
      while(1);
      
      break;  
    case 3:

      // Music
      // Add To Playlist
      // 4:18
      myplayer.addToPlaylist("DLEMk005.mp3");
      // 4:20
      myplayer.addToPlaylist("DLEMk006.mp3");
      // There are two songs in the playlist
      // 8:38
      myplayer.playList();
      while(1);
      
      break;
    case 4:

      // Music
      // Add To Playlist
      // 9:14
      myplayer.addToPlaylist("DLEMk007.mp3");
      // 7:52
      myplayer.addToPlaylist("DLEMk008.mp3");
      // There are two songs in the playlist
      // 17:07
      myplayer.playList();
      while(1);
      
      break;
    case 5:

      // Music
      // Add To Playlist
      // 4:37
      myplayer.addToPlaylist("DLEMk009.mp3");
      // There are two songs in the playlist
      // 4:37
      myplayer.playList();
      while(1);
      
      break;       
    case 6:

      // Music
      // Add To Playlist
      // 8:40
      myplayer.addToPlaylist("DLEMk010.mp3");
      // 8:40
      myplayer.playList();
      while(1); 
      
      break; 
    case 7:
         
      // Music
      // Add To Playlist
      // 1:31
      myplayer.addToPlaylist("DLEMk011.mp3");
      // 3:29
      myplayer.addToPlaylist("DLEMk012.mp3");
      // There are two songs in the playlist
      // 5:00
      myplayer.playList();
      while(1);
      
      break; 
    case 8:

      // Music
      // Add To Playlist
      // 6:14
      myplayer.addToPlaylist("DLEMk013.mp3");
      // 5:17
      myplayer.addToPlaylist("DLEMk014.mp3");
      // There are two songs in the playlist
      // 11:31
      myplayer.playList();
      while(1); 
      
      break;
    case 9:

      // Music
      // Add To Playlist
      // 6:30
      myplayer.addToPlaylist("DLEMk015.mp3");
      // 3:00
      myplayer.addToPlaylist("DLEMk016.mp3");
      // There are two songs in the playlist
      // 9:30
      myplayer.playList();
      while(1); 
      
      break;
  }

}

setup.ino

// Setup
void setup() {
  
   // This initializes the NeoPixel library
   pixels.begin();
   delay(50);

   // Range Color
   isRangeColor();

   // Music Player
   // Will initialize the hardware and set default mode to be normal
   myplayer.begin();

}

Music 01 – 10m 37s

DLEMk001.mp3
DLEMk002.mp3
DLEMk003.mp3

Music 02 – 22m 53s

DLEMk004.mp3

Music 03 – 8m 38s

DLEMk005.mp3
DLEMk006.mp3

Music 04 – 17m 07s

DLEMk007.mp3
DLEMk008.mp3

Music 05 – 4m 37s

DLEMk009.mp3

Music 06 – 8m 40s

DLEMk010.mp3

Music 07 – 5m 00s

DLEMk011.mp3
DLEMk012.mp3

Music 08 – 11m 31s

DLEMk013.mp3
DLEMk014.mp3

Music 09 – 9m 30s

DLEMk015.mp3
DLEMk016.mp3

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
Web: https://zoom.us/
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

#17 – Meditation – Glasses LED Meditation – Music Shield – Mk04

——

#donluc #meditation #glassesledmeditation #musicshield #neopixels #arduino #sparkfun #project #programming #electronics #microcontrollers #consultant #zoom #patreon #videoblog

——

Music Shield

——

Music Shield

——

Music Shield

——

Music Shield V1.1

The Music Shield is a professional audio codec.It can work with Arduino and Arduino Mega. It is based on VS1053b IC, and can play a variety of music formats stored on MicroSD cards with the provided Arduino Library.

Features

  • Arduino and Arduino Mega compatible
  • 2 control-push buttons and 1 knob switch
  • Plays music from micro SD cards
  • Decodes: MP3, WAV, MIDI, Ogg Vorbis
  • Fat16 library
  • I2S interface for external DAC
  • Headphone/Line Out for playback
  • Excellent sound quality with ±1dB frequency response

DL2102Mk07

1 x Arduino Uno – R3
1 x ProtoScrewShield
1 x Music Shield V1.1
2 x Breadboard-friendly RGB Smart NeoPixel
1 x microSD Card – 2GB
1 x Panel Mount 1K potentiometer
1 x Knob
1 x Momentary Button – Panel Mount (Black)
1 x 1K Ohm
1 x Hamburger Mini Speaker
15 x Wire Solid Core – 22 AWG
1 x Half-Size Breadboard
1 x SparkFun Cerberus USB Cable

Arduino Uno – R3

SW0 – Analog A4
PO0 – Analog A5
NP1 – Digital 1
MB0 – RST
VIN – +5V
GND – GND

DL2102Mk07p.ino

// ***** Don Luc Electronics © *****
// Software Version Information
// #17 - Meditation - Glasses LED Meditation - Music Shield - Mk04
// 02-07
// DL2102Mk07p.ino 17-04
// DL2102Mk07
// 1 x Arduino Uno - R3
// 1 x ProtoScrewShield
// 1 x Music Shield V1.1
// 2 x Breadboard-friendly RGB Smart NeoPixel
// 1 x microSD Card - 2GB
// 1 x Panel Mount 1K potentiometer
// 1 x Knob
// 1 x Momentary Button - Panel Mount (Black)
// 1 x 1K Ohm
// 1 x Hamburger Mini Speaker
// 15 x Wire Solid Core - 22 AWG
// 1 x Half-Size Breadboard
// 1 x SparkFun Cerberus USB Cable

// Include the Library Code
// NeoPixel
#include <Adafruit_NeoPixel.h>
// Fat 16
#include <Fat16.h>
#include <Fat16Util.h>
// New SPI
#include <NewSPI.h>
// Arduino
#include <arduino.h>
// Music Player
#include "pins_config.h"
#include "vs10xx.h"
#include "newSDLib.h"
#include "MusicPlayer.h"

// NeoPixels
#define PIN 1
// 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
// Brighten
int BrightenValue = 0;
// Color
const int iSensorColor = A5;
int y = 0;
int ColorVal = 0;

// Mountable Slide Switch
int iSS1 = A4;
// State
int iSS1State = 0;

// Music Player
MusicPlayer myplayer;

// Software Version Information
String sver = "17-04";

void loop() {

  // Slide Switch
  // Read the state of the iSS1 value
  iSS1State = digitalRead(iSS1);

  // If it is the Slide Switch State is HIGH
  if (iSS1State == HIGH) {

    // Range Color
    isRangeColor();

  } else {

    // Add To Playlist
    myplayer.addToPlaylist("F001.mp3");
    myplayer.addToPlaylist("F002.mp3");
    myplayer.addToPlaylist("F003.mp3");
    myplayer.addToPlaylist("F004.mp3");
    myplayer.addToPlaylist("F005.mp3");
    // There are two songs in the playlist
    myplayer.playList();
    while(1);
    
  }

}

getNeopix.ino

// Neopix
void isNeopix() {
  
  for(int i=0; i<NUMPIXELS; i++){

    // Neopix
    // BrightenValue = 40
    BrightenValue = 40;
    pixels.setBrightness( BrightenValue );

    // The pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
    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
  ColorVal = analogRead( iSensorColor );
  y = (ColorVal / 127);
  
  switch ( y ) {
    case  0:
      // Blue
      red = 0;
      green = 102;
      blue = 204;        
      isNeopix();
      break;
    case 1:
      // Yellow
      red = 255;
      green = 255;
      blue = 0;        
      isNeopix();
      break;
    case 2:
      // Pink
      red = 255;
      green = 153;
      blue = 203;        
      isNeopix();
      break;
    case 3:
      // White
      red = 255;
      green = 255;
      blue = 255;        
      isNeopix();
      break;  
    case 4:
      // Green
      red = 0;
      green = 255;
      blue = 0;        
      isNeopix();
      break;
    case 5:
      // Orange
      red = 255;
      green = 102;
      blue = 0;        
      isNeopix();
      break;
    case 6:
      // Violet
      red = 204;
      green = 102;
      blue = 204;        
      isNeopix();
      break;     
    case 7:
      // Red
      red = 255;
      green = 0;
      blue = 0;        
      isNeopix();
      break; 
  }
  
}

setup.ino

// Setup
void setup() {
  
   // This initializes the NeoPixel library
   pixels.begin();
   delay(50);

   // Slide Switch
   pinMode(iSS1, INPUT);

   // Music Player
   // Will initialize the hardware and set default mode to be normal
   myplayer.begin();

}

Music

F001.mp3
F002.mp3
F003.mp3
F004.mp3
F005.mp3

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
Web: https://zoom.us/
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

#17 – Meditation – Glasses LED Meditation – SparkFun Qwiic MP3 Trigger – Mk03

——

SparkFun Qwiic MP3 Trigger

——

SparkFun Qwiic MP3 Trigger

——

SparkFun Qwiic MP3 Trigger

——

#donluc #meditation #glassesmeditation #glassesledmeditation #neopixels #audioplayer #microsd #arduino #sparkfun #project #programming #electronics #microcontrollers #consultant #patreon #videoblog

TMRpcm

PCM(Pulse Width Modulation)/WAV playback direct from SD card
Samples Per second(Hz): 16000
Main formats: WAV files, 8-bit, 8-32khz Sample Rate, mono.

Voice: Yes
Music: No / Yes

Qwiic MP3 Trigger

The Qwiic MP3 Trigger is designed to operate at 3.3V and must not be powered above 3.6V as this is the maximum operating voltage of microSD cards. Otherwise, the board can also be powered through the Qwiic connector.

MP3 and ATtiny84

At the heart of the Qwiic MP3 Trigger is the WT2003S MP3 decoder IC. This IC reads MP3s from the microSD card and will automatically mount the SD card as a jump drive if USB is detected. The ATtiny84A receives I2C commands and controls the MP3 decoder.

Audio Amplifier

The speaker is boosted by a Class-D mono amplifier capable of outputting up to 1.4W. Both outputs have volume controlled by the SET_VOLUME command and is selectable between 32 levels.

Audio Outputs

This is a friction fit type connector; simply push stranded core wire into the hole and the connector will grip the wire, speaker as Dayton audio reference 3″ full-range drive.

Voice: Yes
Music: Yes

DL2102Mk06

1 x SparkFun RedBoard Qwiic
2 x Breadboard-friendly RGB Smart NeoPixel
1 x SparkFun Qwiic MP3 Trigger
1 x microSD Card – 2GB
2 x Panel Mount 1K potentiometer
2 x Knob
1 x Qwiic Cable – 100mm
1 x Dayton Audio Reference 3″ Full-Range Drive
2 x Wire Stranded Core – 18 AWG
17 x Wire Solid Core – 22 AWG
1 x Half-Size Breadboard
1 x SparkFun Cerberus USB Cable

SparkFun RedBoard Qwiic

PO0 – Analog A0
PO1 – Analog A1
NP1 – Digital 6
I2C – 0x37
VIN – +5V
GND – GND

DL2102Mk06p.ino

// ***** Don Luc Electronics © *****
// Software Version Information
// #17 - Meditation - Glasses LED Meditation - SparkFun Qwiic MP3 Trigger - Mk03
// 02-06
// DL2102Mk06p.ino 17-03
// 1 x Arduino Pro Mini 328 - 5V/16MHz
// 2 x Breadboard-friendly RGB Smart NeoPixel
// 1 x SparkFun Qwiic MP3 Trigger
// 1 x microSD Card - 2GB
// 2 x Panel Mount 1K potentiometer
// 2 x Knob
// 1 x Qwiic Cable - 100mm
// 1 x Dayton Audio Reference 3" Full-Range Drive
// 2 x Wire Stranded Core - 16 AWG
// 17 x Wire Solid Core - 22 AWG
// 1 x Half-Size Breadboard
// 1 x SparkFun Cerberus USB Cable

// Include the Library Code
// NeoPixel
#include <Adafruit_NeoPixel.h>
// Wire communicate with I2C / TWI devices
#include <Wire.h>
// SparkFun MP3 Trigger
#include "SparkFun_Qwiic_MP3_Trigger_Arduino_Library.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
// Brighten
const int iSensorBrighten = A0;
// Max - Min
int BrightenValue = 0;
// Minimum sensor value
int BrightenMin = 0;
// Maximum sensor value
int BrightenMax = 1023;
// Color
const int iSensorColor = A1;
int y = 0;
int ColorVal = 0;

// SparkFun MP3 Trigger
MP3TRIGGER mp3;

// Software Version Information
String sver = "17-03";

void loop() {

  // Range Color
  isRangeColor();

  if (mp3.isPlaying() == false) {

    // Play Track dleMk002.mp3
    mp3.playTrack(1);
    
  }

}

getMP3.ino

// MP3
// Setup MP3
void isSetupMP3(){

  // Check to see if Qwiic MP3 is present on the bus
  if (mp3.begin() == false)
  {
    // Qwiic MP3 failed to respond. Please check wiring and possibly the I2C address. Freezing...
    while (1);
  }

  if (mp3.hasCard() == false)
  {
    // Qwiic MP3 is missing its SD card. Freezing...
    while (1);
  }

  // Volume can be 0 (off) to 31 (max)
  mp3.setVolume(28);

  // Play Track dleMk002.mp3
  mp3.playTrack(1);
  
}

getNeopix.ino

// Neopix
void isNeopix() {
  
  for(int i=0; i<NUMPIXELS; i++){

    // Neopix
    // Read the Brightneed
    BrightenValue = analogRead( iSensorBrighten );

    // Apply the calibration to the BrightneedValue reading
    BrightenValue = map(BrightenValue, BrightenMin, BrightenMax, 0, 255);

    // In case the sensor value is outside the range seen during calibration
    BrightenValue = constrain(BrightenValue, 0, 255); 
    
    // The pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
    pixels.setBrightness( BrightenValue );
    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
  ColorVal = analogRead( iSensorColor );
  y = (ColorVal / 127);
  
  switch (y) {
    case  0:
      // Blue
      red = 0;
      green = 102;
      blue = 204;        
      isNeopix();
      break;
    case 1:
      // Yellow
      red = 255;
      green = 255;
      blue = 0;        
      isNeopix();
      break;
    case 2:
      // Pink
      red = 255;
      green = 153;
      blue = 203;        
      isNeopix();
      break;
    case 3:
      // White
      red = 255;
      green = 255;
      blue = 255;        
      isNeopix();
      break;  
    case 4:
      // Green
      red = 0;
      green = 255;
      blue = 0;        
      isNeopix();
      break;
    case 5:
      // Orange
      red = 255;
      green = 102;
      blue = 0;        
      isNeopix();
      break;
    case 6:
      // Violet
      red = 204;
      green = 102;
      blue = 204;        
      isNeopix();
      break;     
    case 7:
      // Red
      red = 255;
      green = 0;
      blue = 0;        
      isNeopix();
      break; 
  }
  
}

setup.ino

// Setup
void setup() {
  
   // This initializes the NeoPixel library
   pixels.begin();

   // Serial
   // Serial.begin(9600);

   // Wire communicate with I2C / TWI devices
   Wire.begin();

   // SparkFun MP3 Trigger Setup
   isSetupMP3();

}

Music

dleMk002.mp3

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

#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

——

Meditation Music

——

Meditation Music

——

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

#17 – Meditation – Glasses LED Meditation – Mk01

——

#donluc #glasses #glassesmeditation #glassesled #glassesledmeditation #neopixels #meditation #arduino #sparkfun #project #programming #software #electronics #microcontrollers #consultant #patreon #vlog #videoblog

——

Glasses LED Meditation

——

Glasses LED Meditation

——

Glasses LED Meditation

——

Glasses LED Meditation

——

Me, Luc suffered on 2013 a massive stroke that let me with an aphasia condition. In 2014 I could speak words and make myself understand by using the computer, and the good thing is that I did not lose my abilities. In 2015 Norma, my wife, was doing meditation and praying and an invocation or act that seeks to activate a rapport with an object of worship through deliberate communication. In the narrow sense, the term refers to an act of supplication or intercession directed towards a deity or a deified ancestor. More generally, prayer can also have the purpose of thanksgiving or praise, and in comparative religion is closely associated with more abstract forms of meditation and with charms or spells.

In this view, the ultimate goal of prayer is to help train a person to focus on divinity through philosophy and intellectual contemplation (meditation). This approach was taken by the other medieval rationalists. Meditation engages thought, imagination, emotion, and desire. This mobilization of faculties is necessary in order to deepen our convictions of faith, prompt the conversion of our heart, and strengthen our will to follow. Some modalities of alternative medicine employ prayer.

Glasses LED Meditation

First Luc researched the scientific principles behind available biofeedback technologies, the ways to design and build the actual sensors Meditation Glasses LED. Arduino Pro Mini, RGB Smart NeoPixel, potentiometer, slide switch, USB LiPoly charger, lithium ion battery, wire, Etc… To find the solution yielding the best results, constructed proof-of-concept prototypes.

DL2102Mk02

1 x Arduino Pro Mini 328 – 5V/16MHz
2 x Breadboard-friendly RGB Smart NeoPixel
3 x Panel Mount 1K potentiometer
3 x Knob
1 x Mountable Slide Switch
1 x USB LiPoly Charger – Single Cell
1 x Lithium Ion Battery – 400mAh
Wire Solid Core – 22 AWG
1 x SparkFun FTDI Basic Breakout – 5V
1 x SparkFun Cerberus USB Cable

Arduino Pro Mini 328

PO0 – Analog A0
PO1 – Analog A1
PO2 – Analog A2
NP1 – Digital 6
VIN – +5V
GND – GND

DL2102Mk02p.ino

// ***** Don Luc Electronics © *****
// Software Version Information
// #17 - Meditation - Glasses LED - Mk01
// 02-02
// DL2102Mk02p.ino 17-01
// 1 x Arduino Pro Mini 328 - 5V/16MHz
// 2 x Breadboard-friendly RGB Smart NeoPixel
// 3 x Panel Mount 1K potentiometer
// 3 x Knob
// 1 x Mountable Slide Switch
// 1 x USB LiPoly Charger - Single Cell
// 1 x Lithium Ion Battery - 400mAh
// Wire Solid Core - 22 AWG
// 1 x SparkFun FTDI Basic Breakout - 5V
// 1 x SparkFun Cerberus USB Cable

// Include the Library Code
// NeoPixel
#include <Adafruit_NeoPixel.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);

// Panel Mount 1K potentiometer
// Brightneed
const int sensorPin = A0;
// Delay
const int sensorDelay = A1;
// Number
const int sensorNumber = A2;

// Variables
int sensorValue = 0;         // the sensor value
int sensorMin = 1023;        // minimum sensor value
int sensorMax = 0;           // maximum sensor value
int red = 0;
int green = 0;
int blue = 0;
int x = 0;
long delayVal = 0;
long xp = 0;
int y = 0;
int z = 0;

// Software Version Information
String sver = "17-01";

void loop() {
 
  z = analogRead(sensorNumber);
  y = (z / 127);
  
  // range value:
  switch (y) {
    case  0:
      // Blue
      red = 0;
      green = 102;
      blue = 204;        
      neopix();
      break;
    case 1:
      // Yellow
      red = 255;
      green = 255;
      blue = 0;        
      neopix();
      break;
    case 2:
      // Pink
      red = 255;
      green = 153;
      blue = 203;        
      neopix();
      break;
    case 3:
      // White
      red = 255;
      green = 255;
      blue = 255;        
      neopix();
      break;  
    case 4:
      // Green
      red = 0;
      green = 255;
      blue = 0;        
      neopix();
      break;
    case 5:
      // Orange
      red = 255;
      green = 102;
      blue = 0;        
      neopix();
      break;
    case 6:
      // Violet
      red = 204;
      green = 102;
      blue = 204;        
      neopix();
      break;     
    case 7:
        xp = analogRead(sensorDelay);
        delayVal = (1000 * xp);
        // range value:
        switch (x) {
          case 0:
            // Blue
            red = 0;
            green = 102;
            blue = 204;        
            neopix();
            delay(delayVal); // Delay for a period of time (in milliseconds).
            x = 1;
            break;
          case 1:
            // Yellow
            red = 255;
            green = 255;
            blue = 0;        
            neopix();
            delay(delayVal); // Delay for a period of time (in milliseconds).
            x = 2;
            break;
          case 2:
            // Pink
            red = 255;
            green = 153;
            blue = 203;        
            neopix();
            delay(delayVal); // Delay for a period of time (in milliseconds).
            x = 3;
            break;
          case 3:
            // White
            red = 255;
            green = 255;
            blue = 255;        
            neopix();
            delay(delayVal); // Delay for a period of time (in milliseconds).
            x = 4;
            break;  
          case 4:
            // Green
            red = 0;
            green = 255;
            blue = 0;        
            neopix();
            delay(delayVal); // Delay for a period of time (in milliseconds).
            x = 5;
            break;
          case 5:
            // Orange
            red = 255;
            green = 102;
            blue = 0;        
            neopix();
            delay(delayVal); // Delay for a period of time (in milliseconds).
            x = 6;
            break;
          case 6:
            // Violet
            red = 204;
            green = 102;
            blue = 204;        
            neopix();
            delay(delayVal); // Delay for a period of time (in milliseconds).
            x = 0;
            break;      
          }
          break; 
  }

}

getNeopix.ino

// Neopix
void neopix() {
  
  for(int i=0; i<NUMPIXELS; i++){
 
     // read the sensor:
    sensorValue = analogRead(sensorPin);

    // apply the calibration to the sensor reading
    sensorValue = map(sensorValue, sensorMin, sensorMax, 0, 255);

    // in case the sensor value is outside the range seen during calibration
    sensorValue = constrain(sensorValue, 0, 255); 
    
    // pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
    pixels.setBrightness( sensorValue );
    pixels.setPixelColor(i, pixels.Color(red,green,blue)); 
    // This sends the updated pixel color to the hardware.
    pixels.show(); 
    // Delay for a period of time (in milliseconds).
    delay(50); 
    
  }
  
}

setup.ino

// Setup
void setup() {
  
    // This initializes the NeoPixel library
    pixels.begin();
    
}

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

Don Luc Electronics – Patreon

——

#donluc #patreon #project #programming #software #electronics #microcontrollers #consultant #vlog

——

Patreon

——

Don Luc Electronics – Patreon

The Alpha Geek – Geeking Out

Luc

Luc graduated from McGill University, Montréal, Québec with B.Sc. (Biology, Electronic), and a D.D.S. (Doctor of Dental Surgery). He worked in a private dental practice from 1983 to 1992, and started offering IT consulting services in 1983. He is a long time technology enthusiast and founder JLP Consultants, to service large corporate clients such as KPMG Peat Marwick, Fannie Mae (Federal National Mortgage Association), Chase Manhattan Bank foreign trade division (Hong Kong), and Warner Lambert. Over the past 38 years Luc has been working as an independent consultant in technology. He is an expert developer of software for desktop, web and mobile applications as well as a gifted integrator and designer of electronic and robotic hardware of all kind.

Aphasia

September 25th of 2013, Luc suffered a massive stroke that let him with an aphasia condition. Due to loss of blood flow or damaged tissue, sustained during the injury aphasia may become permanent. In a way it was good to be here because I received the best medical attention I could ever have. I had a long way to recover but I managed to improve a lot. I just have an aphasia condition that does not allow me to speak, I can speak words and make myself understand by using the computer, and the good thing is that I did not lose my abilities.

Project

I worked in project in electronics (Sensors, EMF Meters, Environmental (TVOC, eCO2, Temp, Humidity, Pressure and Altitude), Real Time Clock, microSD Card, GPS Receiver, MQ Gas Sensors, Antenna and PIR Motion Sensor, EVP, Ultrasonic Distance Sensor, Human Presence Sensor, Electret Microphone, Sound Detector, 9DOF, Audio Amplifier, Speaker, Geiger Radiation Sensor, Robotics (Unmanned Vehicles), Etc…) at young adult and middle age.

Patreon

Patreon is an American membership platform that provides business tools for content creators to run a subscription service. It helps creators and artists earn a monthly income by providing rewards and perks to their subscribers. Patreon charges a commission of 5 to 12 percent of creators’ monthly income, in addition to payment processing fees.

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

Open ltr 2 all of u out there

——

#donluc #writing #electronics #microcontrollers #consultant #vlog

——

Writing

——

Today while I was doing some cleanup around the office I came across some letters and messages from people who had contacted me over the past few years either to ask for work or to ask to distribute some of my software products. I had kept them aside as a reminder on how not to do business. It is a pet peeve of mind that when you communicate on business purposes to do it properly and to write well and to try to do your best to use proper grammar and spelling.

I might be showing my age, but it does gets me very mad when I receive some business message that is either very badly written or written as it you are sending a SMS message, email or comments like the title of this post. There are no reason for either ones, especially the first one as nowadays spelling and grammar correctors are ubiquitous on all computer platforms. If somebody wants to find a job or wants to do business with someone it looks very bad on you when you send messages like that as the first impression you make to your prospective client, employer, or partner is one that you cannot even bother to put your thoughts down and write them properly.

Professionally I write thousands of words daily on various subjects and for various purposes, all of it with minimal editing and proofreading, so I am the first person guilty of grammatical and spelling mistakes, but when you come across as if you have no idea of what you are talking about due to poor writing skills or worse you consider business communication no more important than a quick SMS and Viber to your best buddies you will have problems going forward with any goals you might have in mind. This is not just for the younger generations out there, a lot of people of my generation suffer from the same problems.

I deal with people from all over the world daily and I do understand that if English is not your primary language, you might have some problems in communicating perfectly. I know from experience as English is not my mother tongue, French is. I have also spoken English since early childhood, and essentially have studied and worked in English since my late teens so English is my primary language these days, even though that at home now for the past 2-3 years we have switched from using English to using Spanish. I find the same problem with French and Spanish speaking people, that the quality of the written communication has dropped down dramatically over the past 20 years, when it should have increase a lot with all the spelling and grammar correction facilities we now have. It seems that people just don’t care anymore.

Wake up people, you have the tools to communicate in a better and more effective way. If you are too lazy to even take the few second to communicate effectively life will pass you by as where it counts people will think that you are too lazy to work effectively. Also take pride in you language as if you do not use it properly who will? For those like me who communicate mostly in languages that are own, take pride in learning it properly so that you can communicate and work effectively.

Take this advise seriously as we human can make something with our lives and progress with effective communications and those who do not even make the effort to do so will be left behind. It is not just an old consultant like me who says it, it is the entire business world. When faced to choose between two candidates, which one do you think a decision maker will select, the one that sounds like a professional or the one that sounds like some street gang member?

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
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

Meditation

——

#donluc #meditation #electronics #microcontrollers #consultant #vlog

——

Meditation

——

Luc

Luc graduated from McGill University, Montréal, Québec with B.Sc. (Biology, Electronic), and a D.D.S. (Doctor of Dental Surgery). He worked in a private dental practice from 1983 to 1992, and started offering IT consulting services in 1983. He is a long time technology enthusiast and founder JLP Consultants, to service large corporate clients such as KPMG Peat Marwick, Fannie Mae (Federal National Mortgage Association), Chase Manhattan Bank foreign trade division (Hong Kong), and Warner Lambert. Over the past 38 years Luc has been working as an independent consultant in technology. He is an expert developer of software for desktop, web and mobile applications as well as a gifted integrator and designer of electronic and robotic hardware of all kind.

Temporomandibular Joint Dysfunction

Luc is continuing education numerous certifications temporomandibular joint dysfunction (TMJD). TMJD is an umbrella term covering pain and dysfunction of the muscles of mastication and the temporomandibular joints. The most important feature is pain, followed by restricted mandibular movement, and noises from the temporomandibular joints during jaw movement. Although TMJD is not life-threatening, it can be detrimental to quality of life; this is because the symptoms can become chronic and difficult to manage. Examples include: headache, facial pain, migraine, tension headache, myofascial pain, pain elsewhere, such as the teeth or neck, diminished auditory acuity, etc…

Physiotherapy for TMJD may include the use of transcutaneous electrical nerve stimulation (TENS), which may override pain by stimulation of superficial nerve fibers and lead to pain reduction which extends after the time where the TENS is being actually being applied, possibly due to release of endorphins. Others recommend the use of ultrasound, theorized to produce tissue heating, alter blood flow and metabolic activity at a level that is deeper than possible with surface heat applications. There is tentative evidence that low level laser therapy may help with pain.

Relaxation techniques include progressive muscle relaxation and meditation. It has been suggested that TMJD involves increased sensitivity to external stimuli leading to an increased sympathetic response with cardiovascular and respiratory alterations. Relaxation techniques cause reduced sympathetic activity, including muscle relaxation and reducing sensitivity to external stimuli, and provoke a general sense of well being and reduced anxiety.

Aphasia

September 25th of 2013, Luc suffered a massive stroke that let him with an aphasia condition. Due to loss of blood flow or damaged tissue, sustained during the injury aphasia may become permanent. In a way it was good to be here because I received the best medical attention I could ever have. I had a long way to recover but I managed to improve a lot. I just have an aphasia condition that does not allow me to speak, I can speak words and make myself understand by using the computer, and the good thing is that I did not lose my abilities.

Meditation

Meditation is a practice where an individual uses a technique or focusing the mind on a particular object, thought, activity, song, or video to train attention and awareness, and achieve a mentally clear and emotionally calm and stable state. Luc has been in touch since that time and for the past years has been discussing a method of helping people that 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.

First, for the practice to be successful, one should dedicate the practice, and set out the goal of the meditation session. One may decide to either practice mindfulness of breathing while seated or standing or lying down or walking, or to alternate seated, standing, lying down and walking meditation. Then one may concentrate on the breath going through one’s nose: the pressure in the nostrils on each inhalation, and the feeling of the breath moving along the upper lip on each exhalation.

Scientifically Demonstrated Benefits

Meditators experienced in focused attention meditation showed a decrease in habitual responding recommends practice of 20 minutes twice per day, may illustrate a lessening of emotionally reactive and automatic responding behavior. It has been scientifically demonstrated that mindfulness of breathing enhances connectivity in the brain. The practice of focusing one’s attention changes the brain in ways to improve that ability over time; the brain grows in response to meditation. That practice of mindfulness meditation for two to six months by people undergoing long-term psychiatric or medical therapy could produce small improvements in anxiety, pain, or depression. A scientific statement that meditation may be a reasonable adjunct practice to help reduce the risk of cardiovascular diseases, with the qualification that meditation needs to be better defined in higher-quality clinical research of these disorders.

Deep Meditation System

First Luc researched the scientific principles behind available biofeedback technologies, the ways to design and build the actual sensors and then the vast array of commercially available medical sensor that were waiting to be integrated in a comprehensive solution. Hardware and software solution that uses various biosensors (EEG, ECG, EKG, TENS, EMS, pulse, skin resistance, skin temperature, dissolved blood oxygen, etc.) to facilitate deep meditation in patients. We did the preliminary research, tested various types of sensors to find the solution yielding the best results, constructed proof-of-concept prototypes, and planned production prototypes. 2005 – Meditation EEG, and 2015 – Meditation Glasses LED.

That product will have multiple versions that can be sold to consumers and health professionals alike. This control meditation may significantly reduce stress, anxiety, depression, COVID-19, HIV, TMJD, aphasia, ADHD, cancer, pain, etc… Enhance peace, perception, self-concept, and well-being.

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
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

Project #16: Sound – Microphone SparkFun Sound Detector – Mk15

——

#donluc #microphone #sound #arduino #fritzing #sparkfun #project #programming #software #electronics #microcontrollers #consultant #vlog

——

SparkFun Sound Detector

——

SparkFun Sound Detector

——

SparkFun Sound Detector

——

SparkFun Sound Detector

——

Microphone

A microphone is a device a transducer that converts sound into an electrical signal. Microphones are used in many applications. They are also used in computers for recording voice, speech recognition, VoIP, and for non-acoustic purposes such as ultrasonic sensors or knock sensors.

Electret microphone is a type of electrostatic capacitor-based microphone, which eliminates the need for a polarizing power supply by using a permanently charged material. Unlike other condenser microphones, electret types require no polarizing voltage, but they normally contain an integrated preamplifier, which does require a small amount of power.

SparkFun Sound Detector

SparkFun Item: SEN-12642

The SparkFun Sound Detector is a small and very easy to use audio sensing board with three different outputs. The Sound Detector not only provides an audio output, but also a binary indication of the presence of sound, and an analog representation of its amplitude. The 3 outputs are simultaneous and independent, so you can use as many or as few as you want at once.

The envelope output allows you to easily read amplitude of sound by simply measuring the analog voltage. Gain can be adjusted with a through-hole resistor, to change the threshold of the binary output pin as well.

DL2101Mk03

1 x SparkFun RedBoard Qwiic
1 x SparkFun Sound Detector
3 x Jumper Wires 6in M/M
1 x Half-Size Breadboard
1 x SparkFun Cerberus USB Cable

SparkFun RedBoard Qwiic

MIC – Analog A0
VIN – +5V
GND – GND

DL2101Mk03p.ino

// ***** Don Luc Electronics © *****
// Software Version Information
// Project #16: Sound - SparkFun Sound Detector - Mk15
// 01-03
// DL2101Mk03p.ino 16-15
// DL2101Mk03
// 1 x SparkFun RedBoard Qwiic
// 1 x SparkFun Sound Detector
// 3 x Jumper Wires 6in M/M
// 1 x Half-Size Breadboard
// 1 x SparkFun Cerberus USB Cable

// Include the Library Code

// Microphone
unsigned int iMic = A0;
// Sample window width in mS
const int sampleWindow = 250;
// Volume
unsigned int iVol;
// Peak-to-peak level
unsigned int peakToPeak = 0;
// Max - Min
unsigned int signalMax = 0;
unsigned int signalMin = 1024;
// Convert to volts
double volts = 0;

// Software Version Information
String sver = "16-15";

void loop() {

  // Microphone
  isMic();

}

getMic.ino

// getMic
// is Microphone
void isMic() {

  // Start of sample window
  unsigned long start = millis();
  
  // Peak-to-peak level
  peakToPeak = 0;

  // Max - Min
  signalMax = 0;
  signalMin = 1024;

  // Collect data for 250 miliseconds
  while ( millis() - start < sampleWindow )
  {
    
    iVol = analogRead( iMic );
    
    // This is the max of the 10-bit ADC so this loop will include all readings
    if (iVol < 1024)  
      {
         if (iVol > signalMax)
         {
           
           // Save just the max levels
           signalMax = iVol;
           
         }
      else if (iVol < signalMin)
        {
          
          // Save just the min levels
          signalMin = iVol;
          
         }
     }
  }

  // Max - Min = peak-peak amplitude
  peakToPeak = signalMax - signalMin;
  
  // Convert to volts
  volts = ( peakToPeak * 3.3 ) / 1024;

  // Serial
  Serial.println( volts );

}

setup.ino

// Setup
void setup() {

  // Setup Serial
  Serial.begin (9600);

}

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
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

Project #16: Sound – SparkFun Qwiic MP3 Trigger – Mk14

——

#donluc #project #electronics #microcontrollers #sound #mp3 #sparkfun #consultant #vlog

——

SparkFun Qwiic MP3 Trigger

——

SparkFun Qwiic MP3 Trigger

——

SparkFun Qwiic MP3 Trigger

Sometimes you just need an MP3 to play. Whether it’s a theme song as you enter the room or a power song when you are working out. The SparkFun Qwiic MP3 Trigger takes care of all the necessary requirements, all you need to do is send a simple I2C command and listen to whatever is on your micro SD card. Utilizing our handy Qwiic system, no soldering is required to connect it to the rest of your system. However, we still have broken out 0.1″-spaced pins in case you prefer to use a breadboard.

When a USB-C cable is connected to the Qwiic MP3 Trigger the contents of the microSD card appears as a jump drive. Simply plug in the Qwiic MP3 Trigger and you’ll be transferring MP3s. Sound output is provided via a 3.5mm headphone jack or poke-home connector allowing an external speaker to be connected without soldering.

We’ve written an extensive Arduino library to make MP3 playing over I2C a breeze. Play tracks, change volume, play next/previous, check if track is playing, stop play, change EQ, and change I2C address are all supported.

  • 3.3V
  • Volume, EQ setting, and I2C address settings stored in non-volatile memory and loaded at each power-on.
  • microSD supports 128MB to 32GB cards.
  • Trigger pins 1, 2, 3, and 4.
  • Up to 255 tracks can be loaded onto the SD card and triggered via the I2C interface.
  • USB-C Connector.
  • Qwiic Connector.

T001.mp3

To be, or not to be, that is the question: Whether ’tis nobler in the mind to suffer The slings and arrows of outrageous fortune, Or to take Arms against a Sea of troubles, And by opposing end them: to die, to sleep No more; and by a sleep, to say we end The heart-ache, and the thousand natural shocks That Flesh is heir to?

William Shakespeare – Hamlet

T002.mp3

Two things are infinite: the universe and human stupidity; and I’m not sure about the universe.

Albert Einstein

T003.mp3

If you go to bed at night without learning something new that day, your day is not complete.

Luc Paquin

T004.mp3

Exterminate!

Dalek

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
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

Categories
Archives