Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #545211 > unrolled thread

Arduino code sources?

Started byTerry Pinnell <me@somewhere.invalid>
First post2019-05-31 11:48 +0100
Last post2019-06-02 23:40 -0400
Articles 20 on this page of 116 — 24 participants

Back to article view | Back to sci.electronics.design


Contents

  Arduino code sources? Terry Pinnell <me@somewhere.invalid> - 2019-05-31 11:48 +0100
    Re: Arduino code sources? Cursitor Doom <curd@notformail.com> - 2019-05-31 11:40 +0000
      Re: Arduino code sources? Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-05-31 05:32 -0700
        Re: Arduino code sources? Winfield Hill <hill@rowland.harvard.edu> - 2019-05-31 06:54 -0700
          Re: Arduino code sources? bitrex <user@example.net> - 2019-05-31 10:46 -0400
            Re: Arduino code sources? bitrex <user@example.net> - 2019-05-31 10:47 -0400
          Re: Arduino code sources? Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-05-31 07:49 -0700
      Re: Arduino code sources? Peter Percival <peterxpercival@hotmail.com> - 2019-06-12 13:41 +0100
        Re: Arduino code sources? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-06-12 21:48 -0400
          Re: Arduino code sources? Peter Percival <peterxpercival@hotmail.com> - 2019-06-13 17:46 +0100
    Re: Arduino code sources? George Herold <gherold@teachspin.com> - 2019-05-31 07:45 -0700
    Re: Arduino code sources? bitrex <user@example.net> - 2019-05-31 11:37 -0400
      Re: Arduino code sources? bitrex <user@example.net> - 2019-05-31 11:39 -0400
        Re: Arduino code sources? Terry Pinnell <me@somewhere.invalid> - 2019-05-31 18:13 +0100
    Re: Arduino code sources? Ralph Mowery <rmowery28146@earthlink.net> - 2019-05-31 15:07 -0400
    Re: Arduino code sources? "John Miles, KE5FX" <jmiles@gmail.com> - 2019-05-31 17:02 -0700
      Re: Arduino code sources? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-01 04:57 +0000
        Re: Arduino code sources? bitrex <user@example.net> - 2019-06-01 01:11 -0400
          Re: Arduino code sources? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-01 05:56 +0000
        Re: Arduino code sources? "John Miles, KE5FX" <jmiles@gmail.com> - 2019-05-31 23:34 -0700
          Re: Arduino code sources? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-01 07:34 +0000
          Re: Arduino code sources? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-06-01 06:39 -0400
        Re: Arduino code sources? Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-01 07:50 +0100
          Re: Arduino code sources? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-01 07:17 +0000
          Re: Arduino code sources? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-06-01 06:45 -0400
            Re: Arduino code sources? DecadentLinuxUserNumeroUno@decadence.org - 2019-06-01 11:13 +0000
          Re: Arduino code sources? Clifford Heath <no.spam@please.net> - 2019-06-01 21:06 +1000
            Re: Arduino code sources? Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-01 12:33 +0100
              Re: Arduino code sources? DecadentLinuxUserNumeroUno@decadence.org - 2019-06-01 12:03 +0000
                Re: Arduino code sources? Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-06-01 05:15 -0700
                  Re: Arduino code sources? DecadentLinuxUserNumeroUno@decadence.org - 2019-06-02 01:48 +0000
              Re: Arduino code sources? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-06-01 11:26 -0400
                Re: Arduino code sources? Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-01 19:03 +0100
                  Re: Arduino code sources? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-06-01 19:56 -0400
                    Re: Arduino code sources? Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-02 01:13 +0100
                      Re: Arduino code sources? bitrex <user@example.net> - 2019-06-02 20:09 -0400
                        Re: Arduino code sources? bitrex <user@example.net> - 2019-06-02 20:16 -0400
                        Re: Arduino code sources? Clifford Heath <no.spam@please.net> - 2019-06-03 11:10 +1000
                          Re: Arduino code sources? bitrex <user@example.net> - 2019-06-02 22:26 -0400
                            Re: Arduino code sources? Clifford Heath <no.spam@please.net> - 2019-06-03 12:37 +1000
                              Re: Arduino code sources? bitrex <user@example.net> - 2019-06-02 23:14 -0400
                                Re: Arduino code sources? Clifford Heath <no.spam@please.net> - 2019-06-03 14:30 +1000
                                  Re: Arduino code sources? Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-03 08:46 +0100
                                    Re: Arduino code sources? DecadentLinuxUserNumeroUno@decadence.org - 2019-06-03 11:58 +0000
                Re: Arduino code sources? bitrex <user@example.net> - 2019-06-01 17:18 -0400
                  Re: Arduino code sources? bitrex <user@example.net> - 2019-06-01 17:24 -0400
                    Re: Arduino code sources? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-06-01 20:08 -0400
                      Re: Arduino code sources? Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-06-01 17:14 -0700
                      Re: Arduino code sources? bitrex <user@example.net> - 2019-06-01 20:26 -0400
            Re: Arduino code sources? "Rodney Pont" <mlist4@infohit.me.uk> - 2019-06-01 15:19 +0100
              Re: Arduino code sources? Clifford Heath <no.spam@please.net> - 2019-06-02 17:42 +1000
                Re: Arduino code sources? "John Miles, KE5FX" <jmiles@gmail.com> - 2019-06-02 01:53 -0700
                  Re: Arduino code sources? Clifford Heath <no.spam@please.net> - 2019-06-02 22:46 +1000
            Re: Arduino code sources? Dennis <dennis@none.none> - 2019-06-01 09:43 -0500
              Re: Arduino code sources? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-06-01 11:30 -0400
                Re: Arduino code sources? bitrex <user@example.net> - 2019-06-03 00:00 -0400
                  Re: Arduino code sources? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-03 05:52 +0000
                    Re: Arduino code sources? bitrex <user@example.net> - 2019-06-03 11:33 -0400
                      Re: Arduino code sources? bitrex <user@example.net> - 2019-06-03 11:41 -0400
                        Re: Arduino code sources? pcdhobbs@gmail.com - 2019-06-03 16:29 -0700
                          Re: Arduino code sources? bitrex <user@example.net> - 2019-06-04 02:14 -0400
                          Re: Arduino code sources? bitrex <user@example.net> - 2019-06-04 02:27 -0400
                  Re: Arduino code sources? Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-03 08:50 +0100
                  Re: Arduino code sources? krw@notreal.com - 2019-06-03 19:12 -0400
                Spot the app note error   was    Arduino code sources? Don Kuenz, KB7RPU <g@crcomp.net> - 2019-06-04 16:03 +0000
                  Re: Spot the app note error was Arduino code sources? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-06-04 13:17 -0400
                    Re: Spot the app note error Don Kuenz <g@crcomp.net> - 2019-06-04 21:47 +0000
                    Re: Spot the app note error was Arduino code sources? Don Kuenz <g@crcomp.net> - 2019-06-08 18:34 +0000
                  Re: Spot the app note error was Arduino code sources? bitrex <user@example.net> - 2019-06-04 15:30 -0400
                    Re: Spot the app note error Don Kuenz, KB7RPU <g@crcomp.net> - 2019-06-04 21:48 +0000
                      Re: Spot the app note error Winfield Hill <winfieldhill@yahoo.com> - 2019-06-04 15:51 -0700
                        Re: Spot the app note error Don Kuenz, KB7RPU <g@crcomp.net> - 2019-06-04 23:28 +0000
                        Re: Spot the app note error Don Kuenz, KB7RPU <g@crcomp.net> - 2019-06-04 23:40 +0000
                          Re: Spot the app note error Winfield Hill <winfieldhill@yahoo.com> - 2019-06-04 17:21 -0700
                            Re: Spot the app note error Don Kuenz, KB7RPU <g@crcomp.net> - 2019-06-05 01:13 +0000
                              Re: Spot the app note error bitrex <user@example.net> - 2019-06-04 23:02 -0400
                                Re: Spot the app note error bitrex <user@example.net> - 2019-06-04 23:05 -0400
                                  Re: Spot the app note error Winfield Hill <winfieldhill@yahoo.com> - 2019-06-05 01:08 -0700
                                    Re: Spot the app note error bitrex <user@example.net> - 2019-06-06 00:22 -0400
                                      Re: Spot the app note error bitrex <user@example.net> - 2019-06-06 00:27 -0400
                            Re: Spot the app note error Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-06-05 22:48 -0400
                              Re: Spot the app note error Winfield Hill <winfieldhill@yahoo.com> - 2019-06-07 13:35 -0700
                                Re: Spot the app note error Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-06-07 20:44 -0400
        Re: Arduino code sources? Cursitor Doom <curd@notformail.com> - 2019-06-01 09:57 +0000
      Re: Arduino code sources? Cursitor Doom <curd@notformail.com> - 2019-06-01 10:06 +0000
        Re: Arduino code sources? "John Miles, KE5FX" <jmiles@gmail.com> - 2019-06-01 15:06 -0700
          Re: Arduino code sources? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-02 03:26 +0000
          Re: Arduino code sources? Clifford Heath <no.spam@please.net> - 2019-06-02 17:55 +1000
            Re: Arduino code sources? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-02 09:39 +0000
              Re: Arduino code sources? DecadentLinuxUserNumeroUno@decadence.org - 2019-06-02 11:02 +0000
              Re: Arduino code sources? Cursitor Doom <curd@notformail.com> - 2019-06-02 11:43 +0000
              Re: Arduino code sources? Clifford Heath <no.spam@please.net> - 2019-06-02 22:57 +1000
                Re: Arduino code sources? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-02 15:05 +0000
                  Re: Arduino code sources? Cursitor Doom <curd@notformail.com> - 2019-06-02 17:00 +0000
                  Re: Arduino code sources? Clifford Heath <no.spam@please.net> - 2019-06-03 10:07 +1000
                    Re: Arduino code sources? Jasen Betts <jasen@xnet.co.nz> - 2019-06-03 00:55 +0000
                    Re: Arduino code sources? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-03 05:22 +0000
                  Re: Arduino code sources? Clifford Heath <no.spam@please.net> - 2019-06-03 11:00 +1000
                    Re: Arduino code sources? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-03 05:21 +0000
                      Re: Arduino code sources? Clifford Heath <no.spam@please.net> - 2019-06-03 17:15 +1000
                Re: Arduino code sources? Cursitor Doom <curd@notformail.com> - 2019-06-02 15:23 +0000
    Re: Arduino code sources? Rheilly Phoull <rheilly@bigslong.com> - 2019-06-01 08:13 +0800
    Re: Arduino code sources? sdy <sdeyoreo@hotmail.com> - 2019-05-31 18:38 -0700
    Re: Arduino code sources? Terry Pinnell <me@somewhere.invalid> - 2019-06-01 11:45 +0100
      Re: Arduino code sources? Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-01 12:36 +0100
        Re: Arduino code sources? Terry Pinnell <me@somewhere.invalid> - 2019-06-01 16:04 +0100
      Re: Arduino code sources? Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-06-01 04:38 -0700
        Re: Arduino code sources? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-06-01 11:32 -0400
          Re: Arduino code sources? Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-01 19:05 +0100
          Re: Arduino code sources? bitrex <user@example.net> - 2019-06-02 23:52 -0400
            Re: Arduino code sources? Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-03 08:53 +0100
      Re: Arduino code sources? Ralph Mowery <rmowery28146@earthlink.net> - 2019-06-01 11:26 -0400
    Re: Arduino code sources? "Rodney Pont" <mlist4@infohit.me.uk> - 2019-06-01 15:11 +0100
      Re: Arduino code sources? Terry Pinnell <me@somewhere.invalid> - 2019-06-01 16:20 +0100
    Re: Arduino code sources? bitrex <user@example.net> - 2019-06-02 23:08 -0400
      Re: Arduino code sources? bitrex <user@example.net> - 2019-06-02 23:40 -0400

