First Spin Ideas?
Tymkrs
Posts: 539
Question for the folks who may listen to First Spin (or may not yet) - what should we talk about? I usually come up with the ideas for each week and since I'm serially oriented (as in I work on one project at a time), and we've gone through most of the commonly used sensors/modules from Parallax, I'm at a slight loss for what we should cover.
Some listeners have kindly sent in questions which we've been able to address, so thanks for that! So please send them if you have them...otherwise, are there objects/projects you've wanted dissected down to each line, or modules, or functions that the Prop has that we should cover that haven't already been covered?
I'd love to hear any suggestions, I'm running out of innovative ideas!
Some listeners have kindly sent in questions which we've been able to address, so thanks for that! So please send them if you have them...otherwise, are there objects/projects you've wanted dissected down to each line, or modules, or functions that the Prop has that we should cover that haven't already been covered?
I'd love to hear any suggestions, I'm running out of innovative ideas!
Comments
PWM....let me see. We probably addressed it in the servo episode: http://www.firstspin.tv/2012/06/05/first-spin-episode-028-servos-are-easy/
Was there anything more in detail than what was covered in those (if you've listened to them?)
i guess what i meant would be something a litte more advanced about how you could use counters to make your own pwm. You know understanding a little bit more about the theory and not relying on prewritten objex objects.
another topic that would be neat would be shift registers
I've listened to the first 18 or so, then skipped to the one for the emic2 module, though I've not (yet) gone back and listened to the rest of them, though I most certainly plan to do so.
As far as things to make shows about, I really don't have any suggestions, if you want to keep the show about learning spin for the propeller, but perhaps some quick tutorial type shows on getting some of the many 3rd-party languages installed on the propeller would be something to cover, there's lots of folks producing languages such as forth, c, basic, and others, a few shows on how to install these languages, and a sample of what they can do may be enough to convince some hobby coders that the propeller really can do this or that, and not only natively, but with other languages too.
If it's out of scope for the spin podcast, then maybe another series of podcasts covering them might be in order.
When I talk to folks who know anything about microcontrollers, all they mention is the arduino, and it's really a up hill battle trying to explain that there are other boards in existence, and that the propeller can do just as much as the arduino boards. I wor my not all robots are toys shirt to the fair type thing they had here in town, and not a single person was curious about it, that's just sad.
So, not a help, but there's my input, fwiw.
1. Servo control pulses aren't real PWM. Show using counter-controlled true PWM to create smooth analog outputs that can be set by writing a value, and don't tie up a cog.
2. Using high EEPROM to save nonvolatile values
3. Real time clock like DS1307
4. SPI RAM for more data storage
5. SD cards for major data storage; probably more than one episode. One for SPI access to read and write sectors, then the partition system (or lack thereof as some SD cards are like big floppy drives with no partitions) and then the filesystem, take apart FSRW or KyeDOS to show how it works, maybe culminate with a serial data logger app
6. The video generator. At least tour the various OBEX offerings for TV and VGA and how they're set up.
7. Delta-Sigma ADC. Bonus: You really need to use SMT propeller as on a protoboard for it to work right.
8. Reading and driving IR remote controls
9. Reading a quadrature encoder for shaft position feedback
10. Have the Propeller READ servo control signals from a RC receiver
OK, that's just some stuff that I've done myself in the last couple of years. A final possibility would be to get into some of the simpler PASM apps for things that are just a bit too complicated for counters and for which Spin is a bit too slow (reading servo controls might qualify there, as being an I2C slave did when I had to implement it). A comparison of Spin with PASM methods for some simple stuff like reading inputs, setting outputs, and blinking a LED might be worth a look.
I think shift registers are also a great thing for the beginner the hc595 seems to be used a bit, maybe show how to make a button matrix using shift register?
As far as RTC goes I have both the 1307 and 1302, why are more people into the 1307 it lacks the sram which comes in handy, is it just becuase its i2c?
traVis.
I guess PWM is a pretty wide subject becuase it can be used to drive so many things. Im alot more intrested in driving a plain DC motor accuretly using pwm or led displays than audio, this at least gave me the knowlege i need to get started. Maybe sometime you guys could cover motor control.
I guess alot of my issue is i like to learn how things work and would rather write a small driver to understand the technology before i use an obex object. I do understand some topics like vga from scratch arent to viable without video but i feel like you guys could get deeper teaching simple things like pwm, bit banging,interfacing to 74logic chips lile counters and analog mux. These things can all be learned from scratch no objects needed. the pwm episode was a great start and i thank you so much for covering it whisker made alot of the fundamental concepts just make seansec.
I'll see if I can get some PWM example working on spin for a motor - duty cycle style and then post it
1x 3x 5x 7x 11x 13x on six cogs. You could do 17x and 19x as well, but it is rather hard to see the difference.
Oo Now that's going into *angels chorus* territory haha
That's certainly an option.
Depending on how many buttons were needed, one could always use a 74C923 which is a 20 key scan matrix encoder.
http://www.fairchildsemi.com/pf/MM/MM74C923.html, even includes debounce circuits..... All on a single chip!!!
But wait, there's more......
FF