cine

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 4 January 2013

Electronics - Aquaponics - Demand fish feeder software

Posted on 19:12 by Unknown

As far as I know, the software is all working on my demand fish feeder.

It's a bit of a mess, with a few goto statements and a few unused variables. I'll fix it in time, but for now I'm going to move onto getting a finished product up and running. As far as I can tell with the software simulator everything works, but the real world might be a completely different story. (the breadboard version also works)








A switch lever extends down into the water. If a light near the lever is lit, the fish can press the lever and feed is delivered. Feed can also be offered with an override button that sets the light on and the feed on if the fish hit the lever (so you can show people how it works)

Dawn detection seems to work. In the end I went with two startup options.

1. A human who holds down the FeedNow override button during startup, then taps out the approximate number of hours since dawn. This skips the code that searches for a new dawn.

2. An abnormal restart with no human. This stops all feeding (there might have been a blackout, and subsequent ammonia buildup) (note to self - add code that flashes some lights to indicate the device is in abnormal start mode so a human can reboot it if they desire). Feeding resumes after night time is detected, and a dawn is detected.

The user can select (via a screwdriver to resist little finger making their own adjustments) ...

 - the feed amount per day in tenths of a second of motor on - from 0 to 65 (I'm guessing I'll use 1/2 a second per feed event) The motor turns an auger under a hopper full of feed. So there is another adjustment available

- The number of feeds in a day that are offered (0 - 255 per day)

- The level of light at which dawn is detected. This allows for a system built in the glow of a streetlight or whatever. At dawn each day, all the numbers reset. This is a bit of a problem as far as reading how many feeds were delivered in a day, but for now I'll leave it as it is. My fish feed like crazy at dawn, so I want to give them the greatest opportunity to feed. Eventually I'll add a data logger, so it wont matter when it resets.


The system reports...

- the number of hours since dawn

- the number of feeds since dawn

- The number of false hits to the feed lever when the FeedIsAvailableLED is NOT lit (these will go down to near zero once the fish learn they can only get food when the light is on)


I ran out of feed a while back, and have been feeding my two big silvers on duckweed, lettuce, and worms, so I will need some pellet food before I can test it in the real world. (I still have the PVC device from the first version).

I'll also need a motor as my original one is no longer with us.

The feeding regimen isn't very intelligent at the moment, but I'll do a bit of research, and add some code that tries to deliver the maximum amount of feed in a day that the system can handle. This will probably involve allowing 3/4 of the feed to be dumped at will, with the rest being spaced out over the day ... or something. I haven't given it enough thought because I don't really know what the fish need. My experience in fishing for wild fish indicates that the feeding pattern is far from a constant grazing all day long. I'll work it out.

But...

It's going to work. In fact, it already does.


120 Things in 20 years That's all. Just 120 Things in 20 years.


Email ThisBlogThis!Share to XShare to Facebook
Posted in Aquaponics, automatic fish feeder, demand fish feeder, electronics, fish, PVC, silver perch, silvers, software | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Thinking - TV police chases
    It's bound to happen sooner or later that a villain being pursued on foot will slowly gain distance on the police officer in pursuit and...
  • Bread - Knot roll
    I made this, and quite like the look of it. It's a small, knot, slightly sweet(ish) dinner roll. It's my first knot roll. 120 Things...
  • Aquaponics - External Tomato growing in fishtank
    I've been away for a few days. It was nice. One of the best things about aquaponics, is the fact that it takes care of itself. I came ho...
  • Bread - "Lame" or bread slashing thing
    A "lame" ( pronounced in the first part of this ), or "bread slashing thing" is a razor blade on a stick. It's reall...
  • Aquaponics - Carrot haul
    I pulled up the last of my aquaponics carrot patch and was pleasantly surprised by the result. I suspect I could have planted them a lot clo...
  • Thinking - Latin
    Why is it, that anyone using... Latin... speak... gains a stack of extra argument points in any discussion about nature, but gains nothing i...
  • Solar photovoltaic panels - My first little solar panel and a tiny motor
    I received the 6 in 1 solar toy that I bought a few days ago. And this is the bit I really wanted to play with. It's a tiny electric mot...
  • PVC - PVC as a thermoplastic
    It turns out, PVC isn't just my favourite product to work with, it's also a thermoplastic. Who knew? I should have remembered the th...
  • Photography - Time lapse camera
    Someone nice gave me a new camera today. Thanks someone nice. It does time lapse photography. You set it to take a shot every 30 seconds or ...
  • Photography - Camera hacking
    I've bought a new camera! But more importantly for right now, my old camera didn't focus any more, so I thought I might pull it to b...

Categories

  • aeration
  • air lift
  • air pump
  • air stone
  • AK-47
  • alf alfa
  • algae
  • Amegilla cingulata
  • ammonia
  • Animation
  • ant
  • Aquaponics
  • Artificial pollination
  • Auqaponics
  • Australian native bees
  • automatic fish feeder
  • Automatic solids removal
  • baby carrots
  • baby spinach
  • bacon
  • bait
  • ball bearings
  • balloon
  • balloon power piston
  • barramundi
  • bay leaves
  • BBQ
  • beans
  • bee
  • bell siphon
  • blow dart
  • blow gun
  • Blue banded bee
  • Bread
  • breadboard
  • brining
  • Briquette
  • Build
  • burner
  • buzz pollination
  • cam
  • camera
  • camp stove
  • cannon
  • canon
  • Canon 20D
  • Canon Powershot
  • cantaloupe
  • cap
  • capsicum
  • carrots
  • caterpillar
  • celery
  • CHDK
  • cherry tomatoes
  • chicken
  • chicken breast
  • Chicken Burger - no onion
  • Circuit schematic
  • Clay balls
  • Cold smoker
  • communication
  • computer
  • constant flood
  • constant flood growbeds
  • cooling
  • Coorong
  • copper
  • Cordage
  • Cos lettuce
  • Cowrie
  • coz lettuce
  • crack
  • Crank shaft
  • cucumber
  • curved space
  • customs
  • dark matter
  • dart
  • dart gun
  • Dead man's switch
  • deep water culture
  • deer scarer
  • Delicious
  • demand feeder
  • demand fish feeder
  • depth of field
  • dinner rolls
  • diorama
  • Direct composter
  • disease
  • Displacer
  • dissolved oxygen
  • DIY
  • DO
  • dolphins
  • dough
  • drama
  • drip control
  • driving
  • duckweed
  • economy
  • education
  • Eh?
  • electricity
  • electronics
  • Engine
  • Entomology
  • environmental
  • Epic adventurer
  • Ethanol
  • Ethanol potato cooker
  • expanded media
  • experiment
  • FAIL
  • failsafe
  • Feast
  • filtration
  • Fire
  • Fire starters
  • fish
  • fish death
  • fish feed
  • fish feeder
  • fish feeding
  • fish food
  • fish stocking
  • fish stocking density
  • fish tank
  • fish tank window
  • fishing
  • fishing float
  • flow control
  • fly fishing
  • focus stacking
  • fog
  • Fraudster
  • Frenched Luxury Cut Ribs
  • futurism
  • gecko
  • gods
  • gold standard
  • gold stars
  • google
  • gravity
  • Green tomato chutney
  • grow bed
  • grow beds
  • grow house
  • growbed
  • growth rate
  • hack
  • haloumi
  • hand pollination
  • Handmade fishing lures
  • harvest
  • heat
  • heat stress
  • Helioponics
  • Heliostat
  • hickory
  • history
  • Hollywood
  • home made cheese
  • Home made preserves
  • hot smoker
  • House fly
  • hydroton
  • I hate feeling sick
  • IBC
  • idea
  • image stabilizing
  • inlet
  • Internal combustion engine
  • invention
  • inverter
  • iPhone
  • Iraq
  • jalapeƱos
  • kids
  • Kill switch
  • knife
  • knot roll
  • ladybug
  • Lame
  • Lathes
  • Latin
  • lens
  • lettuce
  • lever
  • light
  • linear
  • loop siphon
  • low energy systems
  • Luc Cut Ribs
  • Lux Cut
  • Luxury Cut
  • Luxury Cut Ribs
  • macro
  • maggot farm
  • maggots
  • magnet
  • Making smoked foods
  • Medang
  • media
  • media screen
  • media washing
  • methanol
  • mineral deficiencies
  • mini-growhouse
  • mirror
  • MIT
  • Mold making
  • mortality
  • moth
  • motor
  • mould
  • Movie watcher and critic
  • multimeter
  • Mum
  • Murray river
  • Musca domestica
  • Muzak
  • natural fibre string
  • Nebuliser
  • New grow bed
  • New system
  • NFT
  • Nice
  • nitrites
  • Nobel prize
  • NTF
  • nubuliser
  • nutrient
  • nutrition
  • open source
  • outlet
  • over unity
  • overflow
  • Overflow pipes
  • Palm fibre twine
  • Papua New Guinea
  • perpetual motion
  • personal audio themes
  • Pest control
  • photo stacking
  • Photography
  • Photography tip
  • Photography. macro
  • PICAXE
  • Plagiarist
  • plan
  • planting density
  • pollination
  • poly pipe
  • population
  • potato
  • power head
  • power piston
  • power supply
  • powerhead
  • prediction
  • Projectiles
  • prototyping plastic
  • pump
  • PVC
  • radial flow filter
  • Radish
  • recipe
  • repair
  • resistors
  • ribs
  • robots
  • rock melon
  • rocket
  • roots
  • rope
  • Sanyo Xacti
  • science
  • scoria
  • scoring
  • seed raising
  • seedlings
  • seeds
  • sheath
  • shell grit
  • shell grit seed raising trial
  • silver perch
  • silverbeet
  • silvers
  • slashing
  • SLO
  • Slow motion
  • slugs
  • Smoke
  • Smoke cured food
  • snot
  • software
  • solar
  • solar energy
  • Solar hot water
  • Solar photovoltaic panels
  • solar powered boat
  • Solar voltaics
  • Soldering iron
  • solids lifting overflow
  • solids removal
  • Sour Dough
  • Species
  • spinach
  • spirit stove
  • spouter
  • sprouts
  • Star Trek
  • starbuck
  • starbucks
  • Stirling Engines
  • Stockholm Syndrome
  • stove
  • strawberries
  • strawberry
  • strawberry runners
  • strawberry towers
  • string
  • success
  • sun dried tomatoes
  • surgery
  • Sweet Remano Peppers
  • Sweet Romano peppers (capsicum)
  • swirl filter
  • switch
  • system expansion
  • test
  • The invention engine
  • The Solar Toyosphere
  • the universe
  • Thermal mass
  • thermoplastic
  • think twice act once
  • Thinking
  • Thinking. electronics
  • time lapse
  • time travel
  • Tin can
  • Tin can smoker
  • tiny electric motor
  • tip
  • tomato
  • tomatoes
  • trout
  • trout fry
  • Turbine engine
  • UHF
  • UV stable
  • venturi
  • Vermiculture
  • video
  • wasp
  • water temperature
  • wild rocket
  • winch
  • wood smoke
  • words
  • worm farm
  • worms
  • Yarrawonga Weir
  • yeast
  • zero head

Blog Archive

  • ►  2014 (27)
    • ►  July (2)
    • ►  June (1)
    • ►  May (1)
    • ►  April (7)
    • ►  March (9)
    • ►  February (6)
    • ►  January (1)
  • ▼  2013 (88)
    • ►  November (2)
    • ►  October (5)
    • ►  September (5)
    • ►  August (2)
    • ►  July (7)
    • ►  June (12)
    • ►  May (9)
    • ►  April (10)
    • ►  March (12)
    • ►  February (9)
    • ▼  January (15)
      • Electronics - Heatshrink
      • Electronics - Breadboard multimeter adapter
      • Handmade fishing lures - Mold making - Prototyping...
      • Electronics - Aquaponics - Demand feeder fish leve...
      • Electronics - Aquaponics - Demand feeder lever
      • Heliostat - What's a heliostat?
      • Thinking - Fresh produce
      • Aquaponics - Cherry tomatoes
      • Electronics - Aquaponics - Demand feeder hits
      • Electronics - Infinite battery life camera
      • Aquaponics - Silver Perch update
      • Electronics - Zero K breadboard resistor
      • Electronics - Motor repair success
      • Electronics - Aquaponics - Demand fish feeder soft...
      • Aquaponics - External Tomato growing in fishtank
  • ►  2012 (167)
    • ►  December (11)
    • ►  November (8)
    • ►  October (20)
    • ►  September (9)
    • ►  August (10)
    • ►  July (9)
    • ►  June (11)
    • ►  May (20)
    • ►  April (14)
    • ►  March (15)
    • ►  February (19)
    • ►  January (21)
  • ►  2011 (18)
    • ►  December (18)
Powered by Blogger.

About Me

Unknown
View my complete profile