All times are UTC + 8 hours




Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: PICAXE
PostPosted: Mar 15th, '07, 07:04 
Bordering on Legend
Bordering on Legend
User avatar

Joined: Mar 17th, '06, 11:21
Posts: 259
Location: Fremantle, West Aus
Gender: Male
The PICAXE chips are PIC chips with a bootstrap to allow programming through a serial port without the need for EEPROM burner. They are cheap and would be suitable for control and logging or both for a AP system.
PICAXE Website
Useful Intro
MicroZed, Aussie supplier

You can buy kits so you don't need to solder, just get straight into programming. The prog software is free and has a simulator.

For data logging the bigger chips (with X, like 18X) have i2c interface to talk to EEPROM's. Attached is basic description of the chips, but there are some others.


Attachments:
File comment: PICAXE models
picaxe models.JPG
picaxe models.JPG [ 53.02 KiB | Viewed 7427 times ]
Top
 Profile  
Reply with quote  
    Advertisement
 
 Post subject: Re: PICAXE
PostPosted: Mar 15th, '07, 07:15 
Bordering on Legend
Bordering on Legend
User avatar

Joined: Mar 17th, '06, 11:21
Posts: 259
Location: Fremantle, West Aus
Gender: Male
Here is a program I did for a simple (read cheap) pump controller with some logging. It would cost about $30 + the cost of something to interface to the pump (ie. a TTL switchable relay) which I haven't sussed out yet. It uses the 8M chip which has 256 bytes for program and data.

It simply turns a pump on for 30mins and off for 15mins, or stops it when an interlock is activated (eg. sump pump full float switch). It also uses all remaining memory (96 bytes) to log data from an analog every 15 minutes. The on/off time and log rate are settable in the program, just change and download. You push a button for 1s attached to one of the inputs and it dumps the log to programming software, for copy paste to Excel etc.

It is tested only in the simulator. When Joel fences off his front yard I will buy a kit and test on one of Joel's new systems. You can view in notepad, but if you are really keen it's worth downloading the prog software from the PICAXE website opening it with that for colourised syntax.


Attachments:
File comment: 8M basic pump controller/logger
Pump_Start_Stop_8M_Log.zip [1.22 KiB]
Downloaded 386 times
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mar 15th, '07, 09:16 
Bordering on Legend
Bordering on Legend
User avatar

Joined: Sep 5th, '06, 19:03
Posts: 300
Location: Near Adelaide
Gender: Male
Nice, so this is like the smart relays we were looking at a while ago? Basically a build-it-yourself version? I assume the programming is exactly the same?

Could be a good little pump controller for a sump pump also.

Nova


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mar 15th, '07, 12:42 
Bordering on Legend
Bordering on Legend
User avatar

Joined: Mar 17th, '06, 11:21
Posts: 259
Location: Fremantle, West Aus
Gender: Male
You could use the same 8M for fish tank pump and sump, forgoing the primitive logging.
Out 1: Fish pump run
Out 2: Sump Pump Run
In 1: Sump high level
One IO point still spare

