Skip to main content

FLL EV3 Robot

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...

8051 Hex file upload

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.

Comments

Popular posts from this blog

Installing Lego Digital Designer (LDD) on Windows 10

If you're using Windows 10 18.09 or later and try to install Lego Digital Designer (LDD) 4.3.11 you'll probably get an installation error for Adobe Flash Player. However, there is an easy way around it: Download the installation file for LDD 4.3.11. Rename the .exe file to .zip. If you don't see the .exe extension in Explorer, go to "View - Options" on the Explorer menu, then under the "View" tab deselect the "Hide extensions for known file types". Open the zip file with Windows Explorer. Copy all files in the zip to another directory on your computer. In the new folder: Delete install_flash_player_active_x.exe. Copy OpenGLChecker.exe and rename it to install_flash_player_active_x.exe. Run LDDSetup.exe. In short the installer will execute install_flash_player_active_x.exe during the installation process, but all it does now is to execute the same logic as what OpenGLChecker does. In theory you can run any .exe that will not retu...

Install OpenWRT 14.09 on TP-Link MR3420 with Huawei E353 3G dongle

This post will describe how to install OpenWRT 14.09 on a TP-Link MR3420 router, plus configure it to use a Huawei E353 3G dongle to connect to the internet. First download the firmware, plus extra packages we'll need later. Store this on your computer: http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-tl-mr3420-v1-squashfs-factory.bin http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-mii_3.10.49-1_ar71xx.ipk http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-usb-net_3.10.49-1_ar71xx.ipk http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-usb-net-cdc-ether_3.10.49-1_ar71xx.ipk http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-usb-net-rndis_3.10.49-1_ar71xx.ipk http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/libpthread_0.9.33.2-1_ar71xx.ipk http://downloads.openwrt.org/...

Installing OpenWRT 10.03.1 on a TP-Link MR3420

Update: click  here  for installation instructions of OpenWRT 14.09 on TP-Link MR3420. The idea is to install OpenWRT 10.03.1 on a TP-Link MR3420 and configure it to use a 3G USB modem. I'll assume you have a Windows computer where you can connect with 3G USB modem. First flash the router with the OpenWRT image. See   http://wiki.openwrt.org/toh/tp-link/tl-mr3420  for more details. Reboot the router. Then set your computer ethernet connection to a fixed IP address of 192.168.1.100 with subnet of 255.255.255.0. Connect the router port 1 to the computer. From the computer you should be able to ping 192.168.1.1. Then telnet to 192.168.1.1. You'll get a busybox shell, type passwd and provide a new root password. Once this is set telnet will be disabled and you'll only have access via SSH.  Open a web browser to 192.168.1.1. Log in with username root and password as defined above. Then go set up your wireless settings & configure everythi...