{"id":2099,"date":"2026-02-17T13:20:22","date_gmt":"2026-02-17T10:20:22","guid":{"rendered":"https:\/\/facadium.com.tr\/arduino\/?post_type=arduino_projeleri&#038;p=2099"},"modified":"2026-02-17T13:20:24","modified_gmt":"2026-02-17T10:20:24","slug":"radyan-derece-donusumu","status":"publish","type":"arduino_projeleri","link":"https:\/\/facadium.com.tr\/arduino\/arduino_projeleri\/radyan-derece-donusumu\/","title":{"rendered":"Radyan &#8211; Derece D\u00f6n\u00fc\u015f\u00fcm\u00fc"},"content":{"rendered":"","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":true,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"categories":[],"tags":[],"arduino_kategori":[13],"proje_kategorisi":[],"proje_kategorisim":[],"class_list":["post-2099","arduino_projeleri","type-arduino_projeleri","status-publish","hentry","arduino_kategori-matematik"],"acf":{"arduino_kodu":"\/*\r\n  Proje: Radyan - Derece D\u00f6n\u00fc\u015f\u00fcm\u00fc\r\n  A\u00e7\u0131klama:\r\n  - Girilen a\u00e7\u0131y\u0131 derece \u2192 radyan\r\n  - Girilen a\u00e7\u0131y\u0131 radyan \u2192 derece\r\n  d\u00f6n\u00fc\u015f\u00fcmlerini yapar.\r\n\r\n  Form\u00fcller:\r\n  Radyan = Derece * PI \/ 180\r\n  Derece = Radyan * 180 \/ PI\r\n*\/\r\n\r\n#include <math.h>   \/\/ D\u0130KKAT: PI sabiti i\u00e7in gereklidir.\r\n\r\nfloat readFloatFromSerial(const char* prompt) {\r\n  Serial.println(prompt);\r\n\r\n  while (Serial.available() == 0) {\r\n    \/\/ bekleme\r\n  }\r\n\r\n  float val = Serial.parseFloat();\r\n\r\n  while (Serial.available() > 0) {\r\n    Serial.read();\r\n  }\r\n\r\n  return val;\r\n}\r\n\r\nvoid setup() {\r\n  Serial.begin(9600);\r\n  delay(300);\r\n\r\n  Serial.println(\"=== Arduino Matematik Ornekleri ===\");\r\n  Serial.println(\"Ornek 25: Radyan - Derece Donusumu\");\r\n  Serial.println(\"----------------------------------\");\r\n}\r\n\r\nvoid loop() {\r\n\r\n  Serial.println(\"1 \u2192 Derece'den Radyan'a\");\r\n  Serial.println(\"2 \u2192 Radyan'dan Derece'ye\");\r\n\r\n  int secim = (int)readFloatFromSerial(\"Seciminizi giriniz (1 veya 2):\");\r\n\r\n  if (secim == 1) {\r\n\r\n    float derece = readFloatFromSerial(\"Derece degerini giriniz:\");\r\n\r\n    float radyan = derece * PI \/ 180.0;\r\n\r\n    Serial.println(\"----------------------------------\");\r\n    Serial.print(derece);\r\n    Serial.print(\" derece = \");\r\n    Serial.print(radyan, 4);\r\n    Serial.println(\" radyan\");\r\n  }\r\n  else if (secim == 2) {\r\n\r\n    float radyan = readFloatFromSerial(\"Radyan degerini giriniz:\");\r\n\r\n    float derece = radyan * 180.0 \/ PI;\r\n\r\n    Serial.println(\"----------------------------------\");\r\n    Serial.print(radyan);\r\n    Serial.print(\" radyan = \");\r\n    Serial.print(derece, 2);\r\n    Serial.println(\" derece\");\r\n  }\r\n  else {\r\n    Serial.println(\"HATA: Gecersiz secim yaptiniz!\");\r\n  }\r\n\r\n  Serial.println(\"----------------------------------\");\r\n  delay(1000);\r\n}","baglanti_semasi":"","output":"=== Arduino Matematik Ornekleri ===\r\nOrnek 25: Radyan - Derece Donusumu\r\n----------------------------------\r\n1 \u2192 Derece'den Radyan'a\r\n2 \u2192 Radyan'dan Derece'ye\r\nSeciminizi giriniz (1 veya 2):\r\n1\r\nDerece degerini giriniz:\r\n180\r\n----------------------------------\r\n180.00 derece = 3.1416 radyan\r\n----------------------------------","malzeme_listesi":""},"_links":{"self":[{"href":"https:\/\/facadium.com.tr\/arduino\/wp-json\/wp\/v2\/arduino_projeleri\/2099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/facadium.com.tr\/arduino\/wp-json\/wp\/v2\/arduino_projeleri"}],"about":[{"href":"https:\/\/facadium.com.tr\/arduino\/wp-json\/wp\/v2\/types\/arduino_projeleri"}],"wp:attachment":[{"href":"https:\/\/facadium.com.tr\/arduino\/wp-json\/wp\/v2\/media?parent=2099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/facadium.com.tr\/arduino\/wp-json\/wp\/v2\/categories?post=2099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/facadium.com.tr\/arduino\/wp-json\/wp\/v2\/tags?post=2099"},{"taxonomy":"arduino_kategori","embeddable":true,"href":"https:\/\/facadium.com.tr\/arduino\/wp-json\/wp\/v2\/arduino_kategori?post=2099"},{"taxonomy":"proje_kategorisi","embeddable":true,"href":"https:\/\/facadium.com.tr\/arduino\/wp-json\/wp\/v2\/proje_kategorisi?post=2099"},{"taxonomy":"proje_kategorisim","embeddable":true,"href":"https:\/\/facadium.com.tr\/arduino\/wp-json\/wp\/v2\/proje_kategorisim?post=2099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}