EmbeddedRelated.com

Dallas RTC 1305 and interrupts

Started by Georges Konstantinidis in comp.arch.embedded20 years ago 1 reply

Hello All, I started a project which uses a PIC16F876 and a RTC DS1305 from Dallas. There is no problem to read and write the registers. My only...

Hello All, I started a project which uses a PIC16F876 and a RTC DS1305 from Dallas. There is no problem to read and write the registers. My only problem is the interruption . I connected the INT0 for the RTC to the RB0 pin of the PIC (I used a 5k pull-up resitor). I configured correctly (I think ) the registers to activate a interrupt every second . When I test my program, it appears that th...


unsure of fuses for an lcd display

Started by Anonymous in comp.arch.embedded18 years ago 3 replies

we are doing a project using solar power to judge how many hours of sunlight there are a day. everything has been put together but when we go to...

we are doing a project using solar power to judge how many hours of sunlight there are a day. everything has been put together but when we go to burn the program onto the pic16f876 we are unsure where to find which fuses should be used and which should not any help out there???


USART, single master (8051), multiple slave (PIC16F876) - suggestions

Started by Bill Davy in comp.arch.embedded18 years ago 1 reply

We built a machine with a CAN bus connecting modules to a CAN board in a PC. We had a useful little Laser Beam Power Meter [LBPM] board based...

We built a machine with a CAN bus connecting modules to a CAN board in a PC. We had a useful little Laser Beam Power Meter [LBPM] board based on a PIC16F876 attached to CAN. It had a debug serial port. S/w was developed on MPLAB/CCSC C. The next machine used a Cypress FX2LP (based on an 8051). It has a debug serial port. S/w was developed on Keil C. Whaddya know, we need to conn...


MAX3100 - no FIFO overflow status bit? Any other SPI/UART?

Started by Bill Davy in comp.arch.embedded17 years ago 2 replies

As far as I can tell from the specification, the Maxim MAX3100 can lose bytes if the FIFO overflows and the softwarae cannot detect that this...

As far as I can tell from the specification, the Maxim MAX3100 can lose bytes if the FIFO overflows and the softwarae cannot detect that this has happened. Of course, the software should be quick enough, but real life is full of nasty surprises. The CRC should detect it, but see earlier remark. I have to hook a PIC16F876 to a Cypress 8051 using the debug ports (so no CTS or RTS wires)...


How do i create an accurate delay

Started by hybrid_snyper in comp.arch.embedded17 years ago 11 replies

Hi all, I am in the middle of coding a PIC16f876 and i require some time sensitive delays. In the milli and micro domains. I am using C...

Hi all, I am in the middle of coding a PIC16f876 and i require some time sensitive delays. In the milli and micro domains. I am using C to program the core functions but i was advised to use ASM to create a delay as it is more accurate. i am clue less on how to go about this and was wondering if anyone new any good resources i could use or if there are any sample codes floating about that ...


Programming Surface Mount PICs

Started by Adam Kumpf in comp.arch.embedded20 years ago 5 replies

Hello All, I am working on a tiny board with a surface mount microcontroller. (PIC16F876A) I have a P16PRO40 programmer, and it works...

Hello All, I am working on a tiny board with a surface mount microcontroller. (PIC16F876A) I have a P16PRO40 programmer, and it works quite well for DIP packaged chips, but there's no easy/good way to program surface mount devices. So I thought it wouldn't be too difficult to pull over the critical lines from the programmer to my new PCB (that has a pic16f876a on it) and program the m...


cmos camera with a pic

Started by peres in comp.arch.embedded18 years ago 13 replies

Hi, i need only to store a picture when an event happens, i want to do it with a pic16f876A, i dont need to do any kind of image processing...

Hi, i need only to store a picture when an event happens, i want to do it with a pic16f876A, i dont need to do any kind of image processing i think, just take a picture and store it into a flash, so my question is what cmos camera do you recomend for this? thank you in advance


