Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
25 May, 2013, 22:02:32 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 [2] 3 4 5   Go Down
  Print  
Author Topic: electronic project -  (Read 2959 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
renatose
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Today at 15:53:02
Date Registered: 17 March, 2011, 21:35:59
Location: Portugal
Posts: 201


Total Post Ratings: +3

View Profile
« Reply #15 on: 29 January, 2012, 22:04:39 »
0

there are commands to send/recieve strings (through serial RS232) on both the picaxe and ndless Wink so it should be fine.
« Last Edit: 29 January, 2012, 22:05:17 by renatose » Logged

Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Today at 15:20:51
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1179


Topic starter
Total Post Ratings: +158

View Profile WWW
« Reply #16 on: 29 January, 2012, 22:06:19 »
0

i don't think it's that easy, isn't the nspire sending in a specified format, like ith a code to validate if it's a true nspire and so on?
Logged

willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 22 May, 2013, 01:21:23
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2638


Total Post Ratings: +66

View Profile
« Reply #17 on: 29 January, 2012, 22:06:58 »
0

not in an ndless prog or a lua one. Ifyou're going over RS232 that's the dock connector, and it's only used by the OS in startup stuff.
Logged

Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Today at 15:20:51
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1179


Topic starter
Total Post Ratings: +158

View Profile WWW
« Reply #18 on: 29 January, 2012, 22:09:37 »
0

so you mean it can just send and receive from anything via the usb?
Logged

willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 22 May, 2013, 01:21:23
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2638


Total Post Ratings: +66

View Profile
« Reply #19 on: 29 January, 2012, 22:23:33 »
0

no, by the RS232. That's on the dock connector (not the USB)
Logged

Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Today at 15:20:51
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1179


Topic starter
Total Post Ratings: +158

View Profile WWW
« Reply #20 on: 29 January, 2012, 22:26:22 »
0

oh, nice.. so you can then receive single bytes? one should use the ports on this page: http://hackspire.unsads.com/wiki/index.php/Memory-mapped_I/O_ports isn't it?
Logged

zero44
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: Today at 20:09:52
Date Registered: 24 January, 2011, 17:34:18
Location: France
Posts: 113


Total Post Ratings: +18

View Profile WWW
« Reply #21 on: 29 January, 2012, 22:46:06 »
0

You could left the rc system on your car and make a controller on your calc, for example 2nd to stop/'launch' car and left/right to drive it...
You just need a part of a calc cable, and maybe a one-bit memory (2 NOR logic circuits for example), and leds if you want.
I can make you program if you want (already done ...).
Logged

____________
renatose
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Today at 15:53:02
Date Registered: 17 March, 2011, 21:35:59
Location: Portugal
Posts: 201


Total Post Ratings: +3

View Profile
« Reply #22 on: 29 January, 2012, 22:49:31 »
0

I'm not sure if it can be done with single bytes since I don't know exactly how the RS232 protocol works, but I'm sure it won't be that hard to accomplish some communication between both and to exchange strings of data.

To start I'll want to show data read from the temperature sensor on the calculator screen.

These are the topics in question on the nspire side:
http://hackspire.unsads.com/wiki/index.php/Hardware#RS232
http://hackspire.unsads.com/wiki/index.php/Memory-mapped_I/O_ports#90020000_-_Serial_UART
Logged

Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Today at 15:20:51
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1179


Topic starter
Total Post Ratings: +158

View Profile WWW
« Reply #23 on: 29 January, 2012, 22:53:02 »
0

You could left the rc system on your car and make a controller on your calc, for example 2nd to stop/'launch' car and left/right to drive it...
You just need a part of a calc cable, and maybe a one-bit memory (2 NOR logic circuits for example), and leds if you want.
I can make you program if you want (already done ...).

i thought of that too, but i din't know how to check the bytes in an analog way. in fact, that was my first thought xp
so, how do you do that? well, it would be great to see the program, but i would first like to understand how the splitting works Smiley

@ renatose, it has Rx and Tx, so TTL should work Ö
that's not really for sending, but to read from things like temp stuff and so
Logged

renatose
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Today at 15:53:02
Date Registered: 17 March, 2011, 21:35:59
Location: Portugal
Posts: 201


Total Post Ratings: +3

View Profile
« Reply #24 on: 29 January, 2012, 23:08:52 »
0

following some search that I've just done it looks that rs232 is the protocol and ttl a standard and in fact we will be using both here: http://answers.yahoo.com/question/index?qid=20090211134205AApzAvY

following this we will be using the rs232 protocol with the ttl voltage levels.
and it looks very common to be like this...

EDIT: Aborting this idea since the baud rate of the nspire is 115200 it's too high to a picaxe microcontroller. I don't know if the nspire's baud rate can be lowered or it the arduino supports such a high baud rate.
Anyone here knows?
« Last Edit: 29 January, 2012, 23:42:11 by renatose » Logged

Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Today at 15:20:51
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1179


Topic starter
Total Post Ratings: +158

View Profile WWW
« Reply #25 on: 30 January, 2012, 00:34:15 »
0

115200 is possible with the arduino Smiley i don't know anything about it, but this comes fro the site:
Quote from: arduino.cc
An ATmega328 running at 16 MHz with auto-reset, using the optiboot bootloader (115200 baud, 0.5 KB)

so that shouldn't be a problem
Logged

renatose
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Today at 15:53:02
Date Registered: 17 March, 2011, 21:35:59
Location: Portugal
Posts: 201


Total Post Ratings: +3

View Profile
« Reply #26 on: 30 January, 2012, 01:28:17 »
0

yeap Cheesy when I got an arduino I'll start doing that, in the meanwhile I've got much more to do Tongue

But me/we could start doing the nspire part as it's always possible to test with a computer linked to the nspire at 115200 baud.
It shouldn't be that difficult and is a starting idea... It's always good to have an objective when learning a new language.
Logged

Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Today at 15:20:51
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1179


Topic starter
Total Post Ratings: +158

View Profile WWW
« Reply #27 on: 30 January, 2012, 12:10:39 »
0

that about the objective is true, but i really think it's too complicated for me xs

i think i'm going to buy this set:
  • €24 arduino
  • €20 starter set (wires, breadboard, components etc)
  • €17 robot platform
  • €14 motor shield
  • €3,5 battery box (to power arduino)

this is the robot platform:


it might be stupid to already buy the robot platform, but i'm sure i'll buy it later, and if i don't buy it now i have to pay €10 shipping costs and another €10 when buying the platform, so i thought to buy it together Smiley saves me €20..
« Last Edit: 30 January, 2012, 12:39:41 by Nick » Logged

Keoni29
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Today at 21:04:48
Date Registered: 15 March, 2011, 16:23:33
Location: The Netherlands
Posts: 1120


Total Post Ratings: +146

View Profile WWW
« Reply #28 on: 30 January, 2012, 19:37:40 »
0

You won't learn anything about electronics with that thing. Buy a small prototyping board and some components and start experimenting. That's how I learned it Smiley
Logged


Spoiler for Hidden:
Last signature update 10:55 april 22nd 2013
jwalker
LV7 Elite (Next: 700)
*******
Online Online

Gender: Male
Last Login: Today at 21:40:07
Date Registered: 20 December, 2011, 00:20:52
Location: its cold outside
Posts: 611


Total Post Ratings: +12

View Profile
« Reply #29 on: 30 January, 2012, 20:07:06 »
0

it probably would work for something right away to get an idea about some of the arduino stuff
« Last Edit: 30 January, 2012, 20:07:32 by jwalker » Logged


My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!


Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads
Pages: 1 [2] 3 4 5   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.36 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.