Results 1 to 9 of 9

Thread: Programming a Basic Stamp using Python?

  1. #1



    Ghosts's Avatar
    Join Date
    Jul 2013
    Gender
    Location
    Toronto
    Posts
    1,525
    Thanks
    950
    Thanked 973 Times in 356 Posts


    Downloads
    81
    Uploads
    3
    Mentioned
    445 Post(s)
    Time Online
    187 d 16 m
    Avg. Time Online
    2 h 46 m
    Rep Power
    9

    Programming a Basic Stamp using Python?

    Yeah, so for school I kind of volunteered for something for extra marks even though I have no idea what I'm supposed to do, haha.

    I have to program a Basic Stamp, which is normally written in PBASIC, using Python. I'm sure this is possible, but I don't have any idea how to do this since I hardly know either language yet, so any help is highly appreciated!

  2. #2
    Banned
    Join Date
    Jun 2012
    Gender
    Location
    90 90
    Age
    31
    Posts
    1,714
    Thanks
    876
    Thanked 2,877 Times in 1,139 Posts


    Downloads
    44
    Uploads
    1
    Mentioned
    562 Post(s)
    Time Online
    118 d 6 h 45 m
    Avg. Time Online
    1 h 30 m
    Rep Power
    0
    Gamer IDs

    Gamertag: DarkByt3 PSN ID: raredaredevil
    What do u mean a stamp?

  3. #3

    Josh's Avatar
    Join Date
    Dec 2011
    Gender
    Posts
    415
    Thanks
    24
    Thanked 371 Times in 141 Posts


    Downloads
    82
    Uploads
    6
    Mentioned
    117 Post(s)
    Time Online
    17 d 1 h 30 m
    Avg. Time Online
    13 m
    Rep Power
    6
    Quote Originally Posted by DarkByte View Post
    What do u mean a stamp?
    http://en.wikipedia.org/wiki/BASIC_Stamp

    ^Google

  4. #4



    Ghosts's Avatar
    Join Date
    Jul 2013
    Gender
    Location
    Toronto
    Posts
    1,525
    Thanks
    950
    Thanked 973 Times in 356 Posts


    Downloads
    81
    Uploads
    3
    Mentioned
    445 Post(s)
    Time Online
    187 d 16 m
    Avg. Time Online
    2 h 46 m
    Rep Power
    9
    Yeah, that. I think it's just a thing schools use to help teach basic programming, not sure. But basically I need to control it, which is programmed in PBASIC using Python somehow.

  5. #5
    Banned
    Join Date
    Jun 2012
    Gender
    Location
    90 90
    Age
    31
    Posts
    1,714
    Thanks
    876
    Thanked 2,877 Times in 1,139 Posts


    Downloads
    44
    Uploads
    1
    Mentioned
    562 Post(s)
    Time Online
    118 d 6 h 45 m
    Avg. Time Online
    1 h 30 m
    Rep Power
    0
    Gamer IDs

    Gamertag: DarkByt3 PSN ID: raredaredevil
    Hmmm looks like my aduino that I used to make plant bot (a automated controller for growing plants , more specifically weed ).

    So Stick a led into pin 3 out then you have basically 2 settings , high and low to make the led flash in pin 3 we would do something like:

    start:
    pause 1000
    high 3
    pause 1000
    low 3
    goto start

    This would make the led flash....


    Then lets say u wanted to control via a push button:

    Connect ur button to in0 pin and use something like this:



    start:
    If IN0 = 1 THEN
    high 3
    else
    low 3
    end if
    goto start


    im not sure the exact syntax here but u get the idea ive only used aduino before and rasberrypy
    Last edited by DarkByte; 12-14-2013 at 06:31 PM.

  6. #6



    Ghosts's Avatar
    Join Date
    Jul 2013
    Gender
    Location
    Toronto
    Posts
    1,525
    Thanks
    950
    Thanked 973 Times in 356 Posts


    Downloads
    81
    Uploads
    3
    Mentioned
    445 Post(s)
    Time Online
    187 d 16 m
    Avg. Time Online
    2 h 46 m
    Rep Power
    9
    @DarkByte

    Yeah, that's what I'm talking about!

    Do you know if there's any way I could do that using Python? So the stamp is programmed in PBASIC, but somehow I have to get a light to turn on using Python. Would I have to have Python code convert it into PBASIC so that the stamp could understand it?

  7. #7

    Josh's Avatar
    Join Date
    Dec 2011
    Gender
    Posts
    415
    Thanks
    24
    Thanked 371 Times in 141 Posts


    Downloads
    82
    Uploads
    6
    Mentioned
    117 Post(s)
    Time Online
    17 d 1 h 30 m
    Avg. Time Online
    13 m
    Rep Power
    6
    Quote Originally Posted by DarkByte View Post
    Hmmm looks like my aduino that I used to make plant bot (a automated controller for growing plants , more specifically weed ).
    ^Fucking awesome.

    Lol.

  8. #8
    ritzwin's Avatar
    Join Date
    Mar 2013
    Gender
    Location
    Canada
    Posts
    328
    Thanks
    35
    Thanked 57 Times in 30 Posts


    Downloads
    0
    Uploads
    0
    Mentioned
    23 Post(s)
    Time Online
    13 d 10 h 8 m
    Avg. Time Online
    11 m
    Rep Power
    5
    Quote Originally Posted by Josh21227 View Post
    ^Fucking awesome.

    Lol.
    @DarkByte , Please go on. I might be getting a rasberrypi for xmas, looking for ideas!

  9. #9
    Banned
    Join Date
    Jun 2012
    Gender
    Location
    90 90
    Age
    31
    Posts
    1,714
    Thanks
    876
    Thanked 2,877 Times in 1,139 Posts


    Downloads
    44
    Uploads
    1
    Mentioned
    562 Post(s)
    Time Online
    118 d 6 h 45 m
    Avg. Time Online
    1 h 30 m
    Rep Power
    0
    Gamer IDs

    Gamertag: DarkByt3 PSN ID: raredaredevil
    Raberry pi u can make a wireless solar powered data logger. Stick it in range of say a banks WiFi network for 2 days logging packets to a SD card. Stick the SD card in a pc and crack the wireless key with a pc and aircrack ng.

    Now u have ur banks WiFi network Key and can sit i n a car logging data...


    A more legit money maker is to turn one into quadrocopter and take arial images of events or shops then sell the photos.

    I'll upload some sshots , samples later of my aduino
    Last edited by DarkByte; 12-15-2013 at 06:24 AM.

  10. The Following User Says Thank You to DarkByte For This Useful Post:

    ritzwin (12-15-2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •