<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>eggbot &#8211; Robo90 &#8211; Blog</title>
	<atom:link href="https://blog.robo90.com/etiket/eggbot/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.robo90.com</link>
	<description>Arduino, 3D Yazıcı, Elektronik, Yazılım ve Teknoloji Hakkında Yüzlerce İçerik!</description>
	<lastBuildDate>Thu, 24 Aug 2023 10:49:55 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.robo90.com/wp-content/uploads/2023/09/cropped-robo90-blog-favicon-robot-1-32x32.png</url>
	<title>eggbot &#8211; Robo90 &#8211; Blog</title>
	<link>https://blog.robo90.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Arduino ile EGGBOT Yapımı</title>
		<link>https://blog.robo90.com/arduino-ile-eggbot-yapimi/</link>
					<comments>https://blog.robo90.com/arduino-ile-eggbot-yapimi/#respond</comments>
		
		<dc:creator><![CDATA[Baki Ateş]]></dc:creator>
		<pubDate>Tue, 22 Aug 2023 11:36:38 +0000</pubDate>
				<category><![CDATA[Arduino Projeleri]]></category>
		<category><![CDATA[Genel]]></category>
		<category><![CDATA[eggbot]]></category>
		<category><![CDATA[yumurta]]></category>
		<guid isPermaLink="false">https://blog.robo90.com/?p=8440</guid>

					<description><![CDATA[<p>Herkese merhaba&#8230; Bu yazıda sizlerle beraber eggbot yapımını göreceğiz. Eggbot yapımında çok zorluk yaşadığım için sizlere kolaylıklar sağlamak için böyle bir yazı yazmaya karar verdim. Projemizin yapımında göreceğimiz, öğreneceğimiz bir yeni uygulamamızda Inkscape&#8217;dir. yumurtanın üzerinde harika bir görsel şölen oluşturacağınız, arkadaşlarınıza ve ailenize verebileceğiniz harika bir hediye olabilir. Haydi projemize başlayalım. Kullanılan Malzemeler Arduino ile [...]</p>
<p><a rel="nofollow" href="https://blog.robo90.com/arduino-ile-eggbot-yapimi/">Arduino ile EGGBOT Yapımı</a> yazısı ilk önce <a rel="nofollow" href="https://blog.robo90.com">Robo90 - Blog</a> üzerinde ortaya çıktı.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Herkese merhaba&#8230; Bu yazıda sizlerle beraber eggbot yapımını göreceğiz. Eggbot yapımında çok zorluk yaşadığım için sizlere kolaylıklar sağlamak için böyle bir yazı yazmaya karar verdim. Projemizin yapımında göreceğimiz, öğreneceğimiz bir yeni uygulamamızda Inkscape&#8217;dir. yumurtanın üzerinde harika bir görsel şölen oluşturacağınız, arkadaşlarınıza ve ailenize verebileceğiniz harika bir hediye olabilir. Haydi projemize başlayalım.</p>



<h2 class="wp-block-heading">Kullanılan Malzemeler</h2>



<ol class="wp-block-list">
<li><a href="https://www.robo90.com/28-byj-48-step-motor-ve-uln2003-step-motor-surucu-seti">2 Adet Step Motor Ve ULN2003 Step Motor Sürücü Seti</a></li>



<li><a href="https://www.robo90.com/arduino-uno-r3-smd-klonch340-cipli-usb-kablo-hediyeli">Arduino UNO</a></li>



<li><a href="https://www.robo90.com/tower-pro-sg90-mini-servo-motor-9g">SG90 Mini Servo Motor</a></li>



<li><a href="https://www.robo90.com/40li-ayrilabilen-disi-erkek-jumper-kablo-20cm-arduino-uyumlu">Dişi-Erkek Jumper Kablo</a></li>



<li><a href="https://www.robo90.com/40li-ayrilabilen-erkek-erkek-jumper-kablo-20cm-arduino-uyumlu">Erkek-Erkek Jumper Kablo</a></li>



<li><a href="https://www.robo90.com/mini-breadboard-170-pin-mavi">Mini Breadboard</a></li>



<li><a href="https://www.robo90.com/628-zz-minyatur-rulman">Minyatür Rulman</a></li>
</ol>



<h2 class="wp-block-heading">Arduino ile EggBot Projesi Nasıl Çalışır?</h2>



<p>Projemizin temel amacı pinpon topuna ya da yumurta üzerine çizim yapmaktır. 2 Step motordan bir tanesi yumurtayı kendi etrafında döndürürken 2. step motorumuz servo motorun ve kalemin monteli olduğu kolu sağa ve sola olmak üzere iki yönlü hareket ettirmektedir. 2. step motorumuzun hareket ettirdiği kola montajlı olan servo motorumuz ise kalemin takıldığı kolu yukarı aşağı hareket ettirerek çizeceğimiz görselde çizgiler arası atlamaya yarar. Şimdi ise Inkscape uygulamamızdaki aşamalara geçelim. Uygulamamıza gerekli kütüphaneleri ekledikten sonra uygulamamıza giriş yapıyoruz. Sol üst kısımdan Dosya> template > eggbot adımlarını izliyoruz ve çıkan yeni sekmede istediğimiz görseli çiziyoruz. Üst satırda Etkinlikler > eggbot > eggbot control adımlarını izleyerek çıkan ekranda plot sekmesinde uygula diyerek çiziminizi yapabiliyorsunuz. Aşağıdaki görselde anlattığımız şekilde step ve servo motorlarını görebilirsiniz.</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="577" data-id="8484" src="https://blog.robo90.com/wp-content/uploads/2023/08/eggbot1-1024x577.jpg" alt="Arduino ile EGGBOT Yapımı - Robo90 - Blog 1" class="wp-image-8484" title="Arduino ile EGGBOT Yapımı 1" srcset="https://blog.robo90.com/wp-content/uploads/2023/08/eggbot1-1024x577.jpg 1024w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot1-300x169.jpg 300w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot1-768x433.jpg 768w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot1-150x84.jpg 150w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot1-450x253.jpg 450w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot1-1200x676.jpg 1200w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot1.jpg 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="577" data-id="8485" src="https://blog.robo90.com/wp-content/uploads/2023/08/eggbot2-1024x577.jpg" alt="Arduino ile EGGBOT Yapımı - Robo90 - Blog 2" class="wp-image-8485" title="Arduino ile EGGBOT Yapımı 2" srcset="https://blog.robo90.com/wp-content/uploads/2023/08/eggbot2-1024x577.jpg 1024w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot2-300x169.jpg 300w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot2-768x433.jpg 768w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot2-150x84.jpg 150w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot2-450x253.jpg 450w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot2-1200x676.jpg 1200w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot2.jpg 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="577" data-id="8486" src="https://blog.robo90.com/wp-content/uploads/2023/08/eggbot3-1024x577.jpg" alt="Arduino ile EGGBOT Yapımı - Robo90 - Blog 3" class="wp-image-8486" title="Arduino ile EGGBOT Yapımı 3" srcset="https://blog.robo90.com/wp-content/uploads/2023/08/eggbot3-1024x577.jpg 1024w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot3-300x169.jpg 300w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot3-768x433.jpg 768w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot3-150x84.jpg 150w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot3-450x253.jpg 450w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot3-1200x676.jpg 1200w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbot3.jpg 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</figure>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.robo90.com/wp-content/uploads/2023/08/eggbotgorsel-1024x577.jpg" alt="Arduino ile EGGBOT Yapımı - Robo90 - Blog 4" class="wp-image-8515" style="width:753px;height:424px" width="753" height="424" title="Arduino ile EGGBOT Yapımı 4" srcset="https://blog.robo90.com/wp-content/uploads/2023/08/eggbotgorsel-1024x577.jpg 1024w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbotgorsel-300x169.jpg 300w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbotgorsel-768x433.jpg 768w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbotgorsel-150x84.jpg 150w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbotgorsel-450x253.jpg 450w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbotgorsel-1200x676.jpg 1200w, https://blog.robo90.com/wp-content/uploads/2023/08/eggbotgorsel.jpg 1280w" sizes="(max-width: 753px) 100vw, 753px" /></figure>



<h2 class="wp-block-heading">Arduino Kodu</h2>



<pre class="wp-block-code"><code>
#include "AccelStepper.h" // nice lib from http://www.airspayce.com/mikem/arduino/AccelStepper/
#include "VarSpeedServo.h" // variable speed servo lib https://github.com/netlabtoolkit/VarSpeedServo
#include "SerialCommand.h" //nice lib from Stefan Rado, https://github.com/kroimon/Arduino-SerialCommand
#include &lt;avr/eeprom.h&gt;
#include "button.h"


#define initSting "EBBv13_and_above Protocol emulated by Eggduino-Firmware V1.x"

#define BOARD_ULN2003
//#define BOARD_ZAGGO
//#define BOARD_CNCSHIELD

#ifdef BOARD_ULN2003
	// Mini Spherebot using 28BYJ-48 Steppers with ULN2003 Drivers
	// http://www.thingiverse.com/thing:1461709
	#define rotMicrostep 16
	#define penMicrostep 16
	#define servoPin 13
	#define engraverPin 12
  #define en1_1 4
#define en2_1 5
#define en3_1 6
#define en4_1 7

#define en1_2 8
#define en2_2 9
#define en3_2 10
#define en4_2 11
	// These values work for my 28BYJ-48's, Your's might 
	// be different and may need adjustment.
	
	#define rotStepsPerRev 4096
	#define penStepsUseable 1100
	
	//Buttons (uncomment to enable)
	//#define prgButton 2 // PRG button
	//#define penToggleButton 12 // pen up/down button
	//#define motorsButton 4 // motors enable button
#endif


#define penUpPosEEAddress ((uint16_t *)0)
#define penDownPosEEAddress ((uint16_t *)2)
#define penUpRateEEAddress ((uint16_t *)4)
#define penDownRateEEAddress ((uint16_t *)6)

void setprgButtonState();
void doTogglePen();
void toggleMotors();
void makeComInterface();
void initHardware();
void moveOneStep();

//make Objects
#ifdef BOARD_ULN2003
AccelStepper rotMotor(AccelStepper::HALF4WIRE, en1_1,en3_1,en2_1,en4_1);
AccelStepper penMotor(AccelStepper::HALF4WIRE, en1_2,en3_2,en2_2,en4_2);
//AccelStepper penMotor(AccelStepper::HALF4WIRE, 2,4,3,5, true);
//AccelStepper rotMotor(AccelStepper::HALF4WIRE, 8,10,9,11, true);
#else
AccelStepper rotMotor(1, step1, dir1);
AccelStepper penMotor(1, step2, dir2);
#endif

VarSpeedServo penServo;
SerialCommand SCmd;
//create Buttons
#ifdef prgButton
	Button prgButtonToggle(prgButton, setprgButtonState);
#endif
#ifdef penToggleButton
	Button penToggle(penToggleButton, doTogglePen);
#endif
#ifdef motorsButton
	Button motorsToggle(motorsButton, toggleMotors);
#endif
// Variables... be careful, by messing around here, everything has a reason and crossrelations...
int penMin=0;
int penMax=0;
int penUpPos=5;  //can be overwritten from EBB-Command SC
int penDownPos=20; //can be overwritten from EBB-Command SC
int servoRateUp=0;
int servoRateDown=0;
long rotStepError=0;
long penStepError=0;
int penState=penUpPos;
uint32_t nodeCount=0;
unsigned int layer=0;
boolean prgButtonState=0;
uint8_t rotStepCorrection = 16/rotMicrostep ; //devide EBB-Coordinates by this factor to get EGGduino-Steps
uint8_t penStepCorrection = 16/penMicrostep ; //devide EBB-Coordinates by this factor to get EGGduino-Steps
float rotSpeed=0;
float penSpeed=0; // these are local variables for Function SteppermotorMove-Command, but for performance-reasons it will be initialized here
boolean motorsEnabled = 0;
//float rotScale = (float)rotStepsPerRev / 3200.0;
//float penScale = (float)penStepsUseable / 800.0;

void setup() {   
	Serial.begin(9600);
	makeComInterface();
	initHardware();
}

void loop() {
	moveOneStep();

	SCmd.readSerial();

#ifdef penToggleButton
	penToggle.check();
#endif

#ifdef motorsButton
	motorsToggle.check();
#endif

#ifdef prgButton
	prgButtonToggle.check();
#endif
}
</code></pre>



<p>Kodumuzu yazdıktan sonra kütüphanelerimizin çalıştığını kontrol edelim. Benim projeyi yaparken karşılaştığım sıkıntılardan biriside kütüphanelerin güncelleme almasından dolayı çalışmamasıydı. Eğer kütüphanelerde bir sıkıntı yaşarsanız güncel sürümlerini yükleyerek tekrar denemenizi tavsiye ederim. </p>



<p>Kütüphanelerinde çalıştığına eminsek eğer ki şimdi sırada devremizi kurmada. Kullanacağımız malzemeleri ilk önce çalışıyor mu diye kontrol ediyoruz. Malzemelerimiz de çalıştığına göre şimdi devremizi kurmaya hazırız.</p>



<h2 class="wp-block-heading">Devre Şeması</h2>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="685" src="https://blog.robo90.com/wp-content/uploads/2023/08/Eggbot-1-1024x685.jpg" alt="Arduino ile EGGBOT Yapımı - Robo90 - Blog 5" class="wp-image-8513" title="Arduino ile EGGBOT Yapımı 5" srcset="https://blog.robo90.com/wp-content/uploads/2023/08/Eggbot-1-1024x685.jpg 1024w, https://blog.robo90.com/wp-content/uploads/2023/08/Eggbot-1-300x201.jpg 300w, https://blog.robo90.com/wp-content/uploads/2023/08/Eggbot-1-768x514.jpg 768w, https://blog.robo90.com/wp-content/uploads/2023/08/Eggbot-1-1536x1027.jpg 1536w, https://blog.robo90.com/wp-content/uploads/2023/08/Eggbot-1-2048x1370.jpg 2048w, https://blog.robo90.com/wp-content/uploads/2023/08/Eggbot-1-150x100.jpg 150w, https://blog.robo90.com/wp-content/uploads/2023/08/Eggbot-1-450x301.jpg 450w, https://blog.robo90.com/wp-content/uploads/2023/08/Eggbot-1-1200x803.jpg 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Evet devremizi kurduğumuza göre şimdi sırada 3D çizimlerimizi baskıya vermekte ben kullanmış olduğum baskıları aşağıya link şeklinde bırakıyorum dilerseniz oradan dilerseniz de kendiniz bir çizim yaparak stand yapabilirsiniz.</p>



<p><a href="https://www.thingiverse.com/thing:1461709" rel="nofollow noopener" target="_blank">Eggbot 3D Thingiverse</a></p>



<p>3D Printer&#8217;ımızdan parçaları da aldıysak artık dilediğimizi resmedebiliriz.</p>
<p><a rel="nofollow" href="https://blog.robo90.com/arduino-ile-eggbot-yapimi/">Arduino ile EGGBOT Yapımı</a> yazısı ilk önce <a rel="nofollow" href="https://blog.robo90.com">Robo90 - Blog</a> üzerinde ortaya çıktı.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.robo90.com/arduino-ile-eggbot-yapimi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
