HardwareArduino

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Chris (CHRISSS)  
 To:  graphitone     
40898.341 In reply to 40898.339 
How about 2 clocks that orbit each other. One of the earth showing the light levels around the world and another for the moons phases.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ALL
40898.342 
I'm trying to sort the map I'm going to use.

The original has this as the plan



But I don't think Europe or the UK is detailed enough so I've knocked up this which is a bit more detailed. Hopefully it's not too difficult to actually drill. It'll be a lot more holes.



Though this might be better as a compromise


 
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
40898.343 In reply to 40898.342 
That looks like far too many holes to drill (UYM,J)

I did consider counting them on the way up yo Stoke, going to see Top Gear Live in Liverpool tomorrow, but I decided against it. Been dragged out for drinks with my drunk sister and friends. And they've all desserted me for the toilet.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ALL
40898.344 
Started soldering the main board.

So far I think I've done a reasonable job, but it's only the easy bits. Felt like I was cheating using the long pins of the transistors to make things easier!

Attachments:

0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ALL
40898.345 
So far I've learnt that dip sockets are quite easy to solder, female pin headers are an absolute pain.

Attachments:

0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ALL
40898.346 
I've finished the board. But it's not working properly :C

The second and third shift registers aren't working. They seem to cause the LEDs to be full brightness . I've checked the wiring but I think I need to check again with a fresh mind. Though I did read something about communication issues across shift registers with poor wiring.

Attachments:

0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
40898.347 In reply to 40898.346 
Any luck with it?

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
40898.348 In reply to 40898.347 
Not had chance (been bothered) to have a proper sit down with it. Bought a cellulose decorating sponge the other day, so I finally have sponge!
0/0
 Reply   Quote More 

 From:  fixrman  
 To:  ANT_THOMAS      
40898.349 In reply to 40898.346 
Removing all of that multi-coloured capellini laying all over the board should help a lot.
 
  Did you ever see such a messed up situation in your whole life, son?
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  fixrman     
40898.350 In reply to 40898.349 
It needs to taste good though!
0/0
 Reply   Quote More 

 From:  fixrman  
 To:  ANT_THOMAS      
40898.351 In reply to 40898.350 
Arduino... The taste you have been looking for.
 
  Did you ever see such a messed up situation in your whole life, son?
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.352 
It seems the step up reg might not be the best way after all. Either that or the Pro Mini is consuming more power than I realise. Got about a week from the last set of batteries.

New plan is to drop the clock speed so it can run at 1.8V and switch the step up regulator on when the temperature is read. The sensor needs 3V.

I've also ordered a couple of Atmega328p chips to make a barebones board.

And my Nanos have /finally/ arrived. Got one of them controlling my bedroom LEDs now. Borrowed the mini that I'd set up to do it before.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.353 
Version 0.2 done. Hoping to get far more battery life out of this one. I have a little test module running just sending it's battery state every 2 minutes and after 3 days it's only dropped ~0.004V

Moved a couple of cables around on the board, couple of optimisations to the code so it only sends if the temp has changed (or every 10 minutes). Switching the power to the radio and temp sensor off completely when sleeping. Only problem is the DS18B20 requires a little time to start up and read the temperature so it's running for almost 1 second when it wakes up.

And it /should/ work all the way down to 1.8V as it's now running at 4MHz. I'm surprised the radio works as I read it can be fussy with timings.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.354 
I just built this. Going to use it for testing various methods of powering my devices. Quick swap of a couple of leads and I can change between battery or step up or switched from an output.

Me

Attachments:

0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.355 
Well that's no good. The temp module's battery is dropping quickly again. I estimate maybe 6 days from it. Thought it would do better. Think I might attach an LED to it so I can see how long it's waking for. Unfortunately pin 13 doesn't work because the SPI uses it.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
40898.356 In reply to 40898.355 
I bought an ATMega328p chip a while back to try and make a barebones board but couldn't get it working. Also, the price of the parts was far more than buying a Nano or Pro Mini so it seemed a little pointless.

I have seen some people running strip down boards off button cells for a very long time, usually only transmitting something occasionally though.

I might try a 433 MHz transmitter on a temp sensor setup to see how well that works.

http://jeelabs.org/tag/lowpower/
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
40898.357 In reply to 40898.356 
I think it /should/ be easy to get working at 8MHz. Shouldn't need many components, maybe just a cap. Maybe not so easy to sort out the boot loader. It worked out slightly cheaper to buy the chip than a Pro Mini, about 20p I think. Amazing they can sell a fully assembled board for only slightly more. Maybe the DIPs are more expensive.

I have another Pro Mini just sending it's battery voltage. That should last months. So something up with the other one. Either somethring to do with the temp sensor or the Mini.

Me
0/0
 Reply   Quote More 

 From:  koswix  
 To:  ALL
40898.358 
Is there a less power hungry way to read the temperature? What about a pressure sensor in a sealed tube and use P1/T1 = P2/T2 to sovle from a reference temp?

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  koswix     
40898.359 In reply to 40898.358 
I imagine it's the wireless transmitting of the data which uses more power out of everything.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  koswix     
40898.360 In reply to 40898.358 
(I think) The problem is the sensor itself. It needs at least 3V so I'm using a step up to increase the battery voltage. I'm switching the power off to it when the Arduino goes sleep. When it powers on again I get a temp of 85C unless I delay the reading by about half a second, so it's staying awake too long each cycle. The actual sensor uses very little.

I wonder if leaving it on would be better. Will leaving the step up on waste much? My other option is to switch the sensor on, go to sleep for 0.5-1 second, wake up, read temp.

I think I'll remove the temp sensor, just send the voltage, and see if it is the temp sensing that is draining the battery.

Me
0/0
 Reply   Quote More 

Reply to All  
 

1–20  …  301–320  321–340  341–360  361–380  …  541–542

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats