dincer hepguler projects page  

This is a page for some of my projects... 

Mini CNC

This is a weekend project that I made recently. Many of us have some junk cd or dvd writers lying around. These have many stepper motors and hidden CNC mechanics inside. I used 2 of them for this project as X and Y axes. Two EasyDriver modules are controlling each axis by the help of a tiny Arduino Nano. The controller script is GRBL which is well known for the purpose. There is a GRBL library for Arduino. A g-code interpreter is also used to create g-code and control the CNC manually or automatic from a file.

GRBL Library

G-Code Sender

This is a multi-tool device. A pen can be mounted to plot on a surface, a laser can be mounted to engrave something (logo, writing, shape etc) on surfaces such as paper, cardboard, leather, plastic or even thin aluminum sheet. Even one can use small high speed motors with drill bits to scratch similar things on a surface.

I did not make a third axis but a Z azis can be added to the CNC to raise and lower the head. A floppy disk motor and mechanism must be used for the purpose instead of a cd or dvd driver because it is smaller and easier to mount on the moving head...

Mini CNC Front Mini CNC Back




Lidar Lite Scanner

I recently ordered a Lidar Lite from Sparkfun... This is a very capable distance measurement device, a laser rangefinder  in a very compact form and is also relatively cost effective... Pulsed Light company  first carried out a successful Kickstarter campaign last year and now the device is commercially available... Link to manufacturer:  http://pulsedlight3d.com/ 

After playing a little, I managed to get this tiny device working... the setup can be seen in the right picture... I placed the Lidar on a pan-tilt driven by an Arduino and sent distance measurement to PC on which the output is visualised by a  Processing sketch...

Actually I made this DIY Lidar Scanner to make some sort of use about it for my robot projects... However I am still trying to find a way to implement 3d virtualization out of it... If I can manage to make an 3D virtual image out of this Kinect like depth map, I will be pleased... Still short of ideas... 

Arduino sketch: LidarScanner.ino

Processing sketch: Plot_LidarScanner.pde


Lidar Scanner

Lidar Depth Plot

Touch Sensitive Robotic Skin

Having a lot of background on DIY resistive sensors, I decided to make a different approach to creating touch sensitive robotic skin... The skin pad you see on right pics shows a pad 20cmx20cm 8bit matrix with 8x8=64 junction points controlled with 8 analog and 8 digital pins on Arduino... I made this matrix inspired with the work of Markus and another study here   and here  ... Check the right pics for the materials and construction...

As you can see the final skin is very thin and flexible... Can be placed on any part of the robot... Around arms, legs or chest... It can be constructed at any size... The Arduino code for reading the sensor is written by me using a software 12bit ADC for increased sensitivity... I am trying to find a way for visualising the output on Processing.... I will post future improvements....

Arduino code is : Robotic_Skin.ino





Telescope Mods For Astrophotography





My Konus Maksutov telescope has a hand held controller for slewing and moving on RA and Dec axes. The controller was powered with AA batteries which is not supplying sufficient power and had round connectors which came loose easily. It also has a short cable for working near the telescope. This setup was not acceptable for astrophotography. I first added a power jack for the controller to use a 1amp power adapter and a 10mt long flat 6pin cable extension to use remotely. This 6pin cable and RJ45 jack which can snap securely has 6 pins and lighter. Only 4 pins are needed to control the telescope motors. The extra 2 pins are used to add a motorized focuser. I used a very slow and powerful gearmotor for the purpose. The motor is added to the telescope body using the side screws and some bent metal to act as a tensioning spring for the o-ring connected to focusing knob. The springed switch which I added to the hand controller can make very sharp focusing remotely. cable


Motor fan speed control with brain waves

I have some Neurosky ThinkGear modules at hand and decided to make a project with this mighty module... I also own a Brainwave set and a Mindflex headset from Mettel... These devices can read your brain data as Alpha ,theta,etc waves and communicate with some apps on pc and android to play with controlling on screen icons on monitor... All these devices are using ThinkGear module to read brain wave data and use some algorithms to calculate attention and meditation values meaning concentration and relaxation of mind...

I decided to implement a project with my ThinkGear modules to physically move an object with my mind... Mainly, controlling the fan speed of a motor...

What I did is taking an old hair dryer and using only the DC motor trying to control fan speed by the use of a logic mosfet driven from a PWM pin of Arduino... By the help of this hardware I managed to float a pingpong ball from the air blown from the haie dryer... When I concentate and increase my attention values, the fan speed is increased proportionally and can control the fan speed thus raising the ball into air...

For the purpose I hacked a Mindflex headset (the procedure can be found on internet) to send my brain data via bluetooth to Arduino... Arduino sketch receives that brain data over soft serial and after some calculations sends it as PWM to the mosfet which in turn drives the motor fan at proportional speed...

Arduino sketch: ArduinoBrainControl.ino




Mosfet driver



Motorized TimeLapse Rig

My DIY timelapse rig... As a DIYer I made a micoprocessor based Timelapse rig which has a linear motion and panning at the same time... fully customizable setup with 1 steps precision... time interval and speed adjustable with forward and reverse... I wrote the software running on Arduino and the hardware is almost in every DIYer's bin... You need:

- Arduino UNO

- Motor shield.. I used this one: https://learn.adafruit.com/adafruit-motor-shield/o...

- 2 small stepper motors... I used the paper driver mechanisms from scrap inkjet printers...

- a tripod head (optional, you can fit something to hold the camera)

- a small trigger circuit using an optocoupler... this isolates your camera from other electronics thus protecting it..

- curtain rail and 2 steel rods to strenghten it...

- 1 mt threaded rod

- some buttons and pot for setting panel

The construction may differ for anyone who builds this. the Arduino program has explanations about parameters and these can be changed according to the steppers used...

Arduino sketch: TimeLapseRig.ino


Rig on tripods Rig Components Rig shuttle Rig final
Trigger Circuit  


Mini IOT Remote Terminal

This is the mini IOT terminal I made recently. I used a Nodemcu V1 board for wifi connection and processing capability, 2 relay module for controlling 2 different gadgets, a DHT11 module for temperature and humidity monitoring and a PIR sensor for motion monitoring around the premises. The module can be powered from a single cell power bank (5v) for long operation. I wrote a web page GUI for remote monitoring and controlling of the environmental automation. The system is capable of controlling only 2 relays for now but it is modular to expand to control some more apparatus. This is an experimental home automation system I made.

The web page GUI is kept on Nodemcu and served whenever requested from any browser using its IP adress. When the unit is powered on it automatically connects to predefined wifi network and obtains its own IP, then you can connect to the module using this IP.


Bat Sonar for Visually Disabled

This is my bat sonar project for visually disabled persons. Simple ultrasonic sensor reading the distance in front of the person. Module creates audible sound in correlation with distance. Nearer the object, higher the pitch of sound heard. If no object in front of the person, no sound. I could use a loudspeaker for the project but it creates audible noise, instead I used earphones which can only be heard by the user. Also the 1K resistor used in the design lovers the sound on earphones. Arduino Nano is used as microcontroller because its tiny, HC-SR04 ultrasonic sensor and regular earphones as output.

Bat Sonar sketch:


Simple Airflow Sensor


A simple airflow sensor for meteorology stations implemented with a 3pin dc fan and Arduino. I made this project for measuring wind speed. 3pin fans has a signal pin connected to internal hall sensor to detect rpm. As you can see on the Fritzing diagram only signal and gnd pins are connected. Some fans signal once per revolution whereas some send 2 signals per revolution. The fan I used in my project sends one signal per revolution. I used the internal interrupt0 (connected to D2 pin) of the Arduino to detect the rpm signal. Later I converted this rpm data to linear velocity using the formula velocity=(2*pi/60)*rpm*radius and grab linear speed value. I simply watch wind speed data on monitor but you can easily add an 16x2 lcd to see the data.

The Arduino sketch: FanRPM.ino




Doppler Radar Movement and Speed Sensor

This is my Doppler Radar project implemented with HB100 microwave sensor, Arduino Nano and Nokia 5110 LCD. Sensor works on 10.5GHZ and outputs a weak frequency difference signal when movement is detected and the signal is proportional to the speed of movement. I made an op-amp board to amplify the signal. Wonderful work of 3zuli at GitHub helped me a lot. I made the board with standard iron transfer and chemical etching process. Later I prepared another module with matching dimensions for the Arduno Nano and connections for Nokia5110 LCD which is more or less in matching dimensions. I wrote the program such that when a movement is detected (i.e if movement is faster than 1 km/hr) the backlight 4 leds of the LCD lits up indicating the detection. Also the speed of movement is shown on LCD with big numbers. If you carry the module with you, then it shows your speed. I think of many possibilities of using this sensor in robotics.

Arduino sketch:


WiFi Weather Station

My WiFi weather station project implemented on a ESP8266 dev board. I used a Wemos V1 board, GY-87 IMU sensor, DHT11 sensor and a custom made rpm sensor made of a CNY70 and 74HC14. The RPM sensor gets fan rpm data to be converted into linear wind velocity. GY-87 IMU has a HMC5883L compass sensor to measure wind direction and a BMP85 pressure sensor to get barometric pressure. The data is served as access point on the esp dev board as a web page. Any wifi enabled device can connect to the esp access point via its IP and watch weather data on a web page as shown on the right photo. I used my smartphone to connect to ESP access point.

Weather Station Sketch:





please e-mail to me at  dhepguler@hotmail.com

back to robotics page...

                 FB Logo Follow Me...                Visit MRL... My page at MyRobotLab...
View my page on DIY Drones