Page 4 of 6 — ← Prev page 1 2 3 [4] 5 6  Next page →


#545842

Frombitrex <user@example.net>
Date2019-06-04 02:14 -0400
Message-ID<E%nJE.38638$Bt4.26104@fx45.iad>
In reply to#545794
On 6/3/19 7:29 PM, pcdhobbs@gmail.com wrote:
>> It's part of why this ng is valuable to me even though it contains, to
>> my mind, a bunch of assholes who have bad political opinions.
> 
> We knew that you weren't here for the usual reasons, for instance to be friendly or helpful.
> 
> Cheers
> 
> Phil Hobbs
> 

I've been helpful plenty of times, likely not to you but that's the way 
it goes.

Sucking up isn't my department, though, which does tend to irritate 
people who expect it.

[toc] | [prev] | [next] | [standalone]


#545843

Frombitrex <user@example.net>
Date2019-06-04 02:27 -0400
Message-ID<gboJE.46743$gz4.30112@fx03.iad>
In reply to#545794
On 6/3/19 7:29 PM, pcdhobbs@gmail.com wrote:
>> It's part of why this ng is valuable to me even though it contains, to
>> my mind, a bunch of assholes who have bad political opinions.
> 
> We knew that you weren't here for the usual reasons, for instance to be friendly or helpful.
> 
> Cheers
> 
> Phil Hobbs
> 

PS: you really gotta let this condescending-sarcastic-Internet-man act 
go, Dr. Phil. it's not becoming of a doctor. it's not a good look for u.

[toc] | [prev] | [next] | [standalone]


#545688

FromTom Gardner <spamjunk@blueyonder.co.uk>
Date2019-06-03 08:50 +0100
Message-ID<7j4JE.2484573$oQj.970501@fx12.am4>
In reply to#545678
On 03/06/19 05:00, bitrex wrote:
> On 6/1/19 11:30 AM, Phil Hobbs wrote:
>> On 6/1/19 10:43 AM, Dennis wrote:
>>> On 6/1/19 6:06 AM, Clifford Heath wrote:
>>>> On 1/6/19 4:50 pm, Tom Gardner wrote:
>>>>> What you gain on the swings you lose on the roundabouts.
>>>>>
>>>>> While I am certainly no fan of C++ (e.g. see the C++ FQA),
>>>>> one advantage of the Arduino class machines is that you are
>>>>> programming against bare silicon.
>>>>
>>>> If you think that 120 CPU cycles to set or clear a port pin is "bare 
>>>> silicon" then I don't know what to think. That's how long "digitalWrite" 
>>>> takes to perform a 2-cycle operation.
>>>
>>> That is because digitalWrite() allows you to dynamically assign the pin at 
>>> run time. If you have a fixed pin you want to use and speed is important, you 
>>> can use builtin assembler operations (DDRx,PORTx,PINx) to get your two cycle 
>>> operation. Most beginner projects are more human speed so 2 or 200 cycles 
>>> doesn't make much difference.
>>>
>>>>
>>>> The Arduino C libraries are a really bad direction to start off in, even for 
>>>> a raw beginner. They are so unnecessarily so very badly implemented.
>>>
>>> Yes some of them are awful, but the more common ones are good and getting 
>>> better. For the beginner it lets them easily get something working even if 
>>> the dark corners have dragons.
>>>
>>> Besides it can be a learning experience going through the library code to see 
>>> what is screwed up :-) (not for the beginner or faint of heart!).
>>
>> Not a bad method.
>>
>> I taught myself circuit design largely by reading app notes, assuming that all 
>> the circuits were junk, and figuring out why.  (Some of them are okay, of 
>> course, but you can always think about input protection and so forth.)
>>
>> Cheers
>>
>> Phil Hobbs
>>
> 
> The only thing scarier than hardware engineers designing software is software 
> engineers designing hardware. Leave designing hardware to physicists. Then the 
> hardware engineers will be free to write software and the software engineers can 
> do the physics.

One of the games I play in pub conversations is to try
to get people to come up with a simple definition of
what's hardware and what's software. Almost all fail
around the boundary, because they have insufficient
understanding of both.

One of the best engineers I knew had taken a 1 year MSc
conversion course after his first degree in biochemistry.

He was an exception, not least because two of his ancestors
had Nobel prizes.

[toc] | [prev] | [next] | [standalone]


#545786

Fromkrw@notreal.com
Date2019-06-03 19:12 -0400
Message-ID<u4abfe5k8hu9acp2ec5kf08ojen1tfo3e3@4ax.com>
In reply to#545678
On Mon, 3 Jun 2019 00:00:56 -0400, bitrex <user@example.net> wrote:

