Announcement

Collapse
No announcement yet.

Help to design a PCB for my PI design!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Originally posted by Unregistered View Post
    hung-mung-fung-chung your posts are so funny! brasil is very poor country. pitty and sorry, but you will suffer from economic crise more and harder than many countries in eu. so dont fool yourself, brasil will never become leading country, except maybe in soccer and carnivals. you said author is brasilian...so what? every countr and every nation do have brilliant minds and good people - thank God to that. aitn not generally bad country or bad nation or good country and good nation. every nation has bad and good examples for everything. you are so funny..ha,ha,ha! lrl does not work anymore? so you are looking to harass on some other subject here? ha,ha,ha!
    Dear Unregistered,

    It was not my intention to go off topic here or mess with this thread. I just stoped by to greet Max and welcome him back. But given your terrifying ignorance about some subjects which in fact might be contagious to people who read your 'words', I feel I need to repel it and avoid your ignorance be spread.

    First your ignorance on economics is clear. I will not explain to you the LM and IS graphic curves of macroeconomics which I'm positive would be too much for your 2 neurons, but I just suggest you to read any good economics journal and you will see that all economics experts know that Brazil is not much affected and will hardly be, due to our current macrostate. In fact yesterday, our government released the news of retaking positive results of industry according IPEA.

    Yes, we have many problems. But Brazil is a rich country. Much richer in natural resources than any country in the world. Just see the amount of niobium that we export to US for instance so they use it in their space program.

    Yes Brazil will lead the world soon. Only this 'soon' is not clear yet when it's gonna be. Maybe you and I will not be here to see it. But with the present state of US and Europe, it might come ealier than thought.

    Regarding LRLs yes, they are finer each day. Only with the present state of ignorance you present about the subjects above, it will take eons until you build a working one.

    Good luck, best regards to you and family and I suggest you don't skip classes to much. No good for your education.
    Bye and let's leave the folks here resume their thread.

    Comment


    • If it was according to my wishes and dreams; than every people on this planet should be rich enough and to live very good, without any type of crise. But it is not always as we dream and want. So i would like to se your country grows and prospect much, same as my. But rude reallity does not aprove that. Incoming economic crise will affect everybody on this planet. Rich (financial) will suffer less and poor will suffer more. It was always like that.
      So Brasil as very poor (financial) country will suffer much. Pitty again, but it will. Hunger is new world problem. Niobium you can not eat. Niobium depostits mean nothing to ordinary people in Brasil. USA can always stop importing niobium from Brasil, if not from other reasons than just in political and strategic reasons. To stop not for ever, but just for year or two. So what you gonna do than? Eat niobium? Ha,ha,ha! I am ignorant, i admit. But your naive ignorancy is poetic!
      Shut up and do what you usually doing (lrl and blah,blah stuff) and dont loudmouth to much, otherwise your stupid appearances may attract some attention to USA and you may give them some more wird ideas!!! Ha,ha,ha!!!

      Comment


      • "....Hung(er) is new world problem..." !!!!
        Do i see some secret meaning in this or it is just coincidence!!

        Comment


        • Originally posted by hung View Post
          Yes, and guess what? He's Brazilian!
          Land of brilliant minds.
          Any doubt Brazil will lead the world after US and Europe almost broke it financially?

          By the way Max, welcome back to GEOSKEPTHIC forums. I missed your Irish Whiskey!
          Any findings with the PD yet?
          Best regards.
          Hi,
          the PD ? No... I'm not going for treasures these days... also it's still very cold here , not good for real hunting.

          My PD is in a pvc box at now... I had to make new experiments with it but now I don't know when I could resume it to service!

          I'm doing bad... no lab, no mess of wires around... no piles of burnt ics

          Kind regards,
          Max

          Comment


          • Hi 1843 ,
            excuse me for late reply .

            "The ATmega8 has Hardware Timers, I guess these can be used here. The ATmega8 has Hardware Timers, I guess these can be used here. "

            I see it has timers ,but does not it own just one S&H cap inside it's ADC ?
            so ??
            think that you got first sample , you have to wait till ADC converts it to numbers.do you know the signal before measuring ?answer is no ,so you do not know how much will it take for measuring for inner ADC. so how can you get second sample in precision timing.
            lets say you got first sample at 10us ,can you say you can get second at 30th us.

            Comment


            • Originally posted by okantex View Post
              Hi 1843 ,
              excuse me for late reply .

              "The ATmega8 has Hardware Timers, I guess these can be used here. The ATmega8 has Hardware Timers, I guess these can be used here. "

              I see it has timers ,but does not it own just one S&H cap inside it's ADC ?
              so ??
              think that you got first sample , you have to wait till ADC converts it to numbers.do you know the signal before measuring ?answer is no ,so you do not know how much will it take for measuring for inner ADC. so how can you get second sample in precision timing.
              lets say you got first sample at 10us ,can you say you can get second at 30th us.
              I think exact ADC timing can be done like this :
              start timer (this should be preset to maximum ADC conversion time)
              start adc
              poll adc until done
              poll timer until done

              Like this, the ADC will always take the same time... or not ?
              Of course this could be done with interrupts, too, but this will add some overhead and make things a bit complicated.

              If the maximum ADC conversion time is too long for a good PI...
              then you will need an external ADC IC or a different Microcontroller or a few S&H Circuits.

              Comment


              • Now the next step is to program an ATmega8 for this PI!

                Comment


                • I agree with Sean for use of assembly.
                  Though a little tough, assembly gives you the control and flexibility. And, a large amount of libraries are available for AVRs, on the web to reduce your burden.

                  Comment


                  • Originally posted by okantex View Post
                    lets say you got first sample at 10us ,can you say you can get second at 30th us.
                    Yes, I can.

                    Originally posted by Unregistered View Post
                    Now the next step is to program an ATmega8 for this PI!
                    Unregistered,
                    Which schematic are you going to use...? Notice that the Hex file is for the previous schematic.

                    Qiaozhi is drawing a new schmatic (or maybe a new PCB layout).

                    Regards,
                    1843

                    Comment


                    • Originally Posted by okantex
                      lets say you got first sample at 10us ,can you say you can get second at 30th us.
                      Yes, I can.

                      Hi 1843 ,

                      excuse me again , I am trying to learn.........
                      lets say atmega's S&H cap captured first sample in 2,5us after you hold on related pin.
                      to get second sample ,first atmega has to analyse first sample and empty the S&H cap.
                      I dont know ,so get it as question ,does atmega own a second timer to count caps slope integral growts?if it has second timer ,there is no problem.
                      then I have second question ,how long will it take for the second timer to count it. what are possible max. and min. values?



                      and another question for Sisco ,
                      why A (1 count ) is 3,75us?
                      is not each step of software equal to 1/ 8.000.000 seconds?
                      3,75us is 30times mor than this value,can you explain me howto calculte?

                      btw is the software algoritm above all the thing you have to write for controllling the unit ,or just a part of it? is it possible for me to see all with start descriptions of chip.how do you program it ,by bascom avr??


                      regards all
                      Okantex

                      Comment


                      • ADC conversion time of atmega644 is varying between 565us and 260us.

                        total RX delay time is around 270us , so we wont have chance to get second sample from same curve .
                        anyhow , we can still do it by one sample ,cause frequency of detection will be higer than our swinging rate.

                        but still wonder why each step of software is 3,75us while counting for A

                        Comment


                        • Hi 1843,
                          Why not explain your algorithm now, your code will be disassembled anyway, much nicer if you can reveal yourself the methods…..or have you stepped on patents?

                          Thankyous & Regards

                          Comment


                          • Originally posted by Unregistered View Post
                            Hi 1843,
                            Why not explain your algorithm now, your code will be disassembled anyway, much nicer if you can reveal yourself the methods…..or have you stepped on patents?

                            Thankyous & Regards
                            Disassemble?! Huh! If you have tons of time, you can do so. You are very sure of yourself!...anyway!

                            Most likely new files will be posted next weekend.

                            Comment


                            • Hi,
                              If your source code is in assembly language, it doesn't take to much time to disassemble a working code. But if it is written is C or other high level language, it takes some time to decompile it.
                              Attached examples are from ReAVR V3.2.0 and AvrStudio V4.16.
                              Attached Files

                              Comment


                              • New schematic

                                Hi 1843,

                                Please find the updated schematic attached. Let me know if you spot any errors, before I modify the layout.

                                Note: There were a couple of mistakes in your posted schematics:
                                1. The 2 opamps were show with pin8 as +V, when it should be pin7.
                                2. C8 was connected upside down (wrong polarity).
                                Attached Files

                                Comment

                                Working...
                                X