Search found 23 matches

by jeffm
Tue Jan 12, 2016 7:22 pm
Forum: Other Boards
Topic: new Kickstarter board good for MicroPython?
Replies: 7
Views: 7169

Re: new Kickstarter board good for MicroPython?

Firstly, apologies, I had mean't to post this to Other Boards. To answer the previous point, the display is a capacitive touch screen and I have only found cheap displays with resistive touch and in addition, the display and processor board are nicely integrated which is worth something. However, ov...
by jeffm
Tue Jan 12, 2016 10:53 am
Forum: Other Boards
Topic: new Kickstarter board good for MicroPython?
Replies: 7
Views: 7169

new Kickstarter board good for MicroPython?

This looks like it would be an interesting platform for a MicroPython implementation:- https://www.kickstarter.com/projects/thewebster/blaze-miniature-powerful-hackable-display-with-tou "Blaze is a miniature, high-res 1.6" 240x240 display with capacitive touch, a powerful 120MHz Cortex M4 micro with...
by jeffm
Fri May 15, 2015 5:54 pm
Forum: Hardware Projects
Topic: Self balancing robot
Replies: 49
Views: 72208

Re: Self balancing robot

@dhylands Your comment really makes the point that the term real-time is hopelessly imprecise and I do apologise for this imprecision on my part. I was of course referring to the situation where there is a requirement to mix activities or tasks that require bounded response time to external events w...
by jeffm
Thu May 14, 2015 7:24 pm
Forum: Hardware Projects
Topic: Self balancing robot
Replies: 49
Views: 72208

Re: Self balancing robot

I have now updated the code at: https://github.com/jeffmer/micropython-upybbot I have included the Arduino sketch that implements a UDP server on the ESP8266 for OSC messages and the template for the TouchOSC app on my iPhone used as the controller. This follows the B_ROBOT approach. The controller ...
by jeffm
Wed May 13, 2015 6:58 pm
Forum: Hardware Projects
Topic: Self balancing robot
Replies: 49
Views: 72208

Re: Self balancing robot

@pythoncoder. Very impressive indeed, it is huge compared my version - it must hit the ground with a resounding clunk when balance fails :-) I am currently trying to reduce my wiring bird's nest by replacing breadboards with perfboard. The wifi control using an ESP8266 and mobile phone works well. I...
by jeffm
Thu May 07, 2015 8:03 am
Forum: Hardware Projects
Topic: Self balancing robot
Replies: 49
Views: 72208

Re: Self balancing robot

@pythoncoder. Congratulations! Really pleased you got it to balance. Thanks for the information on mechanical vibration damping, I am looking at how to implement it on my chassis. I am working on more sophisticated control using an ESP8266 WiFi board and a mobile phone which I will share when I get ...
by jeffm
Sat May 02, 2015 6:52 am
Forum: Hardware Projects
Topic: Self balancing robot
Replies: 49
Views: 72208

Re: Self balancing robot

@pythoncoder I am afraid that the filter did not help much as when I got to cutoff frequencies - range 5, 10Hz - that helped smooth out vibration, the robot became unstable due to the additional delay, even when I increased negative feedback. Predicable I suppose. The problem is that the filter dela...
by jeffm
Wed Apr 29, 2015 5:08 pm
Forum: Hardware Projects
Topic: Self balancing robot
Replies: 49
Views: 72208

Re: Self balancing robot

I would really interested in your code to access the digital filtering code so please do post it. I reduced the accelerometer sensitivity from + or - 2g to + or - 4g which helped a bit, however, I think I still have some residual unnecessary vibration when stationary.
by jeffm
Tue Apr 28, 2015 8:05 pm
Forum: Hardware Projects
Topic: Self balancing robot
Replies: 49
Views: 72208

Re: Self balancing robot

@pythoncoder I tried using a piece of foam to isolate the imu, however, it made things worse:-( I found that setting the complementary filter to have a response time of 0.5secs worked as it rejected the rapid gravity fluctuations due to mechanical noise. The gyro is not affected so it is sufficient ...
by jeffm
Sun Apr 26, 2015 12:07 pm
Forum: Hardware Projects
Topic: Self balancing robot
Replies: 49
Views: 72208

Re: Self balancing robot

@pythoncoder. One more question about the algorithm. Why do you convert to integers in the output of stability() and the input to speedcontrol()? I measure speed in micro steps per second, so the stepper class uses integers and in particular it is important that the interrupt service routine uses i...