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.
hello
there is nothing to show in hardware LED1 and LED2 are basic IR transmitter and receiver sensor LED3 and LED4 are just for indicators, LED1(IR_RX) and LED2(IR_TX) blinks after every 2 sec due to WDT timeout and controller go back into sleep mode LED3 is for indicate that code is working...
#include <avr/io.h>
#include <avr/interrupt.h>
const int pulseOut = 11;
const int LED_pin = 13;
const int BUSY_PIN = 2; //busy pin used as input interrupt
const int BUSY_PIN_2 = 3; //busy pin used as input interrupt
volatile int ADC_count;
void setup() {
Serial.begin(115200);//start Serial...
//Timer2 is used to genrate 125khz pulse from pin 11 in uno and pin 5 is use to count pulse using Timer1
#include <avr/io.h>
#include <avr/interrupt.h>
const int pulseOut = 11;
const int LED_pin = 13;
const int BUSY_PIN = 2; //busy pin used as input counter @ pin5 and pin2
unsigned long...
hello klausST,
circuit diagram is already attached in pdf I have a hardware which is connected in this way with AVR ATMEGA 32 micro with only 4 pins CLK of 7135 is connected with PB1 & Polarity with PB3 where Busy pin is connected with PD2 and PD3 which are interrupt pins of AVR ATMEGA 32 the...
hello everyone,
I am trying to interface ICL7135 with microcontroller, during my search I found that we can communicate this IC with only single wire and get our data which is also mention in the datasheet page 6 "A very simple means for transmitting the data down a single wire pair from a...
Thanks brain and susan it must be in while loop and it is working but not in sleep mode now please confirm that pic 12F683 will require external crystal or not
If no how
As i trigger cs to 1 everything stop working
Thanks Brian
I have make some changes according to you with help of some examples available online please have a look.
I understand that Sleep is instruction which force controller to get sleep and force the OSC and other peripheral stop latch last state in it output and to wake-up from sleep...
I agreed with you Brian I am just noob in coding and my coding skills very high which you already see above but i have understanding of hardware
I am able to blink an led using timer1 and 0 but now iam learning about sleep mode.
I Read that we can exist from sleep mode by Interrupt or WDT...
According to Fig 6-1
#pragma config FOSC = INTOSCIO
T1CONbits.TMR1CS=1;//internal instruction cycle clock
T1CONbits.T1OSCEN=1;//LP oscillator is enabled for Timer1 clock
T1CONbits.nT1SYNC=1;//Timer1 set up in Asynchronous mode
T1CONbits.TMR1ON = 1;
Timer 1 should work on...
Datasheet 6.2.2: If an external clock oscillator is needed (and the microcontroller is using the INTOSC without CLKOUT), Timer1 can use the LP oscillator as a clock source.
So I can not use "ext clock" therefor i set config to "config FOSC = INTOSCIO" i.e internal clock.
Datasheet 6.8...
Hello Iam working on PIC12f683 I need to run timer1 in sleep mode according to data sheet Timer1 can work on 32khz internal oscillator.
Datasheet 6.2.2 state that If an external clock oscillator is needed (and the microcontroller is using the INTOSC without CLKOUT), Timer1 can use the LP...
Hello,
I am using Altera Quartus II Block Diagram/schematic file for cpld programming can anyone guide me
how to use JTAG (TDI,TMS,TCK & TDO)pins as a I/O pin in our project because I already routed the board by using those pin.
Hello everyone
I have a .jed file of PAL16L8 I want to Replace that pal with CPLD I am using Atera CPLD but don't know how to decode that (.jed) file so i can write a new code for new cpld.
Iam only able to read that file in notepad.
Is any body there to help me out,
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.