![]() |
BasicX uP for next year
what would you think of havinga basicX microcontroller in place of a Basic Stamp for next year. It is just as easily programmable with a simple BASIC instruction set . Its is much faster, has greater math capabilitues including signed variables, a real time clock, interrupts 400bytes of ram(as opposed to 26) and built in supporp for trig. It would not requre much in the way of redesigning the Robot controller, in fact i THINK it may be pin for pin compatible with the Basic Stamp.
[edit] here is a comparison with the Basic stamp 2 SX microcontroller http://www.basicx.com/Products/BX-24/bx24compare.htm |
Probably, but that'd require FIRST to have to update it, which they probably won't do, considering they're FIRST.
pBasic 2.5 was pretty simple... i don't think you'd want anything simpler than that. |
its really no simpler or harder. its just much more powerful. In fact motst of the code syntax is the same
|
I like the whole real time clock idea in there :)
|
The difficulty in proggramming is another challenge that a team must face, making the language easier takes away from that challenge. Our teams are supposed to overcome these hardships and thrive in them. (whether this was intended or not is questionable, but that isn't the point) We should take these difficult situations and throw them into the face of the creators, and say "look, we have conquered your efficiency and complexity problems, what do you want us to do now?".
or something like that. the clock thing would be nice if they intend us to do a more complex autonomous program next year, though. |
We had a similar discussion on this a while back. I was pushing for the JStamp at the time. Lately, I've been more interested in the BasicATOM Pro.
The biggest limitation is the relationship FIRST has with Parallax. Parallax is, in fact, a major sponsor of FIRST, so there's no good reason to dump them. The Javelin Stamp is the only realistic replacement. I find it to be a very 'dirty' and inefficient design, though. The simplicity of java hardware in the JStamp is much preferable, in my opinion. Either way, java creates a somewhat overly complex structure for the fairly simple operation of controlling a FIRST-level robot. My wish list for the current control system is: 1. More RAM (variable space) 32 bytes (26 usable for variables) is very tight when creating complex control algorithms. Scratch pad works, but it far less intuitive and makes the code much less readable. Same with EEPROM. 2. Trig functions Makes ultra complex designs much easier. It's hard enough to write the algorithms WITH the trig functions. Adam |
the jstamp would be jsut as good. what about a bs2p24
|
Quote:
It'd probably be easier for IFI to switch to a 2p, rather than the BasicX, but the amount of improvement of such a transition, as compared to the energy put into redesigning the system (however slightly) would probably not be worth thier effort. Basic Stamps are very common and extremely simple to program (which is the main reason why most robotics team programmers both love and hate them). The way I see it, starting kids off with PBASIC, on a BS2, is a great way to get them interested and involved in [embeded systems] programming (I bought a 2p24 and a 2p40 recently, and am now interested in PIC C and ASM). PBASIC is almost offensively simple, but for a newbie, it's just easy enough to understand, after reading a few pages of documentation, and looking at the sample code. You can jump in, edit the default code a little, and run it within seconds, and know exactly what you've done (for the most part), without having to know a thing about OOP, compilers, or even the computer you're working on. Realistically, I doubt we'll see any major changes from IFI, concerning the control system, for a while. |
I have to agree with FotoPlasma
Although for many of you advanced programmers pbasic is rediculously simple to use, for someone with no programming experience its the perfect language. I had absolutely no experience programming before I started, I had never even looked at a program in code form prior to this. But I decided I wanted to program and as simple as the task may seem, it was quite an accomplishment for me to create my own code and learn how to use this simple language. In fact after 3 years of robotics, i'm still excited when I learn new commands or am able to improve my old codes. Had the program been in a different language I probably would have decided I didn't have the time to learn the language, nor the money or books to do so. I ask that people concider this, and that every year there are new teams who undoubtebly face the same problem, before jumping to a decision to make the programing language "better".
I would however support a new and 'improved' language if and ONLY if teams could still use the current language and commands. That way they could take the time to learn the new language without loosing time from not being able to program it. |
I threw out the 2p as a suggestion. i really don't know the first thing about the 2p series. The basicX however is pin-for-pin compatible with the BS2SX and would require no reengineering of the robot controller whatsoever. As far as Parallax being a FIRST sponser... well i don't know enough about that to speak. I guess i am frusterated not by the limitations of the basic stamp but more by its simplicity though i respect that the control system needs to be simple enough for those without much programming experience to be able to write programs.
Hey you mentioned you are messinf around with Pic C and ASM. What compiler are you using. i have been thinking about messing w/pics but have not had the time. Quote:
|
Quote:
Microchip (the company who makes the PIC series) maintains various programs pertaining to the PIC series, including an emulator for almost every single PIC model, so you don't even have to own any of the microcontrollers to be able to learn about them, and practically program them. There's one team, around here, who was/is making some PIC controlled "smart-sensors," for use on their robot. I won't go around their back and talk about it without express permission, but what they're doing is very cool. If I get permission soon, I'll respond with more information. <edit> I love spelling mistakes. :( </edit> |
o ic. i was thinking about making some pic-controlled "smart sensors" but never got around to it. maybie next year.
|
Gunn High School, Gunn Robotics Team, GRT, team 192 (heh), made some PCBs with PIC microcontrollers for almost generic use.
Supposedly, all they have to do is reprogram them to have them perform a different function. They're planning on producing a whitepaper on them, later this year. Very cool stuff. |
Quote:
|
Quote:
|
| All times are GMT -5. The time now is 22:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi