Search found 15 matches

Go to advanced search

by BennehBoy
Thu Jan 12, 2017 4:57 pm
Forum: Libraries & Hardware
Topic: FaBo3Axis-ADXL345-Library
Replies: 2
Views: 62

Re: FaBo3Axis-ADXL345-Library

OK fair enough :D

Presumably it would ever so slightly reduce the amount of dynamic ram used though.
by BennehBoy
Thu Jan 12, 2017 11:12 am
Forum: Libraries & Hardware
Topic: FaBo3Axis-ADXL345-Library
Replies: 2
Views: 62

FaBo3Axis-ADXL345-Library

https://github.com/FaBoPlatform/FaBo3Axis-ADXL345-Library If I've read things correctly, all I should need to do to get this working for STM32 is correctly type the variables? I see in the code that it uses 'int' regularly, presumably these need to be typed as int16_t. I haven't spotted any of the o...
by BennehBoy
Wed Jan 11, 2017 12:03 am
Forum: Welcome & FAQs
Topic: Greetings from Cyprus/Sunderland
Replies: 12
Views: 247

Re: Greetings from Cyprus/Sunderland

Mmmm Laphroaig :)
by BennehBoy
Sat Jan 07, 2017 4:46 pm
Forum: Welcome & FAQs
Topic: Hello from Yorkshire
Replies: 18
Views: 198

Re: Hello from Yorkshire

I've put the code on github if anyone is interested.

https://github.com/BennehBoy/LRDuino
by BennehBoy
Fri Jan 06, 2017 4:41 pm
Forum: Welcome & FAQs
Topic: Hello from Yorkshire
Replies: 18
Views: 198

Re: Hello from Yorkshire

Here's the production system in the vehicle, minus any sensors hooked up I hasten to add! https://lh3.googleusercontent.com/kGf4qavIMGSuyx771ymlQAwBAhSpHTQmKa2SRG0g7GP3W48DSdFMnOjAJidtxyG8faggqMxXz6-8A1D-NOUojwx5OdF4N_Yy4dyyFtEiXYfrFH-Wl-Xnur7y2hPUYFgDhavcZEnxcA3bvXfuD2fQPpEunSAqZ9ERUE26zr4MfE1UcJEF...
by BennehBoy
Fri Jan 06, 2017 4:33 pm
Forum: Welcome & FAQs
Topic: Hello from Yorkshire
Replies: 18
Views: 198

Re: Hello from Yorkshire

If they are truly analog you will need to use a voltage divider or it will fry the analog peripheral. Yup will do, and yes it's truly analogue.... photo of bench test circuit below... https://lh3.googleusercontent.com/Fr-WqaKN1cyff-ZWTHlqKcnuHEwUo08nOml30htgZj6FLhDrrr7-DqKRljwRMJUwx_maSc6Jtg=w1280-...
by BennehBoy
Fri Jan 06, 2017 4:15 pm
Forum: Welcome & FAQs
Topic: Hello from Yorkshire
Replies: 18
Views: 198

Re: Hello from Yorkshire

I'm also reading NTC thermistors, but am driving those at 3.3v with 1kohm pulldown/divider so not an issue. Steinhart/hart beta coefficient to work out the temp.
by BennehBoy
Fri Jan 06, 2017 4:13 pm
Forum: Welcome & FAQs
Topic: Hello from Yorkshire
Replies: 18
Views: 198

Re: Hello from Yorkshire

Rick Kimball wrote:That MAX13xx device you mentioned is 3.3v .. and talks via SPI. What else are you reading and how ?


See previous post edit. I'm quite confident about driving the MAX since I'm already running that at 3.3v with the nano. (it is 5v tolerant on the SPI lines).
by BennehBoy
Fri Jan 06, 2017 4:08 pm
Forum: Welcome & FAQs
Topic: Hello from Yorkshire
Replies: 18
Views: 198

Re: Hello from Yorkshire

ehh, just a voltage divider? 2 resistors (or a potentiometer, then you've got an adjustable voltage divider) https://en.wikipedia.org/wiki/Voltage_divider This is what I intended to do, but after doing some searches people were suggesting all manner of craziness, opto isolators, opamps, etc etc. I'...
by BennehBoy
Fri Jan 06, 2017 3:24 pm
Forum: Welcome & FAQs
Topic: Hello from Yorkshire
Replies: 18
Views: 198

Re: Hello from Yorkshire

BTW could anyone point me at a good reference for doing analogue voltage translation from 5v to 3.3v Many of the sensors I'm using output from 0-5v which obviously hasn't been an issue for me on the Nano. There are many examples out there on the internet but as with all things everyone seems to have...

Go to advanced search

cron