Build Your Own Russian-Inspired Alpha AK47 Clone May 8, 2019 By Alden Morris 3 Comments We all know the AK market today, so try to learn how to build your own Alpha AK47 clone in case worse comes to worst. Rideable Segway Clone - Low Cost and Easy Build: This Instructable will show you how to build a ride-able Segway clone. Here are its features: Easy to build with no welding, no complicated steering linkage and minimal soldering. Uses a readily available $3 digital MPU6050 accelero.
The Segway Clone Arduino code is below:
The Arduino code development took the longest amount of time to get right in this Instructable. It could still be improved. Any ideas would be appreciated. It was influenced by the following authors of self balancing device projects and MPU6050 development:
Jeff Rowberg: https://github.com/jrowberg/i2cdevlib
XenonJohn: https://www.instructables.com/id/Self-balancing-skateboardsegwy-project-Arduino-S/
ScitechWA: https://www.instructables.com/id/Self-Balancing-Scooter-Ver-20/
Geekmom: http://www.geekmomprojects.com/mpu-6050-dmp-data-from-i2cdevlib/
Julian Arnott: https://www.youtube.com/watch?v=q29MMfLRFYM
and Eric Wang
Installation:
- Install the Arduino software (http://arduino.cc/en/Main/Software#.UxiP2BCmZU0)
- Download the .zip file BELOW with all the code (note that Instructables MAY corrupt the name)
- Unzip the file (this is a good freeware unzip program: http://www.7-zip.org/download.html)
- Open the Arduino software
- Connect a USB cable to the Arduino board
- To ensure your Arduino is working, get your Arduino to 'load' the 'blink' program (file->examples->basics->blink)
- Open the file hartway_digital.ino
- Compile and 'load' to the Arduino board
You can search on YouTube to learn about the Arduino. This guy does a good job explaining everything about Arduinos:
http://www.youtube.com/watch?v=fCxzA9_kg6s
notes:
![Clone Clone](http://cdn.shopify.com/s/files/1/0568/4705/products/ds1groupo-584x446_large.jpeg?v=1406159875)
1) Instructable user fgastald posted the following note. This library code change seemed to help him and some others with stability issues. Most people do not experience these issues but you may want to make the following changes if you have vibration in your final design:
![Build Build](http://files.effectsdatabase.com/gear/pics/byoc_graphiceq_001.jpg)
'For those who are experiencing some MPU6050 issues (weird behavior.....motor that suddenly goes to 100%.....) i suggest this : Go to the library file MPU6050_6Axis_MotionApps20.h find the line 0x02, 0x16, 0x02, 0x00, 0x01 // D_0_22 inv_set_fifo_rate Modify the last number (0x01) to something higher, i'm using 0x02 right now and it works fine.'
2) There is a bug in the code that will show up if you hit and release the deadman switch about 250 times. User rtreffkorn reported this and suggested the following solution. I have not tested it but it sounds reasonable.
'The fix is to change set_motor() from void to int.
In the normal case return 0. When the deadman button was released return 1;
Then in loop() do: 'if (set_motor()) break;' '
The Segway Clone Arduino code is below: