#include <Wire.h>
#include <BH1750FVI.h>
//VCC - 3v3
//GND - GND
//SDL - A5
//SDR - A4
//ADD - A3
BH1750FVI lightSensor;
void setup(){
Serial.begin(9600);
lightSensor.begin();
lightSensor.SetAddress(Device_Address_H);
lightSensor.SetMode(Continuous_H_resolution_Mode);
Serial.println("Running...");
}
//if I type this will it be blank
void loop() {
uint16_t lux=lightSensor.GetLightIntensity();
Serial.print("Solar Penis Index: ");
Serial.print(lux);
Serial.println(" Jizzers");
delay(1000);
}
#include <Wire.h>
#include <BH1750FVI.h>
#include <dht11.h>
#include<SPI.h>
#include<SD.h>
#define DHT11PIN 6
//Pin 2 of DHT11 (grill-side) to Digi 6
dht11 DHT11;
BH1750FVI lightSensor;
//VCC - 3v3
//GND - GND
//SDL - A5
//SDR - A4
//ADD - A3
const int chipSelect=4;
void setup(){
Serial.begin(9600);
lightSensor.begin();
lightSensor.SetAddress(Device_Address_H);
lightSensor.SetMode(Continuous_H_resolution_Mode);
Serial.println("Do you have a card?");
pinMode(10,OUTPUT);
if (!SD.begin(chipSelect)){
Serial.println("FUCK NO, it ain't there");
//return;
}
else {
Serial.println("yup, she's workin' ");
}
Serial.println("Running like SEE4 in a Sorority...");
}
void loop() {
uint16_t lux=lightSensor.GetLightIntensity();
Serial.print("Solar Penis Index: ");
Serial.print(lux);
Serial.println(" Jizzers");
int chk = DHT11.read(DHT11PIN);
Serial.print(DHT11.humidity);
Serial.println("% Panty Sweat ");
Serial.print(DHT11.temperature);
Serial.println(" degC Vaginal Heat flow");
File dataFile = SD.open("datalog.txt", FILE_WRITE);
if (dataFile){
String info = "";
info += String(lux);
info += "," ;
info += String(DHT11.humidity);
info += ",";
info += String(DHT11.temperature);
dataFile.println(info);
dataFile.close();
}
delay(5000);
}
How much do you charge to build sick ass COB lights ?
Could use a 5x5 veg light...
Do you do this though, for real? Because I read through this and realized you know wtf you're doing and I don't (although I could probably learn).What COB(s?) do you want on it?
Wrong. Gates DIYed because no one else could think of it. That/s how you get Gates in this world.^ $110 what i am Bill Gates ?
If I could afford that, I wouldn't be DIY'ing
Do you do this though, for real? Because I read through this and realized you know wtf you're doing and I don't (although I could probably learn).
I've been wanting to invest in a really high quality highly efficient veg lamp though. I'd probably want those Cree CXA series lamps. Whichever is best suited to a 6'6 height with a full canopy of plants.
CXBs it is. Toss a link to the thread. I am not looking for 800w. I think that would be overkill for a 5x5 veg tent. I'd go with active cooling (i like stuff to last) and as far as wattage goes - well, I'd estimate that somewhere in the neighbourhood of 500w would suffice, but maybe I'm being conservative? I realize veg is just as important as flowering.Oh it is so EASY. Jstkidding.
But, I just finished designing an 800w CXB3590 for $1200 I am beginning to build it. I have a thread about it.
CXBs replace the CXAs as a much more efficient version.
So, really the beginning is costly, like all efficiency upgrades, but it pays for itself.
You really need to think watts is watts, so what watts do you want as a veg light?
Then, active or passive cooling?
Damn I could have sworn I posted a reply to this. 5x5 area. Just veg. IMO there's room for a small timer like yourself, especially if you are highly skilled, to make some ok cash on the side with these things. You don't see too many manufacturers offering COBs in their LEDs. I checked out some of the more popular models but they all seemed to be very red heavy in spectrum. I don't really intend to ever use this for flowering. I guess it could happen, but that's hardly my goal. Too much red just means I have to dump more cal mag on them and it annoys me having to do that in my dirt mix.I do many things...for real
And your query has started my gears turning.
As Doer has pointed out, prototyping is expensive, especially with something as sophisticated as that. I actually don't know the difference between CXAs and CXBs, because it hasn't mattered to me (I have read the LED forum debates, here and there, but it becomes a pissing match after a while).
However, that is no more than a few hours research, in practical matters (I'm sure Stardustsailor or one of the other "hardcores" have a thread which will tell me plenty ). What dimension of footprint are you wanting? That will determine reflector geometry and lensing requirements.
CXBs it is. Toss a link to the thread. I am not looking for 800w. I think that would be overkill for a 5x5 veg tent. I'd go with active cooling (i like stuff to last) and as far as wattage goes - well, I'd estimate that somewhere in the neighbourhood of 500w would suffice, but maybe I'm being conservative? I realize veg is just as important as flowering.
Thing is I want to be able to safely plug it into a wall outlet. I think 500w is probably somewhere close to the max I'd feel comfortable. Maybe less even. But again, is this enough? I know the efficiency is off the charts with these.
Yeah. I figure 30 amps for a grow room. And I need two circuits. I'm hoping to do with less using LED.I know electricity pretty well. I have a 220v and a 120v that I use. I am in NA so having a 120v is handy. Flower is on the 220v circuit, I have my fans and veg on the 120v.
Fair enough about the wall socket. I have some limits on the amount of amps I can run through it though with fans and other things also on the same circuit.
Did you solder it upside down? Not that it matters if you don't care.@heckler73
Hopefully you can clear this up, technically I still a newb at this
Got the header soldered on.....and after reading all the various codes [ yours and a couple I have saved]....I realized this is a 3.3v.....I noticed you have vcc going to 3.3v but are the data lines still getting 5v? or do they need to be pulled down as well?
Wanted to clear this up before I program...
View attachment 3395140
Did I solder the header upside down? ....oh well it works for my purposes of mounting.....and I have looked at the datasheet, so I have a little better handle....Did you solder it upside down? Not that it matters if you don't care.
The data lines all go to ANALOG channels, hence the A3, A4, A5 (Pins I used in the code). I'm not sure why one would hook a 5V DC supply to them.
Have you studied the datasheet for the BH1750?
If not, you should give it a once over, just so you can see how it functions.