Assembler vs C

Started by Staiger in Piclist9 years ago 18 replies

A few people have expressed reservations about using C to program the smaller PICs, especially when the program is pretty simple. One thing...

A few people have expressed reservations about using C to program the smaller PICs, especially when the program is pretty simple. One thing that keeps coming up (and Microchip themselves say) is that PIC assembly language is easy to learn, especially as there are "only 33 instructions to learn". But I think there is a big difference between learning the PIC instructions, and actually lea...


Control the amplitude of a 115VAC

Started by globalpositioning in Piclist9 years ago 12 replies

Any idea or suggestion on how to play with the amplitude of a 115VAC? Note: amplitude, not...

Any idea or suggestion on how to play with the amplitude of a 115VAC? Note: amplitude, not PWM... Regards, ------------------------------------


Open collector outputs

Started by Staiger in Piclist9 years ago 3 replies

I'm pretty new to PICs, so if I've made a silly mistake, please forgive me! Do any PICs have "open collector" type output ports? I'd like to...

I'm pretty new to PICs, so if I've made a silly mistake, please forgive me! Do any PICs have "open collector" type output ports? I'd like to use the ports to switch some transistors which operate at a higher voltage than the PIC's Vdd. The example I have in mind is using four output ports to control an 'H' bridge (for a bi-directional motor). The upper transistors in the 'H' are PNP ...


Driving 3.3V parts from 5V PIC

Started by jandidden in Piclist9 years ago 8 replies

Hi, I am designing a piece of audio equipment that involves a uController, an LCD and an analog level chip. The LCD needs 5V digital...

Hi, I am designing a piece of audio equipment that involves a uController, an LCD and an analog level chip. The LCD needs 5V digital signals, the level chip can only work with 3.3V digital commands. The uC can of course run on either voltage. I had this plan: run the uC and LCD from 5V, the level chip from 3.3V. Then drive the level chip control lines from the 5V uC via a resistor. ...


generating square waves

Started by ray xu in Piclist9 years ago 23 replies

I just have a simple question dealing with the dsPIC30F2010. Is it possible to generate an adjustable frequency square wave (from 1MHz to...

I just have a simple question dealing with the dsPIC30F2010. Is it possible to generate an adjustable frequency square wave (from 1MHz to 40MHz) directly out of the chip? Just in case you didn't know, I have no experience with the PIC. I am driving the PIC at 40MHz. Thanks. ___________________ Ray Xu r...@tx.rr.com DPRG member OOPic


dsPIC33FJ128MC802 PWM motor control

Started by KM6VV in Piclist9 years ago

Hi John, I see you're a ham too! I'm KM6VV. Central coast, CA. I'm starting a dual motor control project for a microbot robot. Two DC...

Hi John, I see you're a ham too! I'm KM6VV. Central coast, CA. I'm starting a dual motor control project for a microbot robot. Two DC motors with encoders (Lynxmotion), and a dsPIC33FJ128MC802. I'm currently playing with application note 696 code on an 18F4620 while I wait for the dsPIC. The ds is a little different! I've not yet figured out what are the comparable settings for...


MPLAB Watch Window (missing ADD SYMBOL button)

Started by r p in Piclist9 years ago 2 replies

? I am trying to ADD SYMBOL in a watch window and the button is not active. It is only allowing SFR addition. Any clues. ? I know this is...

? I am trying to ADD SYMBOL in a watch window and the button is not active. It is only allowing SFR addition. Any clues. ? I know this is going to be simple but I can't remember how to get it to recognize symbols. ? Thanks in advance Richard ?


Graphics user interface for PICs

Started by stanstan127 in Piclist9 years ago 2 replies

I have recently completed a menu based user interface for PICs and I've made the code open source. It is based on a $20 color LCD display. ...

I have recently completed a menu based user interface for PICs and I've made the code open source. It is based on a $20 color LCD display. Documentation describing this project, along with the PIC code can be found at: www.reifel.org/PICUserInterface/ I've also posted a short movie on YouTube demonstrating how the user interface works. It is at: www.youtube.com/watch?v=TDNtWvRc...


help in a/d conversion pic18f458

Started by kaci25500 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 i...


Programming a PIC16F72 microcontroller in C

Started by Jason Hsu in Piclist9 years ago 8 replies

I'm trying to program a PIC16F72 microcontroller in C. But I keep reaching dead-ends. The trouble with trying out different solutions is that it...

I'm trying to program a PIC16F72 microcontroller in C. But I keep reaching dead-ends. The trouble with trying out different solutions is that it takes time to keep up with all of them as well as to implement them properly. I'd like to hear from those of you who have successfully programmed PIC16F72 microcontrollers (or similar) in C with a computer setup similar to mine. I have three co...


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