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.
Hi. I need to interface the MCP 4161/4261 digital potentiometers with an ARM based board using SPI.
Does anyone know how to use them and program them using C? Or is there any site that I can use which has tutorials? I've found a few with BASIC but its hard to make head or tail of that code.
I am using the **broken link removed** which is very similar to the Mini6410 and OK6410 boards.
I created an Emdebian system on the board, using the tutorial given here.
I want to be able to access the GPIO ports, I2C and possibly even the keys. I will be writing my program in C.
How d I...
I am working on a project which requires computer interfacing and control. I have chosen a PCI card which has multiple 8255 chips. **broken link removed** That link is a link to the board.
I know that to read inputs and outputs, I will have to use the addresses.
My main concerns and...
I have a few questions about assembly language with PIC. Is there is a commonly used number you can define it like in C like this
VARIABLE EQU 100
But then to assign a memory location to a variable you use something similar
VARIABLE EQU 0x200
Does this mean you can assign a variable the...
so do you suggest i use the keypad without the encoder?
and if i use it without the keypad, can i use it with PORTB, and use the PORTB change interrupt?i guess i can send either the columns or rows to PORTB and then check for change if i use interrupts?
and do i hav to add pull up resistors...
oh!
well, we can connect the keypad directly to the PIC, but then it has to be polled right?and i dont know whether we can afford to be regularly checkin the ports for changes in the keypad...
i have the actual equipment with me, and am using MPLAB and using the C18 compiler..i got proteus...
I have to interface a jeypad amongst other things to a PIC18F452. Instead of using 7 pins i decided to use a keypad encoder, namely the MM74C922N.
As i test i linked up the keypad and then PIC. I put capacitor values of 0.1uF and 1uF for the debounce and read capacitor values, and i supplied a...
proteus help
ok..so i got my hands on a copy of proteus version 7...
i found out how to load on the PICDEM2+ board which is used in uni...and then after an age i found out how to properly load on the source files...
but then when i try to execute it, i get heaps of errors about missing models...
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.