Arduino Projects And Programming
Serial Voltage Level Converter - Arduino
Do you have a 5v FTDI serial adapter and a 3.3v Arduino or Raspberry Pi? You know that you can't plug the adapter directly into the 3.3v microcontroller right but did you know that it's quite possible to build a simple voltage level converter to solve the problem?
I bought a 3.3v Arduino Pro Mini compatible board for a project but I made the mistake of ordering the wrong FTDI serial adapter. I got a 5v unit instead of a 3.3v one but I needed to use it quickly so I used 3 resistors to convert the levels so that I could use FTDI adapter with the 3.3v microcontroller. I thought that you might find this little converter board useful too More...
Servo Motor Control Systems
Let me show you how servo motors work and what you need to do to drive them. There's a handy library that you can use with Android which makes things very easy called 'Servo'. But what if you need to drive the servo some other way? If that's the case then you will need to know something about how they work.
I will show you how to connect one up and write a very simple Arduino sketch to experiment with. I explain exactly what goes on inside a servomotor and I finish up with a set of oscilloscope traces. If you want to know more about servo motors then read on. More...
How to build a simple but useful strobe based tachometer using an Arduino Uno, an LCD/Keypad shield and a few transistors, LED's and resistors. Short pulses are generated with a simple Arduino sketch and used to drive a bank of LED's. This produces short regular pulses of light which when synchronized with the speed of a fan or motor or other rotating object, makes the moving object appear to be standing still. When this happens the light pulse rate is equal to the RPM of the object. More...
Arduino Distance Sensor Part 2
Following on from the Arduino Distance Sensor project here is an updated version of the software sketch. Two new display modes have been added and the 'Select' key on the LCD keypad is used to swich between display modes. Full explanation of the software is provided. More...
Arduino Distance Sensor
Sensing the proximity of objects can be achieved effectively using ultrasonic echo techniques. Transmitting pulses of ultrasonic sound and measuring the time it takes the echo to return does present us with some interesting challenges however.
The sound can bounce off more than one object at different distances or the pulse is scattered. Sometimes the receiver doesn't even hear the echo. Luckily these problems can be overcome and a useful instrument built using an HC-SR04 ultrasonic transceiver and a little clever software running on an Arduino. More...
Arduino Safety Cut Out Senses Jams
A reader emailed me a little while ago to ask for my help to program an Arduino board as a safety cut out. He was building a cartridge reloading machine that needed a safety cut out in situations where the motor jams. The solution using an Arduino Uno turned out to be remarkably simple. More...
Arduino Programming the HC-SR04 with Interrupts
Have you ever wondered how they make the parking sensors that you seem to find on all new cars? You know, the ones that start beeping when you are getting close to an object you should be avoiding. The beeping gets faster and faster as you get closer until the beeps all merge into one and... too late you've hit it! More...
Arduino Timer Interrupt Example
Don't be afraid to use interrupts in your Arduino sketches. Interrupts enable you to do so much more with your Arduino that it's well worth taking the trouble to learn a few simple rules. Almost every project you work with, whether it's a user interface, a clock or you are controlling a robot, your sketches are likely to benefit from some use of the interrupt mechanism. More...
Arduino Uno Projects And Software
The Arduino Uno is an inexpensive computer on a board. It has everything that you need to make a smart controller similar to the ones that you might find in any electronic product available nowadays.
1 of 1
|Now subscribe to our newsletter and don't miss a thing|