Keyboard Shortcuts
Likes
Search
Raduino dead?
I put together my BITX40 and tried to calibrate the Raduino. While tuning it in calibration mode, it suddenly began to make a loud noise that sounds like the clicking sound when you turn the pot, but it was not clicking but only making a continous sound. I had to remove the battery to get it stopped. After that, the display just gets lit but did not show anything. I tried to reprogram the arduino, but could not get any connection to it. Pressing the reset button does not do anything and nothing could be uploaded any more. Is my arduino dead or is there anything I can do to get it back to life? |
Hallo Helmut ! Hast Du den richtigen Pin/Leitung zum kalibrieren gegen Masse gelegt? ? Die Anleitung zum Kalibrationsvorgang auf der hfsigs-Seite sagt man solle die braune Leitung gegen Masse schalten.... DAS IST FALSCH ! ES IST DIE ROTE ! Unverst?ndlich warum das noch nicht ge?ndert wurde. Wurde hier:? https://www.facebook.com/groups/QrpCuba/? ?????????????????? auch schon beschrieben. Wenn Du magst schau doch mal bei der DL Bitx-40 FB Gruppe vorbei: 73 aus Dortmund Gernot DM1VA |
Hallo Gernot, ja, ich habe die rote Leitung genommen. Habe das gl¨¹cklicherweise hier in der Gruppe gelesen. Es hat auch anfangs funktioniert und ich konnte den Raduino tunen, aber nach einem erneuten Versuch es noch besser zu machen, ist es dann passiert. Facebook habe ich nicht mehr. Habe mich davon am 1.1.2016 verabschiedet. 73 Helmut |
Gernot, could you please put your reply in English? That way the rest of us can understand and benefit from your answer. Ich spreche klein Deutsch, but I am sure many here speak and understand even less. Danke ;) !
toggle quoted message
Show quoted text
Rich KC8MWG
|
Helmut, und du, Englische, bitte? Again, most of us here do not speak German. Danke schoen! :)
toggle quoted message
Show quoted text
Rich KC8MWG
|
¿ªÔÆÌåÓýHi Helmut, |
Sorry for my german answer to a german reply. It was just to use the red and not the brown wire and my answer was, that I used the red one and that it worked for a while, but when I tried to refine the calibration suddenly I got the issue, I described. I will try to find some mor infos about the issue in the group. I will check the voltage. I already separated the part where the arduino is soldered to from the rest, but could get no connection to it. I even could not upload the bootloader. BTW, besides the issue I ran into, I found it very annoying, that turning the pot during the calibration process is producing that loud clicking noise. That's louder than the station I am trying to tune on. So not really helpfull. Would be nice to turn that clicking completely of. |
The only other case I'm aware of where a Raduino died during calibration is that referenced in posts 20959 and 20906. ?John Smith says he may have had one of the spare wires short to the heatsink (which I assume is 12v), and blow something, which is very welcome information as we try to figure this out. ?But I don't think that was it, as it was his A7 Nano pin that blew, and that would have been firmly attached to the tuning pot. ?So we really don't know why that failed yet. ?Most likely that A7 pin would need to short to 12v to get damaged like that, though it's possible that shorting to the neighboring 5v tab of the pot could do it. ?Any further hints from Helmut or John of what might have happened would be most appreciated. ? Elsewhere in history here these last couple weeks, somebody mentioned that having to reflash an Arduino in other environments is not unusual. ?That should not be the case, and if that's happening with the Raduino we need to track it down. ?For starters, never hot plug those wires, power everything down when moving wires around and double check your work before powering up, put tape over the ends of any flying leads. ?Keep wires reasonably short. ?Somebody with a scope should look hard at the 5v supply rail around that Raduino at power-up and power-down especially, perhaps we need another cap out there to avoid some ringing. ?Perhaps shorting 5v to ground and then letting it go is causing overshoot. Here's my notes regarding what Ashhar Farhan's sketch is doing with the pins: #define ANALOG_KEYER (A1) #define CAL_BUTTON (A2) #define FBUTTON (A3) #define PTT (A6) #define ANALOG_TUNING (A7) #define TX_RX (7) #define CW_TONE (6) #define CW_KEY (5) #define TX_LPF_SEL (4) The current wire-up is only using the CAL_BUTTON and ANALOG_TUNING from that set of 9 pins. All but TX_LPF_SEL have code that reference them in the sketch, so should be considered used. Here's the pins for the 16x2 display: LiquidCrystal lcd(8,9,10,11,12,13); I assume the SCL and SDA pins are set up down in Jason's Si5351 library. I had recommended John Smith use A6 as his replacement ANALOG_TUNING pin based on this comment: * A6 is to implement a keyer, it is reserved and not yet implemented but actual code shows a conflict with PTT. He might want to move PTT to A0 if there's trouble. Jerry, KE7ER On Sun, Jan 29, 2017 at 07:44 am, ron van doremalen wrote: Please check the groups remarks on issues during calibration. ? |
Does that 3.3v change smoothly when you rotate the tuning pot? ?Stay in the middle 1/3'rd of the tuning range if you try this, as you may not want to short that to ground or +5v. ?Is the regulator getting hot? If either is true, I suggest you cut the wire from A7 to the pot, then try again reflashing the Nano. Jerry On Sun, Jan 29, 2017 at 09:04 am, Helmut OE4HDS wrote:
There is 3.3V on the wire to A7.? ? |
Ups, sorry for beeing that stupid. I meassured just the voltage that was on A7 with having the pot at a random position. Of course it is changing. It goes from 0 when fully to counterclockwise up to 5.08 when fully clockwise. The regulator gets slightly warm, but not realy hot. When I now turn it on, the first line of the LCD shows 16 black blocks and the second line is empty. On the nano a green and a red led are lit, but I cannot see which one, because it is covered by the LCD. I tried to upload a sketch, without having anything else connected to the nano. I think that should work? Just to be sure, what settings do I have to use within the Arduino software? I have the following settings: board = Arduino Nano processor = artmega328 programmer = AVRISPmkll I am not sure about the progammer setting, but tried every single one and nothing worked. Or should I try to upload when everything is connected and under power? |
¿ªÔÆÌåÓýIDE wise have same settings as you. ? Upload is not giving errors? Sure you have the right com port selected? ? Van: [email protected] [mailto:[email protected]]
Namens Helmut OE4HDS
Verzonden: 29 January, 2017 18:26 Aan: [email protected] Onderwerp: Re: [BITX20] Raduino dead? ? Ups, sorry for beeing that stupid. I meassured just the voltage that was on A7 with having the pot at a random position. Of course it is changing. It goes from 0 when fully to counterclockwise up to 5.08 when fully clockwise. The regulator gets slightly warm, but not realy hot. When I now turn it on, the first line of the LCD shows 16 black blocks and the second line is empty. On the nano a green and a red led are lit, but I cannot see which one, because it is covered by the LCD. I tried to upload a sketch, without having anything else connected to the nano. I think that should work? Just to be sure, what settings do I have to use within the Arduino software? I have the following settings: board = Arduino Nano processor = artmega328 programmer = AVRISPmkll ? I am not sure about the progammer setting, but tried every single one and nothing worked. ? Or should I try to upload when everything is connected and under power? ? |
Jack Purdum
Usually, the "programmer" is the USBasp option. Jack, W8TEE From: Helmut OE4HDS <hs@...> To: [email protected] Sent: Sunday, January 29, 2017 12:26 PM Subject: Re: [BITX20] Raduino dead? Ups, sorry for beeing that stupid. I meassured just the voltage that was on A7 with having the pot at a random position. Of course it is changing. It goes from 0 when fully to counterclockwise up to 5.08 when fully clockwise. The regulator gets slightly warm, but not realy hot. When I now turn it on, the first line of the LCD shows 16 black blocks and the second line is empty. On the nano a green and a red led are lit, but I cannot see which one, because it is covered by the LCD. I tried to upload a sketch, without having anything else connected to the nano. I think that should work? Just to be sure, what settings do I have to use within the Arduino software? I have the following settings: board = Arduino Nano processor = artmega328 programmer = AVRISPmkll I am not sure about the progammer setting, but tried every single one and nothing worked. Or should I try to upload when everything is connected and under power? |
Com port is correct set. Programer now set to USBasp Upload gives an error. Arduino: 1.8.1 (Windows 10), Board: "Arduino Nano, ATmega328" avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x80 I have another option for upload available as I still have a USBasp programmer as leftover from my times where I programmed flightcontorllers and ESCs for my multicopters. That programmer has also a 6pin connector that fits to the 6 pins on the oposite side of the USB adapter on the nano. I just removed the plastic around the pins to get them free, but they are cut and I think they are a bit to short now. Will try to get them a bit longer by heating up the solder and pulling them out a bit. Maybe I can get that connected via this programmer. It is something like that: http://thumbs.picclick.com/00/s/MTIwMFgxNjAw/z/CCEAAOSwUKxYZA~5/$/USBASP-USB-ISP-AVR-51-Programmer-Adaper-Atmel-_1.jpg |
Jack Purdum
The "sync" error message can occur for a whole bunch of reasons. As you can see, avrdude tried 10 times looking for a response and not getting it, after which it gives up. I assume you had the USB cable set, since you said the COM port was configured correctly. The other possibility is the drivers is not correct. Did you run the proper install program in the drivers subdirectory? Jack, W8TEE From: Helmut OE4HDS <hs@...> To: [email protected] Sent: Sunday, January 29, 2017 1:08 PM Subject: Re: [BITX20] Raduino dead? Com port is correct set. Programer now set to USBasp Upload gives an error. Arduino: 1.8.1 (Windows 10), Board: "Arduino Nano, ATmega328" avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x80 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x80 I have another option for upload available as I still have a USBasp programmer as leftover from my times where I programmed flightcontorllers and ESCs for my multicopters. That programmer has also a 6pin connector that fits to the 6 pins on the oposite side of the USB adapter on the nano. I just removed the plastic around the pins to get them free, but they are cut and I think they are a bit to short now. Will try to get them a bit longer by heating up the solder and pulling them out a bit. Maybe I can get that connected via this programmer. It is something like that: http://thumbs.picclick.com/00/s/MTIwMFgxNjAw/z/CCEAAOSwUKxYZA~5/$/USBASP-USB-ISP-AVR-51-Programmer-Adaper-Atmel-_1.jpg |
On Sun, Jan 29, 2017 at 10:18 am, Jack Purdum wrote:
Did you run the proper install program in the drivers subdirectory? ?Thanks Jack, I think there could be a possible cause for my problem. When I connect the Nano to an USB port, it shows up as COM5. So I just used COM5 in the Arduino ide. Is there anything else I have to do? Got my old programer connected to the Nano, but get no Com port shown up. Have to use AVRDude, but hate to mess around with commandline paramaters. Have to look if I can find some GUI for it. Would prefere to just use the arduino ide though. |
¿ªÔÆÌåÓýThink the Nano comes with these usb devices/drivers. ? Did you try the initial or other programmer options in the IDE? ? Ron ¨C PA3FAT |
¿ªÔÆÌåÓýStopping IDE sometimes also helps.
|
Jack Purdum
I have that same "no port showing up" problem every day. I've looked for a good reason for it, but can't figure it out. My fix: close down the IDE and then do a complete reboot of the system, from total power off to turning the computer back on. Then, the first thing I do is open the IDE and check the COM port. If none is selected, I select the COM port I have dedicated to the IDE. That usually solves the problem. Why? I don't have a clue. (If the COM port you select is in use with some other device, clearly that's not going to work. I had that kind of port conflict in the past, too.) Let me know if it works for you. Jack, W8TEE From: Helmut OE4HDS <hs@...> To: [email protected] Sent: Sunday, January 29, 2017 1:38 PM Subject: Re: [BITX20] Raduino dead? On Sun, Jan 29, 2017 at 10:18 am, Jack Purdum wrote: Did you run the proper install program in the drivers subdirectory? ?Thanks Jack, I think there could be a possible cause for my problem. When I connect the Nano to an USB port, it shows up as COM5. So I just used COM5 in the Arduino ide. Is there anything else I have to do? Got my old programer connected to the Nano, but get no Com port shown up. Have to use AVRDude, but hate to mess around with commandline paramaters. Have to look if I can find some GUI for it. Would prefere to just use the arduino ide though. |