>On 6/1/19 11:30 AM, Phil Hobbs wrote:
>> On 6/1/19 10:43 AM, Dennis wrote:
>>> On 6/1/19 6:06 AM, Clifford Heath wrote:
>>>> On 1/6/19 4:50 pm, Tom Gardner wrote:
>>>>> What you gain on the swings you lose on the roundabouts.
>>>>>
>>>>> While I am certainly no fan of C++ (e.g. see the C++ FQA),
>>>>> one advantage of the Arduino class machines is that you are
>>>>> programming against bare silicon.
>>>>
>>>> If you think that 120 CPU cycles to set or clear a port pin is "bare 
>>>> silicon" then I don't know what to think. That's how long 
>>>> "digitalWrite" takes to perform a 2-cycle operation.
>>>
>>> That is because digitalWrite() allows you to dynamically assign the 
>>> pin at run time. If you have a fixed pin you want to use and speed is 
>>> important, you can use builtin assembler operations (DDRx,PORTx,PINx) 
>>> to get your two cycle operation. Most beginner projects are more human 
>>> speed so 2 or 200 cycles doesn't make much difference.
>>>
>>>>
>>>> The Arduino C libraries are a really bad direction to start off in, 
>>>> even for a raw beginner. They are so unnecessarily so very badly 
>>>> implemented.
>>>
>>> Yes some of them are awful, but the more common ones are good and 
>>> getting better. For the beginner it lets them easily get something 
>>> working even if the dark corners have dragons.
>>>
>>> Besides it can be a learning experience going through the library code 
>>> to see what is screwed up :-) (not for the beginner or faint of heart!).
>> 
>> Not a bad method.
>> 
>> I taught myself circuit design largely by reading app notes, assuming 
>> that all the circuits were junk, and figuring out why.  (Some of them 
>> are okay, of course, but you can always think about input protection and 
>> so forth.)
>> 
>> Cheers
>> 
>> Phil Hobbs
>> 
>
>The only thing scarier than hardware engineers designing software is 
>software engineers designing hardware. Leave designing hardware to 
>physicists. Then the hardware engineers will be free to write software 
>and the software engineers can do the physics.

When I left Lockheed Martin (a decade ago, give or take), the group
was about to consolidate their FPGA (VHDL) engineers into their
software group.  Scary indeed!  Scary place, all around.

[toc] | [prev] | [next] | [standalone]


#545899 — Spot the app note error was Arduino code sources?

FromDon Kuenz, KB7RPU <g@crcomp.net>
Date2019-06-04 16:03 +0000
SubjectSpot the app note error was Arduino code sources?
Message-ID<20190604a@crcomp.net>
In reply to#545421
Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:

<snip>

> I taught myself circuit design largely by reading app notes, assuming
> that all the circuits were junk, and figuring out why.  (Some of them
> are okay, of course, but you can always think about input protection and
> so forth.)

Background:

My Altoids audio mixer [1] is in the middle of a makeover. The new iso
transformer front end's already finished and sounds heavenly. New 
components made my circuit outgrow the tiny Altoids tin, so now 
everything's housed in a small Bud box. The new circuit utilizes a 
TEA2025 stereo audio amplifier [2], among other things. That beast can 
output up to 1.5 A, which far exceeds the capabilities of the TLE2426 
"rail splitter" [3] that ultimately powers the new circuit. So the "rail
splitter" will drive a BUF634A buffer [4] instead, which can supply up
to 250 mA.


Spot the app note error:

My original intention was to use app notes to cobble the buffer on to
the output of the "rail splitter," easy peasy. You inspired me to spend
a little bit more time to look deeper into those app notes. Any wisdom
that you, or others, can impart on my quest to "spot the app note error"
is appreciated. 

Note.

1. http://crcomp.net/electronic/altoidsmixer/index.php
2. https://media.digikey.com/pdf/Data%20Sheets/ST%20Microelectronics%20PDFS/TEA2025.pdf
3. http://www.ti.com/lit/ds/symlink/tle2426.pdf
4. http://www.ti.com/lit/ds/symlink/buf634.pdf

Thank you, 73,

-- 
Don Kuenz KB7RPU
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

[toc] | [prev] | [next] | [standalone]


#545908 — Re: Spot the app note error was Arduino code sources?

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2019-06-04 13:17 -0400
SubjectRe: Spot the app note error was Arduino code sources?
Message-ID<qd693o$gvr$1@dont-email.me>
In reply to#545899
On 6/4/19 12:03 PM, Don Kuenz wrote:> Phil Hobbs 
<pcdhSpamMeSenseless@electrooptical.net> wrote:
 >
 > <snip>
 >
 >> I taught myself circuit design largely by reading app notes, assuming
 >> that all the circuits were junk, and figuring out why.  (Some of them
 >> are okay, of course, but you can always think about input protection and
 >> so forth.)
 >
 > Background:
 >
 > My Altoids audio mixer [1] is in the middle of a makeover. The new iso
 > transformer front end's already finished and sounds heavenly. New
 > components made my circuit outgrow the tiny Altoids tin, so now
 > everything's housed in a small Bud box. The new circuit utilizes a
 > TEA2025 stereo audio amplifier [2], among other things. That beast can
 > output up to 1.5 A, which far exceeds the capabilities of the TLE2426
 > "rail splitter" [3] that ultimately powers the new circuit. So the "rail
 > splitter" will drive a BUF634A buffer [4] instead, which can supply up
 > to 250 mA.
 >
 >
 > Spot the app note error:
 >
 > My original intention was to use app notes to cobble the buffer on to
 > the output of the "rail splitter," easy peasy. You inspired me to spend
 > a little bit more time to look deeper into those app notes. Any wisdom
 > that you, or others, can impart on my quest to "spot the app note error"
 > is appreciated.
 >
 > Note.
 >
 > 1. http://crcomp.net/electronic/altoidsmixer/index.php
 > 2. 
https://media.digikey.com/pdf/Data%20Sheets/ST%20Microelectronics%20PDFS/TEA2025.pdf
 > 3. http://www.ti.com/lit/ds/symlink/tle2426.pdf
 > 4. http://www.ti.com/lit/ds/symlink/buf634.pdf
 >
 > Thank you, 73,
 >

