ATtiny85 Robot Insect

by Sembot in Circuits > Robots

4179 Views, 28 Favorites, 0 Comments

ATtiny85 Robot Insect

DSC01488.JPG

The intention is to build an as simple as possible yet beautiful robot insect, and then apply it to their own choice, as a swarm insect or equipped with an IR sensor or color sensor ........

I would like to see two Robot Insects could communicate with each other via IR or Mic and Piezo

Sorry for my bad Englisch

3D Printing

Insect Body.png
Insect Kop.png

Hardware

PCB Insect.png
DSC01496.JPG
FHHHDSPI8763JMU.jpg
F5YCU16IMYZXYO3.LARGE.jpg
FV96UT9IMYZXYKD.LARGE.jpg
Foto 1.png
Foto 2.png

First I made two prints like the picture

You look from above through the board, if you understand me

The smallest PCB is for Robotic Insect, I do not think there needs explanation
The larger PCB is for programmed via an Arduino Uno, the ATtiny85 The structure I think is easy to understand

The LED that is re-signed, is red and indicates that something is wrong if this fire

For programming I do the following

1 I load in the Arduino Uno the "ArduinoISP" program, which is already in the Arduino Uno see foto1

2 Unplug the USB cable from the Arduino Uno

3 Place the PCB with the 3 LEDs on top of the Arduino Uno, see that there's is an ATtiny85 in the right direction in the PCB

4 Then connect the USB cable back to the Arduino Uno

5 Set my settings to program the ATtiny85 see foto2

6 Take the program "ATtiny85_Robot_Horse.ino"and load it ........

7 Removed the USB cable from the Arduino Uno

8 Take the ATtiny85 from board and place it in the small PCB Robot Insect

9 Turn on the switch of the Robot Insect and then if all is well the Insect start walking

Between ( ) I am not responsible for any misunderstandings or mistake

Sorry if things go wrong

Downloads

Software

Assembly

DSC01487 Klein.jpg
DSC01487.JPG
DSC01488.JPG
DSC01489.JPG
DSC01490.JPG

Modifications

1 First and foremost, run better and run faster

2 Left turn, right turn and walk back

3 Programming the IR sensor as obstacle avoider or follower

But I have some need help, so if someone feels called to help me is accepted with thanks

Video

ATtiny85 Robot Insect

This is my first test with the robot insects
You can see that the IR sensor is not connected yet, because I still have not found a decent program The walk I find myself a little stiff, maybe with other legs or to change what times in the program would have been better than now ???????

These settings are like on my video

void loop() {

myServo1.write(60); // Move Waist 15 delay 100

delay(250);

myServo2.write(150); // Move Legs 40 delay 150

delay(350);

myServo1.write(120); // 140 delay 100

delay(250);

myServo2.write(30); // 130 delay 150

delay(350);

}

if (counter >= 10) { // 20