Meet Twinky the Cutest Arduino Robot

by Lindermann95 in Circuits > Arduino

21349 Views, 179 Favorites, 0 Comments

Meet Twinky the Cutest Arduino Robot

IMG_2069.jpg
IMG_2057.jpg
IMG_2048.jpg

Hi,
In this instructable I'm going to teach you how I made my own "Jibo" but called "Twinky"

I want to clear this up... THIS IS NOT A COPY! I WAS BUILDING TWINKY AND THEN I REALIZED THAT SOMETHING LIKE THIS ALREADY EXIST :c

It has almost the same functions but It doesnt need an internet connection and oviuousley it doesnt need a server. (Of course this make a lot of limitations,comparing with the functions of the Jibo Robot)

IT CAN SPEAK! PLAY MUSIC, SET TIMERS, ALARMS, TURN ON/OFF THE LIGHTS OR OTHER APPLIENCES, IT HAS A CALCULATOR AND A WEATHER STATION! DATE & TIME, BLUETOOTH 4.0, EVERYTHING WITH VOICE COMMANDS!!!! and also with a touch screen, it has one little motor so it can turn arround when one of the two microphones hear you talk or make a noise.

You can record your own commands in any language, I'm in México so everything is in spanish.

The "brain" is an Arduino Mega, where all the code is running, there is a different board for the voice recognition called "SpeakUp Click" from "Mikroelektronika" I'll leave all the links later so you can purchase this different boards.

https://youtu.be/n1WuJv-SATU

Design & 3D Printing // Documents

diseño.PNG
IMG_1449 (1).jpg
IMG_1450.jpg
6.JPG

I want it to make it "cute" and friendly so I decided to call it Twinky and the best color I found was yellow, also it was the only nice color I have arround.

Everything was made in SolidWorks and then 3D printeded in a Rise N2 Plus.

The body is actually pretty big, arround 32cm tall and 19cm wide.

Here you have all the STL files.

The components are...

-HEAD

-FACE

-BODY

-BASE

-SPEAKER ENCLOSURE

-BREARING ADAPTOR

-GEARS

https://drive.google.com/open?id=1GApWHVjIjuwkE-Vm...

In this link is everything, from the audio notes that you should place inside the SD memory card, an .spk file thet are the voice commands, the music, the STL files, the Arduino Code, everything!

Components

IMG_2058.jpg
image1.jpeg

For the functions I put it in there are a lot of modules that are inside twinky.

Arduino Mega

SpeakUp Click

RCT

Bluetooth

4 Rellay Module

Audio Amplifier

Speaker

DC Motor

2 Digital Signal Microphones

4.3in ITEAD touch screen

SD Module

RGB LED

Arduino Mega Prototyping shield

And so on ... other components like some resistors, cables and others I wont show every single detail in this instructable, It would make it sooooo long ... but if you have any questions I'll be happy to answer! And explain you every small detail.

https://www.itead.cc/nextion-nx4827t043.html.

https://www.dfrobot.com/product-60.html

https://www.mikroe.com/speakup-click

Schematic

Sch.PNG
Example.png
fuente.PNG
Motor.png

This is simple shcematic, everithing is represented by a connector, from de Arduino Mega to every module, with the label you can see which module is.

The bluetooth is connected to de Serial1, the ITEAD Screen in the Serial2, as you can see there are still plenty of unused pins.

The temperature module is connected at pin 13.

The RTC is connected to SDA and SCL (Pin 20,21)

The SD Card reader is define to be connected in Pin, 50, 51, 52 & 53.

SpeakUp board is powered by 3V3 and all the other modules are 5V

I didn't place the L239D motor controller but it is really simple to use DO NOT CONNECT THE MOTOR DIRECTLY TO THE ARDUINO.

Also... the ONLY functional speaker output is at pin 46.

Arduino Mega Shield

01B2DA1C-9DF8-47EA-9C85-AC6B4BCF6E0B.jpg
C4F2EF98-05A4-46CE-B7D5-F972A43430E3.jpg
0238FB79-1E68-4519-914D-5260A550DB44.jpg
DE7F9F1D-F68B-48D8-A46D-382805AC1511.jpg
Testin Twinky

I put all the components in the place I found better, under the SD module there is a L239D motor controller.

Solder everything together to VCC, GND and the connections with the pins I place in the Arduino program, you can change all the pin deffinitions if you want to, and then make the connections as you want too... you dont even need the shield haha, it will work with cables too but is messier.

You should connect all the components individually, I mean one by one and test it and then in the code you can "put it all together" for example:

If you want to connect the RTC then search on internet how to connect an RTC to Arduino Mega and make the connectios, test it and then go to the next modue.

Again... I'm sorry if I dont expliain all of this in the instructable but that would be too much work, and it will be an infinite instructable.

I made a small 12V and 5V regulator and bought an audio amplifier, reeeealy simple.

IF SOMETHING IS NOT WORKING THEN WRITE ME A COMMENT AND I'LL BE HAPPY TO ANSWER! C:

Put It Together

6484846D-10ED-4C4D-82E7-184FA3AA42DC.jpg
IMG_2059.jpg
CA170DFB-5F22-4296-9D36-27213D1F8D3F.jpg
58FCF9EC-BB7F-4011-9875-8E64318B9C68.jpg
IMG_1815.jpg
IMG_1816.jpg
IMG_1817.jpg
BF842901-F31D-42F1-8820-681AB001B90A.jpg
39DC3411-A6E1-4F87-98E4-D02678046ED6.jpg

Twinkys brain will be inside him, with the audio amplifier and the SpeakUp click.

In the third picture you can se the microphones in the head

The motor, reallys, RGB LED and the speaker are in the base and connected with the brain trough the hole in the body

With the motor the body can turn if any sound activate one of the microphones, the rellays can be activate to control your appliences and the RGB LED shows the status of the program:

If there is an alarm running it will be pink, if you say "twinky" and detects you, it will be blue, and so on with the different commands.

Face & Menu

IMG_2049.jpg
IMG_2050.jpg
IMG_2051.jpg
IMG_2053.jpg
IMG_2054.jpg
IMG_2052.jpg
IMG_2055.jpg
IMG_2056.jpg

For the face I'm usign a Resistive touch screen form ITEAD, it is really simple to use, it can be controlled with serial communication! So it only takes 2 pins of the arduino!

You can send the value of any variabele in the screen, or when you press any button the ID is sent to the Arduino.

To make the face program ITEAD has an edditor

https://www.itead.cc/display/nextion.html

Is really simple to use but if you use a screen like me, the HMI program and the .tft will be on the Google Drive Link

The .tft is the documment you place in the SD card so you can charge the program to the screen.

There are a lot of videos on youtube that explain how to use the software.

Videos

Twinky the ARDUINO Robot
Twinky Menu
Twinky Time
Twinky Eyes

A Small demostration of the functions, there are still more, but with this you can see what is capable of!

(He doesn't like to be touch in his eyes :b) but in his top right corner you can open the menu.

And with more coding you can do almost anything! There are still a lot of unused pins. You can add wifi... use the bluetooth to control other stuff or something like that.

I hope you like my instructable!

Feel free to comment or ask me any questions!