¿ªÔÆÌåÓý

Date

Re: V2 serial numbers

 

Hello Ashhar:

I agree with the other gentlemen.? Do not rush and make mistakes.? Instead, take your time.? A good radio is well worth the wait.? And I get to be on the ground floor of Version 2.? Thank you for all you do for the amateur radio community, specifically those of us who enjoy building and experimenting.

73
Darrell Davis KT4WX


Re: About ATiny85 code

 

Sorry to come back to this topic again, but the pin 5 is not the I2C SDA? This LOW/HIGH changes would not create some noise in the I2C communication?

I created a PR removing such code:


Rafael

On 4/16/23 22:09, Ashhar Farhan wrote:
Ah,? a good spot. I wanted to check how fast the adc works. If you see, the pin 5 is being flipped on each iteration of the loop. So, I connected the pin5 to an oscilloscope to measure the time periods.
It is cruft. It needs to be removed.
- f

On Mon, Apr 17, 2023, 12:11 AM Rafael Diniz <rafael@...> wrote:

Hi Ashhar and all,

What does it mean this part of the code of the ATtiny85, I don't
get it:

--
?? if(flag == 1){
???? digitalWrite(5, LOW);
???? flag = 0;
?? }
?? else {
???? digitalWrite(5, HIGH);
???? flag = 1;
?? }
--

The example from Nicholas Zambetti does not have this:




Cheers,
Rafael







Re: About ATiny85 code

 

No problem, there are also "off-the-shelf" ones. I'll choose one and test.

tks!

On 4/17/23 11:29, Ashhar Farhan wrote:
I built one with an Arduino nano, a 10uf cap and two resistors. Not sure where I saw the circuit diagram.
- f

On Mon, Apr 17, 2023, 1:57 PM Rafael Diniz <rafael@...> wrote:

Thanks Ashhar, there is what I thought. Btw, which "burner" do you
use
to write the firmware to the ATTiny85?

Rafael

On 4/16/23 22:09, Ashhar Farhan wrote:
> Ah,? a good spot. I wanted to check how fast the adc works. If you
> see, the pin 5 is being flipped on each iteration of the loop.
So, I
> connected the pin5 to an oscilloscope to measure the time periods.
> It is cruft. It needs to be removed.
> - f
>
> On Mon, Apr 17, 2023, 12:11 AM Rafael Diniz
<rafael@...>
> wrote:
>
>? ? ?Hi Ashhar and all,
>
>? ? ?What does it mean this part of the code of the ATtiny85, I don't
>? ? ?get it:
>
>? ? ?--
>? ? ??? if(flag == 1){
>? ? ????? digitalWrite(5, LOW);
>? ? ????? flag = 0;
>? ? ??? }
>? ? ??? else {
>? ? ????? digitalWrite(5, HIGH);
>? ? ????? flag = 1;
>? ? ??? }
>? ? ?--
>
>? ? ?The example from Nicholas Zambetti does not have this:
>
>

>
>
>? ? ?Cheers,
>? ? ?Rafael
>
>
>
>
>
>
>






Re: About ATiny85 code

 

I built one with an Arduino nano, a 10uf cap and two resistors. Not sure where I saw the circuit diagram.
- f

On Mon, Apr 17, 2023, 1:57 PM Rafael Diniz <rafael@...> wrote:
Thanks Ashhar, there is what I thought. Btw, which "burner" do you use
to write the firmware to the ATTiny85?

Rafael

