Search results

  1. CommanderLake

    8 (7.1) channel analog volume control

    Yipee I solved the problem, bitwise operators dont work in if's.
  2. CommanderLake

    8 (7.1) channel analog volume control

    This is my code: high C.2 symbol sout=C.0 symbol vnob=C.1 symbol cs=C.2 symbol sclk=C.4 symbol vol=b0 let vol=0 main: readadc 1,b1 if b1=vol then pause 10 goto main endif vol=b1 b1=b1*3/4 low cs for b2=0 to 1 if b1 & 128=128 then high sout else low sout high sclk low sclk...
  3. CommanderLake

    8 (7.1) channel analog volume control

    Dam theres no bitshift on my 08M2 and I get a syntax error with the AND function picaxe.com/BASIC-Commands/Variables/let/ Well I dont need bitshift but & keeps giving syntax error?
  4. CommanderLake

    8 (7.1) channel analog volume control

    Oh yea thanks its so obvious now!
  5. CommanderLake

    8 (7.1) channel analog volume control

    I know I can do that but I cant split the byte variable from the ADC to bits so I can "bit bang" them.
  6. CommanderLake

    8 (7.1) channel analog volume control

    This picaxe has no SPI support so I have to do it the hard way but I dont know how to separate the input variable from the ADC into bits so I can do SPI manually?
  7. CommanderLake

    8 (7.1) channel analog volume control

    Yipee I just knocked up the 08M2 starter kit and attached a 10k pot to the test board and it reads the value with the ADC! I also have the velleman symmetrical power supply ready to go, the transformers are here now I'm just waiting for the farnell delivery with all the important bits. Just got...
  8. CommanderLake

    8 (7.1) channel analog volume control

    I got the solderless breadboard and a jump wire kit to go with it both from my local Maplin.
  9. CommanderLake

    8 (7.1) channel analog volume control

    I already ordered all the components from Farnell that's my favourite supplier and I dont intend on making it a product its just my personal solution I dont think I could handle the work required to resell my preamp project, I'm just trying to learn as much as I can about what is to come...
  10. CommanderLake

    8 (7.1) channel analog volume control

    Can you recommend somewhere I can get the PCB made after I breadboard it?
  11. CommanderLake

    8 (7.1) channel analog volume control

    Dont you do PCB design?
  12. CommanderLake

    8 (7.1) channel analog volume control

    The Diptrace schematic is coming along well, I have a 10k pot for the volume control with an ADC input but I'm having trouble deciding what phono connectors to get, do I want to run 16 wires to the phono sockets or use PCB sockets and get the case dimensions just right.
  13. CommanderLake

    8 (7.1) channel analog volume control

    On page 10 of the PGA2311 datasheet it says: The length of the shift regis-ter is 16 • N bits, where N is equal to the number of PGA2311 devices included in the chain. does the • (dot) mean multiply?
  14. CommanderLake

    8 (7.1) channel analog volume control

    Thanks for all your help, so to keep the SCEN high do I just connect them to the power supply with a resistor or something? Also I just read about decoupling caps and the article said a smaller cap is required for higher frequency loads. I came across a forum thread where someone discussed a...
  15. CommanderLake

    8 (7.1) channel analog volume control

    Have you given up on me? Why are decoupling caps usually aluminium electrolytic then film? Cant I just use a big film cap?
  16. CommanderLake

    8 (7.1) channel analog volume control

    The PGA2311 has an SDO pin to daisy chain them together. Hang on if I'm not allowed to leave the serial in on the picaxe disconnected what do I connect it to? Do you think I should use separate supplies for digital and analog +5v or just use 1 symmetric supply? Can I connect the ZCEN pin of all...
  17. CommanderLake

    8 (7.1) channel analog volume control

    PicAxe looks great what size do you think I need?
  18. CommanderLake

    8 (7.1) channel analog volume control

    There's only stereo PDIP chips so I would need 4 of either PGA2310 or PGA2311, the 2310 has a wider input voltage range at the cost of slightly more distortion. Then I need a micro controller and a PIC programmer such as the Velleman K8048, the programming shouldn't be a problem that's another...
  19. CommanderLake

    8 (7.1) channel analog volume control

    We all have to start somewhere and yea I have done a few Velleman kits including the K4004B, K4006, K8084 and a few K1823's.
  20. CommanderLake

    8 (7.1) channel analog volume control

    I have watched lots of educational videos on youtube I might be able to manage it, maybe theres a cheap SMD kit I can practice on
Top