No1Daemon
Newbie level 5
Hi all
I am stepping into the world of pic microcontroller programming and have selected my first project.(not counting flashing leds and switch debouncing etc which I have already done)
I have a pickit2 programmer and am planning on writing the pic code for this circuit Simple-Timer
Here it is used as an rc switch, I basically want to use the same principle for a reed switch activated switched timer with a relay to control the motor of a fishing torpedo.
Electronically it does everything I want. There is a voltage regulator to supply safe voltage to the pic and also for use with the resistor dividers to perform the adc. I believe I will change the transistor to a 30A relay and mosfet.
Here in New Zealand we use Kontikis like in the following page
Home | Seahorse Kontiki's - Home of Kontiki Beach Fishing to haul a fishing line and hooks out to sea. They are powered by 12v batteries in parallel and a trolling motor.
I found the circuit I am planning to use while browsing the internet.
I have made my Kontiki and now I need to work on the circuit.
I need to program the timer from 5 to 30 minutes incremented in 5 minute stages
Then open the relay to start the motor (I am also going to try to implement a delay here to allow me to get to the waters edge first)
I then start the motor timer and countdown the set period until the timer has elapsed and then shut off the motor
There are a number of other functions involved also. The low voltage cutoff to protect the battery and the setting of both the low voltage cutoff level and programming of the countdown time etc.
So I think I need to learn several areas of programming
ADC for the battery monitoring etc
EEprom so I can store the lvc and the delay settings
Timers so I can learn easy ways to set up the timer
I think I will learn assembly as it seems to be easiest to understand for me for some reason. I may branch out to c later on
I realise this is a huge job to take on but please don't discourage me. I intend to learn it slowly a piece at a time
Just posting here to see if anyone can recommend some good tutorials or examples of pages specific to what I need to learn. Any advice to a struggling artist would be appreciated!
Will post my evolving code here later for criticism/comments.
Thanks
Steve
I am stepping into the world of pic microcontroller programming and have selected my first project.(not counting flashing leds and switch debouncing etc which I have already done)
I have a pickit2 programmer and am planning on writing the pic code for this circuit Simple-Timer
Here it is used as an rc switch, I basically want to use the same principle for a reed switch activated switched timer with a relay to control the motor of a fishing torpedo.
Electronically it does everything I want. There is a voltage regulator to supply safe voltage to the pic and also for use with the resistor dividers to perform the adc. I believe I will change the transistor to a 30A relay and mosfet.
Here in New Zealand we use Kontikis like in the following page
Home | Seahorse Kontiki's - Home of Kontiki Beach Fishing to haul a fishing line and hooks out to sea. They are powered by 12v batteries in parallel and a trolling motor.
I found the circuit I am planning to use while browsing the internet.
I have made my Kontiki and now I need to work on the circuit.
I need to program the timer from 5 to 30 minutes incremented in 5 minute stages
Then open the relay to start the motor (I am also going to try to implement a delay here to allow me to get to the waters edge first)
I then start the motor timer and countdown the set period until the timer has elapsed and then shut off the motor
There are a number of other functions involved also. The low voltage cutoff to protect the battery and the setting of both the low voltage cutoff level and programming of the countdown time etc.
So I think I need to learn several areas of programming
ADC for the battery monitoring etc
EEprom so I can store the lvc and the delay settings
Timers so I can learn easy ways to set up the timer
I think I will learn assembly as it seems to be easiest to understand for me for some reason. I may branch out to c later on
I realise this is a huge job to take on but please don't discourage me. I intend to learn it slowly a piece at a time
Just posting here to see if anyone can recommend some good tutorials or examples of pages specific to what I need to learn. Any advice to a struggling artist would be appreciated!
Will post my evolving code here later for criticism/comments.
Thanks
Steve