I had thought about using a compass sensor. Still like the idea. Most I found were on the expensive side, not to mention I was just getting my feet wet messing with PICs and programming. Should I...
Type: Posts; User: Bobw55; Keyword(s):
I had thought about using a compass sensor. Still like the idea. Most I found were on the expensive side, not to mention I was just getting my feet wet messing with PICs and programming. Should I...
I may have to consider that.
I only have a hand drawn schematic.
Here is a picture of the almost completed project. I still need to finish the labeling.
5352
Thanks for all the replys.
I ended up using a hall sensor and the magnets from a CD drive motor for the sensor part. I used a 16F1827 PIC, a 2x16 LCD and other hardware. I now have a rotor...
Yes I do know this is a BASIC forum.
My post was only to thank those who were trying to help me get started.
Bob
I am not sure which program you are referring to?
The one That gave me the display was written by me on a PIC16F88 using C.
I gave up on the 16F1827 do to lack of programming knowledge and lack of...
Managed to get some code written and displayed.
THANK YOU ALL FOR THE POINTERS
Bob
I only have the demo version which does NOT support the 16F1827.
I have:
MPLAB 8.63 PICKIT3
MikroBasic
MikroC-Pro
MikroPro-Suite
I found the Assembly template file for the 16F1827 and will...
I think some of the problems I am having is not being sure of what coding the file example I am trying to copy is in (Basic, C, Assembly).
To just initialize the LCD I am assuming I have to Code...
The pot is for the contrast, I have 3 pots on a separate board to control the RGB back light.
The display DOES use the standard LCD controller, I made sure I at least got that part right.
YES I do.... Should have mentioned that earlier on.
Actually used a little interface board from here :http://www.mikroe.com/eng/products/view/145/lcd-adapter-board/ pre-wired for 4 bit mode
Tried another sample file with MPLAB and actually managed to get it to build and load. But "NO" LCD initialization, still a top row boxes.
Will have to Google the 16f1827 some more and see if...
I'll figure something out.
I should have known the simple would be hard
Yuppers... just found that out the hard way. About ready to put 1KV thru this PIC and say the hell with it..... NOT
I knew it had to be something supidly simple. I have been looking at and trying to understand some of the coding, they all start to look the same to me. Have to see if I can compile it with MPLAB....
Here is the latest code I have been trying to build.
And this is the error message I receive :
3 304 Syntax error: Expected "program" but "module" found TEST.mbas
...
I am new to all of this:
I have triple checked my wiring to the PIC<16F1827> and LCD as follows:
PIC LCD
RB0 = D4
RB1 = D5
RB2 = D6
RB3 = D7
RB4 = RS
RB5 = E
Finally figured out that I don't.
Wrote/copied/modified some basic code to just display text on the LCD. Kept getting different errors every time I tried to compile it. Was going to take the HEX...
Most that I have found DO NOT support the 16F1827. May have to find a more common chip.
Better yet, guess I need to learn C
I managed to write/copy a sample Basic code using Mikrobasic pro. But I think I also need a bootloader which I am still searching for.
I have a USB UART that my computer and the program sees but...
I went with a P16F1827
Has enough pins to do what I want. I also have MPLAB and a PICKIT3.
Now to just figure out a simple code to make the 2x16 LCD say "Hello" in 4 bit mode.
I am looking at some of the basic development boards. TOO many to try and choose from.
Bob
I need a pic to do the following:
1) Drive a 2 line LCD.
2) Be able to use the data stream from an optical encoder (from a mouse)
3) Have at least 2 outputs that can via a transistor turn a...
Mark,
I have come across that link a few days ago. I think I may use the CD drive motoronly due to it being mounted on a pcb that would lend to easy mounting to the tail of the rotor drive motor,...
Well I managed to make and fix a pulse disc to the back of the motor. The mouse encoder reads it, just not with any accuracy. Used the encoder from the mouse in my drill and it works fine.
Dave:...
I am using a Phillips rotor and control. There is no feedback in the motor unit. When the controller energizes the motor, it is relying on a constant motion of the motor (1 rpm). The controller has...