This blog post is about our current EV3 robot we're planning to use in the 2023/2024 FLL competition. Some features: 2 large motors for steering. 2 medium motors for attachments. 2 colour sensors for picking up the white and black lines, also used for line squaring. 1 gyro sensor. To enable attachments to be changed as quickly as possible we're using gravity to keep the gears connected, i.e. you don't need to fasten anything to the robot. Every attachment has 2x 12 tooth double bevel gear (part 32270) which comes in contact with the 2x 20 tooth double bevel gears (part 32269) on the robot. The medium motors are horizontally aligned on the robots, but we use 12 tooth double bevel gears to convert that to vertical alignments. These in turn are connected to 20 tooth double bevel gears, and the attachments in turn connect to these 20 tooth double bevel gears with their 12 tooth double bevel gears. The complete robot is modelled in Bricklink Studio 2 . You can download the rob
The Atmel AT89C52 microprocessor has built-in flash and support for external ROM.
Using a SRAM chip as a "configurable" ROM chip can significantly shorten development time. I've used some logic to make the SRAM available as ROM, but also writeable in another address space.
The AT89C52's flash was loaded with a program to receive HEX files over the serial port and write it to SRAM. A jumper was used to switch between internal flash and external ROM.
The code assumes a crystal running at 11.0592 MHz. COM port is 19200bps, no parity, 1 stop bit, no flow control.
Using any terminal program, the user has 3 options:
B: sets the base address (SRAM address for read/write access)
D: download - download a HEX file from the PC to the SRAM
V: verify - display the contents of the SRAM as HEX or ASCII
Source code available in another post.
Using a SRAM chip as a "configurable" ROM chip can significantly shorten development time. I've used some logic to make the SRAM available as ROM, but also writeable in another address space.
The AT89C52's flash was loaded with a program to receive HEX files over the serial port and write it to SRAM. A jumper was used to switch between internal flash and external ROM.
The code assumes a crystal running at 11.0592 MHz. COM port is 19200bps, no parity, 1 stop bit, no flow control.
Using any terminal program, the user has 3 options:
B: sets the base address (SRAM address for read/write access)
D: download - download a HEX file from the PC to the SRAM
V: verify - display the contents of the SRAM as HEX or ASCII
Source code available in another post.
Comments