How-to-Make-a-Small-Measuring-Wheel
How-to-Make-a-Small-Measuring-Wheel
by Jaychouu
Open Google map, input starting point and Couple of days before, I was suddenly to find a man
destination then the distance will display in your who holds a wheel rolling along the road. I was
screen. Compared to traditional maps, the current incontinent of curiosity, I came to talk with the man
electronic maps are of vast information and better and knew he is a map worker and used the wheel to
distance calculation. However, how could it counts measure distance then draw routes. The distance
the distance? Is it uses satellite, tape or other tools? measure wheel is convenient to take, flexible and
Satellite can explore topography and land resource precise. How could I resist its temptation to make a
but lack of precision; tape is inflexible and distance measuring wheel?
limited. Except these tools, is there anything else?
In this project, I would love to choose DFRduino UNO Cable Adapter Module 4
R3 that fully compatible with Arduino UNO R3 as a
main board. It adopts ENIG (emersion gold) Gravity: IO Expansion Shield for Arduino V7.1
technique, cost effective and more delicate.
Moreover, we need another powerful component Digital Push Button (.NET Gadgeteer Compatible)
which is an encoder to count distance.
7.4V Lipo 2500mAh Battery (Arduino Power Jack)
Incremental Photoelectric Rotary Encoder - 400P/R
D80mm Silicone Wheel For TT Motor
Gravity: I2C 16x2 Arduino LCD with RGB Backlight
Display
Step 3: Rendering
Reset: you could clear up data and make a restart measurement more convenient in this mode.
Detection: You can measure distance freely, up to down, right to left in this mode. Slipping to left, the value is
positive; slipping to right, the result is negative (when the value is a positive one, rolling right and the result is
decreasing).
when the measurement finished, you need to keep data. In this mode, all data is locked and would not change that
helps you record results. It works with simply three presses.
I have print a crust by 3D printer to make it convenient to take and more beautiful. Is it looks a little unnatural? The
crust is too square. I am sorry but I have tried my best. I believe your ideas must better than mine. The 3D printing
file is in the end page.*Caution: I have make a 80mm hub with 3D printer to suit the wheel.Tires of quality
enviromentally friendly D80mm Silicone Wheel For TT Motor is still in use.
Step 6: Code
#include
#include "DFRobot_RGBLCD.h"
//rgb_lcd lcd;
#define A 3
#define B 4
#define Key 12//key
float C = 0; //perimeter
unsigned int Distance;
int VA = 0;
int VB = 0;
unsigned long Count = 0;//count
unsigned int Count_1 = 0; //Negative count
unsigned char flag = 1, Mark = 0;
unsigned long lasttime = 0, Modetime = 0;
void loop()
{
if (millis() - 150 > lasttime)//Detect keys once every 150ms
{
if (digitalRead(Key) == HIGH)
if (digitalRead(Key) == HIGH)
Mark += 1;
if (Mark > 2)
Mark = 0;
else//Length is positive
{
lcd.print('+');
Distance = Count_1 * C / 40;
}
}
Modetime = millis();
}
How to Make a Small Measuring Wheel: Page 5
}
Count += 1;
}
else//Reverse measurement
{
flag = 0;
Count -= 1;