On 4/16/23 22:09, Ashhar Farhan wrote:
> Ah,? a good spot. I wanted to check how fast the adc works. If you
> see, the pin 5 is being flipped on each iteration of the loop. So, I
> connected the pin5 to an oscilloscope to measure the time periods.
> It is cruft. It needs to be removed.
> - f
>
> On Mon, Apr 17, 2023, 12:11 AM Rafael Diniz <rafael@...>
> wrote:
>
>? ? ?Hi Ashhar and all,
>
>? ? ?What does it mean this part of the code of the ATtiny85, I don't
>? ? ?get it:
>
>? ? ?--
>? ? ??? if(flag == 1){
>? ? ????? digitalWrite(5, LOW);
>? ? ????? flag = 0;
>? ? ??? }
>? ? ??? else {
>? ? ????? digitalWrite(5, HIGH);
>? ? ????? flag = 1;
>? ? ??? }
>? ? ?--
>
>? ? ?The example from Nicholas Zambetti does not have this:
>
>? ? ?
>
>
>? ? ?Cheers,
>? ? ?Rafael
>
>
>
>
>
>
>






Re: About ATiny85 code

 

Thanks Ashhar, there is what I thought. Btw, which "burner" do you use to write the firmware to the ATTiny85?

Rafael

On 4/16/23 22:09, Ashhar Farhan wrote:
Ah,? a good spot. I wanted to check how fast the adc works. If you see, the pin 5 is being flipped on each iteration of the loop. So, I connected the pin5 to an oscilloscope to measure the time periods.
It is cruft. It needs to be removed.
- f

On Mon, Apr 17, 2023, 12:11 AM Rafael Diniz <rafael@...> wrote:

Hi Ashhar and all,

What does it mean this part of the code of the ATtiny85, I don't
get it:

--
?? if(flag == 1){
???? digitalWrite(5, LOW);
???? flag = 0;
?? }
?? else {
???? digitalWrite(5, HIGH);
???? flag = 1;
?? }
--

The example from Nicholas Zambetti does not have this:




Cheers,
Rafael







sBitx Developer¡¯s Edition (v1) ¡ª how to protect the RPi4?

 

A few of you are probably familiar with my experiences with the DE version of the sBitx. There have been quite a number of different things happening which, by Occam¡¯s razor, are in my opinion for the most part likely explained by unexpected spurious oscillations, some of which I have actually documented. My most recent trouble was solved by putting in a new Raspberry Pi 4. The previous one toggled the PTT line when pressed (pin 23 on the digital board connector) but there was no voltage on the TX line when PTT was pressed (pin 27). Putting in a new RPi 4 solved the problem. I now have 26 volts P-P on the 2N2219a driver collectors (Q15) and now I need to install new IRFZ24N finals (one had shorted).

This is the third Raspberry Pi that has failed during normal operation. The Pi was seated in the socket, the digital board as well, and so that error can be ruled out. Two others previously had also failed, and each of those had problems with the I2C lines (bit banged, I know) communicating with the Si5351a. I use one of these now as an OctoPrint server for 3D printing, so at least that one functions even though I can¡¯t use it for the sBitx.?


At this point I have to assume that for whatever reason in my particular sBitx I run the risk in the future of damaging the TX line from a working Raspberry Pi, or the SDA/SCL lines to the Si5351a, or perhaps some other GPIO line on the Raspberry Pi. How would one protect the vulnerable lines from voltage transients? Back to back 1N4148 diodes? Bypass capacitors? Optical isolators? I am running on my 4th Raspberry Pi, the fifth if you include one with the onboard 3.3V regulator fried by an error on my part. Does anyone have any suggestions? I¡¯m awaiting the delivery of a new sBitx v2 that will hopefully be less eventful, but I have put too much effort into this Developer¡¯s Edition to leave it alone. As always, thanks everyone for your wonderful help.

Jack
N6LN


Re: sBIT 2 On-screen virtual keyboard

 

Gerald,

? ? Watch the MicroCenter website for Raspberry Pi's if you live near by you may be able to pick one up for a reasonable price.

When they get PI's in stock the price is not inflated. A few months ago I got a PI 4 for 58 dollars Last week there were 8 PI 400's in stock for 69 dollars.


Re: Raspberry Pi 4 2GB vs Pi 4 8GB

 

I do not want to hijack this topic so I will start a new one.

/g/BITX20/message/101161

73
Evan
AC9TU


sBITX RPi 4 Load #sBitx

 

I did a performance test with my sBITX DE running v2 software and could not run the sbitx code and the Chrome interface on the single Raspberry Pi 4.? That was after swapping out the 2G for a 4G RPi 4 that I had in my parts bin.

See this message for the details:
/g/BITX20/message/101138

Today I tried running with the Chrome interface on my Windows 10 desktop computer.? The performance was good.? No audio stutter, and the decodings were quick.? I do not yet have VNC or SSH and an Xwindow setup to measure the actual load under this condition.

I will try again when the new v2 image is available for download.

73
Evan
AC9TU


Re: Subitx ptt

Jack, W8TEE
 

Cheap too (4N25 $0.16 per 100).

Jack, W8TEE

On Sunday, April 16, 2023 at 04:13:00 PM EDT, Max via groups.io <kg4pid@...> wrote:


I prefer to use an optic isolator. A lot of protection in a small package.?

Max?

On Sunday, April 16, 2023, 02:05:40 PM CDT, Ashhar Farhan <farhanbox@...> wrote:


Rafael,
Exposing attin85 pins directly to external lines can be risky. It would be better to tie the tx_line (it goes high on transmit) to a 2n7000 gate and use the drain as an open / close ptt switch.
- f

On Sun, Apr 16, 2023, 11:25 PM Rafael Diniz <rafael@...> wrote:
If you don't want to use Raj option, other option is to use the ATTiny85
port 6 in order to have independent control (just send the info to the
ATTiny85 via i2c).

Rafael

On 4/16/23 13:21, Ashhar Farhan wrote:
> It is best not to tap this off the raspberry pi line. Perhaps, we can
> use the usb port to signal this?
> - f
>
> On Sun, Apr 16, 2023, 12:54 PM Petr Ourednik <indians@...> wrote:
>
>? ? ?Yes Farhan, ptt out would be important feature as the output power
>? ? ?of V2 seems to be enough to exciting standard amps.
>
>? ? ?- P
>
>






--
Jack, W8TEE


Re: Subitx ptt

 

I prefer to use an optic isolator. A lot of protection in a small package.?

Max?

On Sunday, April 16, 2023, 02:05:40 PM CDT, Ashhar Farhan <farhanbox@...> wrote:


Rafael,
Exposing attin85 pins directly to external lines can be risky. It would be better to tie the tx_line (it goes high on transmit) to a 2n7000 gate and use the drain as an open / close ptt switch.
- f

On Sun, Apr 16, 2023, 11:25 PM Rafael Diniz <rafael@...> wrote:
If you don't want to use Raj option, other option is to use the ATTiny85
port 6 in order to have independent control (just send the info to the
ATTiny85 via i2c).

Rafael

On 4/16/23 13:21, Ashhar Farhan wrote:
> It is best not to tap this off the raspberry pi line. Perhaps, we can
> use the usb port to signal this?
> - f
>
> On Sun, Apr 16, 2023, 12:54 PM Petr Ourednik <indians@...> wrote:
>
>? ? ?Yes Farhan, ptt out would be important feature as the output power
>? ? ?of V2 seems to be enough to exciting standard amps.
>
>? ? ?- P
>
>






Re: About ATiny85 code

 

Ah,? a good spot. I wanted to check how fast the adc works. If you see, the pin 5 is being flipped on each iteration of the loop. So, I connected the pin5 to an oscilloscope to measure the time periods.
It is cruft. It needs to be removed.
- f

On Mon, Apr 17, 2023, 12:11 AM Rafael Diniz <rafael@...> wrote:
Hi Ashhar and all,

What does it mean this part of the code of the ATtiny85, I don't get it:

--
?? if(flag == 1){
???? digitalWrite(5, LOW);
???? flag = 0;
?? }
?? else {
???? digitalWrite(5, HIGH);
???? flag = 1;
?? }
--

