Shop OBEX P1 Docs P2 Docs Learn Events
The S2: Impressive! — Parallax Forums

The S2: Impressive!

Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
edited 2010-07-23 15:31 in Robotics
Looks like Parallax has now designed the bot for a Propeller addict like myself!

www.parallax.com/ProductInfo/Robotics/TheScribbler2/tabid/826/Default.aspx

@Ken, Why isn't this Parallax frontpage news? I didn't know about this until you mentioned it last night!

Details on the "hacker-port?"

/me adds the S2 to his wishlist..

OBC

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Are you Propeller Powered? PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
«1

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2010-04-16 15:00
    The S2 page looks very nice!

    A couple of comments:

    1. First bullet: "which now enables the variety of robot tasks" should be
    "which now enables a variety of robot tasks"

    2. Second sentence after the bullets: "has enabled us to provide a highly
    capable that brings forward so many new capabilities." should be
    "has enabled us to provide a highly capable platform that brings forward
    many new capabilities."

    3. Following paragraph: "loose" should be "lose".

    Having said all that -- the new Propeller-based S2 looks very capable,
    even compared to the Mindstorms platforms.

    Post Edited (allanlane5) : 4/16/2010 3:05:02 PM GMT
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-04-16 15:33
    Hacker port: 6 digital I/O's (w/ voltage translators) and 2 analog inputs, arranged in a 3x8 header array (i.e. 8 servo-style headers: Vss, +5V, Signal).

    This set of headers is accessible by opening the enclosure. As before, the user has to make his own provisions for bringing cables to the outside.

    -Phil
  • WhitWhit Posts: 4,191
    edited 2010-04-16 15:44
    @OBC - for us robot folks this news has been out for while. Before the last of the original Scibblers sold - Parallax made an end of life announcement. The old ones sold much more quickly than expected (lots of people use them in different programs). The good news is that the S2 will be fantastic. I believe that it has all the new features Scribbler users were hoping for.

    I can't wait to get my hands on one. One of the greatest things (if it is like the old Scribbler - which I am sure it will be) will be the GUI programming interface. Phil Pilgrim wrote the code on the old one and is doing it for the new. Essentially, you programmed to original Scribbler with the GUI - using simple but very powerful control icons. You could then toggle into the Basic Stamp Editor and see the code in Basic. The GUI S2 will let this happen with the Prop Tool! It should be fantastic.

    There are many other great new features. One will be the encoders - it should allow very accurate contol of the Scribbler. Another will be the adjustable line following sensors. In short, there will be a lot new to play with and learn about. And, of course, it is Prop powered!

    You are right to be excited! I think it could be a great intro to the Prop for even the least skilled user.

    @Phil - thanks for the insight! I am more excited the more I hear.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney

    Post Edited (Whit) : 4/16/2010 4:31:55 PM GMT
  • Martin_HMartin_H Posts: 4,051
    edited 2010-04-16 18:04
    The original Scribbler GUI was how I learned PBASIC. I would enter programs into the GUI and then read the PBASIC output. Once I got the hang of PBASIC I stopped using the GUI, but once in a while I'll use it to generate code which I cut and paste. At one point I looked through the GUI code to see how easy it would be to do a Linux port, but since it was written for Active State PERL decided it would be too much work.

    Does the new GUI generate Spin or go straight to assembler?
  • WhitWhit Posts: 4,191
    edited 2010-04-16 19:29
    Martin_H said...

    Does the new GUI generate Spin or go straight to assembler?
    Martin_H,

    That is a great question. I do not know the answer. Perhaps Phil or some of the folks at Parallax can give us a hint. I am like you - I agree that the GUI is a great way to learn. I look forward to seeing how the GUI, the Prop and all the S2's new features work together. It will certainly be fantastic.

    I am also excited about introducing students to the Prop and the S2 is a simple and accessible way.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • hover1hover1 Posts: 1,929
    edited 2010-04-16 19:49
    And Parallax (ebay ID pbasic1) has a Scibbler up for auction. Wonder how much that will go for, being its discontinued.

    Jim
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-04-17 00:55
    The GUI will generate Spin code. That code will consist largely of method calls to the S2.spin object that I'm currently writing. Much of the real work in the S2 object is done in assembly cogs, but the casual user will be shielded from that, just as we are from having to understand TV.spin. smile.gif

    -Phil
  • ercoerco Posts: 20,244
    edited 2010-04-17 01:43
    God bless you, PhiPi!



    a casual user

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
  • WhitWhit Posts: 4,191
    edited 2010-04-17 02:53
    @Phil - sounds great!

    @erco - and Amen!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • Martin_HMartin_H Posts: 4,051
    edited 2010-04-17 10:47
    For S2 users that will be good because they can call the S2 object in their own Spin programs for S2.· But since the object is in assembly they will be much faster.

    I probably used the old GUI in a manner that it wasn't intended.· Before I learned PBASIC I would use GUI·generated code to get an understanding of how to set pins high, low, test inputs, loop,·and so forth.··Which I then used for applications besides Scribbler.

    Do you think that even with the encapsulation the new GUI can be a way to learn Spin?· Learning syntax isn't the hard part, but learning the ins and outs of getting stuff done is.

    At some point I·plan to buy the prop proto board and learn to use it.· I know there are books, but I tend to learn new languages best by reading programs.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-04-17 15:03
    @Phil

    Does the Propeller design of the S2 mean that the GUI and related code might be made
    available openly for us for use with other robotics projects?

    The documentation refers to "stronger" which makes me ask, is this the robot I might want
    to base my mini "hero" type robot on? (I'm picturing some vertical mounts with PCB boards)
    An addition of a few ounces. Any testing done on just how much this new bot will carry?

    Details on the hacker port are appreciated. Thank!

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Are you Propeller Powered? PropellerPowered.com
    Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-04-17 16:27
    OBC,

    The GUI has always been open. I know of at least one project team who has taken my Perl source code (downloaded from Parallax's website) and adapted it for something else.

    Mechanically, the S2 uses the same housing (with a few minor modifications) as the original Scribbler. The motors and gearboxes are different, but they still have to fit within the existing housing bulkheads. Although motor load and lifetime testing has been done, I doubt tha any vertical payload testing has been performed or contemplated. (I haven't even had my S2 on the floor yet to roll around. It's been confined to a static test stand and powered by a wall wart for the entire month that I've had it.) The vertical load is going to be limited by the wheel linkages that come after the motor, since they take all the stress, and those have not changed.

    All,

    Here's a little insight into how the S2 development is taking place. The electronic and mechanical hardware are being designed (and modified from the original) by Ben Wirz of Element Products in Colorado. Element also designed the original Scribbler. Ben has done the component selection, circuit design, and board layouts, and will coordinate the manufacturing and testing in China. He and I have consulted from the beginning on things like Propeller pin allocation. (You'd think that with 32 I/O ports, compared to 16 for the BS2, this would've been easy. It's amazing how fast they got used up!) I've been tasked with writing the low-level driver firmware (S2.spin object), along with modifying the GUI to make it look-alike/work-alike compatible with the S1's. Ben is doing the programming for its out-of-the-box, set-it-on-the-floor-and-go functionality. How much additional functionality the GUI encompasses, compared to the original (i.e. how much mission-creep takes place), will depend on how much time is available before roll-out (and on the dev budget, of course, since Parallax is footing the bill). One of my bigger jobs will be editing the graphics for the GUI so that every depiction of the bot is changed from S1 blue to S2 red. There are a scary number of images that have to be modified in this fashion. Some were actually done in Rhino CAD and rendered in 3D before being converted to image files. These may have to be re-rendered from scratch.

    Ben and I are in constant phone and email communication, which has resulted in several hardware and software mods (i.e. change a resistor value here, add a cap there, double sample the idler wheel encoder to cancel any ambient light influence -- that type of thing). Yesterday, for example, our concern was a faint background hiss and hum from the speaker when there was no audio playing, and audible pops when it was turned off. (It turns out that it can be solved in software by ramping the audio pin's DUTY cycle to zero, then tri-stating it.)

    Both of our efforts are being managed and coordinated by Ken Gracey of Parallax, with support from Parallax's amazing staff. (Jen Jacobs of Parallax's art department came up with that great S2 logo, BTW.) As the project advances, other Parallax staff will be brought to bear to make the roll-out a successful one. Ken, Ben, and the Parallax crew are a joy to work with. We have a great team, and I can't say enough good things about their supportiveness.

    -Phil
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-04-17 21:24
    Here's a sneak peek into the S2's innards (including some circuit board mods):

    attachment.php?attachmentid=69538

    The hacker port is in the lower-right corner of the main PCB (the one on the left). You may also notice the motor encoders. Each motor shaft is extended from the rear and has a four-blade encoder "disk" pressed onto it, which is read by an integrated optical break-beam detector. Each encoder pulse represents about 0.02" (0.5mm) of wheel travel.

    The rear board includes the power switch, LEDs, "reset" button, microphone, and RS232 interface. The three user LEDs are programmable for any blend of red and green (e.g. yellow, orange, chartreuse). All the LEDs are programmable for intensity and automatic blinking, including the blue "power" LED. The "reset" button isn't really a hardware reset button but, rather, just an input. The reset function can be specified (or not) at startup and can count button presses, which are stored in auxillary EEPROM for reading on restart. Not shown in the photo are the light sensors and speaker (in the top shell), the line sensors (under the main board), or the idler wheel stall detector encoder (under the rear board).

    Here's the program that was used to program the LEDs for the photo:

    [b]CON[/b]
    
      [b]_clkmode[/b]      = [b]xtal1[/b] + [b]pll16x[/b]
      [b]_xinfreq[/b]      = 5_000_000
    
    [b]OBJ[/b]
    
      s2 : "s2_v1a"
    
    [b]PUB[/b] start | i, j, t0
    
      s2.start(0, 0)
      s2.button_mode([b]true[/b], [b]true[/b])
      s2.set_led(s2#LEFT, s2#RED)
      s2.set_led(s2#CENTER, s2#YELLOW)
      s2.set_led(s2#RIGHT, s2#GREEN)
      s2.set_led(s2#POWER, $40)
    
    
    


    -Phil
    855 x 642 - 136K
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-04-17 22:54
    /me rubs his hands together...

    Nice! I can see that mine will never have it's cover attached!
    Looks like there are some nice mount points for vertical standoff for a few additional PCB boards.

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Are you Propeller Powered? PropellerPowered.com
    Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
  • Martin_HMartin_H Posts: 4,051
    edited 2010-04-18 00:05
    That hacker port is almost exactly like the switchboard mod I made to my Scribbler! All you would need to do is route those pin to a hole in the bottom like I cut in my Scribbler and you're off to the races. The shaft encoders on the wheel motors are quite neat and much higher resolution than my wheel encoders. Those are some pretty large transistors on the mother board too, I assume they're for switching power to the motors. Those still look like Solarbotics gear motors, but I assume they're the higher current versions?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-04-18 00:28
    Those "transistors" you're referring to (the metal can thingies, right?) are surface-mounted electrolytic caps. The motors are driven with a monilithic dual H-bridge IC. That's next weeks project, BTW: PWMing the motor drivers and coordinating with the encoders and stall sensor. (I always save the hardest for last, it seems.)

    -Phil
  • Martin_HMartin_H Posts: 4,051
    edited 2010-04-18 00:59
    Oops, yes I was referring to the metal can thingies. They looks a little like power transistors I've seen in metal cans. But now that you mention it the black strip on the side should have tipped me off they were caps.
  • Ken GraceyKen Gracey Posts: 7,386
    edited 2010-04-28 17:59
    Caught this photo in an e-mail exchange between S2 developers. It shows the benefit of encoders and far-improved motor control for drawing!

    Drawing with precision, or even crude characters wasn't very practical with the original Scribblers.

    attachment.php?attachmentid=69855

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ken Gracey
    Parallax Inc.

    Follow me at http://twitter.com/ParallaxKen for some insider news.
    478 x 312 - 20K
  • WhitWhit Posts: 4,191
    edited 2010-04-28 18:50
    I must of been a sleep at the wheel! How did I miss all this new info. Thanks for sharing Phil and Ken! All very impressive - from the inards to the great Scribbling.

    The guts look just like the original Scribbler - except for the hundred or so places that they aren't! smilewinkgrin.gif
    I love the original blue bearing at the wheel ports!

    Can't wait to play with one of these. My son will not let ours sit on the bench for a month - I promise you!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney

    Post Edited (Whit) : 4/28/2010 6:55:57 PM GMT
  • ScopeScope Posts: 417
    edited 2010-04-29 01:27
    I guess I've asked this before, but is there any way we can get on an S2 wait list?

    I'm happy to pre-pay for my S2 if it means I can get one fresh off the boat.

    Thanks
  • Ken GraceyKen Gracey Posts: 7,386
    edited 2010-04-29 04:12
    Hey Scope!

    When they arrive at Parallax it's going to be a whole 40-foot container of 5,000 S2s, packed neatly in boxes of six units from top to bottom.

    There's a real challenge with getting early releases of such a high-volume product. When the investment and manufacturing quantity are both big there's only prototypes before production (like you see above). Once the manufacturing line is setup to build. . . they build. The first 5-10 come to Parallax by air from which we give a final "okay" and the rest show up about six weeks later. Shows you how important it is to get the design 100% correct in all ways. No chances for messing around or making mistakes.

    But when they arrive at Parallax there will be no shortage of S2s.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ken Gracey
    Parallax Inc.

    Follow me at http://twitter.com/ParallaxKen for some insider news.
  • BeanBean Posts: 8,129
    edited 2010-06-07 02:04
    I'm glad to hear that Parallax is ordering such a large quantity. I think the S2 is going to be a HUGE hit.

    I've been working on a special version of PropBasic for the S2.

    It will support full expression evaluation (with operator precedence) for all command parameters, will generate only LMM code, but will support PASM only tasks for high speed drivers.

    I need to look at phil's objects to see how much I can implement.

    Can't wait to get some hardware in my grubby little hands...

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-06-07 05:38
    Bean,

    Email me, and I'll send you the latest version of the S2 object.

    -Phil
  • BeanBean Posts: 8,129
    edited 2010-06-07 14:59
    Phil,
    e-mail sent to "propeller at phipi dot com".

    Thanks for the offer.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • WhitWhit Posts: 4,191
    edited 2010-06-07 22:22
    Great news Bean and Phil!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-07-16 18:26
    Just bumping the thread to see if Parallax or Phil can give us an update on how this anticipated project is going?

    It's been a little quite on the S2 front... [noparse]:)[/noparse] Got a peek at the case on Ken's desk after UPEW, but was so pressured
    for time (to get the to the flight I misssed. [noparse]:)[/noparse] ) I didn't have a chance to ask for a better look.

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Feature Projects: PropellerPowered.com
    Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-07-16 21:03
    My work on modifying the GUI and Observation Deck for the S2 is virtually complete. There's still some work to do converting images in the help file. Basically, any program written for the original Scribbler GUI will run from the S2 GUI and vice-versa.

    The hardest part was converting the graphics from showing blue Scribblers to showing red ones. There were a ton of images that had to be converted! Some of it I could do in Corel Photopaint, but the more difficult conversions required a Perl script to root out particular shades of blue and convert them to red -- then back to Corel for touch-up. Fortunately, I did not have to go all the way back to the original 3D models of the various widgets in RhinoCAD, re-render them, then rescale, convert to GIFs, and touch up the resulting images pixel-by-pixel. That would have taken a lot longer! On balance, I was pretty pleased with Corel's ability to select colors and alter their hues, while retaining the correct shading.

    Code generation for the new S2 Propeller object turned out to be pretty easy. Basically, the groundwork for this step had already been laid while writing the object itself, which was by far the most time-consuming aspect of the project for me. So there was an almost one-to-one relationship between BASIC Stamp GOSUBs and Spin method calls. But there are many features in the S2 object itself for people to discover that aren't used by GUI-generated code for compatibility reasons.

    I do need a better Windows installer for the whole package, though. My creaky old InstallShield Express program is ready for the rocking chair and won't even work with some newer versions of Windows. If anyone has positive experience to share regarding freeware Windows installers, I'd be most grateful for the tips.

    Thanks,
    -Phil

    Post Edited (Phil Pilgrim (PhiPi)) : 7/16/2010 9:08:12 PM GMT
  • Jay B. HarlowJay B. Harlow Posts: 79
    edited 2010-07-17 02:16
    Phil Pilgrim (PhiPi) said...

    I do need a better Windows installer for the whole package, though. My creaky old InstallShield Express program is ready for the rocking chair and won't even work with some newer versions of Windows. If anyone has positive experience to share regarding freeware Windows installers, I'd be most grateful for the tips.

    Thanks,
    -Phil
    Consider WIX http://wix.codeplex.com/

    I haven't used it extensively yet, but follow the blogs about it.

    Jay
  • ercoerco Posts: 20,244
    edited 2010-07-23 15:07
    When do these li'l fellas ship?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
  • Ken GraceyKen Gracey Posts: 7,386
    edited 2010-07-23 15:15
    Hey erco, we are waiting for our factory first article. Internal prototypes have been produced already.

    The original delivery schedule was August 2010 but I think it will be more like October/November 2010.

    There's a lot of pressure on Parallax to get this product manufactured quickly. I'll likely be making trips with the engineer to the factory in a month or so.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ken Gracey
    Parallax Inc.

    Follow me at http://twitter.com/ParallaxKen for some insider news.
Sign In or Register to comment.