tag:blogger.com,1999:blog-90943354427389486592024-03-27T10:48:22.918+05:30PHYCOMPPhysical Computing using Arduino, Microbit and Raspberry PiSBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.comBlogger32125tag:blogger.com,1999:blog-9094335442738948659.post-54973172755086485032021-11-28T23:42:00.000+05:302023-12-26T21:16:32.755+05:30ROCK PAPER SCISSORS<div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_cgkYobJTpV9x" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-2611225369287610652021-11-20T20:07:00.000+05:302023-12-26T21:16:33.470+05:30STEP COUNTER<iframe width="560" height="315" src="https://www.youtube.com/embed/KfXtNMMcNl8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_2yaCqEUrTMHf" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-21132785303225657672021-11-19T10:24:00.000+05:302023-12-26T21:16:33.756+05:30MORSE CHAT<div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_CDYixec2DTbk" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-71720780810796724362021-11-19T10:00:00.000+05:302023-12-26T21:16:34.001+05:30BLOW AWAY<p>Oh, no! Your micro:bit is being haunted by a ghost named HaveN. we'll learn how to blow Haven away</p> <iframe width="560" height="315" src="https://www.youtube.com/embed/xpcrhdiFqZs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_LbMYKDaRsC9p" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-65459209193185394592021-11-19T09:49:00.000+05:302023-12-26T21:16:34.237+05:30CLAP LIGHT<p>The new micro:bits have a microphone to help them detect sound. Let's learn how to use a clap to switch your micro:bit's lights on and off!</p> <iframe width="560" height="315" src="https://www.youtube.com/embed/XKlHwjQqcrU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_gjwPzyMo09Pb" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-85945733421687879432021-11-19T09:43:00.000+05:302023-12-26T21:16:34.474+05:30COUNTDOWN<p>Let's create a musical countdown using the new micro:bit with sound!</p> <iframe width="560" height="315" src="https://www.youtube.com/embed/BKVRPvPAQZc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_7esCe335oTuo" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-82758579943190442652021-11-18T22:06:00.000+05:302023-12-26T21:16:34.755+05:30CONTROLLING A BUZZER USING PICO<iframe width="576" height="324" src="https://www.youtube.com/embed/NG2JtiU801w" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <figure> <img src="https://storage.googleapis.com/phycomp/pico/controlling-a-buzzer_bb.svg" alt="Blinking an LED" style="width:100%"> <figcaption>BREADBOARD DIAGRAM</figcaption></figure> <script src="https://gist.github.com/sumanbargavr/4957d77aba3c975607d49e6e049f37ba.js"></script>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-60383107673631974772021-11-18T19:40:00.000+05:302023-12-26T21:16:34.997+05:30CONTROLLING AN RGB USING PICO<iframe width="576" height="324" src="https://www.youtube.com/embed/ndW2DmzvhVI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <figure> <img src="https://storage.googleapis.com/phycomp/pico/controlling-an-RGB_bb.svg" alt="Blinking an LED" style="width:100%"> <figcaption>BREADBOARD DIAGRAM</figcaption></figure> <script src="https://gist.github.com/sumanbargavr/81386ffabccb800a08aac2899a58c204.js"></script>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-82677069185219331772021-11-18T17:09:00.000+05:302023-12-26T21:16:35.235+05:30BLINKING AN LED USING PICO<iframe width="576" height="324" src="https://www.youtube.com/embed/deTpj0p_A1U" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <figure> <img src="https://storage.googleapis.com/phycomp/pico/blinking_an_LED_bb.svg" alt="Blinking an LED" style="width:100%"> <figcaption>BREADBOARD DIAGRAM</figcaption></figure> <script src="https://gist.github.com/sumanbargavr/5ec65db1405eba83578f97560fdb02ea.js"></script>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-69783647993321624562021-10-29T21:50:00.000+05:302023-12-26T21:16:35.997+05:30PET HAMSTER<iframe width="560" height="315" src="https://www.youtube.com/embed/ZZMj1VkHmjw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_9sR8ai5Kxfp8" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-38237638807450267262021-10-29T21:43:00.000+05:302023-12-26T21:16:36.232+05:30MICRO CHAT<div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_EFz5Pp4tq06w" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-34910975083103190932021-10-29T21:42:00.000+05:302023-12-26T21:16:36.470+05:30LOVE METER<div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_aPV59qdxuYWi" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-52270845499156532562021-10-29T21:40:00.000+05:302023-12-26T21:16:36.756+05:30DICE<iframe width="560" height="315" src="https://www.youtube.com/embed/iRIxMQTmljE" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_164X8dKKePWF" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-16001216829717361122021-10-29T21:39:00.000+05:302023-12-26T21:16:36.991+05:30SMILEY BUTTONS<iframe width="560" height="315" src="https://www.youtube.com/embed/RlpKfWn-zMY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_KqK6EXhKkfDs" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-69369965094167066572021-10-29T21:37:00.000+05:302023-12-26T21:16:37.228+05:30NAME TAG<iframe width="560" height="315" src="https://www.youtube.com/embed/lo6Zp6cw_OM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_cXzfHpYUU8cE" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-15038483580019555582021-10-29T21:34:00.000+05:302023-12-26T21:16:37.467+05:30FLASHING HEART<iframe width="560" height="315" src="https://www.youtube.com/embed/tMy4jBSiBaY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="https://makecode.microbit.org/#pub:_JPPiT0T0pDvm" frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe></div>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-21287739589540647362021-05-30T01:00:00.000+05:302023-12-26T21:16:43.990+05:30POTENTIOMETER<p>A variable resistor with three pins. Two of the pins are connected to the ends of a fixed resistor. The middle pin is connected to a wiper that moves across the resistor. This divides the resistor into two parts. These components are often referred to as pots and are used to adjust the voltage in a circuit. The volume knob on a radio is an example of a pot.</p> <p> A potentiometer is a simple mechanical device that provides a varying amount of resistance when its shaft is turned. By passing voltage through a potentiometer and into an analog input on your board, it is possible to measure the amount of resistance produced by a potentiometer (or pot for short) as an analog value. </p> <p> When the shaft is turned all the way in one direction, there are 0 volts going to the pin, and the input value is 0. When the shaft is turned all the way in the opposite direction, there are 5 volts going to the pin and the input value is 1023. In between, <code>analogRead()</code> returns a number between 0 and 1023 that is proportional to the amount of voltage being applied to the pin. </p> <embed class="youtube" src="https://www.youtube.com/embed/l7wo_Iqw7QY" /> <h2>Hardware Required</h2><ul> <li>Arduino UNO</li> <li>Breadboard</li> <li>Potentiometer</li> <li>Jumper wires</li></ul> <h2>Circuit</h2><p> Connect the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground. </p> <figure> <img class="breadboard" src="https://storage.googleapis.com/builtin-examples/basics/analog-read-serial_bb.svg" /> <figcaption>Breadboard Diagram</figcaption></figure> <figure> <img class="schematic" src="https://storage.googleapis.com/builtin-examples/basics/analog-read-serial_schem.svg" /> <figcaption>Schematic Diagram</figcaption></figure> <h2>Sketch</h2> <ul> <li> In the Sketch <code>analog-read-serial.ino</code>,the analog input is read and the resut is printed at the Serial Monitor. </li> <li> In the Sketch <code>read-analog-voltage.ino</code>, the analog input is read, it is then converted to Voltage. Finally the result is printed at the Serial Monitor. </li> <li> In the Sketch <code>smooting.ino</code>, the analog input is read repeatedly, the running average is computed and the result is printed at the Serial Monitor. </li></ul> <script src="https://gist.github.com/sumanbargavr/ae5d181023c517bb5a4419a63449333f.js"></script>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-30696773859795497152021-05-30T00:58:00.001+05:302023-12-26T21:16:44.413+05:30BATTERY SNAP<img src="https://upload.wikimedia.org/wikipedia/commons/d/d8/9_volt_Battery_Snap.jpg" alt="BATTERY SNAP" width="100%"> <p><strong>Battery Snap</strong> is used to connect a 9 V battery to power leads. The red wire will be connected to the positive terminal of the battery and the black wire will be connected to the negative terminal.</p>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-20515063736568928702021-05-30T00:58:00.000+05:302023-12-26T21:16:44.225+05:30ARDUINO UNO<img src="https://upload.wikimedia.org/wikipedia/commons/3/38/Arduino_Uno_-_R3.jpg" alt="ARDUINO UNO" width="100%"> <p>The <strong>Arduino UNO</strong> board consists of several inter-connected components. The hardware components on the board are controlled by software (a program that tells the hardware what to do). This program is stored on the UNO’s microcontroller.</p><p>A microcontroller is a chip that acts like a small computer. It consists of a CPU, RAM, ROM, input and output, and a timer.</p>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-70767626233021720622021-05-30T00:57:00.001+05:302023-12-26T21:16:44.795+05:30CAPACITOR<img src="https://upload.wikimedia.org/wikipedia/commons/8/83/S.I.-capacitor-20150807-003.jpg" alt="CAPACITOR" width="100%"> <p><strong>Capacitor</strong> is a component that stores and releases electrical energy in a circuit. Capacitors are often placed across power and ground close to a sensor or motor.</p><p>The ability of a capacitor to store electrical energy is called <strong>Capacitance</strong> and is measured in <strong>farad (F)</strong>. The capacitance of most capacitors are in the range <strong>microfarad (0.000001 farads)</strong> to <strong>picofarad (0.000000000001 farads)</strong>.</p> A component that stores and releases electrical energy in a circuit. When the circuit’s voltage is higher than what is stored in the capacitor, it allows current to flow in, giving the capacitor a charge. When the circuit’s voltage is lower, the stored charge is released. Capacitors are measured in farads. One farad is a lot of capacitance, so most capacitors are in the microfarad (0.000001 farads) or even picofarad (0.000000000001 farads) range. Capacitors are often placed across power and ground close to a sensor or motor to help smooth changes in voltage.SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-21566550041906288102021-05-30T00:57:00.000+05:302023-12-26T21:16:44.602+05:30BREADBOARD<img src="https://upload.wikimedia.org/wikipedia/commons/7/73/400_points_breadboard.jpg" alt="BREADBOARD" width="100%"> <p>Using <strong>Breadboard</strong> you can easily build electronic circuits. It consists of rows of holes that allow you to connect wires and components together. Each hole on the breadboard contains a metal connector that pinches wires when inserted into the holes. This helps keep the wires from pulling out and gives the circuit secure connections. This type of breadboard is called as a <strong>solderless breadboard</strong> and are widely used for creating electronic prototypes.</p>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-38719803716178700582021-05-30T00:56:00.000+05:302023-12-26T21:16:44.987+05:30JUMPER WIRE<img src="https://upload.wikimedia.org/wikipedia/commons/5/5c/A_few_Jumper_Wires.jpg" alt="JUMPER WIRE" width="100%"> <p><strong>Jumper wires</strong> are used to connect components with each other on the breadboard and to the Arduino board. It consists of two parts:</p><ul><li><strong>The Inner Part (Conductor)</strong>: is a metal wire that conducts electricity.</li><li><strong>The Outer Part (Insulator)</strong>: has a very high resistance and prevents the conductive wires from touching.</li></ul>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-66040835763841114962021-05-30T00:55:00.001+05:302023-12-26T21:16:45.410+05:30PIEZO BUZZER<img src="https://live.staticflickr.com/4102/4821350094_8eda6accbd_b.jpg" alt="JUMPER WIRE" width="100%"> <p><strong>Piezo Buzzer</strong> is a component that is used to create sounds and melodies.</p>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-66938215819222896672021-05-30T00:55:00.000+05:302023-12-26T21:16:45.222+05:30LED<img src="https://upload.wikimedia.org/wikipedia/commons/e/e8/LEDs.jpg" alt="LED" width="100%"> <p><strong>Light Emitting Diode (LED)</strong> is a component that emits light when current passes through it.</p> <p>It has two terminals (leads/wires):</p><ul> <li><strong>Anode</strong> (long)</li> <li><strong>Cathode</strong> (short)</li></ul> <p>They allow current to flow in one direction (anode to cathode). Therefore, the anode should be connected to the positive terminal and the cathode should be connected to the negative terminal.</p> <p>They come in different shapes, sizes, and colors and are often used as indicators on electronic devices. On some LEDs, the cathode side of the LED has a flat edge.</p>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0tag:blogger.com,1999:blog-9094335442738948659.post-25179850575874322212021-05-30T00:54:00.000+05:302023-12-26T21:16:45.598+05:30PHOTOTRANSISTOR<p><strong>Phototransistor</strong> is a component that generates a current based on the amount of light falling on it.</p>SBRhttp://www.blogger.com/profile/14254604748009421068noreply@blogger.com0