Part 1, 2, 3 This post contains an application of the data acquisition and analysis from the PlainDSP library. The credit of the idea goes to Preston who is currently busy at deadening his truck. In his mail of PlainDSP library request, Preston explained to me his current project, and I found it fun and for some reasons, it [...]
This series of posts will explore GLCD (Graphic Liquid Crystal Display). For demonstration purpose, I will use a standard GLCD 128×64, driven by Samsung KS KS0108B controllers: And here is its pinout Pin Diagram Symbol Level Function Vss 0V Ground Vdd +5V Power supply for logic Vo – Operating voltage for LCD (contrast adjusting) RS [...]
Part 1, 2, 3, 4, 5, 6 Here is an improved version of LudoMTR. The speed change ratio can be controlled by a separate potiometer. A synchronisation signal allows better signal display on scope: my RIGOL DS1502E dislikes triggering displays on complex signal! An LED is attached to the thread; this LED glows at a [...]
Part 1, 2, 3, 4, 5, 6 Adjusting the rotor speed requires that the potentiometer is very slowly and constantly move CW or CCW. Failing to do so results in slippery of the magnetic field versus the rotor. In other words, the rotor does not have the time to change speed and looses its synchronisation. Version 2 of LudoMTR includes an [...]
Part 1, 2, 3, 4, 5 Finally, this the whole picture of the sketch. No library required. /* Copyright (C) 2012 Didier Longueville This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) [...]
Part 1, 2, 3, 4, 5, 6 Code The code for the driver is pretty simple. The set up section contains the instructions for setting PORTB and PORTD selected pins as output pins. /* Set ports directions */ DDRD |= (maskD); DDRB |= (maskB); Some place in the skecth we’ll find a function which will be responsible for switching PRTB and [...]
Part 1, 2, 3, 4, 5, 6 Electrical Arduino can deliver up to 40 mA per pin, this is not enough for driving our motor. The use of multiple pins in parallel allow more current (200 mA) to be drawn from Arduino. A limiting resistor will prevent excessive current to be sunk. With V = 5V, Imax = 200mA, R = [...]
Part 1, 2, 3, 4, 5, 6 LudoMTR is introducing a new sort of posts. The idea is to setup funny applications which require few hardware or electronic components and the simplest code. As per its name, ludo (from the latin verb ludere = play) motor enables a real minimal electrical engine. This short video illustrates LudoMTR: Get the latest Flash [...]
Sometimes ago I decided that I was fed up taking risks at soldering tiny chips and components using my good old JVC soldering iron. By the way, I strongly recommend this beast of burden which is still working absolutely fine after more than 20 years of use. This is a perfect companion for field service because of [...]
Part 1, 2, 3, 4, 5, 6 Here is an amazingly simple and effective application that applies the photovoltaic properties of LEDs. Two identical extremly simple Arduino platforms are used. Each of them is fitted with a LED and a pushbuton. In idle mode, the LED is biased in photo sensing mode, waiting for potential signal. Each time the push [...]