Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
TeensyLights16 not dimming
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aaron VerDow  
View profile  
 More options Aug 15 2012, 10:01 pm
From: Aaron VerDow <armoredc...@gmail.com>
Date: Wed, 15 Aug 2012 19:01:30 -0700 (PDT)
Local: Wed, Aug 15 2012 10:01 pm
Subject: TeensyLights16 not dimming

I got my TeensyLights working but dimming isn't working.  I
uploaded TeensyLights16_V2_dimmable_04.pde to it, but it still always turns
off at #EE.  Any ideas for getting dimming to work?

Oh, btw this is the bash command I use for sending stuff to the Teensy,
hopefully soon I'll have a full web interface for it that I'll share later.

sudo echo $'\x7E\x80\x01\xFF' > /dev/ttyACM0

Just repeat \xFF for each channel and change /dev/ttyACM0 to the USB serial
interface to the Teensy.  You can also add yourself to the dialout group to
write to the Teensy without root.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aaron VerDow  
View profile  
 More options Aug 15 2012, 10:05 pm
From: Aaron VerDow <armoredc...@gmail.com>
Date: Wed, 15 Aug 2012 19:05:51 -0700 (PDT)
Local: Wed, Aug 15 2012 10:05 pm
Subject: Re: TeensyLights16 not dimming

Oh, another question:  can I use 12v dc on one half of it instead of 120v
ac?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "{LVL1} TeensyLights16 not dimming" by Brian Wagner
Brian Wagner  
View profile   Translate to Translated (View Original)
 More options Aug 16 2012, 7:21 am
From: Brian Wagner <br...@tegrasys.com>
Date: Thu, 16 Aug 2012 07:21:20 -0400
Local: Thurs, Aug 16 2012 7:21 am
Subject: Re: {LVL1} TeensyLights16 not dimming

Bill gave me some replacement optocouplers  he had a bad batch. I have not
installed them yet so I do not know if that fixes the dimming issue.

Brian

On Wednesday, August 15, 2012, Aaron VerDow wrote:
> I got my TeensyLights working but dimming isn't working.  I
> uploaded TeensyLights16_V2_dimmable_04.pde to it, but it still always turns
> off at #EE.  Any ideas for getting dimming to work?

> Oh, btw this is the bash command I use for sending stuff to the Teensy,
> hopefully soon I'll have a full web interface for it that I'll share later.

> sudo echo $'\x7E\x80\x01\xFF' > /dev/ttyACM0

> Just repeat \xFF for each channel and change /dev/ttyACM0 to the USB
> serial interface to the Teensy.  You can also add yourself to the dialout
> group to write to the Teensy without root.

--
Sent from Gmail Mobile

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Piepmeyer  
View profile  
 More options Aug 16 2012, 9:02 am
From: Bill Piepmeyer <bi...@solsticeinc.net>
Date: Thu, 16 Aug 2012 09:02:19 -0400
Local: Thurs, Aug 16 2012 9:02 am
Subject: Re: {LVL1} TeensyLights16 not dimming
I am guessing you have the defective moc2023 opto couplers if the data
code on them i 1121 then they are bad. I sent out an email on those
shortly after the class when I found out about them.  I have
replacements and I will bring them with me next time I am there. If you
aren't around I will put them somewhere you can get to them and you can
just get me back the old ones sometime.

Thanks for sharing the bash command info.

--Bill

On 8/15/2012 10:01 PM, Aaron VerDow wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "{LVL1} Re: TeensyLights16 not dimming" by Bill Piepmeyer
Bill Piepmeyer  
View profile  
 More options Aug 16 2012, 9:18 am
From: Bill Piepmeyer <bi...@solsticeinc.net>
Date: Thu, 16 Aug 2012 09:18:37 -0400
Local: Thurs, Aug 16 2012 9:18 am
Subject: Re: {LVL1} Re: TeensyLights16 not dimming
Unfortunately the triacs and the dimming depend on the zero crossing in
the AC waveform to turn off. Triacs are a bit odd in that they latch on
when the current passing through them exceeds a certain threshold. With
AC, the voltage every 180 degrees through goes to 0v, thus the current
goes to 0. This allows it to turn off.

However there might be some modifications we could make to the board to
do that if you need. You could provide 12v AC in to the board and then
rectify and filter (if needed) the output. This would only require that
the resister between the opto-triac and the triac be changed.  You would
want to do this on bank 9-16. If you don't provide 120v AC to bank 1-8
then the zero crossing circuit will not work. The zero crossing circuit
could be modified to work with 12v AC by changing the 2 resisters in
that circuit.

--Bill

On 8/15/2012 10:05 PM, Aaron VerDow wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brad Luyster  
View profile   Translate to Translated (View Original)
 More options Aug 16 2012, 9:22 am
From: Brad Luyster <bradluys...@gmail.com>
Date: Thu, 16 Aug 2012 09:22:27 -0400
Local: Thurs, Aug 16 2012 9:22 am
Subject: Re: {LVL1} Re: TeensyLights16 not dimming

As an aside, here is a really great article on how Triacs work:
http://ch00ftech.com/2012/08/09/method-1571-for-not-dimming-an-el-pan...

On Thu, Aug 16, 2012 at 9:18 AM, Bill Piepmeyer <bi...@solsticeinc.net>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "TeensyLights16 not dimming" by Aaron VerDow
Aaron VerDow  
View profile   Translate to Translated (View Original)
 More options Aug 16 2012, 9:52 am
From: Aaron VerDow <armoredc...@gmail.com>
Date: Thu, 16 Aug 2012 06:52:18 -0700 (PDT)
Local: Thurs, Aug 16 2012 9:52 am
Subject: Re: TeensyLights16 not dimming

I have a question about the programming... is there way to change the state
of one channel without knowing the state of the other channels?  For
example, to change the second channel I have to pass a byte for the first
channel and if I don't know it's state I can accidentally change it.

echo $'\x7E\x80\x01\xFF'

Is there a way to get the current values of each channel or is it possible
to pass a padding byte to the controller?  I noticed in the instructions
0x7D is a pad byte but didn't know if it could be used like this:

echo $'\x7E\x80\x7D\xFF'

Hopefully this should set channel 2 to FF and leave channel 1 alone.  If
not I might try to add another special byte to the firmware that does this.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »