Jump to content

BrickTronic

Eurobricks Vassals
  • Posts

    93
  • Joined

  • Last visited

Everything posted by BrickTronic

  1. Hello, Did you also send unlock after power-up and periodic "Alive" ? And does you Toggle Command when sent miltiple time in sequence ? 3 9 13 17 23 29 34 39 45 51 57 62 68 74 80 86 92 98 104 109 115 120 126 132 138 144 150 156 162 167 173 178 184 190 196 202 208 214 220 226 232 237 243 248 254 259 265 271 277 283 289 295 301 306 312 318 324 329 335 341 347 0xFE 0x00 0x00 0xFF 0xA5 0x5A 0x44 0xBB 0x6F 0x90 0x20 0xDF 0x79 0x86 0x6F 0x90 0x75 0x8A 0x20 0xDF 0x62 0x9D 0x79 0x86 0x74 0x8B 0x65 0x9A 0x2C 0xD3 0x20 0xDF 0x77 0x88 0x68 0x97 0x65 0x9A 0x6E 0x91 0x20 0xDF 0x49 0xB6 0x20 0xDF 0x6B 0x94 0x6E 0x91 0x6F 0x90 0x63 0x9C 0x6B 0x94 0x3F 0xC0 0x85 0x7A #NV D o y o u b y t e , w h e n I k n o c k ? 3 9 14 20 25 31 37 43 49 55 61 67 72 78 83 89 94 100 105 111 117 123 129 135 140 146 152 158 164 170 176 182 187 193 199 205 211 217 223 229 234 240 245 251 257 263 269 275 280 286 292 298 303 309 315 320 326 331 337 342 348 354 360 365 371 376 382 388 393 399 404 0xFF 0x5A 0xA5 0x4A 0xB5 0x75 0x8A 0x73 0x8C 0x74 0x8B 0x20 0xDF 0x61 0x9E 0x20 0xDF 0x62 0x9D 0x69 0x96 0x74 0x8B 0x20 0xDF 0x6F 0x90 0x66 0x99 0x66 0x99 0x20 0xDF 0x74 0x8B 0x68 0x97 0x65 0x9A 0x20 0xDF 0x62 0x9D 0x6C 0x93 0x6F 0x90 0x63 0x9C 0x6B 0x94 0x21 0xDE 0xE8 0x17 0xFF 0x46 0xB9 0x46 0xB9 0xFF 0xEF 0x10 0xEF 0x10 0xFF 0xB5 0x4A 0xB5 0x4A #NV J u s t a b i t o f f t h e b l o c k ! 177 Set power down delay (minutes) 231 Alive 66 Set sensor mode (sensor, code) where code=mode,slope Documentation on available Opcodes are in the SDK Package available at Philo's Page (it is a selfextracting EXE-File) Inside this Zip-Container there is File RCX2 LASM byte codes.pdf in Folder .\L EGOMindstormsSDK25.exe\\program files\LEGO\LEGO Mindstorms SDK\Doc\ Without Unlock Sequence after Cybermaster Power-On no communicatiion passible. when Alive not received periodically, loss of communication (Time-Out -> Watch-Dog) Jo
  2. Hello, Maybe the Info in this thread might help (Page 3) : Jo
  3. Hello, Cybermaster us an "Tower" with RS232 Interface to PC and 27MHz Radio Frequency Interface to Cybermaster Pictures of the Tower : http://www.brickshelf.com/cgi-bin/gallery.cgi?i=604134 & http://www.brickshelf.com/cgi-bin/gallery.cgi?i=604133 and further http://www.brickshelf.com/cgi-bin/gallery.php?f=66485 Schematic you can find https://fccid.io/document.php?id=23750 Note that RTS = -12V and DTR=+12V is used for GND -> 5V to RS232 Level shift Programmable Prick Baudrate 0-Bit 1-Bit RCX 1.0 / 1.5 RCX 2.0 2.400Bd, Start- 8 Data-, Odd Parity- & Stop- Bit 4.800Bd, Start- 8 Data-, Odd Parity- & Stop- Bit 38kHz / 50% 76kHz / 25% Light OFF Light OFF Scout 2.400Bd, Start- 8 Data-, Odd Parity- & Stop- Bit 38kHz / 50% Light OFF Spybotic 4.800Bd, Start- 8 Data-, Odd Parity- & Stop- Bit Light ON Light OFF Cybermaster 2.400Bd, Start- 8 Data-, Odd Parity- & Stop- Bit AM 26,995MHz Programmable Prick Header Remark RCX 3 Byte 0x55 0xFF 0x00 Scout 3 Byte 0x55 0xFF 0x00 Spybotic tbd tbd Cybermaster 4 Byte 0xFE 0x00 0x00 0xFF Command to Cybermaster 1 Byte 0xFF Reply from Cybermaster Programmable Prick Command Frame RCX 0x55 0xFF 0x00 Cmd Cmd D0 D0 .. Dn Dn Chk Chk Scout 0x55 0xFF 0x00 Cmd Cmd D0 D0 .. Dn Dn Chk Chk Spybotic tbd Cybermaster 0xFE 0x00 0x00 0xFF Cmd Cmd D0 D0 .. Dn Dn Chk Chk Programmable Prick Reply Frame RCX 0x55 0xFF 0x00 Cmd Cmd D0 D0 .. Dn Dn Chk Chk Scout 0x55 0xFF 0x00 Cmd Cmd D0 D0 .. Dn Dn Chk Chk Spybotic tbd Cybermaster 0xFF Cmd Cmd D0 D0 .. Dn Dn Chk Chk Jo
  4. 12V ??? The Interface A operates with 4,5V (Motors & Lights) The Opto-isolates parallel Inteface is using 5V from "Host" So an FTDI like Interface would work Jo
  5. Hello, very interesting document. With an G850VS you have luck to have an PIO Harware on the 11-Pin Port With an 1401 you can write Data (for example by LPRINT) to an external Interface to use them for Interface 9750 But the 2 Inputs might than be accessable only by Assembler-Code (or Peek/Poke Subroutine) ... Is there a schematic drawing of the GV850VS available ? wher can I find ? Or is there a Datasheet for the SC61680 Processor available ? how operates Xin/Xout there (especially the 2kHz/4kHz Mode and how to read Xin frequency) Johannes
  6. Hello, Maybe this https://www.dajlab.org/jtoypad.html might work ... Also have a look especially here https://www.dajlab.org/jcontrollab.html Unfortunately the WEDO 1 Hub is not supported on this page https://www.dajlab.org/index.html Jo
  7. Hello, Yes, will work, depending on Switch S1 Position an Address in Range 0x390 to 0x39F You also can remove R2 and wire IC6 (I think there is no IC6b ) Pin 3 direct to 5V ... Hope you will report success soon and how your "Hack" looks like Jo
  8. Hello, The good old Wired-OR will work. You mentioned that it would be easier to use a 74LS138. Then only wire the Diodes-Kathode to Switch and all Anodes together with Pull-Up-Resistor (Wired-AND). This Diode-Point inverted (you can re-use IC3a or IC3b) with output to IC1a NAND-Gate But why not use 74LS85 to compare A0 to A2 to a 3-Bit DIP-Switch ? Anyhow, there are many ways ro ROMe :-) Have fun and let us participate how it is working ! Jo
  9. Hello, sounds/looks interesting what exactly is inside ? What Components did you use (uC H-Bridge, ...). Can you share an Schematic Diagram / Wiring-Diagram ? Pictures of Top- & Bottom- of the assembel PCB would also be nice ... Where can I find information on AFHDS2A Protocol ? Is there done Frequency-Hopping (FFSH) and how is this done ? How is binding done (establish the "connection" to synchronize FHSS) ? What Pin is wired in what way ? How does work 10A 12V PWM on same connector with 2A 5V PWM ? How are this Pins wired ? Especially the wiring of your Adapters (for 2x5A/3A and 2A@5V/10A@12V) interests me. what happen when put 2x5A/3A Adapter on 2A@5V/10A@12V Port and also when put 2A@5V/10A@12V Adapter to 2x5A/3A Port ? Wiring-Diagram would be fine. Jo
  10. Hello, Where can I find Picture(s) and Info on LEGO Website ? I failed. A Link would be nice ... Jo
  11. Hello, There are 2 APPs for communication : the MK App for Module 3.0, 3.8, 4.0 and 6.0 => App to control the modules by Advertising-Data and also support of MK-Remotes (digital or analog) using a special RF-Protocol (see Pascal Langer at Github) the MK+ App for Module H4.0, H6.0, BH4.0, BH6.0, the old "black Module" (referenced as "DIY") that seems to use regular BLE Communication via GATT Services So all Modules supporting MK App and MK+ app should be possible to can be supported by BrickController App in general :-) But there will much work for reverse-engineering implementation and testing necessary My great respect for the till today implemented Modules. Your view of supplier Mouldking is justified. If i'm not wrong this behaviour is getting better. And then there is/are also the stand-alone Motor-Packs (possible with Remote) or separate sold Modules ... Jo
  12. Hello, Sorry for repeating, but can you check voltages on DTR (Pin 4) and RTS (Pin 7) of Sub-D connector at RF-Tower ? See Schematic There is needed +12V on DTR and -12V on RTS Jo
  13. Hello, I confirm. The (RCX) IR-Tower uses also RTS=High/True to have -12V (-3 to -12V) on Pin-7 of 9-Pin Sub-D connector to secure propper RS232 Level on TXD Pin 3 to your Computer Does you remind the Schematic Your Projects like your MulPi shows, that you are much more than an apprentice :-) Jo
  14. Hello, What Settings did you use for DTR (Pin 4) and RTS (Pin 7) of Sub-D connector at RF-Tower ? See Schematic There is needed +12V on DTR (Low in UART-Register) and -12V on RTS (High) Jo
  15. Hello, I like your enhancements. Does you have an overview what Modules (MK4, MK6, ...) will dvertise what data ? Or does these Modules not advertise and can not be "seen" by BLE-Master ? Will here also supported the New MK-H4.0 & ML-H6.0 Boxes ? Does the "Blade-Hall" Boxes (MK-BH4.0 & MK-BH6.0) use same Commands like the H4.0 / H6.0 Batteries ? Jo
  16. Hello, Looks interesting. Are there detailed technical informations available how it is working ? is the 1MHz (like Bluetooth Clasic) or 2MHz (like BLE) spacing between Channels ? Is there used Channel-Hopping like Bluetooth ? What does following Example mean : //Example: TX: C=11 S=Y A= 4B 44 48 P(7)= C0 37 02 4F 00 00 00 // RX: C=76 S=Y A= 4B 44 48 P(7)= 5A 37 02 4F 03 0D 8E // 03 0D 8E => RF channels 0F,1C,39,3C what does "binding" mean and how does it work ? How does "Binding" Sequence look like ? One Module contain 4 or 6 Data-Bytes, how are 16-Channels (4x 4-Port Hubs) controlles simultanous ? Jo
  17. Hello, Can you please add technical Description of this Battery ? On your Site I found only Info that Li-Ion has 15Wh At Single-Cell at 3,7V this would be 4Ah What Type of Battery does you use ? How long does charging by USB take ? What USB Current-Capability ? classic 500mA only ? When I want to use our Battery with Battery-box 88015, what protection is included (shortaged Load or stalled Motor) ? What is with Overtemperature (charging), Over- Under- Voltage ? Jo
  18. Hello, When you check the Firmware-Command-Overview that is part of the SDK (can be downloaded on Philos' Page) then for each command there is stated if this Command is "Direct", or "Program" or both. So most commands can be used inside a to RCX downloaded Program or to be executed imediate after IR-Reception. Therefore a "Reply" is usually specified, that in a Program-Execution is not needed. Jo
  19. Hello, There are STM included : Part Set HUB Name uC Program Memory Remark 45509 31313 IR Seeker STM8S103F3 Flash 8K 45504 45544 Ultrasonic STM8S103F3 Flash 8K 45505 45544 Gyro STM8S103F3 Flash 8K 45301 45300 Wedo 2.0 CC2540 Flash 128K 88006 17101, Boost Move STM32F070RBT6 Flash 128K 75273 CC2640 Flash 128K 88009 ... City/Train Hub STM32F030RCT6 Flash 256K CC2640 Flash 128K - 10874, Duplo CC2640 Flash 128K 6V Battery 10875, 45025 88012 ... Control+ STM32L431RCT6 Flash 256K CC2640 Flash 128K 45601 45678 Spike Prime STM32F413VGT6 Flash 1M CC2564C - - CC2564 SPI to BLE Bridge 88016 51515 Robot Inventor STM32F413VGT6 Flash 1M CC2564C - - CC2564 SPI to BLE Bridge 45609 45345 Spike Essential STM32F413VGT6 Flash 1M CC2564C - - CC2564 SPI to BLE Bridge 88010 ... Remote CC2640 Flash 128K 6V Battery - 71350, Mario CC2642R Flash 352K 3V Battery 71439 - 71387, Luigi CC2642R Flash 352K 3V Battery 71440 - 71403, Peach CC2642R Flash 352K 3V Battery 71441 - 42176 TechnicMove CC2642R Flash 352K 3,7V Li-Ion Jo
  20. Hello, your values looks strange. When you divide Voltage by ADC-Result there should remain Voltage of a LSB : 3rd Line is 1 LSB in mV and 4th Line is LSB * 1024 Full-Scale ... I would have expect 5,00V as ADC-Reference taken from 5V linear Regulator and not less, something arround 4,8V ... Jo
  21. Hello, nice update 9,6s / 431 Frames = 22,27ms @ 190 Bit (19 * (1+8+1)) -> 117,23us/Bit => 8530,2Bd but : 50Hz (20ms per Frame) * 19 Byte = 950 Byte/s => @ 8192Byte -> 8,623s so 1s difference seems more than response-time issue because manual start/stop cell-phone timer usage ... Can you measure the real Baudrate (Oszilloscope) and the Frame-Repetition Frqueency ? -> does we really have 20ms per Frame ? OK Your measurement of 3,3ms with 130us is longer than Philo has evaluated for the RCX (3,0ms / 100us) for 10-Bit Values 2 AD-Conversions are necessary (2x 13us * 8-Channel), and there has to be added also overhead in Interrupt Routine (save/store Register; modify DAPR and Multiplexer Register ...) not enough time for all 8 Channels different handling of active and passive sensors might not the case and makes Code more complicated (remind Status-Bit evaluation between Rotation, Light Switch & Temp seem to use same Thresholds) I assume that 130us measurement-slot has offset between previous and next channel => this can be evaluated by Oszilloscope within a 20ms Frame there would be 6 Sensor-Readings but unly 3 increments can be communicated maybe some kind of Filtering ? or to supress spikes (changed Votage only accepted when following measurement is in same range ?) did you measure "after" Bridge-Rectifier (+1,4V = 2x Diode-Drop) at Sensor or was this read from Oszilloscope Screen ? OK Jo
  22. Hello, 45 data emissions ???? where does this 45 come from ? 9600Bd is 104,16us per Bit, Start + 8-Data + No-Parity + Stop are 10 Bit per Byte and 19 Bytes (190 Bit). So 19,7916ms for a Data-Frame. -> so 20ms repetition of the Frame 3 detected 1/16 rotations every 20ms (50Hz) is 50*3/16 rotations = 9,375Hz (rotations) or 562,5 rpm Can you tell me how you evaluated 135 of 1/16-ticks per second instead 150 ? Jo
  23. Hello, On this Web-Page there you might find detailed information Jo
×
×
  • Create New...