This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SolarExplorer (F28M35) on board Light sensor issue

Other Parts Discussed in Thread: CONTROLSUITE

Hi,

On SolarExplorer kit, there is a light sensor TSL250. 

In the projects: (the path is below)

C:\ti\controlSUITE\development_kits\SolarExplorer_v1.0\SolarExplorer_PVInverter_F28M35Hx

I can change the power by Gui_LightCommand.

Q1: Can I use TSL250 (by different Light intensity) to change the power?

Q2: What does TSL250 do in this system?

Thank you.

  • Hi,

    Here's why light sensor is used : to simulate PV Panel characteristics

    Regards,

    Gautam

  • Hi,

    Thanks for your reply.

    What build level do I need? (M3 & C28x)

    Do I need to change any hardware or jump?

    (My hardware connection is follow Fig.40 in the PVInverter_F28M35x.pdf page 46)

     

  • Yup, referring PVInverter_F28M35x.pdf  doc is enough.Also about,

    What build level do I need? (M3 & C28x)

    Depends on the feature set you're including. For all digital libraries and calculations C28 is best and for Ethernet M3 is. The project folder has 2 different directories for C28 and M3; so first check them individually. Check their respective performances and try using both cores simultaneously  for the best results.

    So in short, combination of both would be helpful and that's exactly why you might have short listed this mcu on the control card.

    Regards,

    Gautam

  • Hi,

    Q1:

    The TSL250 on this kit only has two voltage: 0V (no light) and 2.3V (any light).

    why? Do I need to modify any hardware?

    Q2:

    In the project: SolarExplorer_PVEmilator_F2802x

    It use SPI command (from M3) to change the ouput.

    Gui_LightCommandValue=rdata[1];

    If I want use TSL205 to change the ouput, I need to modify this code, right?

    Is there any example code about this?

  • Hi,

    The TSL250 on this kit only has two voltage: 0V (no light) and 2.3V (any light).

    why? Do I need to modify any hardware?

    This is what, is required from the sensor. Logic 0 or 1 (light absent or present). What else are you expecting?

    Q2:

    In the project: SolarExplorer_PVEmilator_F2802x

    It use SPI command (from M3) to change the ouput.

    Gui_LightCommandValue=rdata[1];

    If I want use TSL205 to change the ouput, I need to modify this code, right?

    rdata[1] is nothing but the SPI read data; which will have the light information from TL250 (if connected to the hardware). Am I right here? or please correct me if I'm not.

  • Hi,

    About Q1, after I turned off another light in my Lab, TSL205 can work normally.

    About Q2, I modify some code in F28027-code & C28-code.

    The Bulb can follow TSL205 to be brighter or darker.

    Thank you.

     

  • Good to know you were able to spot that out and you're welcome :)

    Regards,

    Gautam