One of the usual appnote sins is to use gold-plated parts (their own, 
naturally).  This is one of those--you're using a $10 BUF634 and a $2 
TLE2426 instead of a $1 TCA0372 and two resistors. (See George's thread.)

Cheers

Phil Hobbs

-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics

160 North State Road #203
Briarcliff Manor NY 10510

hobbs at electrooptical dot net
http://electrooptical.net


-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics

160 North State Road #203
Briarcliff Manor NY 10510

hobbs at electrooptical dot net
http://electrooptical.net

[toc] | [prev] | [next] | [standalone]


#545956 — Re: Spot the app note error

FromDon Kuenz <g@crcomp.net>
Date2019-06-04 21:47 +0000
SubjectRe: Spot the app note error
Message-ID<20190604b@crcomp.net>
In reply to#545908
Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:

<snip>

> One of the usual appnote sins is to use gold-plated parts (their own,
> naturally).  This is one of those--you're using a $10 BUF634 and a $2
> TLE2426 instead of a $1 TCA0372 and two resistors. (See George's thread.)

The mixer opamps are on a daughterboard in order to facilitate 
experimentation. You convinced me that the power circuit also deserves
its own daughterboard. That way, those two expensive parts can go right
back into inventory if they offer little, if any, improvement.

73,

-- 
Don Kuenz, KB7RPU

[toc] | [prev] | [next] | [standalone]


#546437 — Re: Spot the app note error was Arduino code sources?

FromDon Kuenz <g@crcomp.net>
Date2019-06-08 18:34 +0000
SubjectRe: Spot the app note error was Arduino code sources?
Message-ID<20190608a@crcomp.net>
In reply to#545908
Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
> On 6/4/19 12:03 PM, Don Kuenz wrote:> Phil Hobbs
> <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>
>> <snip>
>>
>>> I taught myself circuit design largely by reading app notes, assuming
>>> that all the circuits were junk, and figuring out why.  (Some of them
>>> are okay, of course, but you can always think about input protection and
>>> so forth.)
>>
>> Background:
>>
>> My Altoids audio mixer [1] is in the middle of a makeover. The new iso
>> transformer front end's already finished and sounds heavenly. New
>> components made my circuit outgrow the tiny Altoids tin, so now
>> everything's housed in a small Bud box. The new circuit utilizes a
>> TEA2025 stereo audio amplifier [2], among other things. That beast can
>> output up to 1.5 A, which far exceeds the capabilities of the TLE2426
>> "rail splitter" [3] that ultimately powers the new circuit. So the "rail
>> splitter" will drive a BUF634A buffer [4] instead, which can supply up
>> to 250 mA.
>>
>>
>> Spot the app note error:
>>
>> My original intention was to use app notes to cobble the buffer on to
>> the output of the "rail splitter," easy peasy. You inspired me to spend
>> a little bit more time to look deeper into those app notes. Any wisdom
>> that you, or others, can impart on my quest to "spot the app note error"
>> is appreciated.
>>
>> Note.
>>
>> 1. http://crcomp.net/electronic/altoidsmixer/index.php
>> 2. https://media.digikey.com/pdf/Data%20Sheets/ST%20Microelectronics%20PDFS/TEA2025.pdf
>> 3. http://www.ti.com/lit/ds/symlink/tle2426.pdf
>> 4. http://www.ti.com/lit/ds/symlink/buf634.pdf
>
> One of the usual appnote sins is to use gold-plated parts (their own,
> naturally).  This is one of those--you're using a $10 BUF634 and a $2
> TLE2426 instead of a $1 TCA0372 and two resistors. (See George's thread.)
 
It's hard to beat the simplicity and cost of two resistors with an 
opamp. Arn Roatcap hosts a webpage with interesting virtual ground 
circuits at:

   http://www.goldpt.com/virtual_ground_circuit.html

Although the circuit at the bottom of the webpage uses the two resistors
with an opamp, Roatcap also warns: 

    Here is a rail splitter virtual ground circuit which "works",
    but is a second or third choice sonically. While it does center
    the ground point perfectly, it requires a constant current
    source (the LD1085V) hung on its output to sound any good when
    powering audio circuits. Furthermore, both the L165 and the 
    LD1085V require heat sinks, so this circuit is not good for 
    battery use (too much wasted power).

The virtual ground circuit (along with the pre-amp and amp circuits)
are all on one separate daughterboard in my design, which lends itself 
to experimentation. The "sonic quality" aspect may (or may not) pique my
interest enough to investigate it in the future.

73,

-- 
Don Kuenz, KB7RPU

[toc] | [prev] | [next] | [standalone]


#545939 — Re: Spot the app note error was Arduino code sources?

Frombitrex <user@example.net>
Date2019-06-04 15:30 -0400
SubjectRe: Spot the app note error was Arduino code sources?
Message-ID<_EzJE.23118$qD2.6747@fx27.iad>
In reply to#545899
On 6/4/19 12:03 PM, Don Kuenz wrote:
> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
> 
> <snip>
> 
>> I taught myself circuit design largely by reading app notes, assuming
>> that all the circuits were junk, and figuring out why.  (Some of them
>> are okay, of course, but you can always think about input protection and
>> so forth.)
> 
> Background:
> 
> My Altoids audio mixer [1] is in the middle of a makeover. The new iso
> transformer front end's already finished and sounds heavenly. New
> components made my circuit outgrow the tiny Altoids tin, so now
> everything's housed in a small Bud box. The new circuit utilizes a
> TEA2025 stereo audio amplifier [2], among other things. That beast can
> output up to 1.5 A, which far exceeds the capabilities of the TLE2426
> "rail splitter" [3] that ultimately powers the new circuit. So the "rail
> splitter" will drive a BUF634A buffer [4] instead, which can supply up
> to 250 mA.
> 
> 
> Spot the app note error:
> 
> My original intention was to use app notes to cobble the buffer on to
> the output of the "rail splitter," easy peasy. You inspired me to spend
> a little bit more time to look deeper into those app notes. Any wisdom
> that you, or others, can impart on my quest to "spot the app note error"
> is appreciated.
> 
> Note.
> 
> 1. http://crcomp.net/electronic/altoidsmixer/index.php
> 2. https://media.digikey.com/pdf/Data%20Sheets/ST%20Microelectronics%20PDFS/TEA2025.pdf
> 3. http://www.ti.com/lit/ds/symlink/tle2426.pdf
> 4. http://www.ti.com/lit/ds/symlink/buf634.pdf
> 
> Thank you, 73,
> 

why does an audio mixer need 1.5A of available output current?

[toc] | [prev] | [next] | [standalone]


#545957 — Re: Spot the app note error

FromDon Kuenz, KB7RPU <g@crcomp.net>
Date2019-06-04 21:48 +0000
SubjectRe: Spot the app note error
Message-ID<20190604c@crcomp.net>
In reply to#545939
bitrex <user@example.net> wrote:
> On 6/4/19 12:03 PM, Don Kuenz wrote:
>> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>
>> <snip>
>>
>>> I taught myself circuit design largely by reading app notes, assuming
>>> that all the circuits were junk, and figuring out why.  (Some of them
>>> are okay, of course, but you can always think about input protection and
>>> so forth.)
>>
>> Background:
>>
>> My Altoids audio mixer [1] is in the middle of a makeover. The new iso
>> transformer front end's already finished and sounds heavenly. New
>> components made my circuit outgrow the tiny Altoids tin, so now
>> everything's housed in a small Bud box. The new circuit utilizes a
>> TEA2025 stereo audio amplifier [2], among other things. That beast can
>> output up to 1.5 A, which far exceeds the capabilities of the TLE2426
>> "rail splitter" [3] that ultimately powers the new circuit. So the "rail
>> splitter" will drive a BUF634A buffer [4] instead, which can supply up
>> to 250 mA.
>>
>>
>> Spot the app note error:
>>
>> My original intention was to use app notes to cobble the buffer on to
>> the output of the "rail splitter," easy peasy. You inspired me to spend
>> a little bit more time to look deeper into those app notes. Any wisdom
>> that you, or others, can impart on my quest to "spot the app note error"
>> is appreciated.
>>
>> Note.
>>
>> 1. http://crcomp.net/electronic/altoidsmixer/index.php
>> 2. https://media.digikey.com/pdf/Data%20Sheets/ST%20Microelectronics%20PDFS/TEA2025.pdf
>> 3. http://www.ti.com/lit/ds/symlink/tle2426.pdf
>> 4. http://www.ti.com/lit/ds/symlink/buf634.pdf
>
> why does an audio mixer need 1.5A of available output current?

It morphed into a mixer-amp. All will be revealed in the upcoming 
webpage.

Thank you, 73,

-- 
Don Kuenz KB7RPU
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

[toc] | [prev] | [next] | [standalone]


#545962 — Re: Spot the app note error

FromWinfield Hill <winfieldhill@yahoo.com>
Date2019-06-04 15:51 -0700
SubjectRe: Spot the app note error
Message-ID<qd6sm0029ob@drn.newsguy.com>
In reply to#545957
Don Kuenz, KB7RPU wrote...
>
>> why does an audio mixer need 1.5A of available
>> output current?
>
> It morphed into a mixer-amp. All will be revealed
> in the upcoming webpage.

 The AMP portion should be BTL, that way there'd
 be no rail-splitter mid-supply ground current.


-- 
 Thanks,
    - Win

[toc] | [prev] | [next] | [standalone]


#545965 — Re: Spot the app note error

FromDon Kuenz, KB7RPU <g@crcomp.net>
Date2019-06-04 23:28 +0000
SubjectRe: Spot the app note error
Message-ID<20190604d@crcomp.net>
In reply to#545962
Winfield Hill <winfieldhill@yahoo.com> wrote:
> Don Kuenz, KB7RPU wrote...
>>
>>> why does an audio mixer need 1.5A of available
>>> output current?
>>
>> It morphed into a mixer-amp. All will be revealed
>> in the upcoming webpage.
>
>  The AMP portion should be BTL, that way there'd
>  be no rail-splitter mid-supply ground current.

The TEA2025 drives two separate stereo speakers, a left and a right.

Thank you, 73,

-- 
Don Kuenz KB7RPU
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

[toc] | [prev] | [next] | [standalone]


#545968 — Re: Spot the app note error

FromDon Kuenz, KB7RPU <g@crcomp.net>
Date2019-06-04 23:40 +0000
SubjectRe: Spot the app note error
Message-ID<20190604e@crcomp.net>
In reply to#545962
Winfield Hill <winfieldhill@yahoo.com> wrote:
> Don Kuenz, KB7RPU wrote...
>>
>>> why does an audio mixer need 1.5A of available
>>> output current?
>>
>> It morphed into a mixer-amp. All will be revealed
>> in the upcoming webpage.
>
>  The AMP portion should be BTL, that way there'd
>  be no rail-splitter mid-supply ground current.

The TEA2025 drives two separate stereo speakers, a left and a right.

BTW, 1.5A is the maximum current output by the TEA2025. For this
application the speakers need less than one tenth of that value, but
they also need a little more than the 20mA available from a standalone 
TLE2426.


Thank you, 73,

-- 
Don Kuenz KB7RPU
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

[toc] | [prev] | [next] | [standalone]


#545972 — Re: Spot the app note error

FromWinfield Hill <winfieldhill@yahoo.com>
Date2019-06-04 17:21 -0700
SubjectRe: Spot the app note error
Message-ID<qd71u202h5g@drn.newsguy.com>
In reply to#545968
Don Kuenz, KB7RPU wrote...
>
>Winfield Hill <winfieldhill@yahoo.com> wrote:
>> Don Kuenz, KB7RPU wrote...
>>>
>>>> why does an audio mixer need 1.5A of available
>>>> output current?
>>>
>>> It morphed into a mixer-amp. All will be revealed
>>> in the upcoming webpage.
>>
>>  The AMP portion should be BTL, that way there'd
>>  be no rail-splitter mid-supply ground current.
>
> The TEA2025 drives two separate stereo speakers,
> a left and a right.

 Stereo, yes.  I'm suggesting you use a more capable
 amplifier, one with complementary Bridge-Tied-Load
 outputs.  There is no "ground" current.  Two mono
 parts would be fine, but these are also available
 in stereo versions.   The positive current from one
 output goes to the negative output of its BTL pair.


-- 
 Thanks,
    - Win

[toc] | [prev] | [next] | [standalone]


#545981 — Re: Spot the app note error

FromDon Kuenz, KB7RPU <g@crcomp.net>
Date2019-06-05 01:13 +0000
SubjectRe: Spot the app note error
Message-ID<20190604f@crcomp.net>
In reply to#545972
Winfield Hill <winfieldhill@yahoo.com> wrote:
> Don Kuenz, KB7RPU wrote...
>>
>>Winfield Hill <winfieldhill@yahoo.com> wrote:
>>> Don Kuenz, KB7RPU wrote...
>>>>
>>>>> why does an audio mixer need 1.5A of available
>>>>> output current?
>>>>
>>>> It morphed into a mixer-amp. All will be revealed
>>>> in the upcoming webpage.
>>>
>>>  The AMP portion should be BTL, that way there'd
>>>  be no rail-splitter mid-supply ground current.
>>
>> The TEA2025 drives two separate stereo speakers,
>> a left and a right.
>
>  Stereo, yes.  I'm suggesting you use a more capable
>  amplifier, one with complementary Bridge-Tied-Load
>  outputs.  There is no "ground" current.  Two mono
>  parts would be fine, but these are also available
>  in stereo versions.   The positive current from one
>  output goes to the negative output of its BTL pair.

In bridged mode the TEA2025 can only drive a single speaker. It takes
two TEA2025s, each in bridged mode, to drive drive stereo speakers. 
Either that or find a more capable amp. It seems that the amp also 
deserves its own daughterboard.
    My quick and dirty solution grows more elegant by the hour. It also
becomes more interesting. 

Thank you, 73,

-- 
Don Kuenz KB7RPU
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

[toc] | [prev] | [next] | [standalone]


#545988 — Re: Spot the app note error

Frombitrex <user@example.net>
Date2019-06-04 23:02 -0400
SubjectRe: Spot the app note error
Message-ID<AhGJE.37027$Ky4.12097@fx08.iad>
In reply to#545981
On 6/4/19 9:13 PM, Don Kuenz wrote:
> Winfield Hill <winfieldhill@yahoo.com> wrote:
>> Don Kuenz, KB7RPU wrote...
>>>
>>> Winfield Hill <winfieldhill@yahoo.com> wrote:
>>>> Don Kuenz, KB7RPU wrote...
>>>>>
>>>>>> why does an audio mixer need 1.5A of available
>>>>>> output current?
>>>>>
>>>>> It morphed into a mixer-amp. All will be revealed
>>>>> in the upcoming webpage.
>>>>
>>>>   The AMP portion should be BTL, that way there'd
>>>>   be no rail-splitter mid-supply ground current.
>>>
>>> The TEA2025 drives two separate stereo speakers,
>>> a left and a right.
>>
>>   Stereo, yes.  I'm suggesting you use a more capable
>>   amplifier, one with complementary Bridge-Tied-Load
>>   outputs.  There is no "ground" current.  Two mono
>>   parts would be fine, but these are also available
>>   in stereo versions.   The positive current from one
>>   output goes to the negative output of its BTL pair.
> 
> In bridged mode the TEA2025 can only drive a single speaker. It takes
> two TEA2025s, each in bridged mode, to drive drive stereo speakers.
> Either that or find a more capable amp. It seems that the amp also
> deserves its own daughterboard.
>      My quick and dirty solution grows more elegant by the hour. It also
> becomes more interesting.
> 
> Thank you, 73,
> 

If the line-level output is to be AC-coupled there should probably be a 
50-100k load resistor and maybe small value cap, 100-470p, in parallel 
after the coupling cap, ideally right near the output jack. And probably 
a ~1k resistor in series with the coupling cap, too.

If it's to drive a significant length of cable the impedance looking 
back into the output terminals of the op-amp at the audio frequencies of 
interest should be well-defined.

If it's to become a mixer/power amp with a power output stage the output 
network would be different depending on the power amp chip's 
characteristics. like say a Zobel network in shunt and a small 
VHF-suppression inductor in series in the case of a linear power amp 
driving speakers.

[toc] | [prev] | [next] | [standalone]


#545989 — Re: Spot the app note error

Frombitrex <user@example.net>
Date2019-06-04 23:05 -0400
SubjectRe: Spot the app note error
Message-ID<2kGJE.37028$Ky4.18573@fx08.iad>
In reply to#545988
On 6/4/19 11:02 PM, bitrex wrote:
> On 6/4/19 9:13 PM, Don Kuenz wrote:
>> Winfield Hill <winfieldhill@yahoo.com> wrote:
>>> Don Kuenz, KB7RPU wrote...
>>>>
>>>> Winfield Hill <winfieldhill@yahoo.com> wrote:
>>>>> Don Kuenz, KB7RPU wrote...
>>>>>>
>>>>>>> why does an audio mixer need 1.5A of available
>>>>>>> output current?
>>>>>>
>>>>>> It morphed into a mixer-amp. All will be revealed
>>>>>> in the upcoming webpage.
>>>>>
>>>>>   The AMP portion should be BTL, that way there'd
>>>>>   be no rail-splitter mid-supply ground current.
>>>>
>>>> The TEA2025 drives two separate stereo speakers,
>>>> a left and a right.
>>>
>>>   Stereo, yes.  I'm suggesting you use a more capable
>>>   amplifier, one with complementary Bridge-Tied-Load
>>>   outputs.  There is no "ground" current.  Two mono
>>>   parts would be fine, but these are also available
>>>   in stereo versions.   The positive current from one
>>>   output goes to the negative output of its BTL pair.
>>
>> In bridged mode the TEA2025 can only drive a single speaker. It takes
>> two TEA2025s, each in bridged mode, to drive drive stereo speakers.
>> Either that or find a more capable amp. It seems that the amp also
>> deserves its own daughterboard.
>>      My quick and dirty solution grows more elegant by the hour. It also
>> becomes more interesting.
>>
>> Thank you, 73,
>>
> 
> If the line-level output is to be AC-coupled there should probably be a 
> 50-100k load resistor and maybe small value cap, 100-470p, in parallel 
> after the coupling cap, ideally right near the output jack. And probably 
> a ~1k resistor in series with the coupling cap, too.

In parallel to ground, rather

[toc] | [prev] | [next] | [standalone]


#546014 — Re: Spot the app note error

FromWinfield Hill <winfieldhill@yahoo.com>
Date2019-06-05 01:08 -0700
SubjectRe: Spot the app note error
Message-ID<qd7tah0qfr@drn.newsguy.com>
In reply to#545989
bitrex wrote...
>
> In parallel to ground, rather

 Or across the BTL load, if that was adopted.

 There must be somebody on eBay or AliExpress
 selling a small PCB with a stereo BTL amp.

 There are certainly plenty of blokes selling
 larger PCB versions, and I am a sucker for
 buying various high-power class-D versions.
 I imagine modifying them for DC operation, 
 using them to run big Peltier coolers, etc.
 Or maybe I just admire their fancy heatsinks,
 and in some cases towering fan assemblies.
 Filling boxes with an impressive assortment.


-- 
 Thanks,
    - Win

[toc] | [prev] | [next] | [standalone]


#546103 — Re: Spot the app note error

Frombitrex <user@example.net>
Date2019-06-06 00:22 -0400
SubjectRe: Spot the app note error
Message-ID<Ey0KE.55696$KA4.51970@fx05.iad>
In reply to#546014
On 6/5/19 4:08 AM, Winfield Hill wrote:
> bitrex wrote...
>>
>> In parallel to ground, rather
> 
>   Or across the BTL load, if that was adopted.
> 
>   There must be somebody on eBay or AliExpress
>   selling a small PCB with a stereo BTL amp.
> 
>   There are certainly plenty of blokes selling
>   larger PCB versions, and I am a sucker for
>   buying various high-power class-D versions.
>   I imagine modifying them for DC operation,
>   using them to run big Peltier coolers, etc.
>   Or maybe I just admire their fancy heatsinks,
>   and in some cases towering fan assemblies.
>   Filling boxes with an impressive assortment.
> 
> 

Designing and building a solid-state audio power amp is one of those 
things I did one time because like, it's something a budding engineer 
should probably do at least once. I guess.

I did learn quite a bit but after I was done was not eager to do it 
again because for one thing there are already so many great 
off-the-shelf products at relatively low cost, designed by likely far 
better audio engineers than I am.

Tubes are a different story I like futzing with tubes from time to time.

[toc] | [prev] | [next] | [standalone]


#546104 — Re: Spot the app note error

Frombitrex <user@example.net>
Date2019-06-06 00:27 -0400
SubjectRe: Spot the app note error
Message-ID<TC0KE.3161$R23.1065@fx01.iad>
In reply to#546103
On 6/6/19 12:22 AM, bitrex wrote:
> On 6/5/19 4:08 AM, Winfield Hill wrote:
>> bitrex wrote...
>>>
>>> In parallel to ground, rather
>>
>>   Or across the BTL load, if that was adopted.
>>
>>   There must be somebody on eBay or AliExpress
>>   selling a small PCB with a stereo BTL amp.
>>
>>   There are certainly plenty of blokes selling
>>   larger PCB versions, and I am a sucker for
>>   buying various high-power class-D versions.
>>   I imagine modifying them for DC operation,
>>   using them to run big Peltier coolers, etc.
>>   Or maybe I just admire their fancy heatsinks,
>>   and in some cases towering fan assemblies.
>>   Filling boxes with an impressive assortment.
>>
>>
> 
> Designing and building a solid-state audio power amp is one of those 
> things I did one time because like, it's something a budding engineer 
> should probably do at least once. I guess.
> 
> I did learn quite a bit but after I was done was not eager to do it 
> again because for one thing there are already so many great 
> off-the-shelf products at relatively low cost, designed by likely far 
> better audio engineers than I am.
> 
> Tubes are a different story I like futzing with tubes from time to time.

In any case my CDs, tapes, LPs etc. are almost entirely "gone with the 
snows of yesteryear" in nearly now, at the year of our Lord 2020 AD.

[toc] | [prev] | [next] | [standalone]


Page 4 of 6 — ← Prev page 1 2 3 [4] 5 6  Next page →

Back to top | Article view | sci.electronics.design


csiph-web