]]>
Wednesday Meetup – innovati came and visited us..
February 23rd, 2012 § 0 comments § permalink
Photos from RoboRace
September 26th, 2011 § 0 comments § permalink
Roboracing Competition – 2011/07/10
July 11th, 2011 § 0 comments § permalink
Participants last preparations:
Participants self presentation:
The Winners: Nelson Zhang (Autonomous Wall-E) and Michael Liao (Remote controlled Tank)A big THANK to Shanda Innovations for sponsoring 2 E-Book readers as prices for the winners!
Roborace Contestants and their Creators:
Thumbs up to all the participants for their great work! Thank you to Shanda Innovations for being our generous sponsor! Thank you to TimeOut magazine for featuring our event! Thank you to DFRobot and RoboticFan particularly Ricky Ye and Rocky for co-organizing this event! Thank you to XinDanWei for promoting our event! Thank you to everyone who visited us yesterday! Thank you to those who cannot come for your mental support! Thank you to Andi for the great poster and flyer design! Thank you to Paul for sponsoring the posters printouts! Thank you to Bindy for helping out on translations and selling drinks! Thank you to Michael for sponsoring his E-book for next competition and buying drinks to the participants! Thank you to John for helping out on event organization! Thank you to Airie for promoting the event on RenRen! Thank you to Min Lin for promoting, coordinating and organizing the event!
We’re planning to have the next Roboracing at the end of August, stay tuned!
]]>Roboracing Competition
July 8th, 2011 § 0 comments § permalink
This event is open to everyone, please bring your friends and family! Register here. The competition will be in 2 parts: * Autonomous robot car racing * Remote controlled robot car racing ==>Competition Rules<== If you wish to become participant at the racing, please send email to: [email protected] If you wish to become sponsor of this event, please send email to: [email protected] Here’s some pictures of the last Roboracing event.
Registered teams:
Team 1: Lauren Pan (Toy car modification robot) Team 2: Barry Xu (DIY robot) Team 3: Daniel (2WD Mobile robot kit) Team 4: Zhang Chen (Andriod control HCR) Team 5: Jiang Gui Long/Wu Tao/Zhang Jie ( Android Control HCR) Team 6: Rockets (Tank mobile robot) Team 7: Unknown (LEGO mobile robot) Team 8: Ricky Ye (HCR robot) Team 9: Ricky Ng-Adam (Autonomous robot toy car – ART) Team 10: Lutz Michaelis (Autonomous Beetleduino) Team 11: Paul Adams (Hoverbot Hubert) Team 12: Nelson Zhang (Autonomous Wall-E) Team 13: Lionello Lunesu (LEGO mobile robot) Team 14: David Li (Soccerbot) ]]>Android & Robots
June 8th, 2011 § 1 comment § permalink
Android Open Accessory Development Kit.
The Android 3.1 platform (also backported to Android 2.3.4) introduces Android Open Accessory support, which allows external USB hardware (an Android USB accessory) to interact with an Android-powered device in a special “accessory” mode. When an Android-powered powered device is in accessory mode, the connected accessory acts as the USB host (powers the bus and enumerates devices) and the Android-powered device acts as the USB device. Android USB accessories are specifically designed to attach to Android-powered devices and adhere to a simple protocol (Android accessory protocol) that allows them to detect Android-powered devices that support accessory mode.Workshops are weekly and will explore both the development on the Android-side and the micro-controllers side – touching on all aspects of mechanical, electrical and software engineering of a robot. In particular, we will look together at the use of ADK-compatible hardware boards, such as the Google IOIO board or new hardware offerings from Seeedstudio. Participation for XinCheJian members who’ve paid their dues is free. For the non-members, the fee is 50 RMB per workshop. For more information, look at the “Android & Robots” wiki. Don’t forget to fulfill the necessary pre-requisites and join the [email protected] mailing list! Note that this is a collaborative workshop, so we expect everyone to contribute and participate actively. ]]>
HCR Roboracing
May 25th, 2011 § 2 comments § permalink
Racing track mock-up and simulation with Google SketchUp
Some video
Some Pictures
http://bbs.roboticfan.com/showtopic-9231.aspx]]>Insect Bot Workshop [2]
May 9th, 2011 § 1 comment § permalink
We got full house this Sunday with 13 people doing Insect Bot workshop including 10 kids. It’s a lot of fun and most of insect got to walk.
]]>
Adding servo to RC car
May 6th, 2011 § 0 comments § permalink
遥控小车的改造 May 3rd, 2011
今天完成了遥控车的改造,这是自主控制的第一步。这辆车是在淘宝上买的,结构很简单,控制很简陋。方向就是将电机打死,这时候电流会非常大,而且对于将来的自主移动的精细控制带来不利因素。所以很早就想把它改成舵机控制的了,下面就是整个改造的过程。
这就是需要改造的部分。
先将需要改造的部分画下来,便于设计框架结构。我不是机械出身的,所以就画个大概吧。
结构图完成
在图纸上设计新的结构
根据设计切割材料
最后完成的样子,由于是临时电路,也就没固定,看上去有点像垃圾车-_-b
改造部分的特写
再来一张
这些只是机械部份,然后就是控制部份。由于舵机能够转动的角度范围到180度,而该车的转向轮仅能转动在30-40度之间。同时,自主移动机器人目标是在Arduino上面开发。所以我就一步到位,先用Arduino读取天地飞的pwm信号,然后经过转换,输出新的pwm信号给舵机,这样就不会因为卡住而损坏舵机了。
最后效果如下
http://v.youku.com/v_show/id_XMjYzOTc2NzA4.html
使用的程序非常简单,如下:
#include <Servo.h> //Author: HE Qichen //Date: 2011-5-3 //Website: http://gaishi.vicp.net //Email: heqichen(a)gaishi.vicp.net Servo directionServo; void setup() { pinMode(2, INPUT); directionServo.attach(3); } void loop() { int t, a; t = pulseIn(2, HIGH); a = map(t, 1000, 2000, 65, 115); directionServo.write(a); }]]>
Hacking Embedream Car
May 6th, 2011 § 0 comments § permalink
嵌入之梦-圆梦小车开发 May 1st, 2011
今天看到一台嵌入之梦的小车,但是上电之后发了疯似的乱跑,所以刷之。但新车间却没有网络,没办法,自己一点一点试。。结果如下
CT1 接受pwm,控制速度 CT2 前进控制信号,高电位转动 CT3 后退控制信号,高电位转动
但是由于小车上的UNO与我的Ubuntu连接有问题,貌似只有Windows是好的,Mac OS有时也会出问题。所以最后车上改用了Mega 1280。
但是又发现一个问题,就是Arduino使用USB供电的时候很正常,然而,使用车上接出来的5V电源时,程序就会混乱,完全没有一点规律。猜测可能是由于电机转动导致整个系统的电压下降,无法提供足够的电压给Arduino的板子上。这大概也是之前uno不会发疯的原因。没办法,在小车上再接一块9V层叠式电池,作为Arduino的电源。最后终于行了。
后面程序的作用是往前走,遇到前方有物体是后退,打弯,然后继续往前,一个简单的壁障程序。没有用到速度控制。下面就是这个小车最后的样子,手机拍的,将就看吧
左侧照
右侧照
再来一张
http://v.youku.com/v_show/id_XMjYzMzY0NzA0.html用到的程序就是下面的
//Author: HE Qichen //Email: heqichen(a)gaishi.vicp.net //Website: http://gaishi.vicp.net //Date: 2011-5-1 int status; #define LEFT_SPEED 6 #define LEFT_FORWARD 7 #define LEFT_BACKWARD 8 #define RIGHT_SPEED 10 #define RIGHT_FORWARD 11 #define RIGHT_BACKWARD 12 #define ULTRASONIC_ECHO 3 #define ULTRASONIC_TRIG 4 #define NORMAL_SPEED 100 #define STOP_SPEED 0 void setup() { Serial.begin(9600); setupMove(); setupUltrasonic(); } void loop() { unsigned int d; moveForward(); d = readDistance(); Serial.println(d, DEC); if (d < 700) { moveBackward(); delay(500); turnLeft(); delay(200); } } void moveForward() { analogWrite(LEFT_SPEED, NORMAL_SPEED); digitalWrite(LEFT_BACKWARD, LOW); digitalWrite(LEFT_FORWARD, HIGH); analogWrite(RIGHT_SPEED, NORMAL_SPEED); digitalWrite(RIGHT_BACKWARD, LOW); digitalWrite(RIGHT_FORWARD, HIGH); } void moveBackward() { analogWrite(LEFT_SPEED, NORMAL_SPEED); digitalWrite(LEFT_BACKWARD, HIGH); digitalWrite(LEFT_FORWARD, LOW); analogWrite(RIGHT_SPEED, NORMAL_SPEED); digitalWrite(RIGHT_BACKWARD, HIGH); digitalWrite(RIGHT_FORWARD, LOW); } void turnLeft() { analogWrite(LEFT_SPEED, NORMAL_SPEED); digitalWrite(LEFT_BACKWARD, HIGH); digitalWrite(LEFT_FORWARD, LOW); analogWrite(RIGHT_SPEED, NORMAL_SPEED); digitalWrite(RIGHT_BACKWARD, LOW); digitalWrite(RIGHT_FORWARD, HIGH); } void turnRight() { analogWrite(LEFT_SPEED, NORMAL_SPEED); digitalWrite(LEFT_BACKWARD, LOW); digitalWrite(LEFT_FORWARD, HIGH); analogWrite(RIGHT_SPEED, NORMAL_SPEED); digitalWrite(RIGHT_BACKWARD, HIGH); digitalWrite(RIGHT_FORWARD, LOW); } void moveStop() { analogWrite(LEFT_SPEED, STOP_SPEED); digitalWrite(LEFT_BACKWARD, LOW); digitalWrite(LEFT_FORWARD, LOW); analogWrite(RIGHT_SPEED, STOP_SPEED); digitalWrite(RIGHT_BACKWARD, LOW); digitalWrite(RIGHT_FORWARD, LOW); } void setupMove() { pinMode(LEFT_SPEED, OUTPUT); pinMode(LEFT_FORWARD, OUTPUT); pinMode(LEFT_BACKWARD, OUTPUT); pinMode(RIGHT_SPEED, OUTPUT); pinMode(RIGHT_FORWARD, OUTPUT); pinMode(RIGHT_BACKWARD, OUTPUT); analogWrite(LEFT_SPEED, STOP_SPEED); digitalWrite(LEFT_FORWARD, LOW); digitalWrite(LEFT_BACKWARD, LOW); analogWrite(RIGHT_SPEED, STOP_SPEED); digitalWrite(RIGHT_FORWARD, LOW); digitalWrite(RIGHT_BACKWARD, LOW); } unsigned int readDistance() { int duration; digitalWrite(ULTRASONIC_TRIG, LOW); delayMicroseconds(2); digitalWrite(ULTRASONIC_TRIG, HIGH); delayMicroseconds(5); digitalWrite(ULTRASONIC_TRIG, LOW); // The same pin is used to read the signal from the PING))): a HIGH // pulse whose duration is the time (in microseconds) from the sending // of the ping to the reception of its echo off of an object. duration = pulseIn(ULTRASONIC_ECHO, HIGH); return duration; } void setupUltrasonic() { pinMode(ULTRASONIC_TRIG, OUTPUT); pinMode(ULTRASONIC_ECHO, INPUT); digitalWrite(ULTRASONIC_TRIG, LOW); }]]>
Autonomous RC Car
May 6th, 2011 § 0 comments § permalink
自主机器人项目
我想通过改造一辆遥控小车,造出个自主移动机器人,遥控车就是下面这张图片中的车。
并且希望通过大家的智慧,把这个机器人做好,比如说,想在上面放一个无线摄像头;比如说,在上面放一个机械手臂;比如说,在这上面装一个超声测距模块……我将集中大家的智慧,集合到这个小车上面,^_^
http://v.youku.com/v_show/id_XMjYyMzQ4OTYw.html如果你有想法,请告诉我 hacker(a)gaishi.vicp.net
]]>