Author Topic: Roast my schematic, autonomous data logger  (Read 3593 times)

0 Members and 1 Guest are viewing this topic.

Offline nachocpolTopic starter

  • Contributor
  • Posts: 12
  • Country: gb
Re: Roast my schematic, autonomous data logger
« Reply #25 on: September 17, 2020, 08:06:48 am »
I'm using the SAM D21 for small projects.  It has built-in USB interface, and an internal clock oscillator (no xtal needed). 

Thanks for the recommendation, definitely worth keeping in mind!

You have a resistive voltage divider for measuring the battery voltage of 10k and 33k, which suck a lot of current out of your battery, and you probably can't turn it off.

What about switching the lower end of the voltage divider with a GPIO -- like this:

https://www.eevblog.com/forum/projects/how-to-prevent-battery-over-discharge-while-running-unnattended-circuit/msg3232554/#msg3232554

Oh nice one, I would've never thought of that.  :-+
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7909
  • Country: nl
  • Current job: ATEX product design
Re: Roast my schematic, autonomous data logger
« Reply #26 on: September 18, 2020, 10:50:27 pm »
Don't you need a couple of small caps on the XTAL?
Now that you mention this, the hardware design considerations uses caps on the crystal... Interesting that the Arduino NANO schematics (https://www.arduino.cc/en/uploads/Main/Arduino_Nano-Rev3.2-SCH.pdf) don't have it..
And now I see this. Here is a story for all engineers and hobbyist:
Please dont ever use the original Arduino schematic as an example. Or to prove a point. It's bad. It is really bad.The schematic is bad. The layout is bad.
If a circuit works, it doesnt mean it is properly designed.
 
The following users thanked this post: bsodmike

Offline nachocpolTopic starter

  • Contributor
  • Posts: 12
  • Country: gb
Re: Roast my schematic, autonomous data logger
« Reply #27 on: September 20, 2020, 10:31:39 am »
Don't you need a couple of small caps on the XTAL?
Now that you mention this, the hardware design considerations uses caps on the crystal... Interesting that the Arduino NANO schematics (https://www.arduino.cc/en/uploads/Main/Arduino_Nano-Rev3.2-SCH.pdf) don't have it..
And now I see this. Here is a story for all engineers and hobbyist:
Please dont ever use the original Arduino schematic as an example. Or to prove a point. It's bad. It is really bad.The schematic is bad. The layout is bad.
If a circuit works, it doesnt mean it is properly designed.

Thanks for the heads up. I didn't know it was that bad, I'm not an EE, just a hobbyist trying to get things done ;).  Arduino being a commercial product that I have used, gives me a degree of confidence to at least have a reference.
 

Offline bsodmike

  • Regular Contributor
  • *
  • Posts: 228
  • Country: lk
Re: Roast my schematic, autonomous data logger
« Reply #28 on: September 21, 2020, 02:43:44 pm »
And now I see this. Here is a story for all engineers and hobbyist:
Please dont ever use the original Arduino schematic as an example. Or to prove a point. It's bad. It is really bad.The schematic is bad. The layout is bad.
If a circuit works, it doesnt mean it is properly designed.

Do you have an example of this done right then?  Wouldn't ATmel chip docs be a better source for application circuitry?
« Last Edit: September 21, 2020, 03:25:34 pm by bsodmike »
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7909
  • Country: nl
  • Current job: ATEX product design
Re: Roast my schematic, autonomous data logger
« Reply #29 on: October 13, 2020, 09:38:47 pm »
And now I see this. Here is a story for all engineers and hobbyist:
Please dont ever use the original Arduino schematic as an example. Or to prove a point. It's bad. It is really bad.The schematic is bad. The layout is bad.
If a circuit works, it doesnt mean it is properly designed.

Do you have an example of this done right then?  Wouldn't ATmel chip docs be a better source for application circuitry?
Yes, absolutely. Atmel/Microchip has application notes on their website. And they provide reference designs.
Much better design resource: https://www.microchip.com/DevelopmentTools/ProductDetails/PartNO/ATMEGA168PB-XMINI
Notice, how they managed to place the bypassing capacitors next to the chip, where they belong? Or how the USB port has ESD protection? Or how they didnt place a bunch of electrolytic capacitors on the board, because why would you, if you have the same value in an MLCC?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf