Author |
Message |
Topic: Question for dimmable lighting controller. |
Rick-S
Replies: 25
Views: 2973
|
Forum: BASCOM-AVR Archive Posted: Mon Aug 10, 2009 11:33 pm Subject: Question for dimmable lighting controller. |
Mako444, I don't follow what you are doing quite as well. Looking at the program you posted, it looks as if the triac would only be turned on 500ms then off 500ms repeating.
Wouldn't your C var ... |
Topic: Question for dimmable lighting controller. |
Rick-S
Replies: 25
Views: 2973
|
Forum: BASCOM-AVR Archive Posted: Sun Aug 09, 2009 10:37 pm Subject: Question for dimmable lighting controller. |
Ok,
Using your ideas, Jordan, this code works as a simple fade from off to full on, then back off again. I learned one thing, and this may be the reason for the use of the timer for the delay inst ... |
Topic: Question for dimmable lighting controller. |
Rick-S
Replies: 25
Views: 2973
|
Forum: BASCOM-AVR Archive Posted: Sun Aug 09, 2009 9:15 pm Subject: Question for dimmable lighting controller. |
I got a good deal on the triac that's the only reason for the 12A part. I don't intend to run more than 2 - 3 amps max thru it when all is said and done. I do have a heatsink for it though even thou ... |
Topic: vista |
Rick-S
Replies: 3
Views: 491
|
Forum: BASCOM-AVR Archive Posted: Sun Aug 09, 2009 4:03 pm Subject: vista |
I know I had issues with vista (currently using Vista Ultimate) that were all related to security stuff. My login didn't have write access to the folder bascom was installed to in program files. I d ... |
Topic: Question for dimmable lighting controller. |
Rick-S
Replies: 25
Views: 2973
|
Forum: BASCOM-AVR Archive Posted: Sun Aug 09, 2009 3:55 pm Subject: Question for dimmable lighting controller. |
This is the ac input to the PC814 VS the output.
http://i166.photobucket.com/albums/u117/rdshear/IMG_0557.jpg
Does this look normal??
I'm not very fluent with the scope (I borrowed it from a fri ... |
Topic: Question for dimmable lighting controller. |
Rick-S
Replies: 25
Views: 2973
|
Forum: BASCOM-AVR Archive Posted: Sun Aug 09, 2009 1:04 pm Subject: Question for dimmable lighting controller. |
Thanks Jordan,
I think I can actually follow what you are doing here...
Let me see if I got this right.
In your Int1_isr: you turn off the triac then use the pulseout (to nothing) to create t ... |
Topic: Question for dimmable lighting controller. |
Rick-S
Replies: 25
Views: 2973
|
Forum: BASCOM-AVR Archive Posted: Sun Aug 09, 2009 12:52 am Subject: Question for dimmable lighting controller. |
Thank you mako444,
I thought the program was seriously flawed in its logic. I thought it may have just been my inability to follow it due to the interrupts and timers (of which I am admittedly wea ... |
Topic: Question for dimmable lighting controller. |
Rick-S
Replies: 25
Views: 2973
|
Forum: BASCOM-AVR Archive Posted: Sat Aug 08, 2009 3:28 am Subject: Question for dimmable lighting controller. |
In case it would help anyone, the original post for this sample was http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=1062&highlight=triac+dimmer
The or ... |
Topic: Question for dimmable lighting controller. |
Rick-S
Replies: 25
Views: 2973
|
Forum: BASCOM-AVR Archive Posted: Fri Aug 07, 2009 1:40 am Subject: Question for dimmable lighting controller. |
Has anyone had success with controlling ac lighting such as those used in Christmas displays? I've seen many DIY varieties on the web but most all of them are controlled with PIC controllers. I have ... |
Topic: Creation of lookup table |
Rick-S
Replies: 21
Views: 1571
|
Forum: BASCOM-AVR Archive Posted: Tue Jul 14, 2009 6:10 pm Subject: Creation of lookup table |
Arera, as they say, "Great minds think alike!". |
Topic: Creation of lookup table |
Rick-S
Replies: 21
Views: 1571
|
Forum: BASCOM-AVR Archive Posted: Tue Jul 14, 2009 11:46 am Subject: Creation of lookup table |
The eeprom can be written to dynamically by declaring a variable as ERAM. See the help file under the DIM command where it states:
Specify ERAM to store the variable into EEPROM
ERAM va ... |
Topic: Starting off with USB - howto? |
Rick-S
Replies: 10
Views: 1743
|
Forum: BASCOM-AVR Archive Posted: Thu Apr 09, 2009 6:25 pm Subject: Starting off with USB - howto? |
I apologize, I didn't realise you sold a USB board or I wouldn't have mentioned the one I did. I knew about the addon library though. I didn't however mean to imply I would be trying to get help in ... |
Topic: Starting off with USB - howto? |
Rick-S
Replies: 10
Views: 1743
|
Forum: BASCOM-AVR Archive Posted: Thu Apr 09, 2009 1:34 am Subject: Starting off with USB - howto? |
Did I say something wrong or scare people away??
Anyone have experience with the teensy ++ http://www.pjrc.com/teensy/ or the AT90USB646 mcu on it? |
Topic: Starting off with USB - howto? |
Rick-S
Replies: 10
Views: 1743
|
Forum: BASCOM-AVR Archive Posted: Mon Apr 06, 2009 6:13 pm Subject: Starting off with USB - howto? |
Has anyone messed around with the teensy usb or teensy usb ++? One the Teensy is based on the AT90USB162 which I see is listed in the supported chips the other is based on the AT90USB646 which isn't ... |
Topic: Lost and Discouraged |
Rick-S
Replies: 15
Views: 1503
|
Forum: BASCOM-AVR Archive Posted: Sat Mar 28, 2009 2:19 am Subject: Lost and Discouraged |
The parallax PIR module seems easy enough to tie into an avr. Just set it's output to one of the input ports and check the status with the pinx.x command. Of course you'll have to config the portX.X ... |
|