PDA

View Full Version : i haven't the 16F1786 in microcode studio list (pbp246), what can i do?



lutherblisset
- 1st March 2016, 20:02
it's not supported? there is a solution?

HenrikOlsson
- 1st March 2016, 21:06
Hi,

This is probably not what you want to hear but 2.46 is now 11 years old, released in 2005 while the 16F1786 seems to have hit the market around 7 years later.
Support for it was added to PBP in version 3.0.7 back in 2013.

I don't know if it's possible to "manually" add support for that chip in the 2.46 but what you can obviously do is to upgrade you version to something a "slightly" newer.

/Henrik.

Student92
- 2nd March 2016, 01:17
hi, i hv some problem for my project

how to do it if u want condition like this
( temperature from 29C to 35C, the bulb will ON that means the bulb will ON if temperature <29C until temperature = 35C
but when temperature >35C the bulb will OFF until the temperature reach to or below 29C and that condition will repeat)

sorry for my word, i hope someone can give a some advise or hint to help me
thanks

Ioannis
- 2nd March 2016, 07:29
Your question is a bit contradictory.

You say to have the bulb ON if temp is between 29-35 C.

Then trying to explain more you say bulb ON if temp < 29 and until temp reaches 35.

Please clarify what exactly you want.

Ioannis

Scampy
- 11th March 2016, 17:11
hi, i hv some problem for my project

how to do it if u want condition like this
( temperature from 29C to 35C, the bulb will ON that means the bulb will ON if temperature <29C until temperature = 35C
but when temperature >35C the bulb will OFF until the temperature reach to or below 29C and that condition will repeat)

sorry for my word, i hope someone can give a some advise or hint to help me
thanks

What exactly is your project, it sounds very much like a thermostat of some description ?


i haven't the 16F1786 in microcode studio list (pbp246), what can i do?

What is the reason for choosing a 16F1786 over other PICs that are supported in the version of PBP you have ?

So you want the light on when the temperature is between 29c and 35c, then you could try something like this.. crude but should work



temperature var byte
lamp var PORTA.1

If temperature <29 or temperature >35 then low lamp
If temperature =>29 or temperature =<35 then high lamp

lutherblisset
- 12th March 2016, 16:50
Hi,

This is probably not what you want to hear but 2.46 is now 11 years old, released in 2005 while the 16F1786 seems to have hit the market around 7 years later.
Support for it was added to PBP in version 3.0.7 back in 2013.

I don't know if it's possible to "manually" add support for that chip in the 2.46 but what you can obviously do is to upgrade you version to something a "slightly" newer.

/Henrik.

pickit 2.61 don't recognize the pic16f1786, can you help me?

Scampy
- 12th March 2016, 23:20
pickit 2.61 don't recognize the pic16f1786, can you help me?

Like I asked before... what specific function of the 16F1786 are you using that dictates the use of this one chip. Unless it's something unique to the 16F1786, then simply use a chip that is supported in the version of PBP and MPASM your have.

lutherblisset
- 12th March 2016, 23:33
the 12bit analogic ports and the chance to set the reference voltage to 1.024,2.048,4.096 volts for them

Scampy
- 13th March 2016, 00:05
Ok, I'm confused (easily done !) - your other post mentions you are monitoring temperatures as you stated you want conditional statements to result in some output being on between a set temperature range. What probe are you using? and why do you need the voltage reference and 12 bit ADC ?

Ignore me... it wasn't you that generated the post on temperatures....

lutherblisset
- 13th March 2016, 00:10
he was student92, not me. He asked for monitoring temperature, i dont know why he ask it in this thread....

richard
- 13th March 2016, 01:51
have a look at this
https://forum.sparkfun.com/viewtopic.php?f=4&t=30792


or the sure way , get a pickit3