help in a/d convert of pic 18f458(picc compiler)

Started by kaci...@yahoo.fr in Piclist9 years ago

hi all, in need some hope(oriontatin) in my application. my application consist in; i have 3 analog input (3 sinusoidal tensions),then i...

hi all, in need some hope(oriontatin) in my application. my application consist in; i have 3 analog input (3 sinusoidal tensions),then i neeed a/d converter an0,an1,an3 (10bit conversion) and the 3 result of conversion will be used in calcul(var =fonction(read(1),read(2),read(3...) fonction is(arctan..) ) i use the pic 18f458(with picc compiler) and i want to obtain a hightspeed intern (...


C18 ADC question

Started by Steve Nance in Piclist9 years ago 7 replies

I'm looking for some sample code that shows how to read an ADC over USB using a 18F4550. I've looked at the MC sample code for the PICDEM FS...

I'm looking for some sample code that shows how to read an ADC over USB using a 18F4550. I've looked at the MC sample code for the PICDEM FS USB board, but it's just too tough to make sense of with all the functions it has. I would like to find something simple if possible. Thanks, Steve ------------------------------------


Linux alternatives to MPLAB

Started by Jason Hsu in Piclist9 years ago 9 replies

I have a PICSTART Plus programmer with a serial port. So far, I have used MPLAB in Windows to program microcontrollers in Assembly...

I have a PICSTART Plus programmer with a serial port. So far, I have used MPLAB in Windows to program microcontrollers in Assembly language. What are my options for programming microcontrollers in Assembly language with Damn Small Linux as the OS? What are my options for programming microcontrollers in C with Damn Small Linux as the OS? ------------------------------------


Hot to install mplab in linux

Started by ricleite_pessoal in Piclist9 years ago

Hot to install mplab in linux whith wine First, install and configure wine. (apt-get,aptitude, compile, etc) if you wine is ok get this...

Hot to install mplab in linux whith wine First, install and configure wine. (apt-get,aptitude, compile, etc) if you wine is ok get this mplab 7.40 package: http://kof.asbyte.com.br/mplab-7.40_ie6-wine.tar.bz2 This file contains 60Mb. Copy in your home directory: cd ~ wget http://kof.asbyte.com.br/mplab-7.40_ie6-wine.tar.bz2 tar xjvf mplab-7.40_ie6-wine.tar.bz2 cd mplab ./m...


MPLAB C18 compiler student version

Started by Alan Marconett in Piclist9 years ago 3 replies

Anyone familiar with the MPLAB C18 compiler student version? I'm trying to compile the 696 example. I did get it to compile by simply executing...

Anyone familiar with the MPLAB C18 compiler student version? I'm trying to compile the 696 example. I did get it to compile by simply executing the .BAT file in the directory. MPLAB couldn't seem to do it. I think it has something to do with the command line -p option. The batch file doesn't use it. I also attempted to modify the C file and linker file to compile for a PIC18


interfacing a PS2 keyboard to a pic 628

Started by Don Pomplun in Piclist10 years ago 2 replies

The project is to make a maritime museum demo of the old "blinker light" morse code system that ships use at sea during "radio silence". The...

The project is to make a maritime museum demo of the old "blinker light" morse code system that ships use at sea during "radio silence". The plan is to provide a PS2 keyboard, display the characters typed on a serial 2-line LCD display and operate the shutter of a blinker light. All the "parts" work fine (though not necessarily together) until I got to interfacing the keyboard. If I scan t...


unable to use PIC18 low isr

Started by embe...@austinlakes.com in Piclist10 years ago

I have been attempting to use the PIC18 low isr but can't seem to get anything but the high isr to fire. I have reduced my code to the following...

I have been attempting to use the PIC18 low isr but can't seem to get anything but the high isr to fire. I have reduced my code to the following and it works fine as long as I use the high isr. If I set a break point on the low one, it never gets accessed. The original code was designed to use the low isr only and I have been able to make it work by pointing the high vector to the low handler. ...


Position Control with PIC

Started by poopinurmouf in Piclist10 years ago 19 replies

I am using a PIC18F458 to try to get a motor to lift a weight a specified distance. I am using a quadrature encoder to close the feedback loop...

I am using a PIC18F458 to try to get a motor to lift a weight a specified distance. I am using a quadrature encoder to close the feedback loop and the encoder has 1600 counts per revolution. I have written a working algorithm that given a final destination, will produce a nice accelerate, cruise, and decelerate trajectory. I then want to feed this trajectory into a PID function which will s...


PIC part Number?

Started by yagna713 in Piclist10 years ago 2 replies

Am a newbie to PICs and to this forum. My new hobby is to make a pendulum clock. In one of the sites i could get the PIC circuit without...

Am a newbie to PICs and to this forum. My new hobby is to make a pendulum clock. In one of the sites i could get the PIC circuit without mentioning the PIC part no. The circuit is as follows. Pin 1 to +ve voltage, Pins 2& 8 are to -Ve. Pin 7 & 5 connected to a coil (say coil 1). Pin 6 connected to an another coil (say coil 2) through a resistor and the other end of coil to -ve supply. ...


Multi Pattern LED Controller

Started by kalingajay in Piclist10 years ago 2 replies

Hi all, I am new to PICs. I found a multi pattern LED controller based on PIC16F628A. It has more than 10 LED patterns and each pattern runs...

Hi all, I am new to PICs. I found a multi pattern LED controller based on PIC16F628A. It has more than 10 LED patterns and each pattern runs a 5 time and automatically jumps to next pattern. I very much like to build project like this. I try to write a program (code) for it but it is very difficult. The program in PIC can't copy because it is locked. Please anyone can help me. ----------...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright