icarii
New Member
For starters, I am new to PIC's (sorry).
I have attached the circuit i have designed. I am by no means an expert and I hoping someone with more experience and knowledge will take a look and see if I made a mistake, should have down something different, or have suggestion on how to make it better. I am hoping to order the parts in the next couple of days.
This project is a Dew Heater Controller for a telescope.
I choose the PIC18F27J53 because it has 7 PWM pins.
Goals/Requirements:
1. 4 15w (or less) heater outputs, each heater will have its own temp sensor
2. temperature controlled, one temp sensor on the main box for the outside temp
3. humidity sensor, the humidity sensor will be a break out circuit that is not on the circuit i posted (may not impliment)
4. LCD screen for Info
5. Push buttons for settings and scrolling through info
6. Log data and/or get data from/to USB port
Question/confusion i have:
1. USB connection: the datasheet states i can use a 5v tolerant pin for detecting a USB connection (i am using self power for usb, not usb power). But i am out of those pins as i needed them for the PWM connections. Can I simple add a resistor to drop the voltage to 3.3v and connect to a standard input pin?
2. The heaters will be controlled by a Mosfet SPA07N60CFDXK Q1-Q4. Do I need and protection diods with those? I have used NPN transistors before, but never Mosfets.
3. The temp sensors are DS18S20's. My plan is to use the 1-wire bus. And when one of the heaters are plugged into the controller it detects the SN and asked for what port it is attached to, then stores that in firmware so it does not ask again. Is that possible or am I dreaming on the capablities of this PIC?
I am sure i have missed something as I have read alot of datasheets on all of the products I choose. But some of it gets a bit confusing, which is why i am posting this. If anyone can give me a bit of help, that would be great. Please let me know if none of this makes since. Thanks
I have attached the circuit i have designed. I am by no means an expert and I hoping someone with more experience and knowledge will take a look and see if I made a mistake, should have down something different, or have suggestion on how to make it better. I am hoping to order the parts in the next couple of days.
This project is a Dew Heater Controller for a telescope.
I choose the PIC18F27J53 because it has 7 PWM pins.
Goals/Requirements:
1. 4 15w (or less) heater outputs, each heater will have its own temp sensor
2. temperature controlled, one temp sensor on the main box for the outside temp
3. humidity sensor, the humidity sensor will be a break out circuit that is not on the circuit i posted (may not impliment)
4. LCD screen for Info
5. Push buttons for settings and scrolling through info
6. Log data and/or get data from/to USB port
Question/confusion i have:
1. USB connection: the datasheet states i can use a 5v tolerant pin for detecting a USB connection (i am using self power for usb, not usb power). But i am out of those pins as i needed them for the PWM connections. Can I simple add a resistor to drop the voltage to 3.3v and connect to a standard input pin?
2. The heaters will be controlled by a Mosfet SPA07N60CFDXK Q1-Q4. Do I need and protection diods with those? I have used NPN transistors before, but never Mosfets.
3. The temp sensors are DS18S20's. My plan is to use the 1-wire bus. And when one of the heaters are plugged into the controller it detects the SN and asked for what port it is attached to, then stores that in firmware so it does not ask again. Is that possible or am I dreaming on the capablities of this PIC?
I am sure i have missed something as I have read alot of datasheets on all of the products I choose. But some of it gets a bit confusing, which is why i am posting this. If anyone can give me a bit of help, that would be great. Please let me know if none of this makes since. Thanks