SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 409 matches

 Go to advanced search

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

 by angelsix ¦  Thu Feb 03, 2011 6:38 am ¦  Forum: SparkFun Product Questions ¦  Topic: PIC ADC noise ONLY when not plugged into Programmer (PicKit3 ¦  Replies: 12 ¦  Views: 1381

That was my thought path. I have correctly a slight error in the ADC Init that passed in the wrong channel (decimal 2, instead of 1<<2) so now it selects the right channel. Odly it worked when selecting what would of effectively be AN1 and not AN2... but anyway that change didnt fix the issue at han...

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

 by angelsix ¦  Wed Feb 02, 2011 5:02 pm ¦  Forum: SparkFun Product Questions ¦  Topic: PIC ADC noise ONLY when not plugged into Programmer (PicKit3 ¦  Replies: 12 ¦  Views: 1381

Its connected with fly leads to pin 1 4 and 7 Vdd RT and Vss

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

 by angelsix ¦  Wed Feb 02, 2011 3:59 pm ¦  Forum: SparkFun Product Questions ¦  Topic: PIC ADC noise ONLY when not plugged into Programmer (PicKit3 ¦  Replies: 12 ¦  Views: 1381

Pin strip on the right goes from top to bottom pin 1 to 7 at the bottom.

PIC ADC noise ONLY when not plugged into Programmer (PicKit3

 by angelsix ¦  Wed Feb 02, 2011 2:17 pm ¦  Forum: SparkFun Product Questions ¦  Topic: PIC ADC noise ONLY when not plugged into Programmer (PicKit3 ¦  Replies: 12 ¦  Views: 1381

OK I am sure I came across this issue a while ago and never solved it and now it is back again. I am using a PIC24F04KA200 and using the ADC to read a simple analogue voltage from a normal 10k pot. That is it. Works perfect when plugged into the programmer, but if I unplug the programmer and power f...

Re: Do all LEDs of a wavelength have same forward voltage?

 by angelsix ¦  Thu Jan 13, 2011 3:14 pm ¦  Forum: SparkFun Product Questions ¦  Topic: Do all LEDs of a wavelength have same forward voltage? ¦  Replies: 4 ¦  Views: 910

Thanks for the highly detailed replies its always good to read up on and learn from. Explains it very well.

Regarding boosting the voltage, its sort of possible but I am trying to make use of existings pads as they are in specific locations also, but I may just have to do that.

Do all LEDs of a wavelength have same forward voltage?

 by angelsix ¦  Thu Jan 13, 2011 8:28 am ¦  Forum: SparkFun Product Questions ¦  Topic: Do all LEDs of a wavelength have same forward voltage? ¦  Replies: 4 ¦  Views: 910

OK simple question to save me the job of days more looking, but I am after some 0603 LEDs with lower forward voltage drops to use on existing systems with lower voltages available. Are all LEDs based on their wavelength going to have the same Vf? For example most red are around 2V, presumably due to...

Re: Project Advice - USB to USB or Ethernet to USB as HID keybrd

 by angelsix ¦  Thu Jan 13, 2011 2:20 am ¦  Forum: SparkFun Product Questions ¦  Topic: Project Advice - USB to USB or Ethernet to USB as HID keybrd ¦  Replies: 4 ¦  Views: 599

You basically use the FT chip to convert the USB of the PC to a Serial into your uC - so the PC see's the FTDI chip as a USB device emulating a serial port (think a USB to Serial cable). From there you have a serial port accessible on your PC to talk to your uC. The input to the uC from the FTDI is ...

Re: Project advice - Multiple audio in, single out, auto switch

 by angelsix ¦  Wed Jan 12, 2011 2:21 am ¦  Forum: SparkFun Product Questions ¦  Topic: Project advice - Multiple audio in, single out, auto switch ¦  Replies: 14 ¦  Views: 1482

Ok all working just fine now. Here is what I have discovered over the short project. 1. MUST use common ground for ADC to work (unless I wanted to add another switch to send each pins ground to the voltage reference pin of the ADC). So for now everything seems happy with a common ground, tested from...

Re: Ultrasonic Transducer

 by angelsix ¦  Wed Jan 12, 2011 2:08 am ¦  Forum: SparkFun Product Questions ¦  Topic: Ultrasonic Transducer ¦  Replies: 4 ¦  Views: 671

Get a microcontroller of your preference, set it up with 2 pins as outputs - connect the UT to the pins, and then pulse those pins high and low at 40kHz, then 47kHz, then 36kHz etc... You should find a point at which the sensor works. You can easily test it if you place the other UT right next to th...

Re: Project Advice - USB to USB or Ethernet to USB as HID keybrd

 by angelsix ¦  Wed Jan 12, 2011 2:04 am ¦  Forum: SparkFun Product Questions ¦  Topic: Project Advice - USB to USB or Ethernet to USB as HID keybrd ¦  Replies: 4 ¦  Views: 599

Where is the complexity? Just grab a PIC18F4550 or similar, or an Amtel with built in USB support so all you need is a library code and few caps to get it working. Use one chip per board you would like to control, or use an analog mux to switch the USB lines (I think it would work). Then from there,...

Re: Project advice - Multiple audio in, single out, auto switch

 by angelsix ¦  Sun Jan 09, 2011 9:38 am ¦  Forum: SparkFun Product Questions ¦  Topic: Project advice - Multiple audio in, single out, auto switch ¦  Replies: 14 ¦  Views: 1482

... Puzzle 4 ============ Finally, the output of the mux works very strangely - if the ADC inputs (the left channel inputs) are set to digital outputs, ... What good will that do? Not sure I get what your asking. Firstly the ADC of the PIC doesnt work if the pins are set to digital outputs (which i...

Re: Project advice - Multiple audio in, single out, auto switch

 by angelsix ¦  Sun Jan 09, 2011 5:08 am ¦  Forum: SparkFun Product Questions ¦  Topic: Project advice - Multiple audio in, single out, auto switch ¦  Replies: 14 ¦  Views: 1482

Eric, Yes sorry for any confusion - basically I need 4 sound inputs and 1 output, which means (from my original assumption of needing to switch the grounds too) that I would need 2 channels per signal, and 2 signals per input (left and right) so for each stereo input I would need 4 switches, meaning...

Re: Project advice - Multiple audio in, single out, auto switch

 by angelsix ¦  Thu Jan 06, 2011 5:22 am ¦  Forum: SparkFun Product Questions ¦  Topic: Project advice - Multiple audio in, single out, auto switch ¦  Replies: 14 ¦  Views: 1482

Eric, The way I read that datasheet is you have many inputs, but ultimately onto 2 outputs. I need 4 outputs if I need to switch the grounds too (which I would like to do to be on the safe side). I have found another mux that seems better for my needs which is a CD74HC4052 , which has 4 dual inputs ...

Re: Ultrasonic Range Sensor

 by angelsix ¦  Wed Jan 05, 2011 9:50 am ¦  Forum: SparkFun Product Questions ¦  Topic: Ultrasonic Range Sensor ¦  Replies: 4 ¦  Views: 990

I've played quite a lot with ultrasonic sensors a while back and am just about to start trying to improve a previous project, but from my trials the best by far for overall distance is going to be an open can type (so not waterproof) and 47kHz instead of 40kHz. Less spread but more distance, then dr...

Re: Project advice - Multiple audio in, single out, auto switch

 by angelsix ¦  Wed Jan 05, 2011 7:57 am ¦  Forum: SparkFun Product Questions ¦  Topic: Project advice - Multiple audio in, single out, auto switch ¦  Replies: 14 ¦  Views: 1482

One of the things I noticed is the mux has a single output so I may try to get a quad output. That is presuming that I need to send out the audio grounds as well as they may vary to the circuits gnd correct?

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