我不确定这是问的正确地方,但是我已经在stackoverflow上看到了其他Arduino线程,所以我认为这没问题。
我的arduino不兼容的主板未得到认可。我在Windows 8和Windows XP上尝试过。当我打开设备管理器时,“端口(COM和LPT)”部分下只有一个名为“ USB串行端口”的条目。但是,Arduino在连接时不会闪烁。
我尝试卸载USB串行端口驱动程序或对其进行更新,但两者均无效:这些驱动程序似乎是最新的,当我卸载并重新连接arduino时,它们再次出现。
当我尝试上传程序时,我得到
avrdude: stk500_getsync(): not in sync: resp=0x00
Run Code Online (Sandbox Code Playgroud)
要么
avrdude: usbdev_open(): did not find any USB device "usb"
Run Code Online (Sandbox Code Playgroud)
(当我使用“使用编程器上传”时)。
我希望任何人都可以帮助我,我已经尝试了很长时间了。

编辑2:我在父母的装有Windows Vista的计算机上尝试了相同的操作。在那里,该板被识别为“未知设备”下的USB串行端口(首先,我认为这是一个包含两个大写字母然后四个数字的代码,但我不确定,我无法得到该代码)重命名,即使卸载驱动程序也是如此。
我想为我的Arduino UNO构建自己的草图上传应用程序。我有一条USB电缆将Android智能手机与UNO连接起来。现在,我想做类似于ArduinoDroid应用程序的操作:从我的Android设备读取一个.ino文件,编译并使用MY OWN应用程序将其上传到Arduino开发板。有人可以提供线索吗?那就太好了,谢谢!
我已通过UART接口(RX-TX,GND-GND)将伺服器(TowerPro sg90)连接到32个伺服控制器(此控制器)。卖方提供了有关如何连接和控制我的伺服器的文档,但这是行不通的。
如果我将它间接连接到Arduino,则可以进行伺服工作。控制器指示它也正在工作(下图-红色指示灯)。
我已经尝试过其他伺服器。也可以尝试使用提供的软件通过Mac / PC从PC控制伺服。但是它的界面对我来说不可读。我尝试了其他选项,但伺服器没有响应。
下面的草图代码(来自卖方示例):
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print("#3P500T2000\r\n");
delay(2000);
Serial.print("#3P1500T2000\r\n");
delay(3000);
Serial.print("#3P2500T2000\r\n");
delay(2000);
Serial.print("#3P1500T2000\r\n");
delay(2000);
}
Run Code Online (Sandbox Code Playgroud)
我的联系照片:
抱歉,如果它张贴重复一些,但我不能谷歌这个问题。
我真的需要一些帮助。没什么坏的,只需要一些指导。我有一个Arduino Uno和AdaFruit CC3300 Wifi Shield。我建立了一个运行良好的太阳能气象站,并已使所有模拟和数字IO饱和。一切都与IDE配合良好,我的wifi示例代码运行完美。尽管过去没有做过任何事,但是我正在使用IBM Bluemix并学到了很多东西。我是一名计算机工程师,在整个职业生涯中都做过一些软件,主要是嵌入式硬件。
不幸的是,尽管有很多优化,我只是没有足够的空间让MQTT客户端在Uno上运行。关于此以及有关Bluemix本身的很多很好的指导,但是我不能使用它。
这是我的问题;
我认为网络套接字是使事情保持最佳状态的最佳方法。 - - - 那正确吗?----实际上,我需要在5分钟内传递约300个字符(所有传感器数据和其他内容)的JSON字符串。而已。我只是不知道如何使用Node Red将其提升到Bluemix应用程序(也学习JavaScript)。也有一个Web套接字节点。在任何我至少能找到凡人都能理解的地方,都没有很好地解释。我也为该wifi库运行了webclient示例,但是无法跳转。只是没有经验明智。
我相信AdaFruit CC3300 Wifi防护库可以在客户端设置Web套接字,因此不会再增加空间负担。 - - 那正确吗?-----
我的目标只是能够将这些JSON格式的数据传递到我的Bluemix应用程序中,并显示在Node Red调试控制台中。我已经在Bluemix上完全设置好了。
感谢任何指导以正确方向指导我。dpguitarman
我刚拿到一个拉力云盾.要将它连接到我的arduino uno,它说我必须"快捷"重置按钮旁边的引脚.http://wiki.dragino.com/index.php?title=Yun_Shield#Connect_to_Arduino_Uno
但是我的arduino没有那些针脚.IMG:

顺便说一下,我以为我没有必要这样做,因为在我成功运行wifi上的闪烁草图之前.当我再次尝试这样做时,它返回了这个错误:
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
Run Code Online (Sandbox Code Playgroud) #include <Password.h>
#include <Keypad.h>
#include <Servo.h>
#include "SIM900.h"
#include <SoftwareSerial.h>
#include "sms.h"
Servo myservo;
Password password = Password( "1234" ); //password to unlock box, can be changed
SMSGSM sms;
int numdata;
boolean started=false;
char smsbuffer[160];
char n[20];
const byte ROWS = 4;
const byte COLS = 4;
// Define the Keymap
char keys[ROWS][COLS] = {
{'1','2','3','A'},
{'4','5','6','B'},
{'7','8','9','C'},
{'*','0','#','D'}
};
// Connect keypad ROW0, ROW1, ROW2 and ROW3 to these Arduino pins.
byte rowPins[ROWS] = { 9, 8, 7, 6 …Run Code Online (Sandbox Code Playgroud) 我使用的是Arduino Uno和Windows 7.我的目标是让LED指示灯闪烁,当它闪烁时,它会打印出"Blink"到串行监视器.
当我运行下面的代码时,我能够每隔2秒将"闪烁"打印到串行监视器,但是,灯仍然一直打开.当我删除该行
Serial.begin(9600);
Run Code Online (Sandbox Code Playgroud)
指示灯会闪烁,但不会打印任何内容.我运行的代码如下:
int LED3 = 0;
void setup() {
// When I comment out the line below, the lights flash as intended, but
// nothing prints. When I have the line below not commented out,
// printing works, but the lights are always on (ie do not blink).
Serial.begin(9600); // This is the line in question.
pinMode (LED3, OUTPUT);
}
void loop() {
Serial.println("Blink");
digitalWrite (LED3, HIGH);
delay(1000);
digitalWrite (LED3, LOW);
delay(1000);
}
Run Code Online (Sandbox Code Playgroud)
我不清楚导致这种行为的原因,并希望解释为什么会发生这种情况以及如何避免这个问题.谢谢!
我有一个二进制文件,我能够转换为uint64_t.它很大,所以我真的需要一个uint64_t.我将它转换为char数组时遇到了麻烦.我可以在独立项目中完成,但不能在Arduino上完成
我遇到的一些障碍:
任何输入都非常感谢.
我是第一次在 Arduino 上使用 RabbitMQ,我需要发布数据。所以我使用了 PubSubCLient 类。这是代码:
#include <SPI.h>
#include <PubSubClient.h>
#include <Dhcp.h>
#include <Ethernet.h>
#include <EthernetUdp.h>
#include <Dns.h>
#include <EthernetServer.h>
#include <EthernetClient.h>
//declare variables
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xDE, 0xDE, 0xDD };
byte server[] = { 127, 0, 0, 1 };
byte ip[] = { 192, 168, 1, 22 };
String stringone = "localhost";
void callback(char* topic, byte* payload, unsigned int length) {
Serial.println(topic);
//convert byte to char
payload[length] = '\0';
String strPayload = String((char*)payload);
Serial.println(strPayload);
int …Run Code Online (Sandbox Code Playgroud) 我正在尝试通过Arduino 1.0.5-r2上传这个固件 sck_beta_v0_8_6。我选择了董事会。该设备是Smart Citizen Kit Urban Shield v.1.1。上传失败并显示以下错误消息:LilyPad Arduino USB
Found programmer: Id = "BÛR"; type =
Software Version = . ; Hardware Version = .
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?