f407vet6 & f407zet6

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
User avatar
ahull
Posts: 1578
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: f407vet6 & f407zet6

Post by ahull » Mon Aug 14, 2017 9:42 am

zmemw16 wrote:
Sun Aug 13, 2017 12:25 pm
the zet is remaining rather high at about $15
zgt not seen
srp
At that price, you might be tempted to go for a Pi Zero W instead of the ZET
- Andy Hull -

zmemw16
Posts: 1371
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: f407vet6 & f407zet6

Post by zmemw16 » Mon Aug 14, 2017 3:46 pm

as usual it's the add on bits that hike the price, basic £9.60, with the extra connectors it's £14 :(

it's horses for courses, the zgt Devils Cross is rather nice for IO and pretty much sorted connectors wise, micro usb, micro sd and dupont leads, sadly no built in ethernet :lol:

stephen

ag123
Posts: 716
Joined: Thu Jul 21, 2016 4:24 pm

Re: f407vet6 & f407zet6

Post by ag123 » Mon Aug 14, 2017 3:52 pm

ahull wrote:
Mon Aug 14, 2017 9:42 am
zmemw16 wrote:
Sun Aug 13, 2017 12:25 pm
the zet is remaining rather high at about $15
zgt not seen
srp
At that price, you might be tempted to go for a Pi Zero W instead of the ZET
yup & if you don't mind a 'clone' there's orange pi for even less
https://www.ebay.com/sch/i.html?_sop=15 ... =450&rt=nc
http://www.orangepi.org/orangepizero/

but without all that fancy adc, dac, fancy multiple spi, i2c and more gpio pins than do one can count with fingers + toes etc
:lol:
Last edited by ag123 on Mon Aug 14, 2017 3:57 pm, edited 1 time in total.

zmemw16
Posts: 1371
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: f407vet6 & f407zet6

Post by zmemw16 » Mon Aug 14, 2017 3:55 pm

and that add on expansion bit is $11 :D
srp

ag123
Posts: 716
Joined: Thu Jul 21, 2016 4:24 pm

Re: f407vet6 & f407zet6

Post by ag123 » Mon Aug 14, 2017 4:06 pm

oh and that stm's f40x ART accelerator and DMA controller may dwarf all those 'bigger' chips running at 1 ghz, in particular for running apps directly from flash. but of course the pi win by simply running it off megabytes of dram
:lol:

ag123
Posts: 716
Joined: Thu Jul 21, 2016 4:24 pm

Re: f407vet6 & f407zet6

Post by ag123 » Mon Aug 14, 2017 4:22 pm

i've always been wondering if stm32f4xx kind of high performance mcus may after all one day run 3d printers more than simply those 'dumb' 3d printer controllers that just interpret gcodes and move the motors.
perhaps one day we may be able to pack an octoprint http://octoprint.org/ clone and do away with the host, send your g-code file, stm32f4* controller does all the rest (level bed, control temperature, control all the acceleration / deceleration (i.e. do *physics calc* f = ma, accelerate & extrude faster in a long stretch then slow down towards the end etc) and run the lcd show a fancy lcd with print progress, temperature etc with a fancy gui to to control pretty much all aspects of the print and on top of all that stream a video showing the print in progress sending it over wifi to your web browser
my guess is, the main limit as always is *memory*

one of those things that comes fairly close to that for now is beaglebone black + replicape
https://www.thing-printer.com/product/replicape/
as after all beaglebone black has the dram & storage to run a full linux distribution
:lol:

acronis
Posts: 107
Joined: Thu Mar 02, 2017 12:32 pm

Re: f407vet6 & f407zet6

Post by acronis » Sat Sep 09, 2017 3:37 am

Hello.

Why can not I use AnalogRead ?

Code: Select all

void setup() {

pinMode(PA0, INPUT);
  Serial.begin(115200);

  while (!Serial) {
    delay(1);
  }

  }


void loop() {

  delay(1000);

 Serial.println(analogRead(PA0));

}

User avatar
RogerClark
Posts: 6696
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: f407vet6 & f407zet6

Post by RogerClark » Sat Sep 09, 2017 8:22 am

try

Code: Select all

void setup() {

pinMode(PA0, INPUT);
  Serial.begin(115200);


  }


void loop() {

  delay(1000);

 Serial.println(analogRead(PA0));

}

acronis
Posts: 107
Joined: Thu Mar 02, 2017 12:32 pm

Re: f407vet6 & f407zet6

Post by acronis » Sat Sep 09, 2017 9:27 am

In this library not working for some reason analogRead.
As You wrote - also not working.
When reading the readings are always 0.
although the level is changed to PA0
If I put the library https://github.com/danieleff/STM32GENERIC - the same code is working fine.
What could be the problem ?

fpiSTM
Posts: 177
Joined: Fri Sep 16, 2016 12:33 pm
Location: Le Mans, France

Re: f407vet6 & f407zet6

Post by fpiSTM » Sat Sep 09, 2017 9:38 am

On which board you use it ?
because PA0 is connected to user button on some boards... so default pull down I guess...
Or PA0 on f407 could be used for Uart4

Edit: Button could not explain why it works with Daniel Core....

Post Reply