查看“Intelligent Lifting Lever”的源代码
←
Intelligent Lifting Lever
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language| Smart Lift Lever }} {| style="width: 800px;" |- | ==Objective== Simulate switch of a lift lever through Crash key. Just press the key, the lift lever as well as the servo will get rasied and the small car gets through. ==Principle== Judge if Crash key is pressed down or not. When pressing down, please make sure the lift lever rotates to a certain angle. The small car goes on Y-axis and gets smaller, meaning the car getting through. Meantime, you can control the rotation of the servo to a certain angle to simulate a true rise of the lift lever. ==Equipment== *'''[[Microduino-CoreUSB]]''' *'''[[Microduino-Sensorhub]]''' *'''[[Microduino-Crash]]''' *Servo [[File: Landing_Car.jpg|600px|center|thumb]] ==Hardware Buildup= *Setup 1:Stack CoreUSB and Sensorhub. [[File:CoreUSB_Sensorhub.jpg|600px|center|thumb]] *Setup 2:Connect Crash to D2. [[File: Landing_Car_Crash.jpg|600px|center|thumb]] *Setup 3:Connect servo to D8. [[File: Landing_Car_servo.jpg|600px|center|thumb]] ==Software Debugging== *Setup 1:Build Scratch programming environment. **[[S4A Scratch Getting started]] *Setup 2:Start programming. Example program download: [[File: Landing_Car.zip]] *Setup 3:Code description: Monitor Crash key value and make servo rotate to a certain angle for one part and you can see the key value change in Scratch for another part. **Monitor Crash key value and make servo rotate to a certain angle at the same time. You can see the lift lever open. [[File:Joystick_mCookie.gif|600px|center|thumb]] **The small car moves according to Crash values. [[File:Joystick_mCookie.gif|600px|center|thumb]] ==Result== Press down the key, the lift lever is activated when rotating a certain angle. The small car goes on Y-axis and gets smaller, meaning the car getting through. Meantime, you can control the rotation of the servo to a certain angle to simulate a true rise of the lift lever. ==Video== |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
Intelligent Lifting Lever
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
Welcome
首页
创客大赛
大赛详情
3D打印
安装月球车
图形化编程
操控月球车
升级月球车
编程工具下载
软件下载
Arduino
Processing
Mixly
Scratch
模块套件
Microduino 102
mCookie 102
mCookie 202
mCookie 302
IBC
其他
应用套件
四轴飞行器
平衡车
小车CUBE
音乐播放器
刷卡音乐播放器
wifi气象站
彩虹音乐触摸灯
分贝检测仪
迎门汇报
LED点阵时钟
LED点阵屏幕
硬件
mCookie
Sensor
Microduino
MicroWrt
MicroNux
MicroRobot-Core
MicroRobot-CoreESP
ideaBoard
ideaBox
MicroMV
MicroAI
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息