Keyboard Shortcuts
Likes
- BITX20
- Messages
Search
Re: Function button inop
Assuming you are using the standard raduino sketch: The function button is only handled by the software when the checkButton() function is uncommented in the sketch. At the bottom of the sketch, change:
to:
73, Allard PE1NWL |
||||||||||||||||||||||||
Re: Function button inop
Jack Purdum
I don't have the code, but normally one reads a button somewhere within the loop() function.? void loop() { ? ? // whatever code... ? ? if (digitalRead(FBUTTON) == LOW) { ? ?// Could be HIGH, depending on circuit... ? ? ? ? // do something... ? ? } ? ? // probably more code... } What are you trying to do by writing to a button? Jack, W8TEE From: electronic design via Groups.Io <electronicdesign@...> To: [email protected] Sent: Thursday, April 20, 2017 11:19 AM Subject: Re: [BITX20] Function button inop Thank's Jack! I tried with High and Low but no change, no action of the Function button. Measured the A3 (orange wire) line and it gives 4.9V. CAL button (A2 red wire) it's working. ?I don't know what could be the problem. 73! Adi YO2LIW? On Thursday, April 20, 2017 5:18 PM, Jack Purdum via Groups.Io <econjack@...> wrote: The argument to digitalWrite() is usually HIGH or LOW, not INPUT_PULLUP. Jack, W8TEE From: electronic design via Groups.Io <electronicdesign@...> To: [email protected] Sent: Thursday, April 20, 2017 7:33 AM Subject: Re: [BITX20] Function button inop I have the same problem with Function button on A3 line. Already tried with external 10K pull-up resistor (as in SW line 646) and directly to the ground with: //configure the function button to use the internal pull-up ? pinMode(FBUTTON, INPUT_PULLUP); ? digitalWrite(FBUTTON, INPUT_PULLUP); (I've commented previous lines with external pull-up) Still no action/change when pressing the button. Any idea? Thanks! 73! Adi YO2LIW? ? On Thursday, April 20, 2017 6:43 AM, Noel <08004us@...> wrote: Blind Copy & paste got the better of me! Should be ? //configure the function button to use the internal pull-up ? pinMode(FBUTTON, INPUT_PULLUP); |
||||||||||||||||||||||||
Re: Function button inop
electronic design
Thank's Jack! I tried with High and Low but no change, no action of the Function button. Measured the A3 (orange wire) line and it gives 4.9V. CAL button (A2 red wire) it's working. ?I don't know what could be the problem. 73! Adi YO2LIW? On Thursday, April 20, 2017 5:18 PM, Jack Purdum via Groups.Io <econjack@...> wrote: The argument to digitalWrite() is usually HIGH or LOW, not INPUT_PULLUP. Jack, W8TEE From: electronic design via Groups.Io <electronicdesign@...> To: [email protected] Sent: Thursday, April 20, 2017 7:33 AM Subject: Re: [BITX20] Function button inop I have the same problem with Function button on A3 line. Already tried with external 10K pull-up resistor (as in SW line 646) and directly to the ground with: //configure the function button to use the internal pull-up ? pinMode(FBUTTON, INPUT_PULLUP); ? digitalWrite(FBUTTON, INPUT_PULLUP); (I've commented previous lines with external pull-up) Still no action/change when pressing the button. Any idea? Thanks! 73! Adi YO2LIW? ? On Thursday, April 20, 2017 6:43 AM, Noel <08004us@...> wrote: Blind Copy & paste got the better of me! Should be ? //configure the function button to use the internal pull-up ? pinMode(FBUTTON, INPUT_PULLUP); |
||||||||||||||||||||||||
Re: Subject: Connectors - board to device
toggle quoted message
Show quoted text
|
||||||||||||||||||||||||
Re: Function button inop
Jack Purdum
The argument to digitalWrite() is usually HIGH or LOW, not INPUT_PULLUP. Jack, W8TEE From: electronic design via Groups.Io <electronicdesign@...> To: [email protected] Sent: Thursday, April 20, 2017 7:33 AM Subject: Re: [BITX20] Function button inop I have the same problem with Function button on A3 line. Already tried with external 10K pull-up resistor (as in SW line 646) and directly to the ground with: //configure the function button to use the internal pull-up ? pinMode(FBUTTON, INPUT_PULLUP); ? digitalWrite(FBUTTON, INPUT_PULLUP); (I've commented previous lines with external pull-up) Still no action/change when pressing the button. Any idea? Thanks! 73! Adi YO2LIW? ? On Thursday, April 20, 2017 6:43 AM, Noel <08004us@...> wrote: Blind Copy & paste got the better of me! Should be ? //configure the function button to use the internal pull-up ? pinMode(FBUTTON, INPUT_PULLUP); |
||||||||||||||||||||||||
Re: C107 missing
I ordered two boards, one had C107 installed and one had C107 missing. ?No bits of the 0.1uF C107 rattling around in the box. ?I didn't get an extra 0.1uF surface mount cap in the bag, but some people do. ?Both are still a mystery to me, and I suspect they are related. C107 is an RF bypass cap, prevents BFO energy from sneaking back into the audio amps for mike and speaker. ?Without C107 the 7.2mhz birdie could get much stronger, as 12mhz BFO energy radiates into the VFO and front end mixer. ?Someday I"ll try pulling my C107 to find out. Jerry, KE7ER On Wed, Apr 19, 2017 at 10:00 pm, Raj vu2zap wrote:
To me it looks like? C107 was a casualty of shipping, you can see it was soldered but fallen off. ? |
||||||||||||||||||||||||
Re: PTT pop hack
Could have the PTT switch go into the Nano, another pin from the Nano has a wire through a transistor to drive the relays. ?This was in Farhan's code but never implemented, we'll want to drive the relays from the Nano once we have a CW keyer in the Nano anyway. Then add another pin from the Nano to the LM386 mute pin. ?Use the Nano to sequence things. ?When PTT is pressed, immediately mute the LM386, then wait 5ms before powering the relays. ?When PTT released, immediately power down the relays, then wait 5ms before un-muting the LM386. Of course, we soon run out of Nano pins. ?If I ever get around to seriously hacking my Bitx40, it will be using a PJRC Teensy 3.2. ?Has lots of extra pins. ?And lots of flash and ram and comm ports and ADC's and MIPS and a DAC. Jerry, KE7ER On Thu, Apr 20, 2017 at 04:22 am, Steve Greer wrote: Is there a way that we can use the mute feature of the lm386 on ptt.? The datasheet says ground I believe pin8 will mute the lm386 and this would eliminate the pop in the ear???? ? |
||||||||||||||||||||||||
Re: Weird magic smoke...
Always check potentiometer connections before use,with Ohm meter. Frank , GM0CSZ / KN6WHOn Mon, Apr 17, 2017 at 5:23 PM, N7PXY <hickspj467@...> wrote:
|
||||||||||||||||||||||||
Re: I think this is absolutely amazing!
quote ====== unquote =======Hi Horatio, ?I am also from Uruguay but living in England and my bitx40 was working ok until a moment of distraction led me to reverse the polarity of the battery with consecuence smoke in the asi cited circuit of the ptt and the fried of D7 once this was repaired the rx part work ok but no tx for now. Will replace the final RF transistors and see. Best regards Fernando G0VUF. 73s. On Thu, Apr 20, 2017 at 8:24 AM, Fernando Garcia <ferjanyen@...> wrote: Hi Horatio, ?I am also from Uruguay but living in England and my bitx40 was working ok until a moment of distraction led me to reverse the polarity of the battery with consecuence smoke in the asi cited circuit of the ptt and the fried of D7 once this was repaired the rx part work ok but no tx for now. Will replace the final RF transistors and see. Best regards Fernando G0VUF. 73s. |
||||||||||||||||||||||||
Re: 'Small as possible BITX40'
|
||||||||||||||||||||||||
Re: 'Small as possible BITX40'
Regulator on the Raduino can be mounted on the other side of the board, fits perfectly: ?Clip the 3 leads close to the board. ?Unsolder the stubs remaining in the board one by one and pull them out with a needle nose pliers. ?Use solder wick to clean out the holes, maybe blow through them. ?Mount the regulator on the other side of the board, it can lay flat to the board and could even solder the tab to the copper ground plane if you want something of a heat sink. ? ? You don't really have to clean the solder out of the three holes, sufficient to just lay the leads flat on top of the holes and solder them into place. Jerry, KE7ER On Thu, Apr 20, 2017 at 06:26 am, <statefarmjeff@...> wrote:
? |
||||||||||||||||||||||||
Re: 'Small as possible BITX40'
quote === unquote ====I'm making a set of antennas for it, including a DF loop. On Thu, Apr 20, 2017 at 6:47 AM, Steve Wright <SteveWrightNZ@...> wrote: On 20/04/17 17:33, Simon Rumble wrote: |
||||||||||||||||||||||||
Re: PTT pop hack
Very annoying pop in the audio. It is even worse with the Motorola mic I am using.
toggle quoted message
Show quoted text
If I turn the audio volume control to minimum then the pop almost disappears. That tells me that source is the preamp stage. I tried a small cube relay to disconnect the speaker but the relay does not seem to be fast enough. The amp cap charge remains long enough to amplify the pop. Muting the volume control with a relay/2n7000 makes it worse! I gave up, I am going to build an amp with TDA2822 and see if that is any better next week! I hope that it will be a "bobs your uncle moment"! There are some ready boards on the bay thats worth experimenting with. Some even come with a volume control for a few bucks. Raj At 20/04/2017, you wrote:
Simple brute force solution use a small relay to disconnect the speaker on tx keep a 1k resistor as a load and to keep the output capacitor charged pop should go |
||||||||||||||||||||||||
Re: Subject: Connectors - board to device
Baruch Atta
?"JST XH 2.5mm ..." Yes, I did that.? Thanks for the info.? Just simply knowing what they are called really helps when doing a search.? thanks Joe W3TTT On Wed, Apr 19, 2017 at 11:08 PM, n0bhc via Groups.Io <n0bhc@...> wrote:
|
||||||||||||||||||||||||
Re: PTT pop hack
Engineer
Simple brute force solution use a small relay to disconnect the speaker on tx keep a 1k resistor as a load and to keep the output capacitor charged pop should go
toggle quoted message
Show quoted text
Sent from my iPhone On 20 Apr 2017, at 12:40, Allard PE1NWL <pe1nwl@...> wrote: |
||||||||||||||||||||||||
Re: PTT pop hack
Yes I tried this already, but I still got a pop each time I connected the
toggle quoted message
Show quoted text
pin to ground... 73, Allard PE1NWL On Thu, April 20, 2017 13:22, Steve Greer wrote:
Is there a way that we can use the mute feature of the lm386 on ptt.?? The |