Jump to content

amine

Eurobricks Vassals
  • Posts

    62
  • Joined

  • Last visited

Everything posted by amine

  1. Is there any way to send data to a rcx brick using control lab ?
  2. I am working on a full french translation of the sofware. It is almost completed. And the best part it is completely portable.If someone speaks french and wantd to contributes let me know.
  3. On the turtle page you shouldn't use the talk to primitives because there are already prewriten procedures to move the turtle. I think it is TFD for turtle forward plus the time in tenth of seconds. https://youtu.be/PZuiDuDywHw?is=nnlBi6n9QZ1Yd5B7
  4. I was thinking about being able to teach the trajectory using the control center and playing them back with the control lab. For exemple I didn't notice an automatic plotter like we have on the interface A plus 1092 set.
  5. This is what I figured out so far. On apple2ts emulator Altgr +F flip card for edit procedure AltGr +U going to top windows AltGr +D going to bottom windows AltGr +6 delete project
  6. Here is the updated program More responsive with a sensor detection, and speed control possible. You can change the speed without pwm just by charging the lengh of the steps. Use FOR T=1 to 1 or 10 or 100. The first 4 lines are for initialization &H read the adress in hexadecimal// 1 POKE &H A7F3,0//swith data register to direction setting // 2 POKE &H A7F2,63 // set inputs and outputs lines // 3 POKE &H A7F3,4 // switch data register to level setting// 4 POKE &H A7F2,0 //reset data register levels// 10 PRINT "HELLO" 11 PRINT "ENTER A DIRECTION KEY" 20 A$=INKEY$:B=PEEK(&H A7F2) //this create a input variable and check the sensor state// 30 IF A$=" " AND B=0 THEN 20 //loop on the key and sensor press, this is a wait until // 40 IF A$ =CHR$(11) THEN POKE &H A7F2,10:FOR T=1 TO 100:NEXT T:POKE &HA7F2,0 //up key is is number 11, values poked depend on your interface A configuration here 10 is 8 + 2 meaning output 1 and 3 // 41 REM "FORWARD" // move for 1 sec and stop change the value 100 for the precision control// 50 IF A$=CHR(10) THEN POKE &H A7F2,5:FOR T=1 TO 100:NEXT T:POKE &HA7F2,0 // down key is number 10// 51 REM "BACkWARD" 60 IF A$=CHR$(8) THEN POKE &H A7F2,8:FOR T=1 TO 100:NEXT T:POKE &HA7F2,0 //left key is number 8// 61 REM "LEFT" 70 IF A$=CHR$(9) THEN POKE &H A7F2,2:FOR T=1 TO 100:NEXT T:POKE &HA7F2,0 //right key is number 9// 71 REM "RIGHT" 74 IF A$="A" THEN POKE &H A7F2,0 // if key A is pressed interface A outputs are turned off// IF B=64 THEN POKE &H A7F2,5:FOR T=1 TO 1000:NEXT T:POKE &HA7F2,0 // if sensor is pressed go back for 3 seconds 80 GOTO 20 //loop for ever// Line follower is next on the line !!! The algorithm of the line folower is If the sensor see the white table then move forward If the sensor see the black tape then turn https://youtube.com/watch?v=BFAx3TDKs00&t=378&feature=shared
  7. Working on a 8bit computer is so satisfying. ASMR experience guaranteed. No boot time to wait, the computer is quiet , the keyboard is sweet, recording is on audio k7. Everyone should have this kind of machine at home. Heaven on earth !!! I am going to update my program today. I should have made many instructions on the same line using : not using new lines. The buggy is more responsive and the program is shorter. I am going to put the push button detection as well if I can make it work. Soon we will get a line follower from 1980 back in track for the 2026. You can change the speed without pwm just by charging the lengh of the steps. Use FOR T=1 to 1 or 10 or 100.
  8. I updated the code with precision control, pushing a key will trigger a FOR loop by changing the length of it you can control how far the buggy will move for each key press. It is not yet a PWM but by inserting some machine code in a data field we can do it. I think one should try with an Led and a speaker first. If I can change the speed of the buggy I want a Guinness world record.
  9. Yes it allows you to control in real time your buggy by pressing your keyboard direction keys. //The first 4 lines are for initialization &H read the adress in hexadecimal// 1 POKE &H A7F3,0//swith data register to direction setting // 2 POKE &H A7F2,63 // set inputs and outputs lines // 3 POKE &H A7F3,4 // switch data register to level setting// 4 POKE &H A7F2,0 //reset data register levels// 10 PRINT "HELLO" 11 PRINT "ENTER A DIRECTION KEY" 20 A$=INKEY$ //this create a input variable// 30 IF A$=" " THEN 20 //loop on the key press// 40 IF A$ =CHR$(11) THEN POKE &H A7F2,10 //up key is is number 11, values poked depend on your interface A configuration here 10 is 8 + 2 meaning output 1 and 3 // 41 REM "FORWARD" 42 FOR T =1 TO 100 :NEXT T 43 POKE &H A7F2,0 // move for 1 sec and stop change the value 100 for the precision control// 50 IF A$=CHR(10) THEN POKE &H A7F2,5 // down key is number 10// 51 REM "BACkWARD" 52 FOR T =1 TO 100 :NEXT T 53 POKE &H A7F2,0 60 IF A$=CHR$(8) THEN POKE &H A7F2,8 //left key is number 8// 61 REM "LEFT" 62 FOR T =1 TO 100 :NEXT T 63 POKE &H A7F2,0 70 IF A$=CHR$(9) THEN POKE &H A7F2,2 //right key is number 9// 71 REM "RIGHT" 72 FOR T =1 TO 100 :NEXT T 73 POKE &H A7F2,0 74 IF A$="A" THEN POKE &H A7F2,0 // if key A is pressed interface A outputs are turned off// 80 GOTO 20 //loop for ever// Damn I really feel now like a MIT computer scientist 🤔
  10. I made a simple Basic program for controlling the Buggy with interfave A on Mo5 thomson computer. https://youtu.be/MCHaaqll480?si=olrjSXahVNb4Vd2a
  11. Thank you so much for your amazing explanations. However on test mode you will see that the output of the control center is pulsed with half of the signal ratio. I put some led and they were pulsing with half of the intensity. That would mean that virtual 5 Volts are sent via the CC output. What I suspect is that the control lab is also their internal lab test equipment. It makes sense for me that they wanted to decline it later to a consumer product. I am gonna try not to fries my house with the control center....🤣 Such beautiful device must be taken with great cares and respect. Pushing the wrong button could shamely destroy a so beautiful piece of Technology. We don't want that. We will try with the RCX first.
  12. Store the sequence in computer and use 9751 to play them back. Using essentially the control center as a gamepad... I want to use the control center as an interface for 9751 plus control lab But I am afraid to fries the 9751 inputs....
  13. I have a very Dumb question. Is it possible to cable the output of the control center to the input of the control lab ? I figured out that the output of the control center are pulsing if you turn it on while pressing A and B. This way you could record longer program using the control lab.
  14. Start your recording with pause button and pause led On . Your sequence is recorded with time between keystrokes
  15. It does record the time between keystrokes. For that start your program with the pause button, with the pause led on enter your sequence.
  16. Also the control center does record automatically the pauses between button press. Simply start your program by hitting pause button and with the pause led on start your sequence.
  17. There is a secret debug mode , hold A anB while turning on. https://youtu.be/LKlvHjK7Jvs?si=FnCwrVSm-lrYyAKL
  18. Adam Savage tested on youtube https://youtu.be/U46Yo_6z_F4?si=BcS78WBPsyI4kUVm I think that's a perfect spot for you !
  19. I think a special interview with Tested for presenting the vintage Lego and your models would be awesome 👌 It's an important part of computing history not to be taken lightly. You can also invite them directly at your Lego conference. There is a spot for this subject people need this information
  20. Here is the german manual https://archive.org/details/lego-lines-manual It needs some time for processing by archive Daniel from Germany if you hear us save a copy of the disk please. 🙏
  21. Here is the link https://archive.org/details/interface-a-programming It mighty be still processing the document the full manual coming soon. I am curious of what evan thinks about it.
  22. I received today the package from Germany,.No disk as I suspected. However with the manual there are plenty of exclusive documentation. 4 pages of Basic, Pascal and Comal codes.
  23. We can very well make a lego computer running on Linux with a raspberry pie and a parallel +serial port shield. The main logical reason for that is that all those retro computers will not last for ever. The corrosion will eventually destroy all motherboards. Raspberry pie will still be around hopefully
  24. I am curious how you can make a robot arm from the 1090 set knowing you have only two motors, All models I have seen use the 1092 set instead. How did you manage with those limitations.
×
×
  • Create New...