עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

שאלה|360 מעלות עם סרבו

Featured Replies

פורסם

לפרויקט שאני עושה, רובוט עוקב קו עם חיישני IR רציתי לעשות עם שני גלגלים עצמאיים אבל אני רציתי לעשות את כל הפרויקט במחיר זול מאוד.

אז בשביל הסרוואים לקחתי שני סרוואים סינים פשוטים של 9G , ניתקתי את הפוטורסיסטור והורדתי את החסימה בגלגל שיניים

הבעיה היא שאני יכול לשלוט רק על כיוון, אני לא מצליח לגרום לו לעצור

פורסם

נתק לו את הזרם...

פורסם
  • מחבר

זה באמת עובד, אבל אם אני רוצה לשלוט על הרובוט צריך לעשות את זה אוטומטי, ניסיתי עם פין דיגיטלי, הוא תמיד HIGH למתח של הסרבו והוא LOW לשנייה כשיש שינוי בזווית, אבל המתח משום מה לא מספיק לסרבו והוא לא מסתובב

פורסם

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1284385670/all

It's nothing to do with luck. With a servo modified for continuous rotation you probably should use the writeMicroseconds() command. Every model servo will have different maximum speeds and range of microseconds commands it can handle. You will have to experiment to find the exact stop timing, usually around 1500 +/- microseconds, and the maximum forward and reverse speed microsecond values.

Once you know the three critical microsecond values for max forward speed, max reverse speed, and stop you might then want to use the map function to allow you to use say, -100, 0, +100 values, to control the speed and direction of your specific servo inside your program.

http://arduino.cc/en/Reference/ServoWriteMicroseconds

http://arduino.cc/en/Reference/Map

Lefty

תתחיל לחקור :)

פורסם
  • מחבר

תודה רבה, זה מה שאעשה

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.