About the microcontroller, I agree with ALBQ.
I haven't tried BasicAtom. In my opinion, BasicStamp is very easy to work with. The programming language is very simple and powerful.
I haven't tried BasicAtom. In my opinion, BasicStamp is very easy to work with. The programming language is very simple and powerful.
Hello All
ALBQ:
Regarding your suggestion for a basic atom....Your idea and work are pretty nice, but can we go to the basics for a little bit.
As you know, basic stamps fetch thier instructions from a flash memory that resides on the stamps DIP, I remember they use I2C communication, correct me if I am wrong....Now, the PIC fetches its instruction from the flash memory inside it, and the communication is far away than I2C, so, the PIC fetches its instructions at much higher speed than stamps do....Also, if you look to the price, we can say that PICs are much more pocket friendly option, not forgetting that I have more port pins than stamps do....
Hau and abidr:
Nice schematics, you seem to use Protel 99, and I use EAGLE, but no problem, I will have to do some modifications later, I will post the schematics when I finish, and you all nice guys comment and suggest 🙂
Regarding people who want to use stamps, you can post your work in parallel with our work that is based on PICs, that will be more logical way to do things 🙂
abidr:
Controlling the QS5.1 is piece of cake for me, but can you please consider rearranging the PCB blocks again, as I already have said, soldering the chip is a night mare for many guys, and bearing in mind that the chip is not easily available in many countries.
So, Lets do it that way abidr:
1. Microcontroller PCB: Contains PIC16F877A, 5 PGA2311, Buffers , buttons, rotary encoder, and relays.
2. QS5.1 PCB
3. Power supply PCB: Contains all regulators and capacitors, in addition to bridges and trans...
4. LCD PCB: Contains LCD module and IR receiver.
5.Remote control transmitter.
Now, to be as clear as possible, I can do the part of controlling PGA2311, QS5.1, buttons, rotary encoder, and relays.
Regarding the remote control stuff, I don't know how to do it.
See ya
ALBQ:
Regarding your suggestion for a basic atom....Your idea and work are pretty nice, but can we go to the basics for a little bit.
As you know, basic stamps fetch thier instructions from a flash memory that resides on the stamps DIP, I remember they use I2C communication, correct me if I am wrong....Now, the PIC fetches its instruction from the flash memory inside it, and the communication is far away than I2C, so, the PIC fetches its instructions at much higher speed than stamps do....Also, if you look to the price, we can say that PICs are much more pocket friendly option, not forgetting that I have more port pins than stamps do....
Hau and abidr:
Nice schematics, you seem to use Protel 99, and I use EAGLE, but no problem, I will have to do some modifications later, I will post the schematics when I finish, and you all nice guys comment and suggest 🙂
Regarding people who want to use stamps, you can post your work in parallel with our work that is based on PICs, that will be more logical way to do things 🙂
abidr:
Controlling the QS5.1 is piece of cake for me, but can you please consider rearranging the PCB blocks again, as I already have said, soldering the chip is a night mare for many guys, and bearing in mind that the chip is not easily available in many countries.
So, Lets do it that way abidr:
1. Microcontroller PCB: Contains PIC16F877A, 5 PGA2311, Buffers , buttons, rotary encoder, and relays.
2. QS5.1 PCB
3. Power supply PCB: Contains all regulators and capacitors, in addition to bridges and trans...
4. LCD PCB: Contains LCD module and IR receiver.
5.Remote control transmitter.
Now, to be as clear as possible, I can do the part of controlling PGA2311, QS5.1, buttons, rotary encoder, and relays.
Regarding the remote control stuff, I don't know how to do it.
See ya
PICs, Stamps & Atoms
Metal,
I agree with your throughs on speed. If I am not mistaken, the BasicAtom is a PIC16F877 at its heart. My reason for advocating a Atom/Stamp solution to this thread was all about flexibility. For the average DIY'er who does not care to program in assembler or buy a copy of PICBasicPro and programmer, Stamps and Atoms make a lot of sense. Additionally, I am not sure the speed requirements for I2C bus initialization, volume control, relays or displays warrant much in the way of computing horse power.
How do you recommend proceeding for design/code?
Would be willing to help code the surrond 5.1 or allow the use of either chip if a PCB is made
Also, I have a really good 74LS74 rotary encoder circuit = super easy to code and dirt cheap - as well as BS2/Atom code that does everything listed with the exception of the surrond sound processing
Cheers -ALBQ
Metal,
I agree with your throughs on speed. If I am not mistaken, the BasicAtom is a PIC16F877 at its heart. My reason for advocating a Atom/Stamp solution to this thread was all about flexibility. For the average DIY'er who does not care to program in assembler or buy a copy of PICBasicPro and programmer, Stamps and Atoms make a lot of sense. Additionally, I am not sure the speed requirements for I2C bus initialization, volume control, relays or displays warrant much in the way of computing horse power.
How do you recommend proceeding for design/code?
Would be willing to help code the surrond 5.1 or allow the use of either chip if a PCB is made
Also, I have a really good 74LS74 rotary encoder circuit = super easy to code and dirt cheap - as well as BS2/Atom code that does everything listed with the exception of the surrond sound processing
Cheers -ALBQ
Re: PICs, Stamps & Atoms
Hi ALBQ,
Can you send me a copy of the BS2 code?
Thanks
ALBQ said:
Also, I have a really good 74LS74 rotary encoder circuit = super easy to code and dirt cheap - as well as BS2/Atom code that does everything listed with the exception of the surrond sound processing
Hi ALBQ,
Can you send me a copy of the BS2 code?
Thanks
BS2 Code
Jajabin,
Here is the current BS2 code for my test-bed. It includes Sony IR remote decode, PGA2310 control, quadrature rotary encoder volume, mute, tape mon, a few IO functions, greetings and serial LCD display. I have a code segment working for buttons but, I have not finalized what I want to do so, not included in the main body yet. Let me know what you think
Cheers -ALBQ
http://mywebpages.comcast.net/gillespie147/Junk/PGA2310-DigitalVolume-Encoder.bs2
I have started migrating code segments to a BasicAtom so, will be an all out effort once I figure out how I want to implment a couple more items
Jajabin,
Here is the current BS2 code for my test-bed. It includes Sony IR remote decode, PGA2310 control, quadrature rotary encoder volume, mute, tape mon, a few IO functions, greetings and serial LCD display. I have a code segment working for buttons but, I have not finalized what I want to do so, not included in the main body yet. Let me know what you think
Cheers -ALBQ
http://mywebpages.comcast.net/gillespie147/Junk/PGA2310-DigitalVolume-Encoder.bs2
I have started migrating code segments to a BasicAtom so, will be an all out effort once I figure out how I want to implment a couple more items
metal hi:
I am working on the remote control routines myself (trying to convert from 8051 code to PICs) also simon did say that he ll provide routines for I.R, as u know that PCBs are already in almost the same order with the exception that qsurround is located on the main analogue board.
As for soldering it to the PCB is concerned it is available in SOIC package and not TSSOP.
Flexibilty of design is a nice idea but trying to detrack the direction of the idea in another thing, no one should excpect that contributors of this thread are not aware of Basic Stamp and its limitation, though its a good idea but since dynamics of this thread are in another direction it would be wise enough to post that in a different thread where it could be discussed in detail.
I hope moderators and contributors do know the difference between discussion on the main theme of the thread and threadjacking.
As for provision of Qsurround5.1 I am sure that i could arrange enough chips so that each contributor will have atleast one, else emails of distributors will be forwarded.
I am working on the remote control routines myself (trying to convert from 8051 code to PICs) also simon did say that he ll provide routines for I.R, as u know that PCBs are already in almost the same order with the exception that qsurround is located on the main analogue board.
As for soldering it to the PCB is concerned it is available in SOIC package and not TSSOP.
Flexibilty of design is a nice idea but trying to detrack the direction of the idea in another thing, no one should excpect that contributors of this thread are not aware of Basic Stamp and its limitation, though its a good idea but since dynamics of this thread are in another direction it would be wise enough to post that in a different thread where it could be discussed in detail.
I hope moderators and contributors do know the difference between discussion on the main theme of the thread and threadjacking.
As for provision of Qsurround5.1 I am sure that i could arrange enough chips so that each contributor will have atleast one, else emails of distributors will be forwarded.
Hi ALBQ,
Several ideas about your program.
1. The program needs to be optimized. Your program is running out of space for both regiser and program memory. For a 5.1 system, you need 6 extra bytes of register space. 8 bytes for 7.1 system..
2. An extra EEPROM is needed to store Volume level after power down the system.
Can you post the spec of your IR chip?
Thanks
Several ideas about your program.
1. The program needs to be optimized. Your program is running out of space for both regiser and program memory. For a 5.1 system, you need 6 extra bytes of register space. 8 bytes for 7.1 system..
2. An extra EEPROM is needed to store Volume level after power down the system.
Can you post the spec of your IR chip?
Thanks
Hello abidr
You know, I have already started working on this project...
Today I finished the following:
1. New rotary encoder code. "Tested"
2. PGA2311 code. "Not tested"
3. Displaying volume as a dB and bar graph on the LCD code. "Tested"
4. Controlling mute relays and I/O management relays. "Not tested"
I think I have finished my part for now, I will be waiting for the IR code to post the whole compiled code on the forum along with the final schematic.
Hey abidr, check your mail...
You know, I have already started working on this project...
Today I finished the following:
1. New rotary encoder code. "Tested"
2. PGA2311 code. "Not tested"
3. Displaying volume as a dB and bar graph on the LCD code. "Tested"
4. Controlling mute relays and I/O management relays. "Not tested"
I think I have finished my part for now, I will be waiting for the IR code to post the whole compiled code on the forum along with the final schematic.
Hey abidr, check your mail...
hi guys
please let me know what i can help.
like what i had promised i help do all the pcb layout but i want the schematics to be the final.
cheers,
ferds
please let me know what i can help.
like what i had promised i help do all the pcb layout but i want the schematics to be the final.
cheers,
ferds
Hello hau
Thanks for your contribution in this project, we really appreciate your help man.
I am still working on the codes and will release the latest schematics when all tested. I am waiting for PIC16F877A to shipped from a friend along with Qs chip. schematics will be ready as soon as I finish all the code parts.
Thanks
Thanks for your contribution in this project, we really appreciate your help man.
I am still working on the codes and will release the latest schematics when all tested. I am waiting for PIC16F877A to shipped from a friend along with Qs chip. schematics will be ready as soon as I finish all the code parts.
Thanks
for those who would be interested in the project, software of the program is being worked out along final schematics and will be posted at the forum as and when they are proceeding.
comments schematics
Relay Board
1. U1, 1000uF at power supply, is that realy necessary ?
2. U3, QS5.1 decouple with 100u, 100n, 1n and an R in the powersupply line.
3. Input impedance, cd-players and ect like to "see" 47k
Controller Board
1. I see that you are using the RB0..7 pins for the LCD interface.
These are irq on change pins which can be used nicely for keys, rotaries and IR .
2. Change the 100k resistor in the nMCLR Line to 4k7
grtz
Simon
Relay Board
1. U1, 1000uF at power supply, is that realy necessary ?
2. U3, QS5.1 decouple with 100u, 100n, 1n and an R in the powersupply line.
3. Input impedance, cd-players and ect like to "see" 47k
Controller Board
1. I see that you are using the RB0..7 pins for the LCD interface.
These are irq on change pins which can be used nicely for keys, rotaries and IR .
2. Change the 100k resistor in the nMCLR Line to 4k7
grtz
Simon
Re: LCD & IR BOARD
I have a couple of suggestions regarding the LCD & IR board schematic. First, the contrast pot for the LCD can be connected as a variable resistor to ground, rather than a voltage divider. The darkest display is generated with VLCD shorted to gnd, and it gets lighter as the resistance is increased.
Second, and most importantly, clean up the power supply for your IR module. These suckers are extremely sensitive to power suppy noise, and can inject noise themselves too. Place a resistor, around 33 ohm, from the +5V supply to the Vcc pin, and place a small cap, say 1 to 10 uF from the Vcc pin to ground. This will dramatically increase the reliability of the IR signal. I speak from experience here.
The PIC has a built-in 256 byte EEPROM so there is no need for an external one.
I have a couple of suggestions regarding the LCD & IR board schematic. First, the contrast pot for the LCD can be connected as a variable resistor to ground, rather than a voltage divider. The darkest display is generated with VLCD shorted to gnd, and it gets lighter as the resistance is increased.
Second, and most importantly, clean up the power supply for your IR module. These suckers are extremely sensitive to power suppy noise, and can inject noise themselves too. Place a resistor, around 33 ohm, from the +5V supply to the Vcc pin, and place a small cap, say 1 to 10 uF from the Vcc pin to ground. This will dramatically increase the reliability of the IR signal. I speak from experience here.
jajabin said:Hi ALBQ,
Several ideas about your program.
...
2. An extra EEPROM is needed to store Volume level after power down the system.
...
The PIC has a built-in 256 byte EEPROM so there is no need for an external one.
blu_line ....
Relay Board
1. U1, 1000uF at power supply, is that realy necessary ?
2. U3, QS5.1 decouple with 100u, 100n, 1n and an R in the powersupply line.
3. Input impedance, cd-players and ect like to "see" 47k
Controller Board
1. I see that you are using the RB0..7 pins for the LCD interface.
These are irq on change pins which can be used nicely for keys, rotaries and IR .
2. Change the 100k resistor in the nMCLR Line to 4k7
1. I think you mean ULN2003, If so, then its really necessary, and a must, this IC supplys power to realys, and should be well decoupled to prevent it from imposing noise to the power supply rails.
2. I think 10uF and 1nF are enough here...
3. Good point 🙂 Thanks !!
1. I have already done that in my code, I am using PortA already.
2. I am using 1K resistor any way 😉
macboy ....
I have a couple of suggestions regarding the LCD & IR board schematic. First, the contrast pot for the LCD can be connected as a variable resistor to ground, rather than a voltage divider. The darkest display is generated with VLCD shorted to gnd, and it gets lighter as the resistance is increased.
Second, and most importantly, clean up the power supply for your IR module. These suckers are extremely sensitive to power suppy noise, and can inject noise themselves too. Place a resistor, around 33 ohm, from the +5V supply to the Vcc pin, and place a small cap, say 1 to 10 uF from the Vcc pin to ground. This will dramatically increase the reliability of the IR signal. I speak from experience here.
Good suggestions, but bear in mind that I am using the PIC to change contrast, so, no need to use any Pots here.
Concerning the IR stuff you are talking about, thats really good thing to mention, you have already saved me lots of hard debugging time 🙂
Any way guys, all these schematics you see are still preliminary and has nothing to do with the real ones I will be posting when I receive the PICs and QS5.1 chips. To be honest, I can't post any schematics until I make sure that every thing is working as it is intended to be, and by the way, all comments are always welcome, thanks for suggestions guys 🙂
I wanted to thank hau for helping at PCB design stuff, I think he will have heavy duty work later....Also thanks to abidr for his idea regarding the use of QS5.1 chip, its really amazing if used.
Please guys review the datasheets of QS5.1 and let me know what ideas you have concerning the menu to use for it.
Kind day
- Status
- Not open for further replies.
- Home
- Amplifiers
- Chip Amps
- High End Pre Group Design Invitation