Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Thread Closed: Became flame-war

???
07/31/08 04:32
Read: times


 
#157151 - Additional specs. Can you do it?
Responding to: ???'s previous message
All good comments: The outputs will run small relays, so probably an AND gate would suffice to bring the power up to be able to hold a relay open (or closed as the case may be with the coil wattage of a relay at issue).
Ok.. we were understadut the Chip we originally referenced had 16 inputs , in the case that it doesn't and the easiest to get for the least money are 12, then us 12,its ok. This is the first pass, we plan more for later projects and this was just to get us started. (we really need a shell program that we can modify ourselves in the future. Its too much for us to reinvent something you guys probably use everyday. ).
INPUTS: We don't know what the chip we originally asked about could do for inputs, our old knowledge seems to say 0-5v input is safe and easier to work with. But you can tell us what they can go up to. We can always , as said , divide it down to what we need. (or up if needed).
Bits of resolution can be small since its only 2 significant digits we are worried about. 3 bits is plenty and since always positive you don't need an extra bit for plus/minus.

(If sensor input is high "enough" impedance, doesn't that mean you don't need buffering? Low impedance creates alot of problems with each stage looking back into the last stage in this case the sensor , as we understand it. )
Just say input voltage range is 0-5 since we can fix it to that in any case. The sensors will be various but one example is a temperature sensor.
Ok use any sort you want.. bubble sort is just one example to get us started. After we work that out and make it work with our equipment then we'll be ready to pursue other logic schemes that are more robust and flexible.

One commentor said that spikes could ocur which would be almost impossible with a temp sensor, but one could always use a low pass filter on the input if worried about that.
Thanks for your comments. Now , can you do it?

==========================================================
Having 16 outputs that should be either 0V or 5V is easy. It is just a digital output from a chip supplied from 5V. Possibly buffered by a buffer chip or transistors if you need more power.

But the need for buffering can't be known, unless you tell what the outputs are expected to be used for. That affects their need for short-circuit-protection, or protection for over- or undervolages, ...

Having 16 analog inputs is something else. Most microcontrollers have 1, 2, 4 or maybe 8 analog inputs. Some may even have 12, but the availability of a microcontroller with 16 ADC inputs is quite low. To my knowledge, Silabs are the only ones.
But it isn't enough to specify that you need 16 ADC, you also need to specify number of bits of resolution, and the voltage range they should measure. Is it between 0 and 5V, as your example seem to imply?
Not only do you need to specify the input voltage range, but also what type of sensors you will connect, so it can be known if they are extremely high-impedive (requiring analog buffering) or if there may be a need for other adaptations. This bsort is the "how" for the this first pass.
Another thing. I don't know how many times you write about bubble sort. Are you 100% sure that you need/want bubble sort? A customer normally only specify what should be done, not how, unless the "how" is important.

How do you know that you need a bubble sort, and not insertion sort, quicksort, radix sort, heapsort, ...?

List of 73 messages in thread
TopicAuthorDate
ATMEL AT89C52 Help?            01/01/70 00:00      
   Info            01/01/70 00:00      
      you are ignoring \'the standard\' and the fast            01/01/70 00:00      
         Not ignoring            01/01/70 00:00      
            it does not, but            01/01/70 00:00      
      Anyone want to write simple program for chip for u            01/01/70 00:00      
         \"a few hours\"???            01/01/70 00:00      
         No as simple as you may think            01/01/70 00:00      
            reply            01/01/70 00:00      
               Let's start at the beginning            01/01/70 00:00      
   A Serial Flash chip would be easier            01/01/70 00:00      
   Specification?            01/01/70 00:00      
      what about a "community project"?            01/01/70 00:00      
         Has anyone offered complete C++ for 805x?            01/01/70 00:00      
            yes??            01/01/70 00:00      
               Subset            01/01/70 00:00      
            Would Object Oriented Techniques Be Of Advantage?            01/01/70 00:00      
      Reply specs.            01/01/70 00:00      
         More specifications (and less)            01/01/70 00:00      
            Additional specs. Can you do it?            01/01/70 00:00      
               16 temperature inputs, relay outputs.            01/01/70 00:00      
                  problem is in software            01/01/70 00:00      
                     Lets first choose a chip.            01/01/70 00:00      
                        how many are you going to make?            01/01/70 00:00      
                        It is not just a voltage            01/01/70 00:00      
                  We want to keep it simple            01/01/70 00:00      
         MicroManagement ...            01/01/70 00:00      
         Narrowing it down            01/01/70 00:00      
            More specs again            01/01/70 00:00      
               ATMEL AT89C52            01/01/70 00:00      
                  More hw info needed            01/01/70 00:00      
                     Ok. thanks            01/01/70 00:00      
                        Don't assume. Don't "let's say". Go specific!            01/01/70 00:00      
                  dtraight from the horses mouth            01/01/70 00:00      
               Be Specific            01/01/70 00:00      
            shameless self-advertisement            01/01/70 00:00      
               Hi Jan, some user guide?            01/01/70 00:00      
                  documentation... is always a pain... ;-)            01/01/70 00:00      
                     sometimes "hobby projects" are better off            01/01/70 00:00      
                        what's that?            01/01/70 00:00      
                           a techwriter is            01/01/70 00:00      
                              oh I see            01/01/70 00:00      
                           The REAL issue with documentation            01/01/70 00:00      
                              ever done a hobby project, Richard? ;-)            01/01/70 00:00      
                                 not since the '60's ... well, maybe the '70's            01/01/70 00:00      
                                    well, IMHO, hobby projects are exactly the opposite...            01/01/70 00:00      
                                       remember the reference to Ultramon51?            01/01/70 00:00      
                                          the reward of hobbyist            01/01/70 00:00      
                                             the hobbyist does not need formal documents            01/01/70 00:00      
                                                hobbyist????            01/01/70 00:00      
                                             hobbyist - beginner            01/01/70 00:00      
                                                It's a tradeoff            01/01/70 00:00      
                                             Target goals and check lists            01/01/70 00:00      
                              naah            01/01/70 00:00      
                                 Smaller companies have to run fast            01/01/70 00:00      
                                    the sad thing is            01/01/70 00:00      
                                       Progress            01/01/70 00:00      
                     program interpreted from i2c eeprom?            01/01/70 00:00      
                        possible, but why?            01/01/70 00:00      
                           Waiting for first proposal for whole project?            01/01/70 00:00      
                              Waiting for complete and precise requirements            01/01/70 00:00      
                                 Lets keep on track.            01/01/70 00:00      
                                    A joke?            01/01/70 00:00      
                                       Well said            01/01/70 00:00      
                                       FOR SHAME !!!            01/01/70 00:00      
                                          Taunting?            01/01/70 00:00      
                                          You asked            01/01/70 00:00      
                                          There are AND gates that might work            01/01/70 00:00      
                                             Posible            01/01/70 00:00      
                                                Well ... depending on the relay ...            01/01/70 00:00      
                                                   Useful for others?            01/01/70 00:00      
                                    Off track? Not at all! Tell us what you want ...            01/01/70 00:00      
   shematic 1            01/01/70 00:00      

Back to Subject List