HardwareArduino

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Chris (CHRISSS)  
 To:  ALL
40898.366 
Well no wonder I'm not getting the battery life I want. This thing is using 2.2mA when sleeping with nothing else plugged in or working. Not too good. I've got my multimeter current sensing working. The fuse had blown. Made a little shunt to bypass it for now.

Nothing like the potentially 1uA some people have got them down to. More work to be done.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.367 
I've had some success with the barebones Atmel chip. I plugged it into the breadboard and tried to connect with AVRDude and nothing happened. Silly me, I didn't connect the crystal. It has an Uno bootloader so was expecting 16MHz.

I've set the fuse bits so it can run off it's internal clock, pulled the crystal out and AVRDude connecting now. Just need to work out how to program it now or which boot loader to give it.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.368 
/Much/ better. 28uA when using the same sleep test. Wonder if I can get it down further.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.369 
Ive done a little bit of testing tonight. Running off the batteries I got a powrr consumption of 22uA. When I connected the battery to the 3.3av step up and used that to power the Atmel it increased to 81uA. 4 times as much.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.370 
I was playing around with my barebones last night (YJ), programming it with my USBasp. It was programming fine but as soon as it reset to actually run the sketch nothing happened. It would occasionally work when I switched the jumper on the USBasp to 5V instead of 3.3V.

Strangley plugging it into the battery worked fine. I think I shorted something on the programmer (I plugged the + and - into the - on the breadboard) and broke something on it.

Had another 1 (supposed to be 2, only 1 turned up) Atmel chip turn up but couldn't get that one to work at all.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.371 
This has been driving me nuts. I've been modifying the examples for the temperature sensor and radio to test switching them on and off and I could get them working. When I added it to my temp logger code things didn't work. AARRGGHHH!!

I /think/ I may have finally cracked it though. Not sure it is working 100% reliably though, I will have to test that. But I have something on a breadboard that consumes about 4uA when sleeping. Should last a while on batteries.

The radio works fine. It was the temperature sensor that was the pain! The 3.3V step up uses about 90uA not doing anything so I didn't want that going all the time.

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.372 
I had forgotten I'd ordered this. I think I must have done it when I'd had too much wine. Turned up this morning. 10x Atmega328ps and crystals, caps, etc.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
40898.373 In reply to 40898.372 
How much does that work out per complete unit?
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
40898.374 In reply to 40898.373 
£1.99 each from the UK.

Me
0/0
 Reply   Quote More 

 From:  ledlightmake (SUNJIMMY)  
 To:  Chris (CHRISSS)     
40898.375 In reply to 40898.352 
I've also control  Light in the bedroom
(http://www.ledlightmake.com/led-lamp-c-77_78/e27-led-bulb5w-multicolored-rgb-16-colorwith-remote-control-p-203.html)with MCU(PIC12F675).
ledlightmake.com

APPROVED: 2 May 2015 09:31 by MATT

0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.376 
28 days later. No zombies. Wireless sensor still going strong. Should get at least another 2 months from it.

Added some CSS to my boiler interface so looks a little better. No mountains in the screenshot for Pete though.

Me

Attachments:

0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  Chris (CHRISSS)     
40898.377 In reply to 40898.376 
NoSnowy :C
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  Peter (BOUGHTONP)     
40898.378 In reply to 40898.377 
I like snowy mountains. Do you fancy a ski?

Me
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  Chris (CHRISSS)     
40898.379 In reply to 40898.378 
Nah, we're just good friends; it already has a partner, and I wouldn't want to get between them.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  Peter (BOUGHTONP)     
40898.380 In reply to 40898.379 
You don't want to upset a ski. I hear they can be dangerous and might kill you.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ALL
40898.381 
Well after not sorting the board for my timezone map I decided to do something useful with some of the LEDs. I made a dimable strip to go behind the bed-head. It worked quite well so I made a permanent board. Though they're bright white LEDs so it's a bit clinical.

Controlled via my home automation web remote, which tells a Raspberry Pi to transmit a 433 MHz signal. Different signals give different results. 100%/80%/60%/40%/20%/Off and Up & Down (by 10 units on the PWM scale).

Test breadboard:


Permanent board:
 

It is probably my best soldering attempt to date. Only made one mistake which was easily fixed.

Testing:

Attachments:

+1/1
 Reply   Quote More 

 From:  Serg (NUKKLEAR)  
 To:  ANT_THOMAS      
40898.382 In reply to 40898.381 
I take it it's linked to a g-sensor bolted to the bed and it decides what brightness it shines at depending on... you know...?
 :-O
[...Insert Brain Here...]
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Serg (NUKKLEAR)     
40898.383 In reply to 40898.382 
 (hippo)
+1/1
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ALL
40898.384 
Well my battery optimising was worth it. My temp sensor has been running for 2.5 months on 2 AAs. I'm not sure if I checked it at the start, I probably did, but since the 24th of April the battery has stayed at 2.9V. It wouldn't make a very interesting graph.

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
40898.385 In reply to 40898.384 
How often are you transmitting? Is this using an RF24 transmitter?
0/0
 Reply   Quote More 

Reply to All  
 

1–20  …  321–340  341–360  361–380  381–400  …  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