| Arduino Forum ::  Members :: sam_cqdx
 Show Posts Pages: 1 [2] 3 4
 18 Using Arduino / Programming Questions / Re: Yeasu bcd output not working correctly on: June 16, 2013, 04:26:43 pm solved thanks
 19 Using Arduino / Project Guidance / Re: Maximum frequency arduino mega 2560 can sample on: June 14, 2013, 07:41:39 am Thank you for the replies After going through some of my schematics i found this prescaler that was used on a bs-2sx basic stamp few years back ,it has a buffer then two divide by 10 chips bringing down the frequency to 750 Khz . Would i be able to get a resolution of 9 digits (eg 74.675.999.1)?I have also seen a newer programmable prescaler chip using MC 12080- which i am trying to not use as there a 3 bcd inputs  to the prescaler which determine the divide by range .As i would prefer it to be a fixed range and then do all the calculations  via software.Attached is a diagram of the circuit would it be suitable for the arduino mega ?
 20 Using Arduino / Project Guidance / Maximum frequency arduino mega 2560 can sample on: June 13, 2013, 11:21:50 pm Hi there I am building a prototype project, similar to a frequency counter with a  mega 2560 and want to display a frequency of as high as 75 Mhz does anybody have a circuit for a pre-scaler that will bring down the frequency to something the arduino can actually decode at a good accuracy ?Diagrams and advice would be appreciated Thank you
 21 Using Arduino / Programming Questions / Re: Yeasu bcd output not working correctly on: June 11, 2013, 12:41:37 pm In other words this should be the answer paulS? Code:  if ((QRGcomp < High4)   and (QRGcomp > Low4))   {  BAND = 4;  digitalWrite(BCDAPin,0) ;  digitalWrite(BCDBPin,1) ;  digitalWrite(BCDCPin,0) ;  digitalWrite(BCDDPin,0) ;  }
 22 Using Arduino / Programming Questions / Re: Yeasu bcd output not working correctly on: June 11, 2013, 12:12:24 pm Code: if (QRGcomp < High4)   and (QRGcomp > Low4)     BAND = 4;{  digitalWrite(BCDAPin,0) ;  digitalWrite(BCDBPin,1) ;  digitalWrite(BCDCPin,0) ;  digitalWrite(BCDDPin,0) ;  }Can you guys help me out with this statement, if qrg comp is smaller than high4 and qrgcomp bigger than low4 make that = band 4 as well as set the bcd pins a -low,b-high,c-low,d-lowThanks in advance
 23 Using Arduino / Programming Questions / Re: Yeasu bcd output not working correctly on: June 11, 2013, 09:36:56 am After making the mods to the if statements 482-612 i get this error afterwards ..How would i rewrite the if statement if i wanted everything in that statement to be done .. after adding the if statements i get  ic706_3_modified.ino: In function 'void setup()':ic706_3_modified:307: error: 'clearindicator' was not declared in this scopeic706_3_modified.ino: In function 'void loop()':ic706_3_modified:411: error: 'clearindicator' was not declared in this scopeic706_3_modified:420: error: 'clearindicator' was not declared in this scopeic706_3_modified:431: error: 'clearindicator' was not declared in this scopeic706_3_modified:440: error: 'clearindicator' was not declared in this scopeic706_3_modified:609: error: 'clearindicator' was not declared in this scopeic706_3_modified:648: error: 'clearindicator' was not declared in this scopeic706_3_modified:665: error: expected initializer before 'lcd'ic706_3_modified.ino: In function 'void ReadButtons()':ic706_3_modified:919: error: 'clearindicator' was not declared in this scopeic706_3_modified:932: error: 'clearindicator' was not declared in this scopeic706_3_modified:946: error: 'clearindicator' was not declared in this scopeic706_3_modified:959: error: 'clearindicator' was not declared in this scope
 24 Using Arduino / Programming Questions / Re: Yeasu bcd output not working correctly on: June 11, 2013, 09:17:36 am Here is the code After making the mods to the if statements 482-612 i get this error afterwards ..hope this helps  'clearindicator' was not declared in this scope
 25 Using Arduino / Programming Questions / Re: Yeasu bcd output not working correctly on: June 11, 2013, 08:59:37 am Would you like me to post all the code ? as its over 950 lines .. it would help but i cannot post to this forum using a zip file with all the code or in parts
 26 Using Arduino / Programming Questions / Yeasu bcd output not working correctly on: June 11, 2013, 08:27:01 am I am having problems getting a arduino mega 2560 to output bcd (4bits) according to a certain frequency and band that is decoded from a Icom radio civ/cat data  line .I can get the first 3 binaries  to display correctly (led brightness ) but the last binary in the 4 bit string is always a problem regardless of in what state the other 3 are in ,i have replaced the led and still the same .I have not implemented optos or transistors as this is only a prototype i am building right now .I have even assigned other digital pins for the last binary from 22 and above,digital pins 2-13  but still the same .Could there be a problem in the coding that i have tried to add for the bcd- output and extra relays?I know digital out is either on or off but will a very low lit  led turn on a opto?Please be kind as im learning as i go along  .*This is the partial code as the rest is way to long to put in here Code:if ((QRGcomp < High4)   and (QRGcomp > Low4))     BAND = 4;  {  digitalWrite(BCDAPin,0) ;  digitalWrite(BCDBPin,1) ;  digitalWrite(BCDCPin,0) ;  digitalWrite(BCDDPin,0) ;  }    if ((QRGcomp < High6)   and (QRGcomp > Low6))     BAND = 6; {  digitalWrite(BCDAPin,0) ;  digitalWrite(BCDBPin,1) ;  digitalWrite(BCDCPin,0) ;  digitalWrite(BCDDPin,1) ; // this output never displays very bright   digitalWrite(Rly14Pin,1) ; }   if ((QRGcomp < High10)  and (QRGcomp > Low10))    BAND = 10;  {  digitalWrite(BCDAPin,1);  digitalWrite(BCDBPin,0);  digitalWrite(BCDCPin,0);  digitalWrite(BCDDPin,1); // this output never displays very bright   digitalWrite(Rly12Pin,1);  digitalWrite(Rly13Pin,1);  }    if ((QRGcomp < High11)  and (QRGcomp > Low11))    BAND = 11;  {  digitalWrite(BCDAPin,1);  digitalWrite(BCDBPin,0);  digitalWrite(BCDCPin,0);  digitalWrite(BCDDPin,1); // this output never displays very bright   digitalWrite(Rly11Pin,1);  digitalWrite(Rly13Pin,1);  }    if ((QRGcomp < High12)  and (QRGcomp > Low12))    BAND = 12;  {  digitalWrite(BCDAPin,0);  digitalWrite(BCDBPin,0);  digitalWrite(BCDCPin,0);  digitalWrite(BCDDPin,1); // this output never displays very bright   digitalWrite(Rly10Pin,1);}if ((BAND == 0 ));  {  digitalWrite(BCDAPin,0);  digitalWrite(BCDBPin,0);  digitalWrite(BCDCPin,0);  digitalWrite(BCDDPin,0);  digitalWrite(Rly1Pin,0);  digitalWrite(Rly2Pin,0);  digitalWrite(Rly3Pin,0);  digitalWrite(Rly4Pin,0);  digitalWrite(Rly5Pin,0);  digitalWrite(Rly6Pin,0);  digitalWrite(Rly7Pin,0);  digitalWrite(Rly8Pin,0);  digitalWrite(Rly9Pin,0);  digitalWrite(Rly10Pin,0);  digitalWrite(Rly11Pin,0);  digitalWrite(Rly12Pin,0);  digitalWrite(Rly13Pin,0);  digitalWrite(Rly14Pin,0);    clearindicator();                  // We are not on standard band, clear antenna's     } I have added a bcd chart from the internet bands 12 and up bcd no 4 is were the problem lies has the last part ..If band ==0  is the coding in that done correctly ?Please excuse my vagueness on this any help would be appreciated.
 27 Using Arduino / Project Guidance / Re: Talking to open collector bus serial device on: June 05, 2013, 12:38:09 pm Hi there I have been able to communicate with the icom rig(706mk2g) using the above code to switch the transceiver to a frequency and increment it 10 khz which is fine i have not been able to receive data from the icom rig like display frequency even if the transceive option is set to On @ 9k6 still no joy ,Anybody out there know of how to get a beter circuit as a buffer for the rx side of the CIV data as i tried the diagram with the 2n2222 ttl to ttl converter both channels work for the tx side (testing them independently )but in the rx no data is received  ..No scope to test it snif Any clues out there i can also not get any info on the serial monitor after getting some basic  code that sends all data received from the rig to the arduino rx port .Any help would be appreciated
 28 Community / Gigs and Collaborations / Re: C++ programmer required for Ham radio project(modified) - Paid project on: March 17, 2013, 07:50:18 am Hi PaulSSent you a message via inbox ...
 29 Community / Gigs and Collaborations / C++ programmer required for Ham radio project(modified) - Paid project on: March 15, 2013, 09:29:19 pm Hi there ,i intend building a manual /auto tune rf amplifier (radio ham) with 2 controllers (mega 2560-master & Arm 3 controller-slave attached to touch screen tft)I have most for the hardware sorted out but need a willing programmer to help finish off the software side.The mega2560 will monitor ,tune and protect the amplifier and communicate with the arm controller( tft touch screen )via serial /which ever way is easiest , which will as well send information to a pc via onboard lan from the display(netserver) ....i have some projects i have downloaded from the net to help out with the software side and make things easier ...Great evening/day to all  Thanks
 30 Community / Gigs and Collaborations / Require someone that can finish some code for me on a home PSU project.. on: October 20, 2012, 01:10:59 pm Looking for someone that can finish some code for me on a home project that will not charge a arm and a leg ...this weekend would be a great time to finish it ...if you interested let me know will pay via paypal ..Non disclosure of code required .....thanks
 Pages: 1 [2] 3 4