My Mind working on…
with 7 comments
This blog claims to be a place where you can find some electronics stuff made by me, and other things…
Written by forrequi
November 13, 2007 at 11:55
Subscribe to comments with RSS.
I’ve made up a board with the PIC18F14K50 also using a 12Mhz crystal. Can you tell me the configuration bits you used to get your pic going? I am developing in mikroBasic, but the config settings i’m not sure of are:
CPU System clock divide (choices are : no divide, /2 , /3, /4)
USB Clock Selection bit (direct or /2)
Oscillator (I believe it should be HS)
4 X PLL enable bit (direct, or * 4)
Primary Clock enable bit (enabled or disabled)
thanks for your help!
June 13, 2010 at 13:18
There’s the correct configuration:
CPU System Clock Divide: No Divide (no CPU clock divide)
USB Clock Selection bit: OFF (or direct, so USB Clock comes directly from the OSC1/OSC2 oscillator block; no divide)
Oscillator: HS Oscillator
4 X PLL Enable bit: ON (Oscillator multiplied by 4, so you get 48MHz for USB full-speed)
Primary Clock Enable bit: ON (Enabled)
June 13, 2010 at 14:46
Hi a want to know everything about your board with the
I’m planing to make 4 relay output and 4 optoisolated inputs board for science projects using MSWlogo with my kids.
Do you sell the boards and help with the code?
December 3, 2010 at 16:47
Email me about your project. I have more boards too. Thank’s
December 4, 2010 at 00:16
My idea is to use the OLIMEX board: PIC-IO as a reference.
After make some code refinamments and added some commands, I’m using the board connected through a USB-RS232 adapter and using Transformer for the power supply.
-To have a control board directly connected to the USB port.
-All the power will come fron the USB port also.(100mA max).
-Using 4 relays 842A-5 :
35mA to connect and 13mA for holding the connected state.
Using an algorithm to delay simultaneous connections the max.
current will be limited to 74mA (36 mA left for the PIC and LEDs). 10 milliseconds need this relay to reach the holding state.
In 30 milliseconds (worst-case) all the relays reach the desired state, enough for the application.
-With such a control board, and using a Logo environment for
programming, is possible to control motors lights etc..
and reading switches.
-Each Science Project (elevator, crane, semaphor, parking barrier…)
will have a controller board atached.
Each Science Project will have his power source (battery pack) and the control board is isolated (using optocouplers and relays).
-The board will be as tiny as possible with screw terminal blocks for inputs and ouputs (like the OLIMEX PIC-IO).
December 6, 2010 at 05:42
Ok, it’s very realizable. I think this board can help you.
December 6, 2010 at 07:52
I’ll need a couple of your boards, working with the OLIMEX’s code responding to serial commands from a text terminal.
And the documented source in C (Hi-TECH PIC18 compiler prefered).
I just want to skip dealing with the USB stack configuration as a serial port …
I have a DHL account if needed.
December 6, 2010 at 13:44
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Blog at WordPress.com.