Forums More piclist
bcd 16 bits to bin
inHi I need a code example for conversion of a 16 bits BCD data in BIN , in C (ccs PIC) []?s Marcelo
Hi I need a code example for conversion of a 16 bits BCD data in BIN , in C (ccs PIC) []?s Marcelo
USB on 18f2550
inDoes anyone know of / have / could write (cheeky!) a simple example program to allow say a set of leds (why always a set of leds?) to be turned...
Does anyone know of / have / could write (cheeky!) a simple example program to allow say a set of leds (why always a set of leds?) to be turned on off from the PC with the PIC connected via USB? I have it working using serial, in fact that was one of my first projects, but with USB it seems I need something a bit more clever on the PC end than just hyperterminal.......... Thats where I'm a...
18F4331 and PWM
inHi. Well, after getting my new PIC, it didn't take long to get it going! Was a little worried at first! I can now receive using USART and then...
Hi. Well, after getting my new PIC, it didn't take long to get it going! Was a little worried at first! I can now receive using USART and then using the values taken put that in the PWM unit and there i have a dimming LED! Beats having a DA and few Op-amps! My question is about the PWM maths. I have read the datasheet but can't figure out how to calculate the frequency of the PWM. Maybe caus...
RS-485 Communication & Pic16F628
inHi All: I have a Pic16F628 chip which I want to be able to communicate with my PC via a RS-485 line. I want to use the USART on the chip and...
Hi All: I have a Pic16F628 chip which I want to be able to communicate with my PC via a RS-485 line. I want to use the USART on the chip and a DS75176 Transceiver in a Half Duplex setup, but my problem is with what to control the Read Enable or Transmit Enable pin on the DS75176? If anyone also has a simple schematic and code that they don't mind sharing I would be grateful. Regards ...
usart PIC16F877
inAttempting to troubleshoot problem with usart, asynchronous mode, for a school project. Two 16F877. Using the ICD-2 in circuit debugger. We...
Attempting to troubleshoot problem with usart, asynchronous mode, for a school project. Two 16F877. Using the ICD-2 in circuit debugger. We believe our transmit chip is working but we can't get receive to function correctly. We know interupts will not work while Single stepping in debug mode, but in animate mode interupts should function, correct? How close do the clocks have to be? ...
Problem with displaying of data on LCD
inHi all, I am using C18 complier to program PIC18F452 microcontroller to display data on a LCD display module (Hyundai Korea - HB16202-A)....
Hi all, I am using C18 complier to program PIC18F452 microcontroller to display data on a LCD display module (Hyundai Korea - HB16202-A). The microcontroller is connected with an external oscillator SG531P, and giving it a frequency of 40MHz. The problem that i encounter is that, i am not able to display any information or character. I wonder whether is it the oscillator thats causing ...
Stepper motor pulse width question
inBuilding a controller to output pulses to steppermotor driver. What is the recommended pulse width output? Is there a standard ( one length...
Building a controller to output pulses to steppermotor driver. What is the recommended pulse width output? Is there a standard ( one length fix all) or is there other factors I need to consider? Such as the driver itself or what is specified in the motor datasheet? I see in the motor datasheet headings Resistance, Inductance. Is this something I need to consider? I'd appreciate any adv...
RC5 Code in C
inHi Has anyone done a single/two channel or more Remote controller codec using some variant of C (HiTec C/CCS C etc). Based on RC5 would make...
Hi Has anyone done a single/two channel or more Remote controller codec using some variant of C (HiTec C/CCS C etc). Based on RC5 would make it more useful. I want to control the IR Remote controlled devices in my house controlled through a single PIC. I have seen lots of ideas on the net, but they recorded the data streams from the original remote and played it back. I want the P...
pic to gsm sms transceiver
Hi, pic/sms/alarm Now I know its probably been done before, and I bet we all could have a use for one, anyone fancy a group build? I...
Hi, pic/sms/alarm Now I know its probably been done before, and I bet we all could have a use for one, anyone fancy a group build? I have a real need, I live in a ''poor'' area and the local yobs/thugs(translate as appropriate) have just decided to steal my eldest sons motorbike he uses for work, needles to say the ones who stole it don't work........ Made me think, esp as they see...
what is the easiest way to control a pic from a pc?
inLets ay you are on a budget and you already have some 16f877a pics laying around and a bunch of other parts (resistors, caps etc etc). You have...
Lets ay you are on a budget and you already have some 16f877a pics laying around and a bunch of other parts (resistors, caps etc etc). You have your compiler and pic programer and what not. Now you want to create a program and control your pic. Maybe make it blink an LED. SOmethignsimple. What would be the easiest way to do this. Take into account the cost. For example you can get free C/C++ ...
Ask a Question to the EmbeddedRelated community
To significantly increase your chances of receiving answers, please make sure to:
- Use a meaningful title
- Express your question clearly and well
- Do not use this forum to promote your product, service or business
- Write in clear, grammatical, correctly-spelled language
- Do not post content that violates a copyright