Comments for Homemade multibody dynamicshttps://hmbd.wordpress.com
thinking about the numerical modelling of physical systemsWed, 21 Feb 2018 23:15:53 +0000hourly1http://wordpress.com/Comment on How to solve differential equations on an arduino with the runge-kutta method by Ruyahttps://hmbd.wordpress.com/2015/04/11/numerical-integration-of-a-differential-equation-on-an-arduino-using-the-runge-kutta-method/comment-page-1/#comment-112
Wed, 21 Feb 2018 23:15:53 +0000http://hmbd.wordpress.com/?p=62#comment-112Hey,

Amazing idea.
I was wondering if it can be used for prediction. Per example, a set of temperatures is given and I want to predict in a minute or hour. Would this library and if so then how??
Thank you for reading.

]]>Comment on How to solve differential equations on an arduino with the runge-kutta method by Danielhttps://hmbd.wordpress.com/2015/04/11/numerical-integration-of-a-differential-equation-on-an-arduino-using-the-runge-kutta-method/comment-page-1/#comment-109
Sun, 11 Feb 2018 21:06:57 +0000http://hmbd.wordpress.com/?p=62#comment-109Hi Dave,
sorry for the late reply. Riccati ODEs appear to be a family of ODEs, not a single one – are you sure you are looking for a numerical solver instead of a general analytic approach? (just taking guesses here). If you do, this is possible:
Transform the second-order ODE into a first-order one with two state variables. The same problem arises with dynamics where newtons law leads to second order ODEs with F/m = acceleration. This is solved by using both position and velocity as state variables. If x is your state vector, you use
x = (pos, vel)
dx/dt = (vel, accel) = (x[2], F/m)
(with F usually being a function of your current state).
I use exactly this approach in the example provided.
There’s some general info on how numerical integration works in my post here, but maybe you have someone available to discuss options with (this would be so much easier if we were both in the same room!).
Cheers, Daniel
]]>Comment on How to solve differential equations on an arduino with the runge-kutta method by Davehttps://hmbd.wordpress.com/2015/04/11/numerical-integration-of-a-differential-equation-on-an-arduino-using-the-runge-kutta-method/comment-page-1/#comment-107
Sat, 27 Jan 2018 01:56:01 +0000http://hmbd.wordpress.com/?p=62#comment-107Many thanks for your post!

I wonder if it is possible to solve Riccati equation (second order ode) in this way. Have you ever tried doing that? Do you have any suggestion?

Dave

]]>Comment on Datalogging on Arduino (and compatibles): A comprehensive guide by Danielhttps://hmbd.wordpress.com/2017/03/18/datalogging-on-arduino-and-compatibles/comment-page-1/#comment-105
Mon, 15 Jan 2018 22:04:56 +0000http://hmbd.wordpress.com/?p=1368#comment-105This is so cool – thank’s for sharing the link!
(I often feel very noob-like when reading all those great posts people point me to…)
]]>Comment on Datalogging on Arduino (and compatibles): A comprehensive guide by edmallonhttps://hmbd.wordpress.com/2017/03/18/datalogging-on-arduino-and-compatibles/comment-page-1/#comment-104
Mon, 15 Jan 2018 02:16:40 +0000http://hmbd.wordpress.com/?p=1368#comment-104You can achieve very high ADC resolution on any 328p based Arduino with oversampling:

I must have tried a dozen different methods of providing the dither noise, but in the end it turns out all you have to do is pulse a digital pin (with a resistor on it) while you read the ADC asynchronously. Easy peasy!

]]>Comment on Raspberry pi: Video and Audio recording and streaming guide by Michaelhttps://hmbd.wordpress.com/2016/08/01/raspberry-pi-video-and-audio-recording-and-streaming-guide/comment-page-1/#comment-91
Sun, 24 Dec 2017 12:00:02 +0000http://hmbd.wordpress.com/?p=446#comment-91This is awesome, just what I was looking for! Thanks so much for the detailed write-up 🙂
]]>Comment on 6 easy tips for creating better result plots and graphics by The Visualizerhttps://hmbd.wordpress.com/2017/10/01/6-easy-tips-for-creating-better-result-plots-and-graphics/comment-page-1/#comment-84
Sun, 17 Dec 2017 06:11:42 +0000http://hmbd.wordpress.com/?p=1812#comment-84I find your article quite useful, Daniel.
I shall keep your tips in mind when creating data plots for my project.
]]>Comment on Real-time simulations on an Arduino (double pendulum) by Interactive multibody dynamics in Processing | Homemade multibody dynamicshttps://hmbd.wordpress.com/2017/01/05/real-time-simulations-on-an-arduino-double-pendulum/comment-page-1/#comment-77
Sat, 16 Dec 2017 21:46:37 +0000http://hmbd.wordpress.com/?p=1072#comment-77[…] either the examples on processing.org or the double-pendulum I’ve just built into it. It is a port of my code for Arduino with TFT, but with Processing, it’s cleaner and way nicer to play […]
]]>Comment on Raspberry pi: Video and Audio recording and streaming guide by Alan Stepneyhttps://hmbd.wordpress.com/2016/08/01/raspberry-pi-video-and-audio-recording-and-streaming-guide/comment-page-1/#comment-76
Tue, 05 Dec 2017 20:44:21 +0000http://hmbd.wordpress.com/?p=446#comment-76Just a note. I was using the image and to change the port needed to change the config.js file. Worked like a dream. Information provided by Nao.
]]>Comment on Datalogging on Arduino (and compatibles): A comprehensive guide by Danielhttps://hmbd.wordpress.com/2017/03/18/datalogging-on-arduino-and-compatibles/comment-page-1/#comment-75
Wed, 22 Nov 2017 21:11:35 +0000http://hmbd.wordpress.com/?p=1368#comment-75I was so sure I saw this somewhere… but I couldn’t find it (regarding sleep mode).
For the feather, there’s some info in the adafruit tutorials, but not on what you can expect in sleep mode: https://learn.adafruit.com/adafruit-feather-m0-adalogger/power-management
For the Teensy, it seems to be +20mA for the 3.1/3.2, see here: https://forum.pjrc.com/threads/24341-Teensy-3-vs-Teensy-2-power-consumption (matches with my experience, but I didn’t do any measurements)