Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. RGBW controller design issues
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

RGBW controller design issues

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 3 Posters 1.9k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jim de Groot
    wrote on last edited by
    #1

    Hello all,

    I hope you could help me with something. I am currently working on troubleshooting my own RGBW LED controller. I have made the PCB's myself but after uploading the software there is no response from the controller. I am using a SMD NRF24L01 + PA + LNA board and I have made the pinout accordingly. Unfortunately I can not for the life of me find the (electrical) issue with my design. I did check everything with a multimeter and find all connections as should be. Am I missing some critical component which you should include with the atmega328p smd chip? I do have the atmega328 p pu-ph chip by the way but I am able to read and write on it so that should not be an issue (I hope).

    0_1534283397931_LED controller v2.png

    I hope that you guys can be of assistance.

    Thanks in advance!

    Kind regards,
    Jim!

    H 1 Reply Last reply
    0
    • J Jim de Groot

      Hello all,

      I hope you could help me with something. I am currently working on troubleshooting my own RGBW LED controller. I have made the PCB's myself but after uploading the software there is no response from the controller. I am using a SMD NRF24L01 + PA + LNA board and I have made the pinout accordingly. Unfortunately I can not for the life of me find the (electrical) issue with my design. I did check everything with a multimeter and find all connections as should be. Am I missing some critical component which you should include with the atmega328p smd chip? I do have the atmega328 p pu-ph chip by the way but I am able to read and write on it so that should not be an issue (I hope).

      0_1534283397931_LED controller v2.png

      I hope that you guys can be of assistance.

      Thanks in advance!

      Kind regards,
      Jim!

      H Offline
      H Offline
      hard-shovel
      wrote on last edited by
      #2

      @jim-de-groot You have no pullup on the PC6/RESET have you disabled RESET with the fuse settings?

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jim de Groot
        wrote on last edited by
        #3

        @hard-shovel That is probably going to be my problem.. I will try it this afternoon! thank you very much for your help! I have been staring blind on the issue! If I am going to disable the pin in fuses is the chip still programmable? That because I thought that the reset pin needs to be pulled low before starting programming to get the chip in a halt state?

        H 1 Reply Last reply
        0
        • J Jim de Groot

          @hard-shovel That is probably going to be my problem.. I will try it this afternoon! thank you very much for your help! I have been staring blind on the issue! If I am going to disable the pin in fuses is the chip still programmable? That because I thought that the reset pin needs to be pulled low before starting programming to get the chip in a halt state?

          H Offline
          H Offline
          hard-shovel
          wrote on last edited by
          #4

          @jim-de-groot I have not tried reprograming with the reset disabled. Maybe with power on reset and then program. Otherwise a high voltage programmer will be required.

          On your schematic i do not see any programing pins (ie ICSP connector) are you using pogo pins or some other connector to upload?

          I am also confused as you say you have a atmega328 p pu-ph chip (DIP) and the schematic shows a atmega328P-AU (SMD). The pin numbering of the two chips is different.

          J 1 Reply Last reply
          0
          • H hard-shovel

            @jim-de-groot I have not tried reprograming with the reset disabled. Maybe with power on reset and then program. Otherwise a high voltage programmer will be required.

            On your schematic i do not see any programing pins (ie ICSP connector) are you using pogo pins or some other connector to upload?

            I am also confused as you say you have a atmega328 p pu-ph chip (DIP) and the schematic shows a atmega328P-AU (SMD). The pin numbering of the two chips is different.

            J Offline
            J Offline
            Jim de Groot
            wrote on last edited by
            #5

            @hard-shovel
            The chip is this type
            0_1534401813418_IMG_20180417_173338.jpg

            I am externally programming it and then soldering it on the board. I did try to use a 10K resistor between reset and 5VDC source, it did not work unfortunately. Do I also need to use a 0.1 uf decoupling capacitor with it as well? I am afraid that I maybe fried the chip in the meantime... Also I am not very certain about the NRF24L01 + PA + LNA SMD antenna. I think I am going back to the drawing board and design it for an non-SMD antenna.

            Thanks,
            Jim

            H 1 Reply Last reply
            0
            • J Jim de Groot

              @hard-shovel
              The chip is this type
              0_1534401813418_IMG_20180417_173338.jpg

              I am externally programming it and then soldering it on the board. I did try to use a 10K resistor between reset and 5VDC source, it did not work unfortunately. Do I also need to use a 0.1 uf decoupling capacitor with it as well? I am afraid that I maybe fried the chip in the meantime... Also I am not very certain about the NRF24L01 + PA + LNA SMD antenna. I think I am going back to the drawing board and design it for an non-SMD antenna.

              Thanks,
              Jim

              H Offline
              H Offline
              hard-shovel
              wrote on last edited by
              #6

              @jim-de-groot
              Have you actually tested your code prior to making the board?

              Decoupling capacitor to the reset line helps with noise. I also would add connections or pads for ICSP so the chip can be reprogrammed, it also be nice to have the serial line pads available as well.
              I guessing you were trying to make this board as small as possible

              i also think you need to redo the 3.3V regulator as the supply to the NRF24L01 has to be perfect and you do not show any input or output capacitors for the regulator only the smoothing capacitor for the radio.

              1 Reply Last reply
              0
              • rozpruwaczR Offline
                rozpruwaczR Offline
                rozpruwacz
                wrote on last edited by
                #7

                Hmm, how did You program this board ? :) There is no ISP header. And also no UART header - this is must have, without it You will not be able to see the debug logs form the node and those are VERY helpful. There is also missing some decoupling capacitors around atmega. All VCC pins must have 100nF decoupling capacitor as close as possible - all digital ICs require that.

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  Jim de Groot
                  wrote on last edited by
                  #8

                  Thanks all for your input. It is going to be back to the drawing board for me. At least I learned a lot about the mistakes made here. I did try the setup on a breadboard before and that worked but that was with a arduino pro mini so not with the seperate chip. Aw well lessons learned and let's get going for the next PCB. Probably gonna post it here before ordering it :wink:

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  20

                  Online

                  11.7k

                  Users

                  11.2k

                  Topics

                  113.0k

                  Posts


                  Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • OpenHardware.io
                  • Categories
                  • Recent
                  • Tags
                  • Popular