| | Low level programming of the RCX
|
|
Hello everybody, I try to program the RCX at low level. I want to be able to program using the Hitachi h8/3292 directly. For example, I want to use the free-running timer, define own interrupt handlers and so on. In fact, I *really* need to control (...) (21 years ago, 12-Sep-03, to lugnet.robotics.rcx)
|
|
| | Re: Multiplexing 4 touch sensors on an RCX input port
|
|
(...) I've made one. A wall follower. I set the sensor to raw mode and looked at three ranges. It tried to stay in the middle range, which for this 'bot meant lightly touching the wall. The wall follower had a bumper analogous to a highly curved (...) (21 years ago, 12-Sep-03, to lugnet.robotics.rcx)
|
|
| | Touch Sensor resistance versus button displacement
|
|
Here is a chart showing the variation of contact resistance of several touch sensors while pressing button very progressively. (URL) There are huge differences between various sensor Lightly pressed touch sensors have contact resistance in the 2 to (...) (21 years ago, 11-Sep-03, to lugnet.robotics.rcx, FTX)
|
|
| | Re: Multiplexing 4 touch sensors on an RCX input port
|
|
"Steve Hassenplug" <Hassenplug@mail.com> wrote: [snip] (...) This has always annoyed me about the Lego touch sensors. Has anyone ever made or seen a contraption that uses the variable pressure sensitivity of the Lego touch sensors? Tim (21 years ago, 11-Sep-03, to lugnet.robotics.rcx)
|
|
| | USB tower fast firmware download
|
|
Thanks to Dick Swan's help I have managed to get BricxCC downloading firmware in fast mode with the USB tower. All it took was using long enough timeout values (I'm currently using the tower default timeout settings when downloading firmware), (...) (21 years ago, 11-Sep-03, to lugnet.robotics.rcx)
|
|
| | Re: leJOS & BricxCC news
|
|
(...) Yes, it would be nice, plus the two or three unused sensors... I'm happy enough with the LDCC firmware as a DCC encoder (pleased as punch, really). But it "would be nice" if it were implemented as a library or patch to an existing brick OS (...) (21 years ago, 11-Sep-03, to lugnet.robotics.rcx, lugnet.trains, lugnet.robotics.rcx.pbforth, lugnet.org.us.indylug)
|
|
| | Re: Multiplexing 4 touch sensors on an RCX input port
|
|
(...) I have tried this method too, and as you say in your text, it is plagued by the rubber contacts whose value goes down as more pressure is applied to the switch. I measured resistance of several touch sensors while applying a very progressive (...) (21 years ago, 11-Sep-03, to lugnet.robotics.rcx)
|
|
| | RE: Multiplexing 4 touch sensors on an RCX input port
|
|
(...) Ian, Great to see that you are having success with pbForth! I have a couple of questoins: 1. Which version are you using? 2. Are there any features you REALLY wish were available? 3. Do you have any stories or code to share? Ralph ---...--- (...) (21 years ago, 10-Sep-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)
|
|
| | Re: Multiplexing 4 touch sensors on an RCX input port
|
|
(...) It works very well for me, with the variation that I use home-made touch sensors that are actually microswitches embedded into 2x2 blocks. That does mean you might need to debounce in software, but normally I don't bother since the inertia of (...) (21 years ago, 10-Sep-03, to lugnet.robotics.rcx)
|
|
| | Re: Multiplexing 4 touch sensors on an RCX input port
|
|
I have done work in this area. I chose to solve the problem to permit 4 touch sensors to be pressed in any arbitrary combination with high probability of getting the answer right :) A simple R, 2R, 4R, 8R scheme will do. I chose R = 40.2K. This is (...) (21 years ago, 10-Sep-03, to lugnet.robotics.rcx)
|