Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Here is the code within the main(void)
// Timer/Counter 2 initialization
// Clock source: TOSC1 pin
// Clock value: PCK2/128
// Mode: Output Compare
// OC2 output: Disconnected
TCCR2=0x05;
ASSR=0x08;
TCNT2=0x00;
OCR2=0x00;
I have it set up with the interrupt with the code...
I am hoping to connect a real time clock to the ATMEGA16. A 32.XX (forgot exact number) Khz crystal oscillator is connected to the ports of TOSC1 and TOSC2.
I am using codevisionAVR to program the ATMEGA16 using a development board.
I am having trouble displaying the time onto the LCD display...
Im using codevision to program the ATMEGA16 through a dev board.
Im hoping to connect it to a crystalfontz LCD (link below)
CFA634-TFB-KS, CFA-634 Serial LCD 20x4, RoHS Compliant, White Edge LED Backlight, FSTN
As according to the LCD datasheet, im connecting the port on the LCD called...
Thank you for the reply. The message above yours is edited stating its DC, its just that how I control the motor will have to be different from your original suggestion. (No Relays) I have been suggested that triac may work, but im wondering if anyone else knows about triacs better.
Do you have a link about either one that fits my specification? I have checked both relay, but I do not see anything that can be controlled by a 5V AC. Again, I do have a SSR said above that only works with DC voltage.
Thanks
Edit: Sorry for error, but I will have to remove the option of a...
I have a motor that runs on 120VAC. It has 3 connections in total. 1 for 120VAC(hot) and the other two go to (neutral), but 1 connection rotates the motor clockwise, while the other counter clockwise.
The motor connection diagram - **broken link removed**
I want to control the direction of the...
Water Level Sensor
I will try that, one thing I forgot to make sure about is again about the electrode wire.
Will it harm the animal that drinks the water or if the animal touches the wires?
Edit: I hate asking so many questions, but I hope this is my last one.
If I have to increase the...
Re: Water Level Sensor
The valve runs on 12V DC at 2W so it should be almost 0.13A.
If i replaced the SSR with a transistor, do you mean to change it to something like shown in the picture below where the load would be the solenoid valve and input to B is the output from R4 in your circuit...
Water Level Sensor
I would like to confirm a few things about your circuit. When I position the electrode wires, I position them where the water level should be increased, when the solenoid valve should closed due to full bowl, and the last one at the bottom of the bowl.
Checking the...
Water Level Sensor
Hmm cant view your 2-level uC circuit. Says that I dont have permission although I did register.
You are correct that I would like the sensor to output a signal into the uC I/O pin. I will be using a ATMEGA16 or ATMEGA32 uC. I probably will have it as a 0-5V signal from the...
Water Level Sensor
Yes. the signal from the sensor will go to the microcontroller, which controls a solenoid valve, allowing water to flow from the tank to the bowl.
When you say uC's input, may I ask what you mean. As for the voltage, I will try both voltage to see if it works.
Re: Water Level Sensor
I have 3 questions regarding that circuit. (sorry if they are or sound dumb, fairly new to this.)
I see that you said it is driven with AC, but the circuit itself will not use AC voltage?
Also for the sensor, is any stainless steel electrode wire alright? I would like...
Re: Water Level Sensor
I actually considered something like that, but the project is requires it to be electrically done so I would appreciate more ideas.
Thanks for the help still.
Hello,
I would possibly like some help of building a water-level sensor. I have considered some things such as a distance sensor, IR-emitter and detector, ultrasonic detector, but I would like some opinions regarding what option is best.
My project involves with a water bowl for animals such...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.