SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 409 matches

 Go to advanced search

__delay_ms stopping all PICs working?

 by angelsix ¦  Fri Jun 03, 2011 11:29 pm ¦  Forum: SparkFun Product Questions ¦  Topic: __delay_ms stopping all PICs working? ¦  Replies: 1 ¦  Views: 501

I've seen this happen twice in the last 2 weeks now and it is really starting to bug me. To keep things as simple as possible here is a stepper motor code, in this instance running on a PIC24F04KA200. I have tested this on many other pics and symptoms are all the same. Basically once a function gets...

Re: #define over multiple files?

 by angelsix ¦  Wed Apr 20, 2011 5:08 am ¦  Forum: SparkFun Product Questions ¦  Topic: #define over multiple files? ¦  Replies: 3 ¦  Views: 482

Spot on thanks thats exactly what I was looking for :P

#define over multiple files?

 by angelsix ¦  Mon Apr 18, 2011 8:22 am ¦  Forum: SparkFun Product Questions ¦  Topic: #define over multiple files? ¦  Replies: 3 ¦  Views: 482

Pretty simple requirement with same issue I keep coming across. I create libraries in another shared folder for functions and libraries such as LCD screens, SPI, I2C etc... which contain .h and .c files in a library folder. These create the functions that are generic for use across projects, so for ...

Re: Switching 100mA load from <1mA without a Voltage Drop?

 by angelsix ¦  Fri Mar 25, 2011 1:55 am ¦  Forum: SparkFun Product Questions ¦  Topic: Switching 100mA load from <1mA without a Voltage Drop? ¦  Replies: 5 ¦  Views: 667

Eric, I'm integrating into an existing board and hijacking it's analog point and regulated (voltage) power supply - but from experience the analog source doesn't like it when you start taking more than a milliamp or so and the board starts using a lot of power itself and I want to leave room for mor...

Re: Switching 100mA load from <1mA without a Voltage Drop?

 by angelsix ¦  Thu Mar 24, 2011 2:08 am ¦  Forum: SparkFun Product Questions ¦  Topic: Switching 100mA load from <1mA without a Voltage Drop? ¦  Replies: 5 ¦  Views: 667

