netduino


Is it possible to programmatically power on/off the 3V3?


I have a Netduino Plus with at transeiver attached via SPI. I would like to reset the transiever every time the Netduino restarts. Is it possible to programmatically power on/off the 3V3 pin?
I would recommend using a FET (controlled by one of the I/O) pins to enable/disable 3V3 power to your transceiver. When you say transceiver, I think "more than a few mA" :)
BTW, we took this feedback into account with the new Shield Base module for Netduino Go. It has an integrated FET on both 3V3 and 5V power headers, so you could enable/disable power to your shield in code. Once the new Ethernet go!bus module ships and the Shield Base comes out of beta (soon), your solution can be redeployed to Netduino Go + Shield Base with few/no code changes.
Chris
Secret Labs LLC
Looking at the circuit diagram ( http://www.netduino.com/netduinoplus/schematic.pdf ), I can see only the Micro SD Card Slot having its power controlled programmatically. You could rig up a relay to control it (via a transistor, of course) instead, or if the transceiver uses less than 130mA (the current limit of the device shown: http://www.datasheetarchive.com/BSS84W-7-F-datasheet.html) you could copy the circuit from the Netduino Plus. Buying a relay shield looks like overkill, but you might have other uses for it.
Have you looked into resetting the transceiver programmatically instead of the brute-force method of power-cycling it?
Just to provide another view. You could use a transistor powered off the netduino RESET line, this will reset the device every time the netduino reboots. Or you can just link the transistor to a spare digital pin and power it in code..
What specific SPI device are you using? You mention that it's a transceiver but we could probably provide better information if we know the exact part number. If your device requires less than 8mA the Netduino Plus specs seem to indicate that one option could be using a digital output pin as the power source.
Unfortunately Secret Labs don't use exactly the language I'd expect and call out the sink and source current maximums so I would contact them directly first to see if you risk blowing your chip. I'll see if I can get an answer from them and amend this post if/when I do.
Update: Sink and source current is the same on the Netduino. See my post on their forums about sink vs. source current for a more in depth explanation. So, if your device can run off of just a few milliamps you should be able to use a digital I/O pin to power it.
Also, a lot of devices have enable pins. You can usually reset them with that line instead of pulling the power if that helps. Sometimes with flaky hardware it is better to pull the power though.

Related Links

Is it possible to programmatically power on/off the 3V3?
Netduino or Gadgeteer running IIS and ASP.NET MVC
Netduino + Ethernet Shield: How to write to SD card?

Categories

HOME
autohotkey
kendo-ui-angular2
compression
jenkins-pipeline
formatting
snappy
python-requests
arguments
artifactory
google-docs-api
snmp
aggregation-framework
travis-ci-cli
collision-detection
mongoimport
facebook-sharer
suitecrm
jetbrains
saucelabs
luis
nsoperation
owncloud
web-parts
accordion
gpo
typedef
lotusscript
fastboot
screen-scraping
aws-iot
core-animation
mongoose-im
launchd
windows-10-mobile
federated
ds-5
deferred
exacttarget
voyager
border-layout
area
idea-plugin
server-side-swift
aspnetboilerplate
quartz
python-venv
cloudconvert
beanshell
appcmd
r-commander
liferay-ide
was
esprima
blitz3d
jspx
require-handlebars
nsoperationqueue
django-taggit
treelist
nd4j
android-progressbar
hana-sql-script
opendolphin
windows-phone-8-emulator
musicbrainz
cloud-storage
azure-mobile-app
tooltwist
xml-simple
tokudb
chunks
backtrace
indices
fiware-health
caption
react-os
dirname
sat4j
traceur
lettuce
grunt-wiredep
forward-declaration
removeall
servicemanager
nx
pymel
nserror
motorola-droid
ruby-1.9
flexbuilder
windows-xp-embedded
hwnd
xhtmlrenderer
hs-err
rollover
disk-based
jettison

Resources

Encrypt Message