Showing posts with label Arduino pro mini. Show all posts
Showing posts with label Arduino pro mini. Show all posts

Monday, 12 December 2016

Sensor Drying



I decided to up the temperature as my last test took a long time.
I updated the code to transition state to cool down when difference becomes latter than 50

The full sensor also works, which is what caused the transition to heat after I emptied the tank and restarted.


Sensor Drying



I don't know what the yellow wire does,  but I cant seem to see any sensor hardware.
But I do have 2 temperature sensors.

I did a bit of research and there was one page that suggested that you could use a single sensor and imply how dry the clothes are. In theory as the cloths become dryer they heat up and cool down quicker.   Something like that.
My numbers did not seem to show this.

What I did notice was that the differential between the two sensors increases as the closed become dryer,


  

Tuesday, 6 December 2016

Arduino Tumble Dryer State machine




Its simple.
I'm not sure if this is quite by the book.   All three states in the yellow box can lead to FULL or COOL_SPIN
Pressing the button on the machine cycles through ready, run and cool spin.   What more do you need?

you can get the code here :
http://jtumbledryer.blogspot.co.uk/p/pins-define-motordir-5-define-motoren.html

Monday, 5 December 2016

Arduino Resets

One little problem I am having is that when the Motor starts or stops, It can cause the Arduino to reset.   To avoid this,  I have initially remove the code that reversed the direction  every minute or so.
This is not caused by switch the relays as I have tested this and all three seem to happily switch without issues.

Today I made a couple o changes.   I moved the arduino away from the Motor relay and have added a 10uF electrolitic and a small 10nf ceramic across the arduino power.  ( I probably need a 0.1uF ceramic capacitor but I dont have one to hand)

This seem to have help a little,  but not perfect.


Oh,  and it seems the arduino is not compactly isolated from the mains.  The USB cable was a tad tingly


useful info here:
http://electronics.stackexchange.com/questions/101815/pic16f628a-resetting-after-relay-turned-off/101879#101879


Someone else has done something similar here and has included a stabalizer

http://www.instructables.com/id/Repair-and-Upcycle-Defective-Dryer-With-Arduino/?ALLSTEPS


Sunday, 4 December 2016

Controlling the LEDS



The transistors on the left control the three relays.
The LEDs are controlled in pairs ( coloumn) so you are a little limited but its sufficient to make silly little patterns.
I'll draw a little diagram at some point