Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

Reply To: Modbus/12V to cellular

Home Forums Mayfly Data Logger Modbus/12V to cellular Reply To: Modbus/12V to cellular

#1701
neilh
Participant

Well I’ve done some design thinking on this. I’ve focused on just generating the +12V. The issue with the Mayfly circuit is that the switched pwr comes from the 3.3V which also powers the processor – and a power hog on the 3.3V_Sw is going to cause a processor power glitch – yes I’ve had them in the past and they are nasty to debug 🙂
So I want to generate +12V, and possibly the easy way to do it is with
SUNKEE LM2577 DC-DC Adjustable Step-up Power Converter – available on Amazon.com (amazing)
The design needed for the boost circuit is to be able to switch it on when needed.
The +5V boost NCP1402 does have an enable on it but it is permanently enabled. It is tied to the 3_3VSw – which is powered by the LDO SPX3819 which is rated for 0.5A.
So not very power efficient, drop input voltage (LiPo 4.2V or +5V) to 3.3V and then boost to +5V – but workable
The NCP1402 is rated for 130mA, so that is not likely to cause a glitch on the 3.3V
Ideally I would
cut trace to C13/L1 and tie power line to C7/D3
Then the NCP1402 U3-En SJ5-3 cut & strapped to Port-D22/(3.3_SW) OR another Port

So I wonder it the layout for the Mayfly is easily available to see how the traces are done.

I’ve ordered the $6 SUNKEE LM2577 DC-DC Adjustable Step-up Power Converter and a Mayfly to try it out.

The other option I considered was to use +12V -start with a SLC battery, and then drop the voltage to +5V for Mayfly.
All the switching is done at 12V/SLA low impedance, with an interesting
$15 CWE Arduino Dual Channel Smart FET Driver Board with Current Sensing 8-28VDC
and a switch converter 12Vto +5V for mayfly.
Theoretically it would have been then possible to add +5V/1A cellular phone later – but this would get expensive for power modules and take more design now.

One of the reasons I considered +12V is I am using an Olimex-STM32-H407 – which takes +12V, for prototyping modbusm.
Personally I think the STM32F4 family is going to provide a lot of versatility for the future –
http://www.stm32duino.com/ for a lot of small boards now and

Arduino STAR Otto features STM32, multimedia, WiFi

The key is a rugged mechanical environmental enclosure, solar power, power switching managed by the SMT32F4xx, and low power sleep capability, and using its unique USB Host capability for pluggable USB modems. This can then communicate with the Mayfly over the XbeePro modules. So that’s the longer term plan.