The example from Nicholas Zambetti does not have this:




Cheers,
Rafael







Re: Subitx ptt

 

Rafael,
Exposing attin85 pins directly to external lines can be risky. It would be better to tie the tx_line (it goes high on transmit) to a 2n7000 gate and use the drain as an open / close ptt switch.
- f

On Sun, Apr 16, 2023, 11:25 PM Rafael Diniz <rafael@...> wrote:
If you don't want to use Raj option, other option is to use the ATTiny85
port 6 in order to have independent control (just send the info to the
ATTiny85 via i2c).

Rafael

On 4/16/23 13:21, Ashhar Farhan wrote:
> It is best not to tap this off the raspberry pi line. Perhaps, we can
> use the usb port to signal this?
> - f
>
> On Sun, Apr 16, 2023, 12:54 PM Petr Ourednik <indians@...> wrote:
>
>? ? ?Yes Farhan, ptt out would be important feature as the output power
>? ? ?of V2 seems to be enough to exciting standard amps.
>
>? ? ?- P
>
>






About ATiny85 code

 

Hi Ashhar and all,

What does it mean this part of the code of the ATtiny85, I don't get it:

--
? if(flag == 1){
??? digitalWrite(5, LOW);
??? flag = 0;
? }
? else {
??? digitalWrite(5, HIGH);
??? flag = 1;
? }
--

The example from Nicholas Zambetti does not have this:




Cheers,
Rafael


Re: Subitx ptt

 

If you don't want to use Raj option, other option is to use the ATTiny85 port 6 in order to have independent control (just send the info to the ATTiny85 via i2c).

Rafael

On 4/16/23 13:21, Ashhar Farhan wrote:
It is best not to tap this off the raspberry pi line. Perhaps, we can use the usb port to signal this?
- f

On Sun, Apr 16, 2023, 12:54 PM Petr Ourednik <indians@...> wrote:

Yes Farhan, ptt out would be important feature as the output power
of V2 seems to be enough to exciting standard amps.

- P


Re: Raspberry Pi 4 2GB vs Pi 4 8GB

 

I just discovered a kink in spectrum_update that was eating up the cpu. I will push out the changes to idle the cpu back to 40% on sbitx.
- f

On Sun, Apr 16, 2023, 9:06 PM Joel Caulkins/N6ALT <caulktel@...> wrote:
On Sat, Apr 15, 2023 at 10:03 PM, Evan Hand wrote:
When the iso for the v2 software is available
I'm really looking forward to this as my command line skills are somewhat limited.

Joel
N6ALT


Re: Raspberry Pi 4 2GB vs Pi 4 8GB

 

On Sat, Apr 15, 2023 at 10:03 PM, Evan Hand wrote:
When the iso for the v2 software is available
I'm really looking forward to this as my command line skills are somewhat limited.

Joel
N6ALT


Re: Subitx ptt

 

¿ªÔÆÌåÓý

Take the 12V from R10 upper side and feed to a 12V relay. Use the relay contacts

as you want. The relay will isolate sBitx from your circuit.

Raj

On 16/04/2023 11:33 AM, Neluuu via groups.io wrote:

Does the subitx have the possibility of a PTT (one contact output)?


Re: Subitx ptt

 

Farhan

I am not sure about USB spec.?

The keyline output should go low during transmit to be used for transmit/receive switching of linear amplifiers and transverters. For keyline voltage and current limits standard is let say 30V/100mA.

- P


Re: Subitx ptt

 

It is best not to tap this off the raspberry pi line. Perhaps, we can use the usb port to signal this?
- f

On Sun, Apr 16, 2023, 12:54 PM Petr Ourednik <indians@...> wrote:
Yes Farhan, ptt out would be important feature as the output power of V2 seems to be enough to exciting standard amps.

- P