Results 1 to 9 of 9

Thread: Programming a Basic Stamp using Python?

  1. #1



    Ghosts's Avatar
    Joined
    Jul 2013
    Posts
    1,527
    Userbars
    9
    Thanks
    957
    Thanked
    981/359
    DL/UL
    81/3
    Mentioned
    451 times
    Time Online
    187d 15h 9m
    Avg. Time Online
    1h 9m

    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

    Joined
    Jun 2012
    Posts
    1,699
    Thanks
    876
    Thanked
    2,881/1,142
    DL/UL
    44/1
    Mentioned
    562 times
    Time Online
    118d 6h 45m
    Avg. Time Online
    40m
    What do u mean a stamp?

  3. #3
    Josh's Avatar
    Joined
    Dec 2011
    Posts
    415
    Userbars
    2
    Thanks
    25
    Thanked
    378/143
    DL/UL
    82/6
    Mentioned
    120 times
    Time Online
    17d 9h 48m
    Avg. Time Online
    5m
    Quote Originally Posted by DarkByte View Post
    What do u mean a stamp?
    (you need an account to see links)

    ^Google

  4. #4



    Ghosts's Avatar
    Joined
    Jul 2013
    Posts
    1,527
    Userbars
    9
    Thanks
    957
    Thanked
    981/359
    DL/UL
    81/3
    Mentioned
    451 times
    Time Online
    187d 15h 9m
    Avg. Time Online
    1h 9m
    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

    Joined
    Jun 2012
    Posts
    1,699
    Thanks
    876
    Thanked
    2,881/1,142
    DL/UL
    44/1
    Mentioned
    562 times
    Time Online
    118d 6h 45m
    Avg. Time Online
    40m
    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
    Joined
    Jul 2013
    Posts
    1,527
    Userbars
    9
    Thanks
    957
    Thanked
    981/359
    DL/UL
    81/3
    Mentioned
    451 times
    Time Online
    187d 15h 9m
    Avg. Time Online
    1h 9m
    @(you need an account to see links)

    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
    Joined
    Dec 2011
    Posts
    415
    Userbars
    2
    Thanks
    25
    Thanked
    378/143
    DL/UL
    82/6
    Mentioned
    120 times
    Time Online
    17d 9h 48m
    Avg. Time Online
    5m
    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
    Joined
    Mar 2013
    Posts
    327
    Userbars
    2
    Thanks
    35
    Thanked
    57/30
    Mentioned
    23 times
    Time Online
    13d 10h 9m
    Avg. Time Online
    4m
    Quote Originally Posted by Josh21227 View Post
    ^Fucking awesome.

    Lol.
    @(you need an account to see links) , Please go on. I might be getting a rasberrypi for xmas, looking for ideas!

  9. #9

    Joined
    Jun 2012
    Posts
    1,699
    Thanks
    876
    Thanked
    2,881/1,142
    DL/UL
    44/1
    Mentioned
    562 times
    Time Online
    118d 6h 45m
    Avg. Time Online
    40m
    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
  •