Search found 20 matches
- Sat May 24, 2014 11:49 am
- Forum: Ask anything here
- Topic: Stuck Value in PCA9685
- Replies: 4
- Views: 3457
Re: Stuck Value in PCA9685
But when I write a value to the chip, it's not actually doing the pwm for that value. It's just staying at that default value. The registers are taking the new value, but the pwm isn't going to the new value. I believe the chip is in restart mode or somehow the oscillator was turned off. From the da...
- Fri May 23, 2014 6:24 pm
- Forum: Ask anything here
- Topic: Stuck Value in PCA9685
- Replies: 4
- Views: 3457
Re: Stuck Value in PCA9685
It's all the channels, and Kraven verified the registers are receiving new values. As he was able to read and write to all of them.
- Fri May 23, 2014 6:02 pm
- Forum: Ask anything here
- Topic: Stuck Value in PCA9685
- Replies: 4
- Views: 3457
Stuck Value in PCA9685
Have you guys ever encountered having a 'stuck' pwm value in the pca9685? It persists through power cycles, and I've tried to understand the data sheet for it. The best thing I can come up with is it's in restart mode but I don't quite get how to send the appropriate signals to it to reset the chip....
- Sat May 17, 2014 11:20 am
- Forum: Development Libraries
- Topic: Adding support for 16 channel PWM expansion to libraries
- Replies: 102
- Views: 81423
Re: Adding support for 16 channel PWM expansion to libraries
As an fyi, to do that, you're going to have to either create a new call/write methods or you're going to have to change the existing ones. (I went with adding a new expansion/pwm slope/pwm parabola methods)
- Fri May 16, 2014 9:29 pm
- Forum: Development Libraries
- Topic: Adding support for 16 channel PWM expansion to libraries
- Replies: 102
- Views: 81423
Re: Adding support for 16 channel PWM expansion to libraries
Why not overload the Expansion function to accept an int from an overloaded PWMSlope function? Or... You could overload PWMSlope and call the expansion function directly from the PWMSlope and not have to deal with conversions per se? Or will that not work in this case? Further, I have Kraven's libra...
- Tue May 13, 2014 3:43 pm
- Forum: How do I code ...
- Topic: 12bit PWMParabola?
- Replies: 33
- Views: 19358
Re: 12bit PWMParabola?
Did that now, and it's still not working lol.
- Tue May 13, 2014 1:58 pm
- Forum: How do I code ...
- Topic: 12bit PWMParabola?
- Replies: 33
- Views: 19358
Re: 12bit PWMParabola?
I had a 2nd one, I wired it up, and ran the i2c scanner. I2CScanner ready! starting scanning of I2C bus from 1 to 128... addr: 1 addr: 2 addr: 3 addr: 4 addr: 5 addr: 6 addr: 7 addr: 8 addr: 9 addr: A addr: B addr: C addr: D addr: E addr: F addr: 10 addr: 11 addr: 12 addr: 13 addr: 14 addr: 15 addr:...
- Tue May 13, 2014 8:25 am
- Forum: How do I code ...
- Topic: 12bit PWMParabola?
- Replies: 33
- Views: 19358
Re: 12bit PWMParabola?
Is there a verify within reef angel or something to see if the chip is functional?
- Tue May 13, 2014 8:05 am
- Forum: How do I code ...
- Topic: 12bit PWMParabola?
- Replies: 33
- Views: 19358
Re: 12bit PWMParabola?
Not readily available.
- Tue May 13, 2014 8:03 am
- Forum: How do I code ...
- Topic: 12bit PWMParabola?
- Replies: 33
- Views: 19358
Re: 12bit PWMParabola?
I did. The chip is set to 0x4e (I believe) so I set that in the globals and moved the PHProbe to a different address.
Could this be the source of the issue?
Could this be the source of the issue?
- Tue May 13, 2014 7:49 am
- Forum: How do I code ...
- Topic: 12bit PWMParabola?
- Replies: 33
- Views: 19358
Re: 12bit PWMParabola?
Shameless bump to figure this out. Any help from anyone would be appreciated.
- Sun May 11, 2014 4:57 pm
- Forum: How do I code ...
- Topic: 12bit PWMParabola?
- Replies: 33
- Views: 19358
Re: 12bit PWMParabola?
Okay, I finally got my code to compile correctly using Kraven's library. int i = 0; while (i < 100) { ReefAngel.PCA.SetAllChannelsPercent(i); Serial.println(i); i++; } while (i >= 0) { ReefAngel.PCA.SetAllChannelsPercent(i); i--; } The problem is when I hook up my adafruit breakout chip to the i2c p...
- Sat May 10, 2014 9:41 pm
- Forum: Development Libraries
- Topic: Adding support for 16 channel PWM expansion to libraries
- Replies: 102
- Views: 81423
Re: Adding support for 16 channel PWM expansion to libraries
Alan, where are you at on this?
- Sat May 10, 2014 9:38 pm
- Forum: How do I code ...
- Topic: 12bit PWMParabola?
- Replies: 33
- Views: 19358
Re: 12bit PWMParabola?
Thank you!
Any sneaky pitfalls I should be on the look out for when I add in the custom code?
Any sneaky pitfalls I should be on the look out for when I add in the custom code?
- Sat May 10, 2014 9:24 pm
- Forum: For New Members
- Topic: Issue with DCPump class
- Replies: 2
- Views: 3302
Re: Issue with DCPump class
I did compile it first inside of the Arduino IDE and that did nothing. I added the #define to the Globals.h under the device type and that seemed to work.
Further, I did look in the ReefAngel_Features.h file, and #define DCPUMPCONTROL is not available in there anywhere.
Further, I did look in the ReefAngel_Features.h file, and #define DCPUMPCONTROL is not available in there anywhere.
- Sat May 10, 2014 9:22 pm
- Forum: How do I code ...
- Topic: 12bit PWMParabola?
- Replies: 33
- Views: 19358
Re: 12bit PWMParabola?
Okay, i'm just a little more then slightly confused looking at the PWM class, how is this 16 channel capable when only 6 channels are defined in the library? The global variable #define PWM_EXPANSION_CHANNELS is 6, and the Internal EEPROM is only defined out to PWMChannel6 at 0x480. Can you provide ...
- Sat May 10, 2014 3:09 pm
- Forum: For New Members
- Topic: Issue with DCPump class
- Replies: 2
- Views: 3302
Issue with DCPump class
In visual studio 2012/2013 it shows ReefAngel class not having the method DCPump(). I am using the Visual Micro Plugin. Everything else loads fine and has the correct associations.
Any advice or help on this would be appreciated.
Any advice or help on this would be appreciated.
- Sat May 10, 2014 12:16 pm
- Forum: How do I code ...
- Topic: 12bit PWMParabola?
- Replies: 33
- Views: 19358
Re: 12bit PWMParabola?
Roberto, how do you set it up with 2 chips?
- Fri May 02, 2014 12:02 pm
- Forum: How do I code ...
- Topic: 12bit PWMParabola?
- Replies: 33
- Views: 19358
Re: 12bit PWMParabola?
v1.0.7 includes code to use that chip :) Set your chip to I2C address: CODE: SELECT ALL #define I2CPWM_PCA9685 0x40 Now, you can simply call: CODE: SELECT ALL ReefAngel.PWM.SetChannel(0,50); // Set channel 0 to 50% The libraries will do the heavy lifting for you :) I don't have my RA in front of me...
- Mon Mar 17, 2014 6:19 pm
- Forum: For New Members
- Topic: How to setup your wifi attachment
- Replies: 216
- Views: 482560
Re: How to setup your wifi attachment
If just the green light is blinking slowly, does that mean everything is OK?