philo mech
philo mech
  • 57
  • 1 669 070
Arduino Projects || Dual Mode Neopixel Ring Compass || Version 2
Video demonstrates the functionality of the second version of a what I refer to as a Dual Mode Neopixel Ring Compass. With the push of a button one is able to select between North Tracking and Heading Indicator modes. This version uses a 16 pixel ring and includes some basic tilt compensation code (based upon code found within Adafruit's 10DOF breakout library, see the .cpp file for their tilt compensation function and calculations: github.com/adafruit/Adafruit_10DOF ) The next version/s will begin with calibration of the accelerometer and magnetometer, this version is operating on 'raw' values. Also, those 'almost but not quite' degree and pixel transitions will be better aligned with the directional ring in future versions.
This project is an extension of one originally presented by David Ratliff.
David's video: Arduino Neopixel Compass
czcams.com/video/z4y-KiBOJ24/video.html
Link to Version 1 of this project:
czcams.com/video/A_ZaAez96tE/video.html
Parts List:
Arduino Pro Mini
LSM303DLHC Compass/Accelerometer breakout board
16 pixel NeoPixel Ring
330 Ohm resistor
10K resistor
Normally Open momentary button
1000uf capacitor
10uf capacitors (x4)
LM7805 (x2)
9V batteries (x2)
hookup wire
breadboard
The code associated with this version appears in the first comment.
If you liked this video, found it to be helpful, etc., then please consider clicking like and subscribing to my channel.
Thanks for watching!
zhlédnutí: 3 987

Video

Arduino Projects || Dual Mode Neopixel Ring Compass || Version 1
zhlédnutí 7KPřed 9 lety
Video demonstrates the functionality of the first version of a what I refer to as a Dual Mode Neopixel Ring Compass. With the push of a button one is able to select between North Tracking and Heading Indicator modes. The next version/s will use a 16 pixel ring and will include tilt compensation. This project is an extension of one originally presented by David Ratliff. David's video: Arduino Ne...
Arduino Projects || Audible Visual Level using ADXL335 || Version 1
zhlédnutí 5KPřed 9 lety
This video presents the first version of an Audible Visual Level using an ADXL335 analog accelerometer and Arduino Pro Mini. This version utilizes output from the X axis. Future versions will incorporate and use output from all 3 axes. I am also working on a comparator based version (removing the need for a microcontroller). The code associated with this project appears in the 1st comment Note ...
How to Build a Selectable Latching Relays Circuit || Part 3G || Finale: Control Wires
zhlédnutí 2,2KPřed 9 lety
The seventh and final video in Part 3 of a series focused on constructing a "selectable latching relays circuit". The remaining control wires are added and the circuit is completed. Part 3 has been separated into multiple videos so as to keep the duration of each within more manageable limits. This series is provided in light of multiple viewer requests. If you haven't already done so, I would ...
How to Build a Selectable Latching Relays Circuit || Part 3F || Latching Relay Wires
zhlédnutí 2,1KPřed 9 lety
This is the sixth video in Part 3 of a series focused on constructing a "selectable latching relays circuit". We add the latching relay wiring to our circuit. And, we also see the value of testing each sub-assembly of a circuit during a build. Part 3 has been separated into multiple videos so as to keep the duration of each within more manageable limits. This series is provided in light of mult...
How to Build a Selectable Latching Relays Circuit || Part 3E || Master Reset Lines
zhlédnutí 2KPřed 9 lety
This is the fifth video in Part 3 of a series focused on constructing a "selectable latching relays circuit". We add the Master Reset lines to our circuit. Part 3 has been separated into multiple videos so as to keep the duration of each within more manageable limits. This series is provided in light of multiple viewer requests. If you haven't already done so, I would encourage one to check out...
How to Build a Selectable Latching Relays Circuit || Part 3D || NPNs and Low Side Circuitry
zhlédnutí 1,3KPřed 9 lety
This is the fourth video in Part 3 of a series focused on constructing a "selectable latching relays circuit". Assembly of the Low Side Circuitry begins. Part 3 has been separated into multiple videos so as to keep the duration of each within more manageable limits. This series is provided in light of multiple viewer requests. If you haven't already done so, I would encourage one to check out P...
How to Build a Selectable Latching Relays Circuit || Part 3C || High Side Circuitry cont.
zhlédnutí 1,4KPřed 9 lety
This is the third video in Part 3 of a series focused on constructing a "selectable latching relays circuit". Assembly of the High Side Switching circuitry continues. Part 3 has been separated into multiple videos so as to keep the duration of each within more manageable limits. This series is provided in light of multiple viewer requests. If you haven't already done so, I would encourage one t...
How to Build a Selectable Latching Relays Circuit || Part 3B || PNPs and High Side
zhlédnutí 1,5KPřed 9 lety
This is the second video in Part 3 of a series focused on constructing a "selectable latching relays circuit". Assembly of the High Side Switching circuitry begins. Part 3 has been separated into multiple videos so as to keep the duration of each within more manageable limits. This series is provided in light of multiple viewer requests. If you haven't already done so, I would encourage one to ...
How to Build a Selectable Latching Relays Circuit || Part 3A || Assembly Begins
zhlédnutí 2,6KPřed 9 lety
This is the first video in Part 3 of a series focused on constructing a "selectable latching relays circuit". The build begins! The momentary buttons, relays, a few diodes, and leds are added to the board. Part 3 has been separated into multiple videos so as to keep the duration of each within more manageable limits. This series is provided in light of multiple viewer requests. If you haven't a...
How to Build a Selectable Latching Relays Circuit || Part 2D || High Side Switching and C-Wires
zhlédnutí 6KPřed 9 lety
This is the forth (and final) video in Part 2 of a series focused on constructing a "selectable latching relays circuit". This video (Part 2D), explains the usage of pnp transistors to manage the high side switching events and how to route the nine control wires associated with our three upper momentary buttons. The goal of Part 2 as a whole is to provide viewers with a sense of the thoughts be...
How to Build a Selectable Latching Relays Circuit || Part 2C || Low Side Switching
zhlédnutí 16KPřed 9 lety
This is the third video in Part 2 of a series focused on constructing a "selectable latching relays circuit". This video (Part 2C), explains how we will be using npn transistors to manage the low side switching events and functionality associated with the circuit. After uploading this video I realized that I forgot to mention the necessity of adding a protection diode around the relay's coil as...
How to Build a Selectable Latching Relays Circuit || Part 2B || L-R Circuit Review
zhlédnutí 25KPřed 9 lety
This is the second video in Part 2 of a series focused on constructing a "selectable latching relays circuit". This video (Part 2B) briefly reviews the construction of a basic latching relay circuit. The goal of Part 2 as a whole is to provide viewers with a sense of the thoughts behind each aspect of the circuit in the hope that such will add to their existing knowledge and perhaps further ena...
How to Build a Selectable Latching Relays Circuit || Part 2A || Design and Thoughts
zhlédnutí 4,2KPřed 9 lety
This is the first video in the second part of a series focused on constructing what I refer to as a "selectable latching relays circuit". This video begins a discussion of the design ideas behind the circuit. The goal is to provide viewers with a sense of the thoughts behind each aspect of the circuit in the hope that such will add to their existing knowledge and perhaps further enable them to ...
How to Build a Selectable Latching Relays Circuit || Part 1 || Intro and Functionality Overview
zhlédnutí 3,7KPřed 9 lety
The first video in a series focused on constructing a "selectable" latching relays circuit. The circuit provides one with the ability to selectively latch one of three latching relay circuits in any order ( without using a microcontroller ). It also includes a master reset button. This series is provided in light of multiple viewer requests. If you're not familiar with latching relay circuits i...
Arduino Robot Projects || Single Axis Light Chasing/Avoiding Turret || Version 2 || Mode Selection
zhlédnutí 983Před 9 lety
Arduino Robot Projects || Single Axis Light Chasing/Avoiding Turret || Version 2 || Mode Selection
Arduino Robot Projects || Single Axis Light Chasing/Avoiding Turret || Version 1
zhlédnutí 1,1KPřed 9 lety
Arduino Robot Projects || Single Axis Light Chasing/Avoiding Turret || Version 1
Circuit Assembly Tutorials || How to build a NOR gate with PNP transistors
zhlédnutí 6KPřed 9 lety
Circuit Assembly Tutorials || How to build a NOR gate with PNP transistors
Arduino Robot Projects || Close but Not Too Close Robot || Version 2
zhlédnutí 3,2KPřed 9 lety
Arduino Robot Projects || Close but Not Too Close Robot || Version 2
Arduino Projects || Controlling Stepper Motors with Time-Sensitive While Loops
zhlédnutí 150KPřed 9 lety
Arduino Projects || Controlling Stepper Motors with Time-Sensitive While Loops
Arduino Programming Tutorials || How to Construct Time-Sensitive While Loops
zhlédnutí 77KPřed 9 lety
Arduino Programming Tutorials || How to Construct Time-Sensitive While Loops
How to Build a Simple Latching Intruder Alarm Circuit with a PNP transistor and DPDT Relay
zhlédnutí 6KPřed 9 lety
How to Build a Simple Latching Intruder Alarm Circuit with a PNP transistor and DPDT Relay
How to Build a Simple Non-Latching Intruder Alarm Circuit with a PNP transistor and SPDT Relay
zhlédnutí 2,6KPřed 9 lety
How to Build a Simple Non-Latching Intruder Alarm Circuit with a PNP transistor and SPDT Relay
Arduino Robot Projects || Close but Not Too Close Robot || Version 1
zhlédnutí 774Před 9 lety
Arduino Robot Projects || Close but Not Too Close Robot || Version 1
Circuit Assembly Tutorials || How to Build an (inclusive) OR gate with NPN transistors
zhlédnutí 1,3KPřed 9 lety
Circuit Assembly Tutorials || How to Build an (inclusive) OR gate with NPN transistors
Circuit Assembly Tutorials || How to Build an AND gate with NPN Transistors
zhlédnutí 3,5KPřed 9 lety
Circuit Assembly Tutorials || How to Build an AND gate with NPN Transistors
Circuit Assembly Tutorials || How to Build a NOT gate with an NPN Transistor
zhlédnutí 25KPřed 9 lety
Circuit Assembly Tutorials || How to Build a NOT gate with an NPN Transistor
Circuit Assembly Tutorials || How to build an OR logic gate with diodes
zhlédnutí 7KPřed 9 lety
Circuit Assembly Tutorials || How to build an OR logic gate with diodes
Circuit Assembly Tutorials || How to build an AND logic gate with diodes
zhlédnutí 21KPřed 9 lety
Circuit Assembly Tutorials || How to build an AND logic gate with diodes
Arduino Project || Visualizing Accelerometer Output on a 3x3x3 Led Cube
zhlédnutí 3,6KPřed 9 lety
Arduino Project || Visualizing Accelerometer Output on a 3x3x3 Led Cube

Komentáře

  • @daleshelley4887
    @daleshelley4887 Před 8 lety

    Thank you so much solved a major problem for me ;-)))))))

  • @ricochetproducts
    @ricochetproducts Před 8 lety

    Hi Philo, Great Video! Thanks for posting. I was wondering how this circuit would work, or what changes would I need to operate it with 24v DC?

  • @LiquidNickOner
    @LiquidNickOner Před 8 lety

    I would like to add a speaker to this for a simple piano design where would I place my speaker ?

  • @Bobbo63
    @Bobbo63 Před 8 lety

    using a 12v motorcycle battery, what would it take to get 10-20 watts output?

  • @QSism
    @QSism Před 8 lety

    hi, is it possible to synchronize the two motors so they both start at some zero position and a full circle on the first one corresponds to a certain angle set up for the second one? (for a coil winding machine like this czcams.com/video/MXLx-M9mV3I/video.html

  • @WillELewis
    @WillELewis Před 8 lety

    hey! I've made 4 audio circuits, your video of 386 is the only one to work. thank you very much for taking the time and effort to realize what people do without good explanation. in this circuit ..does the input have to come from a device or would a contact (piezo)mic work? thanks again you do just right

  • @Inquire98
    @Inquire98 Před 8 lety

    Thank You, thank you very much. That was REALLY good... 😌

  • @eduardohuchihas
    @eduardohuchihas Před 8 lety

    hey men, why 3 resistors and 3 capacitors?

  • @lavishkumar6042
    @lavishkumar6042 Před 8 lety

    i need some help in arudino usin intel edison board. Please reply me when can i explain you my prob?

  • @Alapozo
    @Alapozo Před 8 lety

    Hmm, did not know that Forest Gump is interested in electronics :) Great vid btw!

  • @markstewart9920
    @markstewart9920 Před 8 lety

    Best overview I've seen yet of how to configure a 555 mono. Clear AND thorough. As a newbie to electronics, it shows you WHAT to do and WHY. Tank you so much. I've subscribed.

  • @mecherabad9795
    @mecherabad9795 Před 8 lety

    really nice...thanks for this video..

  • @ronslattery658
    @ronslattery658 Před 8 lety

    thank you so much this video is very informative

  • @MixZTitaniumDubstep
    @MixZTitaniumDubstep Před 8 lety

    I have an 8 switch component. Do you think I could try some things with that connected?

  • @MixZTitaniumDubstep
    @MixZTitaniumDubstep Před 8 lety

    I was wondering how long it would take you to realize the ground wasn't connected.

  • @MixZTitaniumDubstep
    @MixZTitaniumDubstep Před 8 lety

    2:00 sounds like the schematic police are after you lol!

  • @m42665
    @m42665 Před 8 lety

    This is the best tutorials for this timer !!!!!!!! Now what if you want to trigger with positive power what do you do to get that ? And I want to use 12/Volts for everything , next thing I want to configure time instead of changing capacitor ,

  • @disneyraposo1103
    @disneyraposo1103 Před 8 lety

    hi great tutorial, is it possible for you to explain how can i save position of a 3 servo motors moved by potentiometer and repeat the saved movement by pressing a button? thanks very much

  • @paulrichardson5264
    @paulrichardson5264 Před 8 lety

    Would this magnetometer work in a steel automobile ?

  • @exogendesign4582
    @exogendesign4582 Před 8 lety

    I want to ask a question. but before that i want to give you my problem: I was making a program with 1 switch button and 3 led, if i press the switch button it will produce a running light: and if i press the switch button again it will stop the running light. I tried using debounce but it became redundancy due to using of delay to run the light(LED) so pressing again the switch wont work tried using several syntax as container to avoid redundancy but still failed. hope you can help me. heres my CODE: const int sw1 = 2; //control for switch1 <<GOING LEFT>> const int sw2 = 3; // control for swtich2 <<GOING RIGHT>> int oldbutton = 0; int bstate; int bstate1; int last; const int ledstate= LOW; const int ledstate1= LOW; int reading; void setup() { pinMode(5, OUTPUT); pinMode(6, OUTPUT); pinMode(7, OUTPUT); pinMode(sw1, INPUT); pinMode(sw2, INPUT); digitalWrite(7, ledstate); digitalWrite(6, ledstate); digitalWrite(5, ledstate); } void loop() { bstate = digitalRead(sw1); reading =digitalRead(sw1); if (bstate == HIGH){ while ((bstate ==HIGH) &&(ledstate == LOW)){ digitalWrite(7, HIGH); delay(100); digitalWrite(7, LOW); digitalWrite(6, HIGH); delay(100); digitalWrite(6, LOW); digitalWrite(5, HIGH); delay(100); digitalWrite(5, LOW); } if ((bstate == HIGH) && (ledstate == HIGH)) { bstate == !bstate; digitalWrite(5,LOW); digitalWrite(6,LOW); digitalWrite(7,LOW); } } }

  • @vikramjitsingh6528
    @vikramjitsingh6528 Před 8 lety

    I'm building a green house where the user can control or set the desired levels of various parameters. the user interacts with the program via a 4x4 keypad.the program should display the status of the current values but when a key is pressed the user should be able to edit the values desired. i know how the sensors works but the main problem is that the program is not detecting my keypresses. code: #include <LiquidCrystal.h> // include the library code # include <Password.h> #include <Keypad.h> const int numRows = 2;//constants for the number of rows and columns in the LCD const int numCols = 16; int count = 0; LiquidCrystal lcd(12, 11, 5, 4, 3, 2);// initialize the library with the numbers of the interface pins const byte ROWS = 4; //four rows const byte COLS = 4; //three columns char keys[ROWS][COLS] = { {'1', '2', '3', 'A'}, {'4', '5', '6', 'B'}, {'7', '8', '9', 'C'}, {'*', '0', '#', 'D'} }; float humidity, temprature, moisture; // variables globally declared boolean light; byte rowPins[ROWS] = {22, 23, 24, 25}; //connect to the row pinouts of the kpd byte colPins[COLS] = {26, 27, 28, 29}; //connect to the column pinouts of the kpd Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS ); void setup() { Serial.begin(9600); lcd.begin(numCols, numRows); keypad.addEventListener(keypadEvent); lcd.clear(); lcd.setCursor(0, 0); lcd.print("LOADING"); for (int i = 0; i < 16; i++) { lcd.setCursor(i, 1); lcd.write(255); delay(170); } lcd.clear(); } void loop() { // THE PROGRAM SHOULD DISPLAY THE STATUS OF SENSORS UNTILL A KEY IS PRESSED keypad.getKey(); while (NO_KEY)//THIS DOES NOT WORK { lcd.print("hello");// EXAMPLE STATUS } } void keypadEvent(KeypadEvent eKey) { switch (keypad.getState()) { case PRESSED: Serial.println(eKey); delay(10); switch (eKey) { // though i am able to get in this part case 'A': lcd.clear(); // WANT USER TO ENTER A 4 DIGIT NUMBER WHICH CAN BE MADE AS SETPOINT OR UPDATES THE CURRENT VALUE lcd.setCursor(0, 0); lcd.print("Enter Desired"); lcd.setCursor(0, 1); lcd.print("HUMIDITY:");// THE USER SHOLD BE ABLE TO ENTER THE VALUE HERE WHICH WOULD BE UPDATED break; case 'B': lcd.clear(); lcd.setCursor(0, 0); lcd.print("Enter Desired"); lcd.setCursor(0, 1); lcd.print("TEMPRATURE:"); break; case 'C': lcd.clear(); lcd.setCursor(0, 0); lcd.print("Enter Desired"); lcd.setCursor(0, 1); lcd.print("MOISTURE:"); break; case 'D': lcd.clear(); lcd.setCursor(0, 0); lcd.print("LIGHT"); lcd.setCursor(0, 1); lcd.print("ON/OFF"); //BOOLEAN TRUE/FALSE break; } } } pease help

  • @nunon9075
    @nunon9075 Před 8 lety

    Thank you. Excellent tutorial. I'm going to check your other videos since this one was so clear.

  • @tobiaskeil1724
    @tobiaskeil1724 Před 8 lety

    Thanks!!!!!!!

  • @jordanhuusy
    @jordanhuusy Před 8 lety

    lolz

  • @fboo3232
    @fboo3232 Před 8 lety

    Mr. Philo,I just came across your latching relay videos regarding relays and transistors in latching circuits. I will be building these on my breadboards soon. I just wanted you to know your explanations are very clear and informative......I'm a plumber so some of this stuff is 'Greek' to me. ... These electronic You Tube videos you have made are greatly appreciated......Thank You

  • @p1nesap
    @p1nesap Před 8 lety

    nice explanation of schematic.

  • @adarshpandey2978
    @adarshpandey2978 Před 8 lety

    hey there!! i"ve got 8ohm, 30 watt speaker will this schematic do it perfect or i will need some improvements?? Thanx for help :) & offcoarse the Video

  • @bojanks
    @bojanks Před 8 lety

    Hi, can you explain or chematic how to connect the mini microphone to Arduino? Thank you.

  • @ignatiusnevandefie9852

    what arduino is this?

  • @marinehm
    @marinehm Před 8 lety

    I have a bluetooth chip as my audio source. Could I connect that directly to pin 3 instead of the Potentiometer? If so, would I still need the 470pf capacitor from pin 3 to ground to isolate rf noise?

  • @atothezeezee
    @atothezeezee Před 8 lety

    Great vid. I hope you don't feel I am missing the point of this great tutorial but do you know if it is possible to buy a selectable latching relay board such as this for multiple switches? I am seeking 12 switch circuit if possible. I am dealing with limited space so creating one myself is problematic. Thank you.

  • @elobiretv
    @elobiretv Před 8 lety

    if it draws over 20A, or whatver your meter is marked as, will it damage the meter?

  • @woojay
    @woojay Před 8 lety

    Thank you very much.

  • @alexharijanto780
    @alexharijanto780 Před 8 lety

    thanks.....It's help me much

  • @VasanthKumar-ob4le
    @VasanthKumar-ob4le Před 8 lety

    very useful

  • @scienceofcreativity
    @scienceofcreativity Před 8 lety

    Hello, I just finished the amplifier. It sounds better than other layouts. Very clear explanation and I could build it although I didn’t know anything about electronics. Thank you so much for your effort and teaching. I'd appreciate if you could teach us how to make it stereo.

  • @MMalagnino
    @MMalagnino Před 8 lety

    Good tutorial, really clear and exhaustive. But I have a question. What do you think about making a request at the beginning of the loop, waiting for the answer whitout performing the first loop? If the request will be satisfied the first loop will be executed, if not, the loop is stopped. In my case: .... void loop() { // Wait for the user to press button A. buttonA.waitForButton(); // function to be performed } It works, but my question is, which of these methods requires less memory and power? Thanks,

  • @jaysamaegayona9572
    @jaysamaegayona9572 Před 8 lety

    hello,, what if i use a 12 volts for power supply,, is there any problem with that,, or there is a part or materials that need to replace?

  • @karbous111
    @karbous111 Před 8 lety

    Hi , you did great job here ,thank you . I have one question , how can I use number with minus sign. Thank you . Petr

  • @HeathenGeek
    @HeathenGeek Před 8 lety

    That was an easy and effective method for me to understand the badly written concepts in my text book. Nicely done. Thank you.

  • @kimpoh911
    @kimpoh911 Před 8 lety

    Nice video, what is the your output pulse amplitude if 5V vcc is used?

  • @giorgoskonopisis5768
    @giorgoskonopisis5768 Před 8 lety

    i replace the 470uF cap with one 4700uF cap at the outpout and its sounds a lot of better and that at the possitive and negative with at 470pF

  • @curiosity551
    @curiosity551 Před 8 lety

    can we connect condenser mic as a audio source instead of any other source ?

  • @MariLMatthew
    @MariLMatthew Před 8 lety

    Amazingly helpful. Thank you!

  • @YYY-vq3ze
    @YYY-vq3ze Před 8 lety

    If this thing it's going to work, you have no idea of what a massive weight you just pulled off from my poor brain! Absolute masterpiece, thanks!

  • @YYY-vq3ze
    @YYY-vq3ze Před 8 lety

    Great tutorial, thank for making it ! I have a question, what happen when you press multiple buttons at once? There is a way to make pressing multiple buttons all together null, or just achieve a similar result as to reset the circuit ? Thanks. Edit: I think i got my answer already on the middle of your other video, 2D, cheers ;)

  • @batmaaaaaaaaaaaaan
    @batmaaaaaaaaaaaaan Před 8 lety

    Tho my amp didnt work id like to say this was a great tutorial, with simple to follow schematic

  • @renaldomeij8230
    @renaldomeij8230 Před 8 lety

    heey is there a way to count the steps ? I have stepper motors but no specifications , and these are also not online probably too old

  • @cassvirgillo3395
    @cassvirgillo3395 Před 8 lety

    Hi Philo Mech, I learned from JohnAudioTech on CZcams, that having separate ground paths for input, output & power that junction right at pin 4, ground, will greatly reduce if not eliminate pops, crackles, etc.. I have had good success using this method. C.

    • @philomechtutorials
      @philomechtutorials Před 8 lety

      +Cass Virgillo Appreciate the comment and reference to John's channel. I enjoy many of his videos too. His 'star ground' video is certainly helpful and a technique often used in analog signal and amplification applications. I chose to "separate" the speaker vs signal grounds by routing each to different rails of the breadboard in the video. But, for a more finalized circuit board setup using a star ground tends to be my preferred method as well. Hope these remarks are helpful. Thanks for watching!

  • @cekomthandeni6765
    @cekomthandeni6765 Před 8 lety

    Great Job. Thnx Man