Basic Stamp2 OEM
TerryR
Posts: 39
Hi, Can anyone advise me where I can purchase the EEPROM 24LS16B chip for the Basic Stamp2 OEM
It's been in my odds and ends draw for some time and now when connecting to my computer via the RS232 Serial Port the Edit software comes up with the message "Basic Stamp2 not found", This did happen in the early days and a new eeprom corrected the problem.
TerryR
It's been in my odds and ends draw for some time and now when connecting to my computer via the RS232 Serial Port the Edit software comes up with the message "Basic Stamp2 not found", This did happen in the early days and a new eeprom corrected the problem.
TerryR
Comments
https://www.digikey.com/product-detail/en/microchip-technology/24LC16B-P/24LC16B-P-ND/109819
advice.
TerryR
Did you assemble this module from a kit or buy it assembled from Parallax?
Parallax sold assembled BS2-OEM modules back in the early 2000s.
Yes I did buy my BS2-OEM from Parallax in the early 2000nds. It was already assembled and alas it had the same problem.
I managed to locate John Smith in Leeds who was able to repair it for me. He said replacing the EEprom put things right. I bought the BS2 with the idea of developing a program to rotate a solar panel to follow the sun. I ran into mechanical problems and wasn't able to complete the program, so I thought I would have another go. My checks on my BS2 look to be normal. The Editor software shows which port it's connected to and when DC is connected Loop back and Echo have a Yes and it seems to make no difference if the EEprom is removed.
Terry
But my alter-ego says he's never been to Leeds. Must be another individual with the same name then.
(Think of the name chosen by the Doctor during his stay on Earth.)
No, I'm afraid my Basic Stamp2 OEM is not working, the BS2 Editor still comes back with "No Basic Stamp found"
I have ordered a couple of eeproms from CPC, but they are temporary out of stock. At the moment
I'm hoping the problem will be something minor. I'm using 4x 1.2V rechargable AA batteries and the circuit voltage is 5.3Volts. I'll just have to wait for the eeproms to arrive.
"John Smith from Leeds" Sorry not enough information there. I should have said John Smith (Technical Support) of Milford Instruments Ltd, Leeds. I have emailed him with no success. I've recieved feedback: "Address not known".
Terry
It could be the brown out detector. You can remove it for testing just make sure your battery voltage is sufficient. The ground plane and the pin connections on the old OEM board is tight so make sure there is no shorting or sloppy soldering.
First, check that the Interpreter and EEPROM are fully inserted into their sockets and that none of the pins are bent.
Also, look at each of the solder connections for anything that may be suspect.
I assume your battery pack is attached to Vin so what voltage are getting from Vdd?
I am 82 this year, and unfortunatelly my soldering skills have deminished (eyesight and shakey hands), but now you folks have poked me in the right direction I can at least check out the Xtal oscillator etc with the scope. The microprocessor fitted to this BS2-OEM has 28 pins PIC16C57C.
Problem, I can't find any for sale; not even on Ebay. Except for the Eprom all other chips (Interpreter etc) are included in the Pic chip.
I am feeding +5.0 Vdc to the Vdd and 0.0 volts to Vss pins on the BS2 board, as I believe I would need 9-12Vdc to enable the 5volt Regulator via Vin and Vss
Strange thing here, I can't remember livening up the BS2 board when I was programming? I just connected the computer, which has the old XP software, RS232 Serial port to the BS2 Serial port via a cable. I have now purchased a RS232 Serial to Usb converter to connect it to my Windows 10 PC, but the Basic Stamp is not found useing that either. I shall keep looking and bring you up to date when it happens.
Terry
Many thanks for the BS2 PDF circuit.
I have good and bad news? While probing about with the scope the little rascal came to life, so I continued clicking on new Editor programs until it finally went back to the No Basic Stamp found. So it looks like a bad connection somewhere.
I'll remove the plug in Eprom and PCU and have a go at resoldering all the joints.
Best regards Terry.
Which RS232 to USB converter are you using?
Programming the BS2 requires very strict timing so it will fail with some cheap converters.
A very good question and thanks for asking; fortunatelly, not knowing the problems attached to the converters, I bought mine from Parallax Part number #28030.
Best regards Terry
So you have the Parallax USB-to-Serial Adapter which is guaranteed to work with the BS2.
Yes your right, I have bought a Parallax USB-to-Serial Adapter for the BS2. I realise my BS2 has an intermittent fault. I'm hoping to solve the problem by resoldering the track side joints.
Terry
I'm still trying to get my BS2-OEM working. I have resoldered all joints I considered dodgy, but alas I'm getting "No Basic Stamp found"
I have the BS2 connected via RS232 Serial Port to my old Windows XP, which has downloaded Basic Stamp Editor.
The BS2 is connected to 5.2Volt on it's Vdd+ and Vss Ground pins. I'm using a 10X probe and my scope is set for 1.0V per div.
EEprom pins 5-Data and 6-Clock show wave forms, but on the Xtal pins 26 and 27 on the BS2 chip no wave forms show.
Clicking on "identify" in the Editor screen The display shows (Port com-1) (Device Type (empty)) (version (empty)) (Loopback (yes)) (Echo (yes)) Clicking on "Run" results with "No Basic Stamp found" No wave forms on the Xtal looks a pretty obvous problem, but I'm not sure what could be the cause?
Terry
Regards,
Dave
Yes I could take some close up photos, but I'm not sure how to post them here? Ok I'll take some photos and see if I can upload them.
Terry
My photography skills are not too good. I took these with my android phone. I hope they are not too big, as I didn't realise they are over a Meg pixel.
The last program I Tokenized operates the hardware fine, but alas it won't Tokenize any further programs, as yet.
Terry
(edit: I'm trying to summarize)
-This board was purchased from Parallax and all components are fully assembled and soldered from the beginning.
-Powered by batteries connected to directly VDD (not via VIN) at 5.3V.
-I2C signals SCL and SDA of 24LC16B are alive.
-But PIC's oscillator signal is silent.
As if MCU is in SLEEP...
Thank you for your interest. Yisiguro, here is some history of my BS2 OEM's. I purchased it from Parallax in 2009 completely assembled. After some months, still in it's package, I decided to experiment with a short program "traffic lights sequence" Unfortunately I found when clicking on RUN, in the Editor, my monitor would display "No Basic Stamp found" I had it repaired by a recommended Parallax contractor. On close examination I could not see any new soldered joints, but was told they just replaced the EEprom. After it's return I have written and run quite large programs with no problems at all. But it has been in it's box since 2011. Two weeks ago I found it's not working again with the same fault. I had saved some of my programs to the Editor. While testing during the last couple of weeks the Editor began to work, so I selected my "Traffic lights" program and clicked "RUN" I was pleased to see the Debug window, proving the traffic lights program had down loaded. The BS2 OEM will now drive the Traffic lights hard ware, but I can no longer download any other software.
I get your point Bob; I could purchace another 20Meg xtal and a couple of transistors etc. I'll give it a go on a bread board and see what happens.
Terry
Good thought, but I haven't got such a thing. I'm pretty sure the BS2 hasn't burnt up. Do you know of a way I could test the XTAL if I removed it? I have a signal generator and a 200Mhz Scope.
Terry
That is, you say, your BS2 still acts Traffic Light Sequencer EVERY TIME after resetting the board, for example, powering on, failing download another code, right ?
According to Tokenizer Manual "BASIC Stamp Programming Protocol", BASIC Stamps have severe communication timing.
If RES is asserted too long and relatively break condition of Tx is shorter, BS2 chip does not respond to host PC, and then run already stored code Traffic Light Sequencer, I suspect.
(edit:)
I tried some simulation with LTSpice:
Predicted duration of RES pulse is about 4msec long at 10V(peak to peak) of DTR line.
(edit:)
I tried measuring pulse width of DTR and TXD, but its result is not what I expected.
Actually, pulse width of DTR is only 10m, and of TXD is 70m second long.
This result shows that RES pulse width is not longer than 10m second and there is enough time to last break condition of Tx.
So, RES signal is not guilty.