摘要: 根据arduino官方网站出的shield,类似的情况有很多中motor shield这里测试采用的是http://www.seeedstudio.com/wiki/Motor_Shield_V1.0这款。采用的驱动芯片是L298N,官方网站arduino.cc 采用的是L293N,现在最新的已经采用了L298P了。http://www.arduino.cc/en/Main/ArduinoMotorShieldR3其他类似的shield 如下:http://www.dfrobot.com/wiki/index.php?title=Arduino_Motor_Shield_(L293)_(SKU 阅读全文
posted @ 2013-10-09 16:55 spaceship9 阅读(477) 评论(0) 推荐(0) 编辑
摘要: Arduino的另外几种模块,我们常见的joystick摇杆模块。用起来很爽,摇杆有X,Y轴可调这里有一篇非常想尽的示例代码:http://www.geek-workshop.com/forum.php?mod=viewthread&tid=96什么也不操作的话,显示的数字是512const int xside = A0;const int yside = A1;int valuex = 0;int valuey = 0;void setup(){ // set the serial port Serial.begin(9600); }void loop(){ valuex = ana 阅读全文
posted @ 2013-10-09 16:12 spaceship9 阅读(3027) 评论(0) 推荐(0) 编辑
摘要: arduino IDE装上的时候,要记得在windows平台安装驱动。如果不安装驱动的话,烧写程序的时候也许会遇到下面的现象。原因有如下几种:1,arduino控制板或者COM口没有选对,这种问题最简单2,下载的时候,arduino控制板上接了其他扩展板(使用D0,D1口的基本都会出问题,这两个口是用来通信下载程序的。)如果接了其他扩展板不能用,可以先拔掉扩展板再次尝试重新下载程序。3,bootloader损坏,这种情况下需要重新刷bootloader。4,驱动未安装好。(目前遇到ghost版本,或者精简版win7系统安装uno驱动时,无法安装的问题。这种情况,需要重装系统。ghost版或者精 阅读全文
posted @ 2013-10-09 15:33 spaceship9 阅读(507) 评论(0) 推荐(0) 编辑