Andy, I never knew that about FETs, thanks for that it sounds ideal and should do the trick. I guess I will do some more detailed reading up on MOSFETs, from a quick Wiki it sounds like BJTs are a bit out-dated and almost replaced by FETs, whereas I previously thought FETs were more aimed at power (...

Switching 100mA load from <1mA without a Voltage Drop?

 by angelsix ¦  Wed Mar 23, 2011 1:07 pm ¦  Forum: SparkFun Product Questions ¦  Topic: Switching 100mA load from <1mA without a Voltage Drop? ¦  Replies: 5 ¦  Views: 667

OK very simple requirement yet I am struggling to think of an elegant solution with the smallest footprint possible. I have 4 LEDs in parallel, basic blue with approx 3.2 Vf. I need to switch them on from a 1.6V trigger source. The trigger can have very little current drawn from it so ideally less t...

Re: Small desktop fume extractor - where to buy

 by angelsix ¦  Mon Mar 14, 2011 9:15 am ¦  Forum: SparkFun Product Questions ¦  Topic: Small desktop fume extractor - where to buy ¦  Replies: 13 ¦  Views: 1815

Thanks for the replies. I have finished my workroom now and got my soldering stuff in there. Changed to No-Clean gel flux from liquid flux and it has cut down the fumes a lot - no idea if it is any better on toxins though (http://www.farnell.com/datasheets/811068.pdf) Also, got some lead-free 0.2mm ...

Re: Small desktop fume extractor - where to buy

 by angelsix ¦  Fri Mar 11, 2011 7:23 am ¦  Forum: SparkFun Product Questions ¦  Topic: Small desktop fume extractor - where to buy ¦  Replies: 13 ¦  Views: 1815

I use a very fine leaded solder most of the time, and use liquid flux. The fumes in general are rather a lot even when just tinning the iron with the solder - when combined with liquid flux it is double that. I have changed to no-clean gel flux to see if that helps, and may consider changing solder ...

Re: Small desktop fume extractor - where to buy

 by angelsix ¦  Wed Mar 09, 2011 2:23 am ¦  Forum: SparkFun Product Questions ¦  Topic: Small desktop fume extractor - where to buy ¦  Replies: 13 ¦  Views: 1815

Thanks for all the feedback. Basically I am in the process of finishing my extension workroom that is 3.6 meters long by 1.5m width, so I have a 60cm worktop 3.6m long with a 2.5m roof. All simple single layer brick on the outside of the building so easy to mount things to walls, roof, outside, insi...

Re: Small desktop fume extractor - where to buy

 by angelsix ¦  Mon Mar 07, 2011 5:06 am ¦  Forum: SparkFun Product Questions ¦  Topic: Small desktop fume extractor - where to buy ¦  Replies: 13 ¦  Views: 1815

Correction - by desktop sized I don't mean sits on the desktop, I just mean one that will fit in a standard room with little space so would have to hang off ceiling or mount to outside wall.

Small desktop fume extractor - where to buy

 by angelsix ¦  Mon Mar 07, 2011 1:44 am ¦  Forum: SparkFun Product Questions ¦  Topic: Small desktop fume extractor - where to buy ¦  Replies: 13 ¦  Views: 1815

With the increase of the number of boards I make these days I really need to take H&S a bit more serious and get a proper extractor installed. I have a workroom with a 3 meter table 60cm deep with my tools and the likes on and would like to install a fume extractor. Anyone know of any nice small des...

Re: PIC ADC noise ONLY when not plugged into Programmer (PicKit3

 by angelsix ¦  Thu Feb 10, 2011 1:49 am ¦  Forum: SparkFun Product Questions ¦  Topic: PIC ADC noise ONLY when not plugged into Programmer (PicKit3 ¦  Replies: 12 ¦  Views: 1385

Andy, Thanks for the feedback again. Thought I posted back on this but never did. The second board as the C1 within 1mm of the pins, all other components closer, and for good measure a 1nF cap and 100k res on each ADC input and all is working good now. I always underestimate the sensitivity of noise...

Re: NEED HELP WITH LEDS!

 by angelsix ¦  Fri Feb 04, 2011 1:41 am ¦  Forum: SparkFun Product Questions ¦  Topic: NEED HELP WITH LEDS! ¦  Replies: 3 ¦  Views: 649

If any part of the LED legs are exposed at the LED head end (so above the resistor) you could try to get a wire connection there, and jumper it over the resistor back to the bottom of the leg, then you are bypassing the resistor all together, so a 3V cell without any resistor will be just fine altho...

Re: PIC ADC noise ONLY when not plugged into Programmer (PicKit3

 by angelsix ¦  Fri Feb 04, 2011 1:30 am ¦  Forum: SparkFun Product Questions ¦  Topic: PIC ADC noise ONLY when not plugged into Programmer (PicKit3 ¦  Replies: 12 ¦  Views: 1385

It is all commoned, check out the flood going under the pic (top right to its Vss) then the top blue via joins it back to the main ground. Thanks for the observation though. I think my second board will have a little more ground and probably use double-sided copper with the bottom as all ground.

Re: PIC ADC noise ONLY when not plugged into Programmer (PicKit3

 by angelsix ¦  Thu Feb 03, 2011 3:15 pm ¦  Forum: SparkFun Product Questions ¦  Topic: PIC ADC noise ONLY when not plugged into Programmer (PicKit3 ¦  Replies: 12 ¦  Views: 1385

Adding the 4.7k resistor made it 85% better, finished with the 10nF cap makes it just like with the debugger plugged in and works without noise :P

I will remake the board next time with the SMD resistor/cap as these are just thru holes and a bit dangly, but proves the solution.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 28