Search found 136 matches

by Widgetman
Wed Aug 07, 2013 3:24 pm
Forum: User Modules
Topic: PIC 10F220/222
Replies: 6
Views: 4877

PIC LIBRARIES

Hi David, Thanks for getting back to me. I took a look at the add-on tool for converting a library from MPLAB to Swordfish, and totally got lost in the Microchip IDE. That thing has become quite complicated, and honestly I am not sure how anyone would create a project in a reasonable amount of time....
by Widgetman
Tue Aug 06, 2013 6:29 pm
Forum: User Modules
Topic: PIC 10F220/222
Replies: 6
Views: 4877

PIC 10F220/222

Hi,
It has been a while since I had to use my PIC compiler, but I now have yet another need for a widget on the farm. I was wondering if there is any support for the PIC 10F220 or the 10F222 parts yet ?
Thanks
by Widgetman
Mon Jan 30, 2012 1:09 pm
Forum: User Modules
Topic: MCP795W
Replies: 2
Views: 2389

MCP795W

Hi, I was wondering if anyone had played around with the new RTC chip from Microchip. It has some pretty cool features, and the best I can tell also has some Battery backed SRAM built into it. I was toying with using it on a farm project, but I am not sure how hard it would be to interface to with a...
by Widgetman
Mon Oct 24, 2011 2:51 pm
Forum: Modules
Topic: I2C Routine
Replies: 6
Views: 3776

SPI Mode

Hi Guys, Thanks for the input. I actually meant I wanted to use SPI mode not I2C so hopefully there are some examples in the compiler for the 18F parts I can look at to get started. I ran across a MCP79410 part that has EEPROM and RTC in one SO-8 part, but I am not sure 128 bytes will be enough for ...
by Widgetman
Mon Oct 24, 2011 12:42 pm
Forum: Modules
Topic: I2C Routine
Replies: 6
Views: 3776

Thanks

Hi Jerry, Thanks once again. I had not thought to look there. So far I think I am going to target the 25LC640A or something similar. I wish I could find a RTC and EEPROM storage part in one, but so far I have not had any luck finding a chip like that. Worse case I find a seperate RTC part to go alon...
by Widgetman
Sun Oct 23, 2011 2:35 pm
Forum: Modules
Topic: I2C Routine
Replies: 6
Views: 3776

I2C Routine

Hi ALl,
I have a need to interface a PIC 18FXXJXX part to a serial EEPROM and was wondering if anyone have any sample routines that might help guide me in the right direction. I am familiar with I2C stuff, I just never have interfaced one to a PIC. Any thoughts or help would be appreciated.
Thanks
by Widgetman
Tue Jul 19, 2011 2:10 pm
Forum: User Modules
Topic: MRF24J40
Replies: 12
Views: 12203

MRF24J40 Code Available ?

Hi All,
Is there a way to convert it to swordfish Norm ? I would like to play around with the MRF interface myself with some hobby farm ideas.
Thanks
by Widgetman
Mon Apr 25, 2011 2:38 pm
Forum: User Modules
Topic: DC Motor Control
Replies: 4
Views: 4403

Stepper Motor

Hi,
Thanks for the input. I am actually leaning towards a stepper motor closed loop system, but I need a 1/4 Horsepower DC motor, and I am not sure of cost and availability. Would the ECCP module in a PIC control this type of motor ?
Thanks
by Widgetman
Mon Apr 25, 2011 1:54 pm
Forum: User Modules
Topic: DC Motor Control
Replies: 4
Views: 4403

DC Motor Control

Hi, I have a need to control a DC motor for my cattle gate. I was wondering if anyone has ever used a PIC to control a DC motor, and how you would handle ramping the voltage up slowly to avoid jerk on a chain drive system. I plan on using a 15W solar cell to charge a battery system, and use the PIC ...
by Widgetman
Sat Apr 23, 2011 2:16 pm
Forum: Modules
Topic: config WDT vs WDTEN
Replies: 4
Views: 4723

Thanks a Bunch

Thanks a bunch for sharing Jerry. With your and others help many of us newbies have learned a great deal about this compiler and the capabilities.
by Widgetman
Tue Apr 05, 2011 12:44 pm
Forum: User Modules
Topic: Brown Out Detection
Replies: 8
Views: 6000

Thanks

Hi Jerry,
Thanks for the tip. I had tried a couple different ways to bit address stuff but the compiler did not like it. It never dawned on me to alias it. I will play with the brown out and see what happens. I get plenty of brown outs at my house so I should see something soon.
by Widgetman
Mon Apr 04, 2011 8:36 pm
Forum: User Modules
Topic: Brown Out Detection
Replies: 8
Views: 6000

POR Detection

Hi,
Thanks for the input Jerry. I tried the example and ran into issues assigning bit declarations on the RCON register. How do I declare a individual bit access ? the code below did not compile.
thanks

RCON.POR = 1 // set bits so we can detect other events later
by Widgetman
Mon Apr 04, 2011 11:41 am
Forum: User Modules
Topic: Brown Out Detection
Replies: 8
Views: 6000

BOR and POR

Hi, I was just reading from the app notes in the datasheet on the 18F25J10 and 24J10 parts. Below is what it states and how to handle a detection of a brownout. The bits are R/W and I believe they require maintence after a condition has occured. The last note 3 talks about how to detect the conditio...
by Widgetman
Sun Apr 03, 2011 2:18 pm
Forum: User Modules
Topic: Brown Out Detection
Replies: 8
Views: 6000

Brown Out Detection

Hi, Does anyone know how to use the Brown out feature on some PIC parts ? I was looking at using the 18F24J10 or 18F25J10 parts for a project, but I do not see in the Include files where POR or BOR are configurable. RCON register bits 1 and 0 are these status flags when a interruption of power occur...
by Widgetman
Thu Mar 31, 2011 2:16 pm
Forum: User Modules
Topic: Watch Dog Timer
Replies: 0
Views: 3020

Watch Dog Timer

Hi All, I ran into a interesting issue playing around wih the interrupts on a 18F67J60, and was wondering if there is a trick to using the WDT module. When I added in the line of code below to a compiling file it barks at me that the WDT is not defined. I wanted to tickle the wdt in my ISRRX routine...