CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Recommendation needed

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
AVais



Joined: 15 Aug 2011
Posts: 6

View user's profile Send private message

Recommendation needed
PostPosted: Mon Sep 19, 2011 8:37 am     Reply with quote

Hi guys, I need to buy a development board for my project and it should be either PicDem 2 Plus ROHS or NON-ROHS version, can anyone share his experience with me using this board. Perfectly, more appropriate is if you tell me the board and send me a simple "hello world" code to check the LCD straightaway. I need urgent reply because I'm running out of time. So a demo board plus "hello world" code working properly is all what i need.
_________________
e-engineer
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Sep 19, 2011 1:48 pm     Reply with quote

In my opinion, the non-Rohs version of the PicDem2-Plus is the better
board.

1. The non-Rohs board uses through-hole components, so it's much
easier to modify if you want to.

2. The non-Rohs board doesn't have the LCD power control pin, which
the Rohs board has. There is no good reason to add this power control to
the LCD. It wastes a PIC pin and adds complexity to using the lcd.

3. The non-Rohs board has a larger prototyping area. The Rohs board
added a useless pad pattern for a SMT chip. This takes aways space for
prototyping, for no good reason.

4. Most software demo programs were written for the non-Rohs board,
and then in the Rohs board, Microchip changed the PIC pins that are used
for the LCD.

5. The LCD on the Rohs board is defective. You can't read from it.
Maybe this was a only a problem with the first production run of the Rohs
boards. I don't know if they fixed it by now. But on the non-Rohs
board, you can read from the LCD.

Good things about the Rohs version:
1. The Rohs board has the Port access pads arranged in the Pictail
format. So you could put a header receptacle connector in there and
then you could plug Pictail accessory boards in it.

But anyway, here is an LCD driver in the link below. The basic driver is
for the non-Rohs board, but it has instructions on how to modify it for use
with the Rohs board:
http://www.ccsinfo.com/forum/viewtopic.php?t=24661
AVais



Joined: 15 Aug 2011
Posts: 6

View user's profile Send private message

PostPosted: Tue Sep 20, 2011 5:12 am     Reply with quote

Thank you, I will get it and then let you know if I face any trouble....cheers
_________________
e-engineer
AVais



Joined: 15 Aug 2011
Posts: 6

View user's profile Send private message

board arrived..
PostPosted: Tue Sep 27, 2011 8:08 am     Reply with quote

Hi,unfortunately i got the PICDEM 2 Plus board new version(ROHS) because i couldn't find the old version(non-Rohs) board from any distributor because they are not coming from the maker any more. So i have to do my project on this board so please sort it out for me.
What changing i need in LCD driver to make it working. Please send the full driver code.
Just i need to display "hello world" on lcd.
Please help me out...
_________________
e-engineer
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Sep 27, 2011 1:01 pm     Reply with quote

The first post in the Flex lcd driver thread has the driver source code
and a test program. At the end of the post, there is a link to another
post that has the changes needed for the "Rohs" version of PicDem2-Plus:
http://www.ccsinfo.com/forum/viewtopic.php?t=24661
AVais



Joined: 15 Aug 2011
Posts: 6

View user's profile Send private message

need assistance
PostPosted: Mon Oct 17, 2011 8:41 am     Reply with quote

Ya I successfully print the hello world on the lcd...thnx to you. Now I want to turn on the LED. Can you send me the code to enable the led?
And I want to check the potentiometer that if i rotate it, it should show some reading on lcd and on certain desired value I want to turn on the led. Can you help me in this regaard //plzzz
_________________
e-engineer
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Mon Oct 17, 2011 10:37 am     Reply with quote

Hi,

Good grief, if you expect to be 'spoon fed' at each and every step of your project, I think you are in the wrong forum. An engineer is supposed to educate themselves, and solve problems, not continuously ask for 'code samples'...... The stuff you are asking is trivial, and even a beginner (with an open mind!) can figure it out! If you get stuck, the forum is here to help, but you've got to take some initiative.....

I don't have the PicKit 2, but I downloaded the schematic, and I see there are 4 LEDs on the board. Make sure J6 is installed, and then set pin RB0 to a high state and see what happens!

Your request for help with the ADC might be helped by reading this thread: http://www.ccsinfo.com/forum/viewtopic.php?t=46491

John
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Oct 17, 2011 12:45 pm     Reply with quote

Quote:
Now I want to turn on the LED. Can you send me the code to enable the
led? And I want to check the potentiometer that if i rotate it, it should
show some reading on lcd and on certain desired value I want to turn on
the led.

This thread has links to demo programs for the PicDem2-Plus for most
of the features on the board:
http://www.ccsinfo.com/forum/viewtopic.php?t=41803

If you have questions about those programs, ask your questions here
in this thread.
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Mon Oct 17, 2011 7:20 pm     Reply with quote

ezflyr wrote:
Hi,

Good grief, if you expect to be 'spoon fed' at each and every step of your project, I think you are in the wrong forum. An engineer is supposed to educate themselves, and solve problems, not continuously ask for 'code samples'...... The stuff you are asking is trivial, and even a beginner (with an open mind!) can figure it out! If you get stuck, the forum is here to help, but you've got to take some initiative.....



I've definitely stepped back a bit from the forum for this reason.

(sigh)
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group