Efried said:hello,does somebody have hands on experience with wireless pwm control, in my case of fans. may be there is a way using i2c with wc32?thanks
rossw said:WC32 supports both I2C and SPI.
WC32 already has four PWM outputs.
rossw said:WC32 supports both I2C and SPI.
WC32 already has four PWM outputs.
CAI_Support said:It is not shifting to the users. If we did not allow PLC extension for different chips through I2C and PLC, then we had to release many different firmwares, If user wanted to have two features in two different firmware, then it would not work. By allowing use it on the I2C and SPI bus, one firmware will handle them all.
I2C and SPI support provide an elegant way to support wide variety of devices through easy PLC programming. You have to try it to understand the beauty of this.
Even with WC32, special protocol will require certain IO pins to be dedicated for certain function only. That is too limiting. What is the point that function can work fine with I2C and SPI for less but insisted on reducing general IO and cost more for the same result?
CAI_Support said:Efried,
You probably did not read the URL you posted in detail, or you did not bother to read chip specs.
We had done the careful study and talked to the support engineers in the chip manufacture a year ago, when we started working on I2C and SPI protocol.
Those chips you mentioned do wifi or Bluetooth protocol over the air. Their hardware protocol is I2C. That is one reason that we added support for I2C.
To write software to use those chips, you first decide hardware protocol, then configuration of the wifi or Bluetooth, then upper layer your own user data and communication protocol on top the wifi or Bluetooth.
Those chip provided wifi or Bluetooth layer, WebControl provided SPI hardware layer and PLC command for your to send anything to those chips. It is user's responsibility to decide what you going to send MAC address of your own, how do you let both sides of the wifi or Bluetooth understand what they talked about.
Are you expect we would apply MAC address range for you through IEEE, and determine what the data going to send back and forth over wifi and Bluetooth? IEEE charge for the MAC address assignment. If you just use any you like, nobody probably cares about it. If we apply for you, they will charge $1000 for each block of MAC address for you.
There was a thread about this wifi chip we posted here, we asked anyone had any interest to use them, and willing to help users to work on PLC code. If you really wanted to work on that, you could post into that thread of discussion, instead of keep writing into PWM thread. In that way, other users can follow and read easily. That is a rule for most discussion forum.
http://www.ebay.com/itm/251704156566
CAI_Support said:If you really want a PWM output, you can purchase this interface board with WC8 or WC32, it can control a lot of PWM outs!
http://www.ebay.com/itm/251704156566
Efried said:Ok, I'm sorry that you don't understand that I need wireless control
rossw said:We've not actually had any "specification" of what you want to do.
You've complained that CAI are not doing enough, not doing what you want, not doing it the way you would do it, that primative I2C/SPI isn't "good enough", etc etc, but nowhere that I've seen have you given us any indication of your actual needs.
"wireless remote" to me means "anywhere in the world" - over the internet and a last-mile of 802.11(whatever) to the controller.
Clearly YOUR interpretation is different.
How many channel? What distance? Frequency limitations? OTA encryption or security? Multidrop? What power are you wanting to control? What voltage? Continuous PWM or only for short periods? Etc etc etc.
Don't blame others for not telling you what you want to hear when you don't clearly identify what the task is!