The Harvester bot. (4/4)

Show off your robots, circuits, chip designs, etc.

The Harvester bot. (4/4)

Postby rkda » Sat Aug 15, 2015 12:13 am

This is Harvester.

This bot is the workhorse of the farm. (It's not the only robot on the farm, but, by a long shot, it does the most work).
You can see the interior of the three chips in the previous posts in this series.

User avatar
Posts: 66
Joined: Sun May 10, 2015 3:20 pm

Re: The Harvester bot. (4/4)

Postby Denis » Sat Aug 15, 2015 7:15 pm

So this is detecting the wall (comparing to rock if I get this right)? I can get the robot to hoe and plant semi-automatically (I still need to change tools), but not cut down the trees because the bumpers interfere. So when harvesting I need to unwire the bumpers and this becomes a manual thing.
Posts: 138
Joined: Wed Jul 01, 2015 12:17 pm

Re: The Harvester bot. (4/4)

Postby rkda » Sun Aug 16, 2015 1:56 am

Off to the right side of the bot, there is a green box with a rock in the middle. This is a GENERIC rock sensor. It's input is connected to all 4 bumpers, though the OR gates below it. The output of the sensor goes hot any time I bump a rock (wall).

Sensors are what make automation possible. Before sensors you are just constructing fancier knobs and levers. Once you have sensors, you can actually start making decisions based on the environment, and get some useful automation working.

The generic part is important.
There is another (useless) rock sensor up by the name. That one only detects a single kind of rock.
So depending on where I touch the wall, it may or may not fire.
User avatar
Posts: 66
Joined: Sun May 10, 2015 3:20 pm

Re: The Harvester bot. (4/4)

Postby worfc » Sun Aug 16, 2015 8:07 am

When you craft an item sensor (this is all in the little popup help that happens at the time, also in the sensor tutorial), it is blank. You program it to detect whatever you want via signals. A signal could come from a bumper (when bumpers go hot, they also send an item signal indicating what they bumped. If they bumped multiple things, the recipient is likely to catch the 1st signal on the list. You may recall me writing about how I want to implement a probe that you can use to view the signals on the line), or from inventory (the item selected pin carries an item signal of what item it is, also a count signal of how many you have.

When you set the item sensor, you also have the option of making-hot the generic pin. If you set the sensor to an ironwood tree without the generic pin, your sensor will become an ironwood-tree sensor. If you set a sensor with the same ironwood tree with the generic pin set, you create an any-tree sensor.

* Again, this is in the popup help, but it might be worthwhile to jot notes when you get to that point, as you can only set a blank sensor once; it can't be re-set.
Posted by WORFC, board admin, moderator, game author.

Please LIKE us on Facebook
You can also follow us on twitter: @roboFarmCraft
Check out the development blog (short updates 1-3x/week.)
User avatar
Site Admin
Posts: 226
Joined: Wed Apr 15, 2015 5:08 pm

Return to County Faire

Who is online

Users browsing this forum: No registered users and 0 guests