Search found 1979 matches

by phalanx
Mon Dec 10, 2018 12:31 pm
Forum: PIC Microcontrollers - Software and Hardware
Topic: parallel slave port/usrt in pic16f877
Replies: 1
Views: 24

Re: parallel slave port/usrt in pic16f877

I see you're double posting this over at Electro-Tech-Online forums but you didn't link your schematic pictures properly here. I can see them fine on their site. Why do you think you need to use the PSP? From what you have in your schematic, it's completely unnecessary. Feed your light sensor into a...
by phalanx
Wed Nov 14, 2018 8:39 am
Forum: SparkFun Product Questions
Topic: Wow... is Sparkfun overcharging like crazy or am I wrong here?
Replies: 2
Views: 152

Re: Wow... is Sparkfun overcharging like crazy or am I wrong here?

Whatever you do, DO NOT give us links to the products so we can see what you're talking about.

-Bill
by phalanx
Tue Oct 30, 2018 9:08 am
Forum: PIC Microcontrollers - Software and Hardware
Topic: Real Time Clock DS1306 issue
Replies: 7
Views: 274

Re: Real Time Clock DS1306 issue

I found your problem and it has to do with the Binary2BCD() function in this section of code: if(Button_DOWN) { MSDelay(20); // 10 uS year = BCD2Binary(year); year --; year = Binary2BCD(year); if((year & 0xff ) < 0) { year = 0x99; } } When you decrement "year" which is an unsigned char, it wraps aro...
by phalanx
Fri Oct 26, 2018 4:20 pm
Forum: PIC Microcontrollers - Software and Hardware
Topic: Real Time Clock DS1306 issue
Replies: 7
Views: 274

Re: Real Time Clock DS1306 issue

You still haven't shown enough information. What type is "year?" How do your BCD and ASCII conversions work? Have you checked to see the contents of "year" are what you expect after you've applied some logic to it but before you convert it? Have you considered using multiple variables for "year" so ...
by phalanx
Thu Oct 25, 2018 6:52 am
Forum: PIC Microcontrollers - Software and Hardware
Topic: Real Time Clock DS1306 issue
Replies: 7
Views: 274

Re: Real Time Clock DS1306 issue

There isn't enough information in your post to figure out what you're doing wrong specifically. I do know that the DS1306 uses a BCD value for "year" ranging from 00 to 99 (upper nibble of year can be 0-9 and the lower nibble of year can be 0-9). It's up to your firmware to correctly interpret those...
by phalanx
Wed Oct 17, 2018 2:40 pm
Forum: Arduino
Topic: URGENT PLEASE HELP ME ARUDINO UNO/raspbery pi
Replies: 1
Views: 131

Re: URGENT PLEASE HELP ME ARUDINO UNO/raspbery pi

There is a stickied post on this forum about how to ask questions the smart way. I suggest you read it and apply the concepts to your post.

In addition, we need to know when this was assigned and when it is due so that we may judge the actual urgency.

-Bill
by phalanx
Mon Sep 24, 2018 8:18 am
Forum: SparkFun Site Questions/Comments
Topic: Bad Registration Procedure
Replies: 2
Views: 177

Re: Bad Registration Procedure

I should also point out that as the BOTS are programmed to correctly answer the anti-spambot questions, I see and uptick in attempted Spam posts from new users and I go an adjust the questions as a result. We had an uptick last week so now the question reads as follows: "Not including quotes, type t...
by phalanx
Mon Sep 24, 2018 8:13 am
Forum: General Chit Chat
Topic: RS422 vs 485
Replies: 1
Views: 424

Re: RS422 vs 485

RS422 is spec'd to have a single always on transmitter driving up to 10 receivers on a single differential pair of wires where RS485 can have up to 32 bidirectional devices on a single differential pair of wires that are high impedance when not active on the bus. You can also operate both configurat...
by phalanx
Tue Sep 11, 2018 6:21 pm
Forum: SparkFun Site Questions/Comments
Topic: Bad Registration Procedure
Replies: 2
Views: 177

Re: Bad Registration Procedure

You and hundreds of others managed to prove that you're not bots. I'd say it's doing its job just fine. Plus you can refresh it and end up with a different question.

-Bill
by phalanx
Fri Aug 10, 2018 5:11 am
Forum: PIC Microcontrollers - Software and Hardware
Topic: Help with chinese development board
Replies: 12
Views: 2705

Re: Help with chinese development board

LVP is something you don't need to worry about unless you have a specific use case for it.

About your PICkit-2 and IPE. This is another case of the answer being right in front of you if you read the literature. The PICkit-2 is not listed as a supported programmer in the IPE user manual.

-Bill
by phalanx
Wed Aug 08, 2018 8:59 am
Forum: PIC Microcontrollers - Software and Hardware
Topic: Help with chinese development board
Replies: 12
Views: 2705

Re: Help with chinese development board

I already told you how to do it. Open up the datasheet and map the pins like I said.

-Bill
by phalanx
Tue Aug 07, 2018 6:21 pm
Forum: PIC Microcontrollers - Software and Hardware
Topic: Help with chinese development board
Replies: 12
Views: 2705

Re: Help with chinese development board

Does this mean you now know what to do?

-Bill
by phalanx
Tue Aug 07, 2018 8:23 am
Forum: PIC Microcontrollers - Software and Hardware
Topic: Help with chinese development board
Replies: 12
Views: 2705

Re: Help with chinese development board

The board that you just bought is not an ICD2. It is nothing more than an adapter board designed to make programming multiples of the same part a little faster. The board itself doesn't actually do anything. It is up to you to route the signals to the correct pins for the device you're programming. ...
by phalanx
Mon Aug 06, 2018 11:06 am
Forum: PIC Microcontrollers - Software and Hardware
Topic: Help with chinese development board
Replies: 12
Views: 2705

Re: Help with chinese development board

So I found the board on AliExpress and from the pictures they have, it looks like a 1:1 connection between the socket and the headers next to it. You will need to use the included jumper wires to bring power and the programming signals to the correct pins for the PIC you are using. The crystal oscil...
by phalanx
Mon Aug 06, 2018 10:46 am
Forum: PIC Microcontrollers - Software and Hardware
Topic: Help with chinese development board
Replies: 12
Views: 2705

Re: Help with chinese development board

I can see that picture but unfortunately there still isn't enough information to say exactly what's going on. It looks like an adapter board for programming PICs that can be reconfigured depending on the size package you are using. For 40-pin PICs, some of the jumpers line up with important pins (MC...