These are the slides I will use in the upcoming meetup;
Hope to see you there!
Seems like lyrics for a new song.
I’m moving, and will be losing the most awesome internet ever from CondoInternet. I had a nice 1Gig pipe and ran my own web sites.
But atlas, new place will have Comcast (I’m scared), but they are negotiating with CondoInternet. I put in the best recommendation I could.
In the meantime, Hello Azure. I tried Amazon for a bit, too much hassle. I’m hoping the Azure pricing stays reasonable.
The first hit will be slow. It should be ok after that.
Motor speed as reported by PSoC;
(tl;dr bugs, doesn’t work)
Motor speed as reported by Arduinos
hahahah – not enough interrupts to even bother.
Lessons learned from weeks investigating;
Arduinos do not implement SPI slave writes.
Netduinos do not implement SPI slave reads.
SPI sucks, invented by terrorist to drive people insane and waste time.
Next attempt ATTiny Atmels on I2C? I have not seen anything that can do what 6+ year old LEGOs can do yet, not impressed.
I did some moving averages on the velocity, played with the PID a little and got this;
I guess I can live with this for a while. So hopefully I am back to real work for a bit.
This is the pdf I will use at an upcoming meetup group, posted here for comments and suggestions. Do I dare turn on comments?
Those targeted know how to get in contact
Ungraded vs Graded (w/ Adobe Speedgrade)
While listening to new Katy Perry Starting to get worried about myself.
So I am giving one of these Windows on Devices things a look.
I would have to say so far, pretty smooth and as expected for a very early device. I have some ideas for projects.
One thing I wanted to do right off the bat was get the device onto my existing network. Microsoft was kind enough to ship a USB network adapter and cable with the Galileo, so that it can run on its own little network without disturbing your existing network, but I already have somewhat of a Xduino lab (Arduinos, Netduino, and PSoCs) and an ethernet cable for the purpose, so I really did not want additional network wiring.
The short of the story is; here is the command you are looking for
netsh int set address name=”Local Area Connection” static 192.168.1.199 255.255.255.0 192.168.1.1
If you do not understand this, you probably should not mess with it to change what comes as the default. Also be aware if and when you give the command, the correct response is for your telnet session to freeze. Again, if you do not know why, probably best to stay away.
I’d love to step by step what and why, but it really is an entire 9 week class on networking
Follow up: Well I loved the speed of debugging. It felt very solid compared to other things I have been debugging lately. The second project I tried, Firmata/Cylon using Node.js failed. I really have never done any Node.js stuff before so I am guessing the instructions made some assumptions as to the audience, and I was not aware of important steps (like npm does not even run until you manually create a directory).
So, like I always wanted to play with a FPGA.
And after spending a week with what I thought was going to be a breakthrough on the Netduino, trying to make it act like an NXT and do PID regulation of 2 motors with encoders, and incorporate Ultrasonic sensors for collision detection, I was getting nowhere.
Sure, it was probably code mistakes on my part, but I just could not get a smooth functioning PID going, and to me it seemed that is was because the velocity measurements were inconsistent. The faster I made the regulator loop, the better it got, but still not usable.
Most code I looked at used some sort of modified PID to smooth things out. Perhaps this is the fix it needs that I did not try.
But anyhow, I decided to take a break and try out a Cypress PSoC4 dev board I recently received. I went through the online video tutorials, and I am thinking this is kinda cool. I did some small variations of the presentations, and then I decided to go for it.
From scratch, no looking it up on the internet, I came up with my own Ultrasonic measurer, serial broadcasting to the PC. Woa, very cool, and the numbers make more sense and are less noisy than anything I ever saw on the Arduino or Netduino. First try (as in first project, it took several iterations to make it work), this thing has potential. I like!