Amazing...

Cableguy

Expert
Licensed User
Longtime User
Except for the cnc, they are doable with b4r
 

techknight

Well-Known Member
Licensed User
Longtime User
I have done similar things, but I never have used b4r. I use BASCOM-AVR which is very similar and has been around since the mid 90s. As far as a CNC, Why wouldn't it be doable? One of the projects I had done was slightly more simple, but still complex and that was a brushless-DC ECM motor controller. Not exactly easy but doable in BASIC. I did this as a retrofit controller/driver for the one that failed in my washing machine (common problem on new stator-style machines). Then I adapted it to the frequency pulse modulation used in GE fridges with Embraco brushless ECM compressors. Those "gray boxes" drop like flies on those things.

Speaking of CNC, I maintain one at work which is now a 20+ year old machine with the manufacturer long gone, support long gone and I have done enough patch work with an AVR to keep that thing running surprisingly. uses a proprietary motion control card with tons of Altera CPLDs. the AVR serves a simple task by telling the motion controller where home is as well as controlling the motor brakes. (the original PCB that did this died) so I had to replicated its function.

Then the servo amplifier died and I had to fix that. luckily it was just leaking capacitors in one of the 5V switching regulator circuits cutting the supply to the logic ICs.
 
Last edited:

Cableguy

Expert
Licensed User
Longtime User
The most current implementation of arduino based cnc is based on a grbl interpreter "burnt" into the arduino. Such interpreter takes up almost all available memory as well of the use of interrupts for the end-stops and special logic for simultaneous control of more than one step motor...
For all the above, creating a b4r based grbl interpreter would be almost impossible.
 

LucaMs

Expert
Licensed User
Longtime User
Sorry if I must to be too much serious, as always; it is my nature, you know.

1) I would be happy enough I were be able to create the graphic animation at the beginning of the video;
2) number 5) robotic arm: FIFO? A not so smart robot;
3) number 2) line follower: I had that stuff when I was 5 years old!

:p


Less serious:
4) "drawing robots": you must have a drawing already done, the two implementations make a copy; can this be useful?
5) number 10) solar tracker: this is very useful (but I think there is already something like that).
 

Toley

Active Member
Licensed User
Longtime User
All of those project are quite easy to reproduce, it only requires a lot of spare time. Except for the data glass, which I will have a closer look, they are all useless "cool" gadgets.
 

techknight

Well-Known Member
Licensed User
Longtime User
The most current implementation of arduino based cnc is based on a grbl interpreter "burnt" into the arduino. Such interpreter takes up almost all available memory as well of the use of interrupts for the end-stops and special logic for simultaneous control of more than one step motor...
For all the above, creating a b4r based grbl interpreter would be almost impossible.

Ah.. that makes sense, so its a limitation of the microcontroller itself as far as RAM and flash memory. Speaking of which, I think the craziest thing I saw was a guy had an ATmega128 doing RSA512 and 3DES all in Assembly, and this was a decade or so ago. Need to find that code I have it buried somewhere, I thought it was impressive at the time. I could never do anything like that. lol.
 
Top