Thanks for the examples! I noticed something along the lines of removing delays in an example in The arduino or digispark IDE kit somewhere. I will look more into this and study your examples! Much appreciated. Any input is always welcome.
I received the batteries today in the mail. Just need to cook up a fancy chassis for these fancy Swiss motors. Always so busy lately and moving around, my lathe and mill are In Storage with the PC.
Digispark turns out to be a perfect little on the go programming practice chip..
Love how it just hangs off the USB port on my laptop.
Ill try to incorporate that feature into the design of the robot.
Since the batteries are lithium, I have also come up with the idea of building in a small lithium battery charger circuit and hacking it into the digispark. So the batteries should recharge when the robot is plugged in to USB by the digispark. I need to get a hub for testing so I don't fry my laptop and look up some USB charger circuits online. From what I remember they were fairly simple to construct. I think I even have a tiny lipo battery charger for USB laying around somewhere.
I haven't tried to bypass the regulator and run the digipsark at 3.7v yet. I'm not sure if it will do this.. but I received two battery cells to work with just in case. I will try for 3.7v first, and if it won't work, I'll boost it to 7.4. Although, when fully charged it's more like 4.2v per cell so about 8.4v max.
We used to bypass the regulator on the MegaBitty robot controller board until we finally figured out we could swap the Mega8 chip for the Mega8L and get single cell operation.
when it comes to robots, I really like to build. Programming comes second. I was never very good at it, but it seems I have slowly improved over the years, thankfully. Now I can understand how to form enough C code to get by with the basics. I've been working on learning more complex things with bare AVR chips and AVRISPMKII programming for a few years. The digispark is a nice break from the harder register flipping operations I'm used to as of late.
Another thing I need to look up when I get time, is if Digispark is compatible with interrupts as with bare AVR chips and the ISP. One of these days..
Until next time.
A few more ideas to contemplate:
Digispark color sensor shield
object sensor and line sensor shield
directional dual light sensor shield
1" OLED shield (possible or not?)
Digispark iPad app and connector
Solar Digispark shield or low power digispark etc etc for the BEAM robot guys and external powerless projects