XinCheJian, Hackerspace, Robots, and HCR at Barcamp Shanghai

March 13th, 2011 § 1 comment § permalink

XinCheJian was in Barcamp Shanghai!

We took the Green for the afternoon to talk about Hackerspace, Maker, Open Source Hardware and of course ROBOTS!!! 😉

IMG 0086

The crazy robot car David was carrying around at Barcamp

The robot was built the night before barcamp with YM4 from Embedream, Arduino Uno and a HC-SR04. The little YM4 is a lot of fun. The independently controlled wheels allowing the car to turn on a fix axis and this saves the use to savor to turn the limited angle SR04 around to inspect the environment. But at 3AM, it was discovered a little drawback of controlling two independent wheels while trying to make the it going straight. Well, it was 3AM so I decide to let it acts a little crazy. I am dedicating this crazy robot to the crazy Shanghai taxi driver who took me to the barcamp in the morning! I will name it 840. 😉

IMG 0078

Pitching Hackerspace

Kicking off the afternoon with pitch of Hackerspace and Maker Culture

IMG 0093

Hmm, this is why the call this session “THE GREEN.” Get to make fun of making is much more fun then golf as hobby.

IMG 0096

HCR, the open source robots from DFRobot

Rick Ye gave a talk on his open source HCR robot. I was driving it around to round up people to the talk. This version has a cam pointing upward and a automated navigation mode. It’s a lot of fun to watch it walking all over the place on its own from the video at the control.

IMG 0106

This little guy has great potential to be a good caddy on the green.

IMG 0110

Video of HCR

Thanks to Scott for the video.

]]>

EmbeDream YM4 and Arduino Uno

March 5th, 2011 § 0 comments § permalink

#ym4-arduino-uno img { margin:5px; padding:5px; display:block; }

Another weekend night of hacking fun hooking up a Arduino Uno with YM4 robotic car from EmbeDream. The YM4 is a well designed FIRA compliant robot car with built in power supply. The left and right wheels are controlled independently and the built in feedback from wheels.

The break out board for the YM4 is easy to work with. The H-bridge control are CT1, CT2, and CT3. CT1 control the speed with PWM and CT2/CT3 decide the direction of the wheel. This is the same configuration for both wheels. The following is a quick sketch to get YM4 going forward.


#define RIGHT_CTRL_1 5
#define RIGHT_CTRL_2 6
#define RIGHT_CTRL_3 7
#define LEFT_CTRL_1 11
#define LEFT_CTRL_2 12
#define LEFT_CTRL_3 13
void setup()
{
 pinMode(RIGHT_CTRL_2, OUTPUT);
 pinMode(RIGHT_CTRL_3, OUTPUT);
 pinMode(LEFT_CTRL_2, OUTPUT);
 pinMode(LEFT_CTRL_3, OUTPUT);
}
void loop()
{
  digitalWrite(RIGHT_CTRL_2, 0);
  digitalWrite(RIGHT_CTRL_3, 1);
  analogWrite(RIGHT_CTRL_1, 128);
  digitalWrite(LEFT_CTRL_2, 0);
  digitalWrite(LEFT_CTRL_3, 1);
  analogWrite(LEFT_CTRL_1, 128);
}

Now, the TODO list

  • Find a more secure way to protect the Uno board and protect it from bumping into objects when robot start to run
  • Figure out how and where to attach sensors: ultrasonic distance and infra red for distance and obstacle sensing
DSC 7415 DSC 7417 DSC 7417 DSC 7417
]]>

Where Am I?

You are currently browsing entries tagged with embedream at 新车间 [XinCheJian].