A lot of new born photographers tends to like taking objects with black background and dark environment with colorful objects like you see in my photo that I post today to get that strong contrast between the object's colors and the background. What they attempt to do to achieve this type of photography is to have a single light source and turn off the lights to make the room darker almost too dark to see and work with. In the end they will only complain with the results being too dark, hard to focus or they cannot seem to make the background black or very dark because of the single light source.
If you are one of those photographers, don't worry, it's good that you are experimenting and learning from your mistakes.
Here is what you did right, having a single light source preferably a small spot light that only illuminates the object and place it close to the object. What you did wrong is turning the main light of the room off to get that dark sensation that you imagine seeing in your photo. Leave the lights on and take anything black you can use as a background. For example, I used my black jacket for this photo setting. After setting the area where you are going to place the object, set your camera correctly.
For better quality use the M (Manual) mode and not the Automatic mode in your camera. In the manual mode you can adjust the shutter speed and the aperture. Let me share with you my camera setting when I took this photo. Shutter 1/50, Aperture F4.5, Mode Exposure +4.7. By setting your camera more or less in these range, I can assure you that there will be no photo editing required. That´s the point, we should keep our photos zero or up to minimum for editing so we don´t have to spend a lot of time in the computer and have more time to take more great photos.
"Every moment of light and dark is a miracle." -Walt Whitman-