Videos uploaded by user “The White Byte”
Arduino:  Reading Number Input from the Serial Monitor
Sending numeric values from Arduinos' Serial Monitor to the Arduino board can be tricky. In this video I explain the problem, and demonstrate some basic ways of solving it. To read more about the Serial.parseInt method: https://www.arduino.cc/en/Serial/ParseInt And if you want to send floating-point numbers: https://www.arduino.cc/en/Serial/ParseFloat Check out my Blog: http://www.idogendel.com/en/ And facebook page: https://www.facebook.com/ItsEveryBitForHimself/
Views: 13414 The White Byte
Controlling LEGO DC motor with an Arduino
With a bit of wire cutting and soldering, it's easy to connect your LEGO Power Functions components to the Arduino (or any other microcontroller) and create interesting hybrid projects. Here's a demo with a DC motor and a motor driver. Be warned that this process will void any warranty for the LEGO, so if you attempt this, be sure you understand what you're doing - and do it at your own risk. Also, remember that these LEGO components work at 9V, which is incompatible with Arduino I/O, so be extra careful with signal conversions and routing. I am not affiliated with LEGO in any way (but I like it :-) ). Join my English Making blog at idogendel.com/en
Views: 31075 The White Byte
Arduino Serial Plotter Multiple Graphs
A quick introduction to the Arduino IDE's improved Serial Plotter, introduced in version 1.6.7. The Plotter is now able to draw several graphs at one, based on multiple values sent by Serial. Values need to be delimited by comma, space or the tab character ("\t"). NOTE: Serial Plotter colors are actually defined in the file arduino/lib/theme/theme.txt - thanks to commenter FindLiberty on my previous channel for this info!
Views: 21659 The White Byte
How to cut (break) 2.54mm female pin headers to custom size
Demonstrating two techniques for cutting long female pin headers (with 0.1" spacing) to custom pin count. Cheap pin headers usually come as 40-pin strips and it's not obvious how to cut them without too much waste and without breaking too much of the plastic. The methods I show here are the ones I personally found most comfortable for prototyping. I developed them myself, but of course others may have thought of them too, and there may be other techniques, even better than these. P.S. I don't know why I said "nib" in the video, maybe I meant "nibble" :-)
Views: 7090 The White Byte
Telephone Rotary Dial Mechanism
The back side and innards of a rotary dial mechanism from a 1978 telephone. A clever arrangement of electric contacts and levers creates the "clicking" signals (pulse dialing) that go to the telephone exchange. Inside (not seen here) is a gear with a vertical spring that rotates the dial back to its original position, and the rotating axis with the brass extensions helps to control the rotation speed by creating more friction (in way of centrifugal force) as the speed gets higher.
Views: 16970 The White Byte
Cylinder Lock in Door Mechanism
Demonstrating the operation of a cylinder in a door lock mechanism.
Views: 22712 The White Byte
Turn Signal Lever Mechanism
The lever mechanism of a car's steering wheel opened up to show how the turn signal lever works.
Views: 3593 The White Byte
I Am the Atomic Powered Robot
A simple record player from a 1984 toy. robot called "Magic Mike II" (?!). The robot didn't work anymore, so I took it apart. Maybe I'll be able to turn it into something interesting using an Arduino. נגן תקליטים פשוט מרובוט צעצוע שנבנה בשנת 1984 ונקרא "מג'יק מייק 2". הרובוט עצמו לא עבד, אז פירקתי אותו. אולי אצליח לעשות ממנו משהו מעניין בעזרת ארדואינו.
Views: 7290 The White Byte
MSP430 Morse Code Trainer (Microcontroller DIY project)
A home-made device for practicing Morse code transmission. It is based on the MSP430G2452 microcontroller (the weaker of the two you get with TI's MSP430 Launchpad); the code was written using the Energia IDE. For more information, schematics etc. visit the Projects forum on 43oh.com: http://forum.43oh.com/topic/4802-msp430-morse-trainer-10/
Views: 4253 The White Byte
Bit By a Mouse: Data Via Pointer Motion
In this video, I demonstrate how data can be transferred from an Arduino Leonardo (or any other board capable of emulating a USB mouse) to a desktop application, using tiny mouse pointer movements. This is achieved with very little interference to the regular mouse operation by the user. To read more about this method, and to get the source code, head over to my blog: http://www.idogendel.com/en/archives/429
Views: 2334 The White Byte
Logic Gates In Action (simulated using Arduino)
The seven basic logic gates, simulated using an Arduino. The switches (with the red lights above them) represent the inputs, while the yellow light in the middle represents the gate's output. הדמיה של שבעת השערים הלוגיים הבסיסיים באמצעות ארדואינו. הלחצנים (והנורות האדומות מעליהם) מייצגים את הקלט, ואילו הנורית הצהובה באמצע מייצגת את הפלט של השער.
Views: 13728 The White Byte
ATTiny85 Air Speed Visualizer
While learning how to work with the Atmel ATtiny85, I built this device. It basically reads the voltage from the fan motor (acting as a dynamo), and shifts the LED display (in a MAX7219-based kit I got on Ebay) with the appropriate intervals. בניתי את ההתקן הזה במסגרת למידה של המיקרו-בקר ATtiny85 בעיקרון, המיקרו-בקר קורא את המתח שמופק במנוע (שמשמש כאן כדינמו) ומסיט את תצוגת הלדים (בקיט להלחמה עצמית שקניתי באיביי) במרווחי זמן מתאימים.
Views: 19075 The White Byte
Arduino Controlled Car Barrier Toy
The almost-finished Arduino-controlled educational arm barrier model I'm making for my son.
Views: 24012 The White Byte
Old Joystick Revived Using Arduino
I found an old C64 joystick and decided to make it work again, using an Arduino Leonardo (clone) as a signal translator - from the joystick's raw connect/disconnect to emulated keyboard key strokes. Read the details in my blog: http://www.idogendel.com/en/archives/290
Views: 6663 The White Byte
Arduino Controlling LEGO Power Functions Servo Motor
A little experiment in controlling the LEGO Technic "Power functions" servo motor (item 88004) using an Arduino. This will totally void your warranty, so do it at your own risk... Also, remember that this motor works on 9V while the Arduino's on 5V. This servo has 15 fixed positions overall (center, seven to the left and seven to the right). A PWM signal of 0%-100% on the C1 wire controls movement in one direction, while the same signal on the C2 wire controls the other direction.
Views: 3906 The White Byte
The Arduino IDE Code Completion (Autocomplete) Preview
Code Completion in the Arduino IDE is almost here! See how it works and how to use it on the 1.9.0-beta version.
Views: 5213 The White Byte
פרויקט ארדואינו - פאנל לחללית
כחלק מ"חללית" שאני בונה עם הילדים, הכנתי פאנל דמה מבוסס Arduino וג'ויסטיק, עם חיווי לכיוון ומהירות הטיסה, מד דלק ריאליסטי ועוד כמה שכלולים.
Views: 2016 The White Byte
Electric Gate Toy From Old CD ROM Drives
I had two old CD-ROM drives that didn't work properly. Throwing them out just seemed such a waste... ;-)
Views: 16453 The White Byte
Imperial March on a Piezo from a Smoke Alarm
I took out the piezo transducer (speaker) from a faulty smoke alarm and played the Imperial March on it using the Arduino as note generator (link to code source below). Unlike most piezos, this kind ("Self Drive") has three contacts. I abused the smaller one as a "low-volume" option, but in fact it's a feedback contact that is originally used, in combination with resistors and a transistor, to create the waveform for the alarm's high-pitch tone. This is because the detector's micro-controller work on an extremely low clock speed! Imperial March code adapted from here: http://pastebin.com/cjE4HQnY (Thanks, Carlton!) Explanation of the feedback mechanism, by no other than Jeri Ellsworth: https://www.youtube.com/watch?v=aJ3wLGanuCw
Views: 4890 The White Byte
ATTiny85 Minute Countdown Binary Timer
A minute countdown timer (for cooking, snoozing etc.) with a binary-based display and a loud buzzer. It's controlled by a ATTiny85 micro-controller, programmed using the Arduino IDE.
Views: 2507 The White Byte
איך עובד גלאי נפח (גלאי תנועה) אלחוטי
מה יש בתוך גלאי נפח של מערכת אזעקה ביתית? בסרטון זה אני מראה ומסביר איך עובד חיישן תנועה אלחוטי זול, וכיצד אפשר לקלוט את השידור שלו בעזרת רכיבים זולים וזמינים. הפוסט בבלוג שלי, "הבייט הלבן", על חיישן תנועה פשוט: http://www.idogendel.com/whitebyte/archives/3571
Views: 6122 The White Byte
Programming an AVR microcontroller using MPLAB X !
The future is here: version 5.00 of MPLAB X IDE by microchip offers (beta) support for programming AVR microcontrollers using the Atmel ICE programmer/debugger. Here's a quick "blink" demo with the new ATmega4809.
Views: 2530 The White Byte
אנבוקסינג ללוח הפיתוח BBC Micro:bit
הוצאה מהקופסה והיכרות ראשונית מאד עם BBC Micro:bit, לוח פיתוח חדש מאנגליה שמיועד לילדים.
Views: 303 The White Byte
The Electromagnetic Interference Music Player (Arduino-based)
While working on a very simple RF-controlled Arduino project, I noticed the transmitter (at 433MHz) caused an annoying interference on my PC speakers, similar to the one caused by cellphones. The sounds of electromagnetic interference (EMI) are actually the 1's and 0's of the transmitted data, translated into speaker vibrations. Therefore, if one oscillates the transmission at the right frequency, it can play notes - as demonstrated here. תוך כדי עבודה על פרויקט ארדואינו פשוט שמבוסס על שידור רדיו, גיליתי שהמשדר (בתדר של 433 מגהרץ) גורם להפרעות ברמקולים שמחוברים למחשב, בדומה להפרעות שנגרמות מטלפונים סלולריים. הרעש של ההפרעות הללו הוא למעשה האפסים והאחדות של הנתונים המשודרים, כשהם מתורגמים לרטיטות מכניות ברמקול. לכן, אם מחליפים את הביטים בקצב מוגדר מראש, אפשר להשמיע צלילי תווים כפי שמודגם כאן.
Views: 1780 The White Byte
Wireless Communication Between the BBC Micro:bit and an Arduino
When the BBC Micro:bit board is programmed using MicroPython, it is unable to use the built-in Bluetooth capabilities. It can only communicate wirelessly with other Micro:bit boards using the "Radio" software module. As far as I could tell, the nRF24L01 RF module was unable to pick up these transmissions, but it *was* able to tell me when there was activity on the communication channels. So I used this ability to create a simple On/Off keying protocol to transmit bytes from the Micro:bit board to an Arduino. The MicroPython code for the Micro:bit is here: https://pastebin.com/ZLYRCLhy And the Arduino code - though I must warn you, it a very quick and dirty hack! - is here: https://pastebin.com/nCT5D3xB
Views: 1783 The White Byte
פרויקט: חנוכייה בשלט רחוק
פרויקט מייקינג לכבוד חנוכה 2016: חנוכיית לדים שאפשר להפעיל, לכבות ולכוון ממרחק בעזרת שעון יד סיני, שהוא גם שלט רחוק לטלוויזיות ודי.וי.די. קישור לפוסט בבלוג שלי על החנוכייה: http://www.idogendel.com/whitebyte/archives/5278 קישור לפוסט על ג'וק ה-Shift Register: http://www.idogendel.com/whitebyte/archives/2435
Views: 1045 The White Byte
Tembel Bot - DIY Cheap and Dumb Robot Car
Everyone builds obstacle-avoiding robots... how about a dumb obstacle-headbutting one instead? Presenting the Tembel Bot (Tembel is a Hebrew word for a stupid person). There's no microcontroller in this small electronics project, just an IR sensor that detects an obstacle and switches an electromechanical relay, that sends power to the toy car's motor.
Views: 15579 The White Byte
Arduino Morse Code Interpreter
An Arduino Leonardo clone is connected to a Morse Straight Key and a buzzer. It interprets the Dits and Dahs and sends them as ASCII keyboard input to the PC. As a programming exercise, the entire alphabet "lookup table" is only 31 bytes in size (53, with the numerals). Sorry for the poor keying, I just recently started learning... חיברתי לוח תואם ארדואינו לאונרדו למפתח מורס ולבאזר. הארדואינו מפענח את ה"נקודות" וה"קווים" ושולח את הפלט למחשב כלחיצות מדומות על מקלדת. כתרגיל בתכנות, טבלת החיפוש של פענוח האותיות תופסת רק 31 בייטים כולל הכל (53, אם כוללים גם את הספרות). סליחה על איכות השידור במורס, רק עכשיו התחלתי ללמוד...
Views: 1087 The White Byte
ICStation.com's PS2 Keyboard Interface Module - Review and Demo
My review of the PS2 Keyboard "Driver" module from ICStation.com, with a little demo. This nice little module lets you read input from previous-generation standard PS/2 keyboards for your Arduino or other MCU projects. While it doesn't support the entire range of PS/2 possibilities, it's a quick and easy way to get the basic functionality. Remember that PS/2 keyboards do not give you the ASCII values of keys, but rather a scan-code of their own. Refer to the product page for more information. Important note: ICStation.com sent me this module free for review. Product page: http://www.icstation.com/icstation-keyboard-driver-module-serial-port-transmission-p-2434.html Arduino Sketch used in the demonstration: http://pastebin.com/qaxVTNrF
Views: 1487 The White Byte
STM8 Beep Demo
Utilizing the built-in beep generator on a STM8 microcontroller (STM8S103F3P6) to create 0.5KHz, 1KHz & 2KHz square waves. This is done using the BEEP_CSR register; for more information, refer to the STM8S Reference Manual (google RM0016). The source code for this demo, in IAR Embedded Workbench IDE, is shown at the end of the video.
Views: 1910 The White Byte
How to solder SMD ICs: An actually useful tip for beginners
No professional equipment required, no expensive materials needed: a real-life tip for soldering SMD ICs, for beginners and for people (like me) with not-so-stable hands. Kapton tape is cheap and easily available from China and other places.
Views: 654 The White Byte
How To Shrinkify Your Shrinkified Arduino Projects
This is a re-upload of a video from my other channel; originally uploaded on July 26th, 2016. You think the ATtiny85 is small? While not really a stand-in for anything Arduino, the PIC10F206 is a very small and interesting microcontroller; here's a demo project I made with it, including some technical information and the details of the program code. There's a whole world of microcontrollers out there. Free your mind! :-)
Views: 862 The White Byte
PIC12F675 Learning Project: Electronic Code Lock
A quick project to test and demonstrate the PIC12F675 microcontroller digital I/O. Source code is here: http://pastebin.com/v4jpdkr8
Views: 3190 The White Byte
VHS Mechanism in Action
מכשיר וידאו בפעולה, מבט פנימי. Video cassette player in action, from the inside.
Views: 3764 The White Byte
MicroPython Beginner Demo on the TPYBoardV102 (a PyBoard v1.0 clone)
A very small MicroPython demo program I wrote for the TPYBoardV102, which is a cheap Chinese board for MicroPython development. The board structure is different from the official PyBoards, but its hardware is compatible with the PyBoard v1.0, so you can upload the latest MicroPython firmware on it. The source code for this demo is at the end of the video. Sorry for no voice - I was a bit sick and couldn't talk without coughing... :-/
Views: 896 The White Byte
PIC CLC Demo and Configuration
In this little demo project, I used a CLC - Configurable Logic Cell - on a PIC MCU to make a system wake up from sleep only when the three input switches are pressed simultaneously. The CLC can combine signals from different sources and run simple logic operations on them without occupying the processor or other resources. This can save power, code lines etc. and sometimes allow things that simply couldn't be done otherwise with an 8-bit MCU like this. For nitpickers: Yes, the code I showed could use some clean-up :-)
Views: 396 The White Byte
Israel's 66 Independence Day POV wand (Update)
An updated video of this display, with clearer view of the effect. סרטון מעודכן של התצוגה, שמציג את האפקט בצורה ברורה יותר. פרויקט תצוגת POV לכבוד יום העצמאות 2014. מבוסס על מיקרו-בקר מדגם ATtiny85, תזמון הפיקסלים מתבצע על סמך מדידת האות מחיישן הטיה מכני (הקופסה השחורה הקטנה בראש ההתקן) An ATtiny85-based POV display. Pixel column timing is done by measuring the signal from a mechanical tilt switch (the little vlack box at the top of the device).
Views: 5487 The White Byte
Arduino + Delphi = Pong
Playing once again with Delphi/Arduino serial communication, I wrote a single-player Pong game that's controlled by a potentiometer (like the real ancient home game consoles). The Delphi program sends back notifications when the ball hits a wall, the pad or is lost, and the Arduino plays the corresponding sound using the attached speaker.
Views: 4760 The White Byte
The Accurate Way To Read Rotary Encoders
An overview and a tutorial on accurate reading of data from the common rotary encoder component. This is NOT the usual Arduino-beginners-guide method, which is actually problematic and inaccurate. Please do not ask for source code. This video was made to help you use your head to understand the problem and my solution. If you'll just copy-paste code, it will defy that purpose... Enjoy!
Views: 753 The White Byte
The Electromagnetic Interfere-O-Tron
My entry for Sparkfun's April Fools Prank Contest, 2014: A device that creates audible electromagnetic interference in speakers, mimicking the noises made by certain cellphones (or cellphone networks, to be more precise). This is based on an arduino-based electromagnetic interference "music player" I've developed some time ago. English captions provided.
Views: 511 The White Byte
PSoC 4 Programming In Action
Short video to accompany a blog post on working with PSoC Creator 3.3. Enjoy! Link to post (in Hebrew): http://www.idogendel.com/whitebyte/archives/4021
Views: 584 The White Byte
Seven-segment Clock Display Component Functionality
Demonstrating the working principle of a generic alarm-clock radio hour/minute display הדגמת עקרון הפעולה של תצוגת שעות/דקות גנרית של רדיו-שעון
Views: 883 The White Byte
ספק הכוח השולחני שלי
הצגה והדגמה של ספק הכוח CPS-3205 הסיני (מתח קבוע/זרם קבוע) בו אני משתמש לניסויים ולבדיקות. זהו פחות או יותר הדגם ה"רציני" הכי זול שיש, והוא לא מתאים לניסויי מעבדה ולשימושים מקצועיים אחרים שדורשים דיוק גבוה. יחד עם זאת, הוא בהחלט מספיק לעבודה יומיומית עם ארדואינו ומיקרו-בקרים אחרים, ופרויקטים מעולם החובבים. ודאו שיש לכם כבל "קומקום" עם תקע ישראלי מלא - שלושה פינים - והיזהרו מאד בשימוש בספק הזה, כי גם טעות קטנה (למשל מעבר למצב זרם קבוע במקום מתח קבוע) יכולה להשמיד די בקלות מעגלים ורכיבים.
Views: 1116 The White Byte
Arduino Traffic Light (Beginner's project)
My first Arduino project (after the compulsory Blink, of course). This is a simulated traffic light, with an "Error" switch that blinks the yellow light while it is pressed and resets the light sequence. The light sequence is actually an array of structs (records), each containing an int with the desired light combination: 4 (100 in binary) for Red only, 2 (010) for yellow only, 1 (001) for Green only, 0 (000) for none - and 6 (110) for Red and Yellow simultaneously. Each struct also contains the number of milliseconds its light combination should stay on before moving on to the next. I did not use the delay() function, because I had to keep listening to the switch input in "real time". Instead, I counted milliseconds with the millis() function. While the switch is pressed, I run a similar but simpler light sequence: yellow-none-yellow-none... (I should probably note that I have programming background, right?) Thanks to the makers of this awesome hardware and to the good folks that make introductory articles and videos. Happy prototyping! Download the code here: http://www.idogendel.com/whitebyte/source/arduino/TrafficLight.zip Check out the newer toy version here: http://www.youtube.com/watch?v=oj_NFNi3dPo P.S. Only now, of course, did I realize there are tons of other Arduino traffic lights around :-)
Views: 16235 The White Byte
LED as a Light AND a Light Sensor - Arduino controlled
Everyone knows the humble LED can be used as a crude light sensor... but can it be used for lighting at the same time? This setup is highly tweaked and probably won't be useful for any real-world purposes, but it was still fun to make. כולם יודעים שאפשר להשתמש בנורית לד בתור חיישן אור בסיסי... האם אפשר לעשות זאת תוך כדי הארה? המעגל שבסרטון הותאם בעמל רב לתנאים הספציפיים וכנראה שלא יהיה שימושי בתנאי אמת, אבל היה כיף לבנות אותו!
Views: 3836 The White Byte
AT24C64A EEPROM - שבב זיכרון חיצוני לפרויקטים
מעוניינים להוסיף זיכרון בלתי-נדיף לפרויקט הארדואינו שלכם? הנה פרויקט בסיסי להדגמה של עבודה עם ג'וקים חיצוניים של זיכרון EEPROM. למידע נוסף על הג'וקים האלה וצורת העבודה איתם, קיראו בפוסט הזה: http://www.idogendel.com/whitebyte/archives/4076
Views: 459 The White Byte
TCRT5000 IR Proximity Sensor Arduino Demo
Demonstration of an IR proximity sensor (model TCRT5000). The blue bulb is the IR LED, and the black bulb is a phototransistor that detects IR light bouncing off objects close enough to the component. The phototransistor's output is connected to the Arduino analog input pin, with a pull-up resistor. The Arduino sketch determines, based on this input's value, whether to turn on the red (far/no object) or green (close) LED. Notice that different textures and colors reflect IR light differently.
Views: 64673 The White Byte
Fast Draw - Ili9325 TFT LCD Optimization
I got this sweet 2.8" TFT touchscreen from adafruit (http://learn.adafruit.com/2-8-tft-touchscreen) for a client's Arduino project, and the code libraries that came with it were very good. However. I needed top speed for a particular purpose and setup, so I hacked into the code and threw away anything that wasn't absolutely necessary for my particular project. Here's a small demo to show the difference - the custom-tailored code works about four times faster. (P.S. at the end of the cycle, the "x4" note means it's 4 times faster, not that the time has quadrupled :-) )
Views: 5309 The White Byte
ארדואינו למאגניבים 1: לעשות דברים תוך כדי דיליי
=== This is a Hebrew-language video === איך גורמים לארדואינו לבצע כמה דברים "במקביל" אבל בלי לנטוש את הפונקציה דיליי? אף על פי ששמעתי רמיזות על הנושא הזה בעבר בפורומים שונים, לא הקדשתי לו תשומת לב כמו שצריך עד עכשיו. אז הנה, שגם אתם תדעו... הסרטון הישן והמעמיק יותר שלי על תכנות משימות שרצות במקביל בארדואינו: https://www.youtube.com/watch?v=rMnH0t5HYUA
Views: 629 The White Byte
GUI Application Programming For the Raspberry Pi
The Lazarus IDE is a free, cross-platform, open-source and very powerful tool for developing desktop applications on your PC, and it will work superbly on weaker Linux platforms too, such as the Raspberry Pi, Beaglebone Black, Banana Pi etc. Here's a small example of how it works. The Lazarus homepage: http://www.lazarus.freepascal.org/ My microcontroller and programming blog: http://www.idogendel.com/en/
Views: 45487 The White Byte