Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 21st May 2008, 12:13 AM   (permalink)
Default

Quote:
Originally Posted by AtomSoft View Post
any links on this linux live disk futz?
Ubuntu Home Page | Ubuntu
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is offline  
Reply With Quote
Old 21st May 2008, 12:19 AM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics View Post
Use the Add Symbol button to add a watch variable.
LOL i know that lol but its greyed out... 8.10 MPLAB has so many bugs



Futz forgot to tell you thanks and i love your site... (all the info and layout and all!)

Ill be making a site pretty soon also. I know some HTML, PHP, MYSQL and stuff// so shouldnt be to hard
AtomSoft is online now  
Reply With Quote
Old 21st May 2008, 12:03 PM   (permalink)
Default

hi atomsoft,
Attached AccPoll3_1.asm

This version now tested physically in a programmed PIC18F1320 works OK.
Uses a LCD 2line, HD44780 to display X and Y axis counts, refresh rate set for 250mSec interval.

Checked over 1mS pulse [1000 cnts] thru to 50mSec [50,000 cnts] on PORTA.7 and PORTA.6, all OK.

Sorry about the loss of some of the source text formatting, the MPLAB IDE decided to trash it..? No changes to the 'properties'.??

Delete the previous AccPoll3.asm.
Attached Files
File Type: asm AccPoll3_1.asm (6.5 KB, 4 views)
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 11:24 AM.
ericgibbs is online now  
Reply With Quote
Old 21st May 2008, 12:32 PM   (permalink)
Default

wow thanks will check it out.. The only thing is my last 2x16 lCD broke so i might have to order a new one .. but for now i will see what i can do in debug mode... Thanks
AtomSoft is online now  
Reply With Quote
Old 21st May 2008, 02:36 PM   (permalink)
Default

Quote:
Originally Posted by AtomSoft View Post
Futz forgot to tell you thanks and i love your site... (all the info and layout and all!)
Thanks Atom.

Quote:
Ill be making a site pretty soon also. I know some HTML, PHP, MYSQL and stuff// so shouldn't be too hard
I used to hard code all my sites. But then making changes and updates was kind of a pain so they tended to never get done. So this time I went with a CMS (Content Management System). Joomla 1.5. It's a bit buggy, but you soon discover what the bugs are and learn to work around them (not a big deal - just some editor quirks). It's free. Building templates for it is a chore, but luckily I like the stock one fine. Joomla makes updates and changes easy as it's built for blogging and that style of site.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is offline  
Reply With Quote
Old 21st May 2008, 03:05 PM   (permalink)
Default

Oh ya! Got my gyro yesterday. Only had a little spare time last night so I only got pins soldered onto it and did a bit of datasheet reading. Tonight I plan to try to get it doing something. Maybe get that evil little balancer to actually balance.

Quote:
my last 2x16 lCD broke so i might have to order a new one
How do you break an LCD?
__________________
=========================
Futz's Microcontrollers & Robotics
=========================

Last edited by futz; 21st May 2008 at 03:07 PM.
futz is offline  
Reply With Quote
Old 21st May 2008, 03:14 PM   (permalink)
Default

Not sure how but doesnt work so not going to kill myself checking it

EDIT:
Good luck with the balancer. Cant wait to see the results.

Last edited by AtomSoft; 21st May 2008 at 03:16 PM.
AtomSoft is online now  
Reply With Quote
Old 22nd May 2008, 09:31 AM   (permalink)
Default

Quote:
Originally Posted by AtomSoft View Post
Not sure how but doesnt work so not going to kill myself checking it

EDIT:
Good luck with the balancer. Cant wait to see the results.
hi atomsoft,
In order to access the UART's TX/RX, CCP1 and T0CK1 pins for future development of your project I have modified the LCD pin connections.

LCD data[4] are on A0 thru A3 and the LCD control[3] are on B5 thru B7.

The program has been tested in a 18F1320, also a PIC pin out drawing is available.. If you are interested, just ask and I will post.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Reply With Quote
Old 22nd May 2008, 12:13 PM   (permalink)
Default

sure that would be awesome .. Thanks a bunch..Post away
AtomSoft is online now  
Reply With Quote
Old 22nd May 2008, 12:32 PM   (permalink)
Default

Quote:
Originally Posted by AtomSoft View Post
sure that would be awesome .. Thanks a bunch..Post away
hi,
Refer attachments.

Lets know how it goes.
Attached Images
File Type: jpg 18F1320_lcd1.jpg (29.3 KB, 4 views)
Attached Files
File Type: asm AccPoll3_2.asm (7.0 KB, 3 views)
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 11:24 AM.
ericgibbs is online now  
Reply With Quote
Old 22nd May 2008, 12:36 PM   (permalink)
Default

Wow thanks a bunch! Will check in 2 min
AtomSoft is online now  
Reply With Quote
Old 28th May 2008, 09:23 PM   (permalink)
Default

I bought a memsic 2125 and connect to my 18f2550. I get a value of 6200 with a 20 MHZ OSC, but with a multimeter 2.5V on a glad surface. I think i make a mistake, but where ?

xtilt var word
PULSIN PORTB.1,1,xtilt
serkanc is offline  
Reply With Quote
Old 28th May 2008, 10:02 PM   (permalink)
Default

The value which I read on PIC is 4.8 time more then value which should be. My OSc is 20 MHZ i know, how can it react like a 96MHZ ? I have problems also with serial comm. despite I write DEFINE OSC 20...

Can someone help me ?

Last edited by serkanc; 28th May 2008 at 10:05 PM.
serkanc is offline  
Reply With Quote
Old 29th May 2008, 06:44 AM   (permalink)
Default

Quote:
Originally Posted by serkanc View Post
The value which I read on PIC is 4.8 time more then value which should be. My OSc is 20 MHZ i know, how can it react like a 96MHZ ? I have problems also with serial comm. despite I write DEFINE OSC 20...

Can someone help me ?
Hi,
I would suggest you start your own new thread, you will get more help.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
2-axis accelerometer in SOIC package? Futterama Electronic Projects Design/Ideas/Reviews 10 27th November 2007 02:10 AM
Accelerometer project kiowamec Electronic Projects Design/Ideas/Reviews 9 8th October 2007 12:47 AM
Accelerometer Interfacing jimbo1954 General Electronics Chat 4 25th September 2007 02:06 PM
Accelerometer Packages Stellarcore Datasheet/Parts Requests 0 13th September 2007 04:10 PM
ADXL330 accelerometer with PIC18f452 erictham83 Electronic Projects Design/Ideas/Reviews 0 15th August 2006 11:44 AM



All times are GMT. The time now is 07:02 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.