Author Topic: ATmega328P for OpenTRV use  (Read 23910 times)

0 Members and 1 Guest are viewing this topic.

ChrisOlson

  • SuperHero Member
  • ******
  • Posts: 3531
  • Country: us
Re: ATmega328P for OpenTRV use
« Reply #60 on: August 23, 2016, 03:14:14 PM »
Damon, I LIKE the 8-bit AVR processors.  They are rock solid and make better use of flash than 32-bit does.  And they are lower power consumption.  I think you are on the right platform for that application.  If your codebase eventually runs out of cycles or flash, you can easily add SRAM with a shield, or even dual core by stacking them and run SMT   :)

I really like that platform.

DamonHD

  • Administrator
  • SuperHero Member
  • *****
  • Posts: 3622
  • Country: gb
    • Earth Notes
Re: ATmega328P for OpenTRV use
« Reply #61 on: August 24, 2016, 01:35:49 AM »
Hi,

We are hitting Flash/code limits on the 328P, and the unit cost of even that device (even in bulk) far higher than we can afford if we are going to get the valve cost down to our target range to give financial payback in a single year.

A particularly nice feature of the AVR/328P is the 100k single-byte-writeable EEPROM, and few ARM variants seem to have something equivalent, though we have found a 50 cent device that is close and are doing some preliminary design around it.

Rgds

Damon

DamonHD

  • Administrator
  • SuperHero Member
  • *****
  • Posts: 3622
  • Country: gb
    • Earth Notes
Re: ATmega328P for OpenTRV use
« Reply #62 on: October 01, 2016, 10:26:22 AM »
BTW, we started a Web comic on The Register about Radbot, enjoy!

http://www.theregister.co.uk/2016/09/24/radbot_episode_one/

Next episode coming soon...

Rgds

Damon

SparWeb

  • SuperHero Member
  • ******
  • Posts: 3394
  • Country: ca
    • Wind Turbine Project Field Notes
Re: ATmega328P for OpenTRV use
« Reply #63 on: October 01, 2016, 10:35:17 PM »
I only get a 1x1 pixel GIF...
No one believes the theory except the one who developed it.  Everyone believes the experiment except the one who ran it.

System spec: 135w BP multicrystalline panels, regulated by Xantrex C40, DIY 8ft diameter wind turbine, regulated by Tri-Star TS60, 800AH x 24V AGM Battery, Xantrex SW4024

DamonHD

  • Administrator
  • SuperHero Member
  • *****
  • Posts: 3622
  • Country: gb
    • Earth Notes
Re: ATmega328P for OpenTRV use
« Reply #64 on: October 02, 2016, 01:51:46 AM »
Make sure you have JavaScript enabled for the cartoon.

If need be I'll probably put the images up somewhere else too in a few days.

Rgds

Damon

DamonHD

  • Administrator
  • SuperHero Member
  • *****
  • Posts: 3622
  • Country: gb
    • Earth Notes
Re: ATmega328P for OpenTRV use
« Reply #65 on: November 15, 2016, 05:08:26 AM »
Update: www.myradbot.com is looking kinda ship-shape now, which is just as well because we are aiming for our campaign to go live by the end of this week.  Excitement!

There have been more RADBOT comics too!

Rgds

Damon
« Last Edit: November 16, 2016, 01:14:46 AM by DamonHD »

frackers

  • Sr. Member
  • ****
  • Posts: 398
  • Country: nz
  • Is it finished yet?
Re: ATmega328P for OpenTRV use
« Reply #66 on: November 15, 2016, 02:56:47 PM »
A particularly nice feature of the AVR/328P is the 100k single-byte-writeable EEPROM, and few ARM variants seem to have something equivalent, though we have found a 50 cent device that is close and are doing some preliminary design around it.

I've been using the STM32 series micros for a while now and I'm very impressed. One project uses a STM32F303xC which has 256k ROM, 48k RAM, I'm using an external SPI NOR flash of 8Mbytes (W25Q64FV) to replace the EEPROM. So far I'm using 4 out of the 5 UARTs - 2 with hardware flow control, 10 DMA channels, 10 of the timers, SPI, I2C, DAC, 14 of the ADC channels and I can still put it to sleep with a current consumption below 50uA!!

Just having an decent IDE with multiple real-time breakpoints has improved productivity 3-4 fold.

The STM32F103 boards that I started with are a couple of dollars and the USB debugger is the same price. Even going up to a STM32F3 series Nucleo board which has the debugger as a "snap-off" PCB gives you change out of $20.

Steep learning curve but you'll be ahead within 6 months.

Robin Down Under (Or Are You Up Over)

DamonHD

  • Administrator
  • SuperHero Member
  • *****
  • Posts: 3622
  • Country: gb
    • Earth Notes
Re: ATmega328P for OpenTRV use
« Reply #67 on: November 16, 2016, 01:15:03 AM »
Thanks!

Damon