PDIUSBD12 USB odyssey,help

Started by blisca in comp.arch.embedded17 years ago

Hi to all in the aim of studying USBprotocol i built a little board including a 9s12 microcontroller and a PDIUSBD12 parallel to USB...

Hi to all in the aim of studying USBprotocol i built a little board including a 9s12 microcontroller and a PDIUSBD12 parallel to USB interface,often called D12 well after spending tenth of hours on it i can't even have the enumeration, i ask desperately help, i started modifying(maybe not in the right way) the code from http://www.beyondlogic.org/usbnutshell/usb7.htm#PIC16F876Example,i...


Help getting an LCD to work

Started by Will in comp.arch.embedded20 years ago 19 replies

I have an Optrex LCD (DMC-20481NY-LY-AGE) that is 4x20 characters and driven by a Microchip PIC16F877 running at 20MHz. I know I got this exact...

I have an Optrex LCD (DMC-20481NY-LY-AGE) that is 4x20 characters and driven by a Microchip PIC16F877 running at 20MHz. I know I got this exact same physical LCD to work before but for the life of me I can't recall what trick I used to do so. Attached at the end is my software. I get power to the LCD, but all I see is lines 1 and 3 as all dark and lines 2 and 4 as all clear. Hunting aroun...


Newbie: Beginner Questions[long]

Started by Sukrit K Mehra in comp.arch.embedded20 years ago 1 reply

Background:I have done interfacing of PIC16f877 and 8051 with an ADC, DAC, stepper motor, LCD etc using port pins. Using this method I...

Background:I have done interfacing of PIC16f877 and 8051 with an ADC, DAC, stepper motor, LCD etc using port pins. Using this method I can interface anything with a uC. 1. I want to learn interfacing using I2C or any other bus. What I don't understand is how are the control/data registers mapped onto the uC i/o or memory space? When I interfaced a LCD, I used the port pins and each pin r...


Simpliest ethernet microcontroller

Started by ivanatora in comp.arch.embedded16 years ago 5 replies

Hello all, I'm new to microcontrollers - I have a little experience with PIC16F88, programming it in C and ASM but I want something...

Hello all, I'm new to microcontrollers - I have a little experience with PIC16F88, programming it in C and ASM but I want something different and more cool - sending data or controlling stuff over ethernet! :) What is the simpliest or the most popular controller for that? I've seen there are some PICs with ethernet like PIC18F66J65 and it is available here, but TQFP is a little hard for sold...


Embedded OSD (Not STV5370A)

Started by Clint Sharp in comp.arch.embedded20 years ago 6 replies

Hi, I have a need for an OSD generator IC/module with PAL output but I only seem to find references to the STV5370A which is obsolete. Anyone...

Hi, I have a need for an OSD generator IC/module with PAL output but I only seem to find references to the STV5370A which is obsolete. Anyone out there using a current product? I need to be able to interface to a dedicated micro (probably PIC16F87x) simply and with little overhead, display in colour over a CCTV image and record the output (no odd timings) -- Clint Sharp


Quick PIC question

Started by Thomas Magma in comp.arch.embedded19 years ago 3 replies

Are the ADRESH and the ADRESL registers writable in the PIC16F87x series? The documentation doesn't appear to say. Thomas

Are the ADRESH and the ADRESL registers writable in the PIC16F87x series? The documentation doesn't appear to say. Thomas


8051 vs PIC

Started by fazt in comp.arch.embedded17 years ago 16 replies

i am doing my final year project based on the 80c51 processor I am forced to convert a code written for a pic16f87x to a p89c51rd2. 1.i am...

i am doing my final year project based on the 80c51 processor I am forced to convert a code written for a pic16f87x to a p89c51rd2. 1.i am having a hard time converting the paging in the pic and understanding registers related to paging like Pclath and PCL and PCH 2. what does HIGH(label1) do in the following code and what can i do in 8051 label1 movlw HIGH(label...


PIC MSSP module in I2C mode

Started by Ralf Hildebrandt in comp.arch.embedded20 years ago 2 replies

Hi all! The Microchip PIC16F87XA has got a MSSP module. Bits SSPM(3 downto 0) in SSPCON register configure the mode of the module. For I2C...

Hi all! The Microchip PIC16F87XA has got a MSSP module. Bits SSPM(3 downto 0) in SSPCON register configure the mode of the module. For I2C operation the following options are available: 1111 = I2C slave, 10bit addressing, with START/STOP interrupts 1110 = I2C slave, 7bit addressing, with START/STOP interrupts 1011 = I2C firmware controlled master mode (Slave idle) 1000 = I2C master ...


PIC16F88, PORTA strange behaviour

Started by Frank Bemelman in comp.arch.embedded19 years ago 11 replies

Strange problem: Setting an output low on PORTA, causes another output on PORTA to go low too. Below is the entire program. It should...

Strange problem: Setting an output low on PORTA, causes another output on PORTA to go low too. Below is the entire program. It should generate two signals: ---, ,---, ,---, ,---, ,--- '---' '---' '---' '---' -, ,---, ,---, ,---, ,--- '- -' '---' '---' '---' But instead gives this: -, ,-, ,-, ,-, ,- '-----' '-----' '-----' '-----'...


i2c slave using PIC16F88. Need urgent help/opinion.

Started by Anonymous in comp.arch.embedded19 years ago 1 reply

Hi all, I am using PIC16F88 as an I2C slave. I have attached the code that I used. From the Microchip MPLAB ICD 2, I find that I am able to...

Hi all, I am using PIC16F88 as an I2C slave. I have attached the code that I used. From the Microchip MPLAB ICD 2, I find that I am able to detect the start and stop conditions. But I find that SSPSTAT is not getting set. The program is getting stuck in the "gnb" loop. From the Microchip ICD2, I can see that SSPSTAT and SSPSTAT get set after the Start and Stop condictions. But no


New embedded Java-based controller released

Started by Alberto Torrecillas in comp.arch.embedded20 years ago 13 replies

Snijder Micro Systems just announced the public release of the second generation of their Embedded Java? Controller (EJC?) product...

Snijder Micro Systems just announced the public release of the second generation of their Embedded Java? Controller (EJC?) product line, codenamed EC200. The EJC is a family of embedded controllers that implement a full-fledged Java platform for network-enabled and standalone applications. The EC200 sports a 32-bit 74 MHz ARM720T CPU and along with a slave PIC16LF872 microcontroller. The m...


Limiting slew rate (PIC driving LEDs)

Started by Jim in comp.arch.embedded20 years ago 22 replies

I'm driving three 7-segment LED displays (Agilent HDSP-7801) from a PIC16LF819 at 3.3V. I'm Charlieplexing the LEDs to minimize PIC pin...

I'm driving three 7-segment LED displays (Agilent HDSP-7801) from a PIC16LF819 at 3.3V. I'm Charlieplexing the LEDs to minimize PIC pin count: http://www.maxim-ic.com/appnotes.cfm/appnote_number/1880 The PIC sets the drive lines to make one of the digits display. After 1ms it moves on to the next digit, etc. I would like to limit the skew rates of the drive lines to minimise EMI. I know ...


Simulators

Started by guilig in comp.arch.embedded18 years ago 4 replies

Hi all, I am searching an open source simulator for several families of microcontrollers like avr, pic16fxx or zilog. I need it to a...

Hi all, I am searching an open source simulator for several families of microcontrollers like avr, pic16fxx or zilog. I need it to a personnal project, so I have seen on internet a lot of informations about UMPS simulator but I think it s not open source. And i can't access to vmdesign website. If I can't find any simulator, I will have to program one that it may be difficult. Excuse my bad...