Index |
|
2. How to play InsectBot using ArduBlock |
3. Download latest ArduBlock |
1. InsectBot Introduction
Insectbot is an Arduino-based 2-servo walker robot with one infrared sensor to detect obstacles. This easy-to-assemble kit is designed to enable creative engineering and robotics learning for age 6 and above. It is the best way to start building robot on Arduino.
Download
Buy InsectBot Kit
2. How to play InsectBot using ArduBlock
We add some bricks for InsectBot in latest ArduBlock.
- Distance
- get distance to obstacle in front of InsectBot.
- In Danger?
- Is the obstacle too close to InsectBot?
- Go Forward
- let InsectBot go forward
- Go Back Right
- let InsectBot go backward
- Turn Left
- let InsectBot turn left
- Blink
- let InsectBot LED blink.
A complete ArduBlock porgram for InsectBot shown below.
Print distance of obstacle in front of InsectBot via Serial Port. if obstacle too close to InsectBot then blink LED on body of InsectBot, turn left 5 times and go backward 5 times. otherwise, go forward.
You can download example from here: -> link
3. Download latest ArduBlock
- Download latest version of ArduBlock from here: https://sourceforge.net/projects/ardublock/files/ardublock-beta-20131209-workshop-insectbot.zip/download
- extract zip file, follow the Instructions(Link) to install ArduBlock
- copy libraries/Workshop to Arduino libraries/
Now, it’s ready to use.
Which IO pin is connected to the servos, led and the IR distance sensor ??
you can find Assembling Guide in purchase link: http://www.dfrobot.com/index.php?route=product/product&tracking=51192e0e35c6e&product_id=1055
請問一下,為什麼控制選項的程式圖塊裡,為什麼沒有 break的停止功能呢?
沒有辦法讓程式停止,而不斷的重覆程式的迴圈,是否可以加上來呢?
会在下一版本考虑,考虑好的程序的结构,尽量避免”break,” “continue” 和 “goto”
Hello
the last version of ardublock id really good.
i just discover the subroutine.
i would like to make works my student on ardublock and then merge the subroutine.
i arrived to open 2 arduino and 2 ardublock.
but it’s not possible to copie some code from one ardublock to another.
someone know how to copie the code from one ardublock to another for merge the work.
i don’t know if it s a good place to ask.
thanks for all
Thanks
这个软件很好
谢谢!
good
好
good
hi