blueroomelectronics
Well-Known Member
Yep the "large resistor" is a big inductor. remove both PICs from the PCB and test the voltage again.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Just get on with it and program a PIC! Then you'll know. Measuring it for a day will get you nowhere.thekyguy11 said:5.07 volts with both PICs removed. Is that normal?
edit: I just reinserted the PICs, and I noticed I have the dip switches in backwards compared to the picture in the manual. I set them up like the picture and re-checked voltage and got 5.04v . I'm assuming everything is good now?
{
*****************************************************************************
* Name : BLINK_1.BAS *
* Author : William Richardson *
* Notice : Copyright (c) 2008 blueroomelectronics *
* : All Rights Reserved *
* Date : 1/7/2008 *
* Version : 1.0 *
* Notes : *
* : *
*****************************************************************************
}
Device = 18F1320
Clock = 4 // 4MHz clock
Include "junebug.bas"
Dim Count As Byte
While True
For Count = 0 To 6
LED(Count)
DelayMS(300) // delay in 1000s of a second
Next
Wend // repeat forever
End
{
*****************************************************************************
* Name : JUNEBUG.BAS *
* Author : William Richardson *
* Notice : Copyright (c) 2008 blueroomelectronics *
* : All Rights Reserved *
* Date : 2/1/2008 *
* Version : 0.91beta *
* Notes : *
* : *
*****************************************************************************
}
Module Junebug
Device = 18F1320
Public Sub LED(x As Byte)
Select x
Case 1 // LED 1
TRISA.0 = 0
TRISA.6 = 0
TRISA.7 = 1
High(PORTA.0)
Low (PORTA.6)
Case 2 // LED 2
TRISA.0 = 0
TRISA.6 = 0
TRISA.7 = 1
Low (PORTA.0)
High(PORTA.6)
Case 3 // LED 3
TRISA.0 = 1
TRISA.6 = 0
TRISA.7 = 0
High(PORTA.6)
Low (PORTA.7)
Case 4 // LED 4
TRISA.0 = 1
TRISA.6 = 0
TRISA.7 = 0
Low (PORTA.6)
High(PORTA.7)
Case 5 // LED 5
TRISA.0 = 0
TRISA.6 = 1
TRISA.7 = 0
Low (PORTA.0)
High(PORTA.7)
Case 6 // LED 6
TRISA.0 = 0
TRISA.6 = 1
TRISA.7 = 0
High(PORTA.0)
Low (PORTA.7)
Else // All LEDs Off
TRISA.0 = 1
TRISA.6 = 1
TRISA.7 = 1
End Select
End Sub
Config OSC = INTIO2, WDT = OFF, LVP = OFF
ADCON1 = %11110101
OSCCON = $62 // 4 MHz clock
Config OSC = INTIO2, WDT = OFF, LVP = OFF
CONFIG OSC = INTIO2
ADCON1 = %11110101
Oh!!! Brutal price! Ya, that'll do.thekyguy11 said:Can I replace it with this one? https://www.radioshack.com/product/...roductId=2062573&support=support&tab=features
OH! it is from an international supplier may be from China. I too got 7 atleast in a batch of 25.Some were showing break even-- I don't know whether to to call them Dumpers or call the landing country unlucky.thekyguy11 said:ah ha! I knew it wasn't code related, LOL. This may be easy stuff for you, but the fact that I was able to do what I did makes me feel like a genius! 'twas such a great learning process!
I'll test the LED and let you know what I find. It's definitely not in backwards, unless they flattened the wrong side.