I suppose this is a question for Darrel.The DT_Analog module is working great converting the 10 bit analog input on chan 0 of a 18F2550 to 16 bit.To get it to work I had to replace the ADvalue with...
Type: Posts; User: arniepj; Keyword(s):
I suppose this is a question for Darrel.The DT_Analog module is working great converting the 10 bit analog input on chan 0 of a 18F2550 to 16 bit.To get it to work I had to replace the ADvalue with...
Comment out INCLUDE "18F4550.BAS and add the following files to the project folder.It compiled fine for me and connected to the pc usb,but your code only flashes an led.
CDCDESC.ASM
usb18.asm...
The code is a test program and actually works with a VB6 interface and yes it is looking for commands.The usart output was initially just to let me know the code was running.You can have serial data...
Its been awhile since I went through the same project, but I don't think you need to modify those files.The pic config settings needs to be correct though.I have attached a project folder with files...
This demo was created for the serial to usb port selection problem.
http://www.picbasic.co.uk/forum/showthread.php?t=7372
In your configuration bits, the USB voltage regulator needs to be enabled.
I have used the 485SD9TB converter from BB Electronics with no problems.It does exactly what you are trying to do.Its not cheap,but you can check out the schematic and maybe reproduce the circuit.
Taking a quick look in the old basic electric circuits book seems to verify what you are seeing.On the subject of parallel ac circuits involving impedance,the calculated branch currents are higher...
I believe this document was off this forum.It describes indexing port bits.
Here's a link that might be of interest,its not a pic but has schematics and components.
http://www.bgsoflex.com/megasquirt.html
For anyone interested in PLC ladder programming using a pic here is a link for a free compiler.
http://cq.cx/ladder.pl
'***************************** LCD Demo For The PICDEM 2 PLUS Board ********************************
' Device used pic16F877
' port.a1 LCD E enable input
' port.a2 LCD R/W read/write bit
'...
An L6203 H-bridge might do it for you.Its good up to 48v and 4amps.But you must attach it to a good heat sink or it will fry.
A 232 transceiver will provide you with electro static discharge protection and the proper standard voltage levels,which increases noise immunity.This means you can have longer cable runs without...
I have always tied MCLR thru a resistor,but noticed the other day while looking thru the data sheets for a 16F87xA this note:
"The behavior of the ESD protection on the MCLR pin
differs from...
The attached project files demonstrate how to make an automatic serial connection between a VB6 interface and a pic. This relieves the user from having to know what port the pic is connected to and...
Use the calculator in windows. Change the view to scientific.
I used a 16F877 with the data tied directly to portb.1 and the clock tied directly to portb.0.Enabling the weak pull up resistors was all that was needed.I believe the signal voltage levels were on...
I have read the 52 bits of data out of a Mitutoyo dial indicator with a pic.The clock signal is tied to an interrupt pin and the data is read into a 52 bit array.The data can then be manipulated...
You said anything.Attached are code files that appear to be PBP.I downloaded them from somewhere about 6 years,but never used them.I do know they were for use with a can bus interface chip MCP2510...
Darrel,
I recently replaced the On Interrupt code in an existing program with the RX_INT and it works great.The code was reduced by 127 words and I was able to eliminate a interrupt anomaly I...
Here's a 256 Led ,8 I/O pic driven application you can buy for $6.50 at http://www.allelectronics.com/ . The Leds are actually tied together in parallel and in a matrix.I just put together a star...
Using a inclinometer or clinometer is another option,though it might be expensive.I have used the Accustar(data sheet attached)with a serial connection to a Pic,but not for a balancing act.If you...
Atom050,
Glad to help.An alternative is to use the hardware spi,but since you had a board already,changing i/o might not be possible.
Attached is code used with a 16F877 and Max 1270 a/d,similar I believe.