Show Posts
Pages: 1 ... 10 11 [12] 13 14
166  Using Arduino / Installation & Troubleshooting / Re: Will upgrade to optiboot solve the stk500_getsync(): not in sync problem? on: August 18, 2011, 02:01:33 pm
This does not cure my problem. I am still wondering if the problem is the bootloader.

Jim
167  Using Arduino / Installation & Troubleshooting / Re: Will upgrade to optiboot solve the stk500_getsync(): not in sync problem? on: August 18, 2011, 11:24:38 am
I tried loopback and it works as it should! i verified I was on proper com port. It was the correct driver, I deleted it and it re-installed the next time plugged in the Arduino, it still did not work.

Yes, I started a new topic, I did not start topic "serial flood" and first post is not mine in that topic but the rest are mine. I did not know it existed till I clicked on the link in "coding badly"'s post.

Jim
168  Using Arduino / Installation & Troubleshooting / Will upgrade to optiboot solve the stk500_getsync(): not in sync problem? on: August 17, 2011, 08:52:24 pm
I'm suddenly getting the message:
avrdude: stk500_getsync(): not in sync: resp=0x00
stk500_disable: protocol error, expect=0x14, resp=0x51
I've tried all kinds of tests suggested by others but have had no luck. According to some sites I've visited, it appears that you can reburn the bootloader. I have a project that is real important (to me), and I need to finish it, so I'll try almost anything. The only other thing I can think of is to replace the processor.

Jim
169  Using Arduino / Installation & Troubleshooting / Serial Flood on: August 16, 2011, 04:22:58 pm
I tried deleting the com ports in the hardware manager and letting them reload. I also tried upgrading from 022 to 1.0 beta. No help! I searched online and found two topics in the old forum on this same problem. They are 1187909552 and 1209178536. Supposedly Da_Hero has a fix that works in Reply 112 1209178536, but I am unable to do this as I am handicapped and don't move fast enough. This appears to be an endemic Arduino problem, probably some avrdude/arduino bug. I also have a Mega, but I'm not going to plug it in until I have the solution in hand. Till then the Arduino's are nothing but an interesting sculpture! I'll keep watching tthese two topics and hoping there is someone out there who

Jim
170  Using Arduino / Installation & Troubleshooting / Serial Flood on: August 16, 2011, 11:26:42 am
In my previous post I failed to mention another curious behavior. with one Arduino plugged in, the com port is com 6. If you unplug the USB cable, then plug in the other Arduino, same USB port on the XP box and same cable, you have to change the port to com 10 to communicate with the Arduino. Swiching back to the first Arduino, you have to go back to com 6. Does the Arduino store the port number somewhere?

Jim
171  Using Arduino / Installation & Troubleshooting / Serial Flood on: August 15, 2011, 12:06:31 pm
I ran loop back, it works OK. I removed the jumpers, same problem. I looked in windows hardware manager, it says com 10 is working.I unplugged the board, com 10 disappeared from the hardware manager. Re-connecting the Arduino made com 10 re-appear. The com port is set to com 10 as shown on the Title block of the serial monitor. I've tried 2 USB cables. The TX and RX LEDs flash like something is being communicated when you click download, however there is no boink from the computer when you connect. I plugged my USB mouse in to this USB connector and it worked fine, although no boink there either. Still no joy in Mudville.

I working on a Athalon 64 system, running XP PRO, using the USB port on the front panel of the computer.


This same issue is also being discussed in thread "avrdude: stk500_recv(): programmer is not responding",topic 66261.0. Should the 2 threads be combined?
172  Using Arduino / Installation & Troubleshooting / Will upgrade to optiboot solve the stk500_getsync(): not in sync problem? on: August 14, 2011, 02:55:43 pm
I've been editing, expanding  and testing a sketch for 3 months. Suddenly I'm getting basically the same message. The avrdude.conf file is huge and I did not find any messages like his. I getting the error in the message area below the sketch. It comes when I to download the latest edited sketch, or any sketch. It is:

avrdude: stk500_getsync(): not in sync: resp=0x00
stk500_disable: protocol error, expect=0x14, resp=0x51

I cannot understand why this should suddenly come up. Have I damaged the board? Could an error in the sketch cause this? I tried an example sketch with the same result. I wrote a real simple sketch that reads a switch and lights a led, same message. The sketch is:

int switchPin = 8;
int lampPin = 12;
// switch connected to digital pin 13
int val = 0;
void setup()
{
  pinMode(switchPin, INPUT);      // sets the switch pin as input
  pinMode(lampPin, OUTPUT);       // sets the lamp pin as output
;
Serial.begin(9600);

}

void loop()
{
val = digitalRead(switchPin);
if (val == HIGH)
{
  Serial.write("switch is HIGH ");
  digitalWrite(lampPin, val);
}
else

  Serial.write("switch is LOW ");
  digitalWrite(lampPin, val);
}
}
I tried every baud rate setting in serial monitor but none cured my problem. Curiously the serial monitor still is printing the messages from the last iteration of my sketch when I open it at 9600 baud.

Jim
173  Using Arduino / Project Guidance / Re: Connect 2 Arduinos in master/slave relationship with APC220s on: August 11, 2011, 08:41:54 am
If I had multiple slaves, you are right. I am controlling 5 heaters with one slaved Arduino.

Jim
174  Using Arduino / Project Guidance / Re: How to detect power failure? on: August 10, 2011, 08:32:56 pm
Jameco sells an opto isolated coupler p/n PS2505-2 that is AC tolerant. Connect the transformer through a properly sized resistor directly to the chip.

Jim
175  Using Arduino / Project Guidance / Re: Connect 2 Arduinos in master/slave relationship with APC220s on: August 10, 2011, 08:21:55 pm
Yes, there are 5! I'm sending the number first so the Arduino's know which to apply commands to, and which heater's data they receive. I thought that immediate feedback is not needed as 1 minute later I will know if command took. Thing are not critical enough to require millisecond feedback.
What protocol change are you referring to? I thought that if you sent the device number first the Arduino then would be able to apply to the proper device. I'm a noob, trying to learn, I want to learn proper technique!
I'm hoping to do this as winter temperatures drop to as low as -25F here at 8000 ft. I'm going down to Denver for a few days so further responses will be slow.

Jim
176  Using Arduino / Project Guidance / Re: Connect 2 Arduinos in master/slave relationship with APC220s on: August 10, 2011, 12:00:38 pm
The slave has an RTC, and sends data once a minute in ASCII. Message protocol is :
---------------------------
slave transmits

ff hex - begin transmission
heater number - 1
ff hex - separator
heater 1 temp
ff - separator
heater 1 status - off/on/faulted
ff - separator
....
heater number  - n
ff - separator
heater n temp
ff - separator
heater n status
00 hex - end of transmission

---------------------------------
master sends on keypress

ff hex - begin command
heater number - 1
ff - separator
heater 1 on/off command
ff - separator
....
heater number - n
ff - separator
heater number n on/off command
00 hex - end of transmission
 --------------------------------

The master also has an RTC and a data logger logging the slave's data. Any heater faulted will be automatically shut down.

Jim
177  Using Arduino / Project Guidance / Connect 2 Arduinos in master/slave relationship with APC220s on: August 09, 2011, 10:15:34 pm
I need to remotely control heaters and monitor temperatures remotely from about 80 ft. from the house. I'd like to not have a PC involved for power reasons. I planed for the master Arduino to have an LCD display for monitoring and a keypad to command heaters on/off. I've found information on transmitting from an APC220, but nothing on receiving commands from one, or data. Is this a possibility, or am I dreaming? I have 2 Uno's and 2 APC220's, the keypad and LCD and the temperature and relay modules already. I wrote a sketch for the temp and control of heaters, now I just need to get the Uno's talking to each other.
Jim

178  Using Arduino / Project Guidance / Measuring +/- 12V on: July 31, 2011, 08:34:39 pm
I need to monitor 3 DC voltages that switch from + 12  volts to - 12 volts, DC. What I'm doing is monitoring 3 fuses to shut things down if one blows (ie. across the fuse suddenly measures 12 Volts ). I know a divider works to reduce to 12v to 5v, but with an Arduino I need to have always have a positive voltage for the Arduino to measure. What I really need is to just verify the presence of the voltages.  Best would be if it could be isolated somehow before the Arduino sees it (optical ?). I would really like this to be in the form of a shield or brick as I'm handicapped and only have use of one hand. Does anything meet these requirements?

Jim
179  Community / Products and Services / Re: Schematice of all the bricks on: July 28, 2011, 05:28:23 pm
terryking228, these pages are really helpful and quite detailed. However the brick I've been having troubles with is the Sensor brick shown at the bottom of page http://arduino-info.wikispaces.com/Brick-Temperature-DS18B20. Some work, some don't and i don't know why. I bought a batch of 5, and only three 3 work.

Jim
180  Using Arduino / Programming Questions / Re: error using floatToString on: June 07, 2011, 03:42:38 pm
Thanks maniacbug, I have a problem with the ;'s because Quickbasic(the only language I sort know) does not require them. I commented out the other line and it compiles without error. Now I'll work on inserting the "F".

Jim
Pages: 1 ... 10 11 [12] 13 14