So you run the fish pump on for A mins, off for B mins just like in the program above. It should still have it's own low level cutout float.
Start the sump when sump level high and run for X mins (will stop on it's own integrated low level float)
Stop the fish pump on sump high (protects against sump pump failure loosing all your water)
Stop the fish pump when sump high level not seen for Y mins (protects against burst pipe to grow beds or blocked drains to sump and again loosing all your water). Y would have to be bigger than X plus the time it takes to fill the sump.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mar 16th, '07, 07:11 
Site Admin
Site Admin
User avatar

Joined: Mar 22nd, '06, 00:28
Posts: 12757
Location: Melbourne, Victoria
Gender: Male
Are you human?: YES- kinda
Location: Melb Vic OZ
good tom see the thread resurrected B2B.

If some of us are going to go the way of micros then i'd LOVE it if we all agreed on one so we could easily info share.

is the model with the polled interrupts much more expesive? might be good for fail safe triggers?

god help us all when ssgem76 finally moves house and sets up a system...................


Top
 Profile  
Reply with quote  
 Post subject: Re: PICAXE
PostPosted: May 4th, '07, 15:51 
Legend Member
Legend Member
User avatar

Joined: Apr 27th, '06, 11:44
Posts: 514
Location: Melbourne
Gender: Male
Location: Melbourne
Anyone been experimenting with these chips..I notice that PICAXE even have a Net Web Server Module that will allow communication between the chip and the web..remote monitoring from anywhere! :D

http://www.rev-ed.co.uk/docs/flier_picnet.pdf


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 4th, '07, 21:31 
Bordering on Legend
Bordering on Legend
User avatar

Joined: Jan 12th, '07, 21:42
Posts: 475
Location: Melbourne - D'nong North
Gender: Male
Location: AU
Never used micros until the Picaxe,
Very easy and simple, unless you want to go to RTC, I2C ect.
Especially now, with the new Prog. Editor with simulator.
Still in beta, but a full new vers. coming out within days.

http://www.rev-ed.co.uk/picaxe/forum/to ... lse&S=True

OK for monitoring.

But a control sys.?????

Most water or air pumps run on 240VAC,

That implies switchbox with circuit breakers and relays for those pumps,

and a SPARKY.

Cheers, Steve S


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 5th, '07, 05:43 
Seriously, this cant be healthy.
Seriously, this cant be healthy.
User avatar

Joined: Feb 23rd, '07, 03:48
Posts: 6715
Location: Lyonville Victoria
Gender: Male
Are you human?: yes
Location: Lyonville
Had a look at the site but electronics isn't my strong point.

If I wanted to turn a pump on what would I need to buy and then do?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 5th, '07, 06:02 
In need of a life
In need of a life
User avatar

Joined: Aug 13th, '06, 14:43
Posts: 1854
Gender: Male
Location: Narre Warren, VIC,OZ Earth
Steve S wrote:
Never used micros until the Picaxe,
Very easy and simple, unless you want to go to RTC, I2C ect.
Especially now, with the new Prog. Editor with simulator.
Still in beta, but a full new vers. coming out within days.

http://www.rev-ed.co.uk/picaxe/forum/to ... lse&S=True

OK for monitoring.

But a control sys.?????

Most water or air pumps run on 240VAC,

That implies switchbox with circuit breakers and relays for those pumps,

and a SPARKY.

Cheers, Steve S




You would use a "relay board" for that Steve S, then you wont need a sparky......theres heap around.......and if you need over current "safety" you could always wire in an inline fuse holder.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 5th, '07, 07:09 
Bordering on Legend
Bordering on Legend
User avatar

Joined: Dec 21st, '06, 15:57
Posts: 486
Location: melbourne
Gender: Male
I use pic microcontrollers (I think they are the SPU the pic axe is mad from). Very easy to program. My main controller is one of these though:
http://www.ewayco.com/51-embedded-syste ... ystem.html

$110US including flash and preloaded and tested linux. It has ethernet, I can log in and change the program at the drop of a hat, and can mount remote file systems for unlimited logging.

Here is a live plot from the sensor network:
http://njhurst.com/tmp/GHT.svg


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Jan 25th, '08, 11:48 
Xtreme Contributor
Xtreme Contributor

Joined: Jan 22nd, '07, 22:02
Posts: 207
Location: USA
Gender: Male
Are you human?: not before coffee
Location: USA, Massachusetts
OK. Unless there's another thread somewhere....

Can we start at the basics?

I have a PC (obviously!).
I want to be able to monitor GH temperature.
Eventually i want to be able to control stuff.
I want to keep it cheap!!!!

Can i buy a temp sensor that will plug directly into the USB connection?


Thnx.
Poppa


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Jan 25th, '08, 13:16 
Bordering on Legend
Bordering on Legend
User avatar

Joined: Mar 17th, '06, 11:21
Posts: 259
Location: Fremantle, West Aus
Gender: Male
What is GH Temp?
Yes you can get USB temp loggers:
TemperatureAlert
Some Other One
Remember though USB is only good for 5m (16'5")
Another option is Tinytalk. They log temp at a rate you set, then you whip them out and connect to PC serial port to get the time stamped data. (most modern PCs don't have serial anymore but USB to Serial converters are reasonably cheap
If you want to control though a microprocessor with memory, or small PLC would be a better solution, with 232 serial (50m) or ethernet (100m) connection to your PC.
If you can live without control, the data loggers are the go.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Jan 25th, '08, 17:44 
Bordering on Legend
Bordering on Legend
User avatar

Joined: Jan 3rd, '08, 18:45
Posts: 454
Location: San Rafael de Guatuzo
Gender: Male
Are you human?: YES
Location: San Rafael de Guatuso Costa Rica
Okay - you guys are going to be like drug dealers to an old engineer aren't you... I used to do statistical process control and controllers as well...

Beware, this is seriously fun stuff... next thing you know you will be putting sensors in your dogs kennel and tracking the amount of methane he produces. :lol:


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Jan 25th, '08, 17:53 
Great, another one..... is there anybody apart from myself that HASN'T done this stuff at some time :D

Keep it coming... I'm seriously intriqued... enough to maybe try and dabble anyway.


Top
  
Reply with quote  
 Post subject:
PostPosted: Jan 25th, '08, 17:58 
Seriously, this cant be healthy.
Seriously, this cant be healthy.
User avatar

Joined: Aug 24th, '06, 19:46
Posts: 6604
Location: sunbury
Gender: Male
Are you human?: no
Location: sunbury
CRTreeDude wrote:
Okay - you guys are going to be like drug dealers to an old engineer aren't you... I used to do statistical process control and controllers as well...

Beware, this is seriously fun stuff... next thing you know you will be putting sensors in your dogs kennel and tracking the amount of methane he produces. :lol:

Fun stuff why not put a candle in there when he fa==s he will blow the roof off :lol:


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next

All times are UTC + 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group
Portal by phpBB3 Portal © phpBB Türkiye
[ Time : 0.065s | 17 Queries | GZIP : Off ]