I was just wondering if there is a way to connect a BasicStamp board to the K8055… let me explain what I’m looking: connect the K8055 to the PC and the BasicStamp board to the input of the K8055, the BasicStamp will run is own program monitoring multiple sensonsors, collect, evaluate the data and then send detais to the K8055 so the PC will be able to process the data, display it on fancy way and store details, even use the relay board (what is connected to the K8055) to complete multiple tasks based on this string of data send by the BasicStamp…
Think in something like your brain, there is an autonomus part that is used to control your heart and your respiration, but if you want you can hold your breath for a short time or control it to lower your heart rate.
[quote]I was just wondering if there is a way to connect a BasicStamp board to the K8055… let me explain what I’m looking: connect the K8055 to the PC and the BasicStamp board to the input of the K8055, the BasicStamp will run is own program monitoring multiple sensonsors, collect, evaluate the data and then send detais to the K8055 so the PC will be able to process the data, display it on fancy way and store details, even use the relay board (what is connected to the K8055) to complete multiple tasks based on this string of data send by the BasicStamp…[/quote]This is possible. You may use the digital outputs of the K8055 to clock out the data from the BasicStamp to the digital inputs of the K8055. The speed of the data transfer is not very high (about 300 bits/sec) but may be still usable…
Ok, Im not really good with the electronics (Im more on the software part of the deal), but let see if I understand:
I will connect one i/o from the BasicStamp to the input on the K8055 and one out of the K8055 back to other i/o pin on the BasicStamp board[color=#BF4000] (not sure here of the values, but I’m almost 100% sure a resistor should be placed between each input and output)[/color].
So on that way changing the state of the output on the K8055 the BasicStamp will know that the K8055 is ready to start reading the input (open a connection) and working with the data send by the BS, and using the same process the K8055 will confirm the transfer of Data and close the connection when all process are done…
The BS should wait for instance the rising edge of the K8055 output. When found, send the data to the K8055 input (5 bits) and wait for the next rising edge to send next data.
mmm… ok I think I get it, and what about the connection, did I will need to add something or you think will be safe to connect the BS and the k8055 directly with no problems?