Pwmpal question
Tibo
Posts: 81
Hello all,
I want to drive the 'Cybot' H-Bridge using a PWMPAL.
My question is :
In order to save some I/O ont my BS2e (not OEM, standart), can I use the PWMPAL alone (not under the BasicStamp, but side by side), and if yes what wiring shall I do ?
Ialready thought of natural answer : if not used all I/O of the PAL are set as inputs...BUT this does not solve my lack of I/O ont he stamp since I'd like to use 4 of the PAL output AND all the stamp I/O.
So i'd wire only the P0 pin from the Stamp to the PWMPAL, but I dont know about power and electrical issues...
Can you help ?
Thank you
Post Edited (Tibot) : 10/10/2005 8:24:08 AM GMT
I want to drive the 'Cybot' H-Bridge using a PWMPAL.
My question is :
In order to save some I/O ont my BS2e (not OEM, standart), can I use the PWMPAL alone (not under the BasicStamp, but side by side), and if yes what wiring shall I do ?
Ialready thought of natural answer : if not used all I/O of the PAL are set as inputs...BUT this does not solve my lack of I/O ont he stamp since I'd like to use 4 of the PAL output AND all the stamp I/O.
So i'd wire only the P0 pin from the Stamp to the PWMPAL, but I dont know about power and electrical issues...
Can you help ?
Thank you
Post Edited (Tibot) : 10/10/2005 8:24:08 AM GMT
Comments
Nobody ever took the PWMPAL aside from the BasicStamp ?
pin 5 to pin 5 (p0 for data)
pin 4 to pin 4 (Vss, ground)
pin 23 to pin 23 (Vss, ground)
pin 21 to pin 21 (Vdd, +5 volts)
The connections to Vss and Vdd would not have to be made right on the corresponding Stamp pins. You could find those voltages elsewhere in your system.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Thank you Tracy !
I tried, re-tried, did a first pcb, then a second...then I checked if pwmpal was not dead ( ) wasn't.
Can't make it run side to side to the BS2...
Dont you think it needs the Vin(p13) pin connected also ?
Thank you !
First, you're using the PWMPAL differently than we designed it, so be very careful.· Next, you need to make these connections:
- Vdd
- Vss
- Rst
- Sio
The attached diagram shows where the connections are on the PWMPAL.· I suspect you neglected the RST line and I confirmed that if this is not connected (I popped my PWMPAL into the breadboard of a PDB) then there is no communication between the devices.· Note that any of the pins on the PWMPAL that have no names are just blank sockets.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Thank you for the hunt Jon , I really appreciate the time and energy you spend supporting us.
Thank you.
Connect: Vdd, Vss, Rst, and Sio to the BASIC Stamp so that the software demos we provide will work. And you'll be on to writing code instead of troubleshooting hardware -- that's much more fun!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Thank for all Jon !