go_away

Recent Posts

Pages: 1 2 3 4 ... 10
11
Software / Axon II button not being recognized?
« Last post by Hero I on October 14, 2014, 10:43:47 PM »
I'm using WLS 1-14 and Axon II and I can't get the push button to work on the Axon II.

Below is the my code and you can see that every second I'm outputting "Hello World!" to the standard out which does exactly that.

However, when I press the button on the Axon II, it's not recognizing any action because I'm not getting any of the output that is programmed in any of the "if" statements.

Does anybody know what my problem might be?

Code: [Select]
TICK_COUNT appControl(LOOP_COUNT loopCount, TICK_COUNT loopStart)
{
TICK_COUNT delta, now;
static TICK_COUNT last = 0;

now = clockGetus();
delta = now - last;
if (delta > 1000000) // 1.0 second
{
cout << "Hello World!\n";
last = now;
}

if (button.isPressed())
{
cout << "Pressed\n";
}

if (button.isReleased())
{
cout << "Released\n";
}

if (button.isDepressed())
{
cout << "Depressed\n";
}

if (button.isWorking())
{
cout << "Working\n";
}

if (button.isChanged())
{
cout << "Changed\n";
}

return 0;
}
12
Software / Re: Webbotlib Studio FBoot only works the first time!
« Last post by Hero I on October 14, 2014, 10:24:08 PM »
I tried dropping the baud rate down to its lowest level and still no luck.

I then installed WLS 1-14 and tried the "AVR Dragon (Atmel AVR Studio)" option and it works every time I tried it. I'm happy with this setup and will continue to develop using this method.
13
Software / Re: WebbotLib Studio new release
« Last post by Webbot on October 14, 2014, 12:23:42 PM »
Version 1-14 is released. Check out the News page http://webbot.org.uk/iPoint/35.page
14
Electronics / ms5611
« Last post by neeba on October 12, 2014, 01:00:00 PM »
Hi guys
I tried to get data from ms5611 with twi but I couldn't.
Is there anyone works with ms56xx?
I badly need some helps ...
15
Software / Re: Webbotlib Studio FBoot only works the first time!
« Last post by Webbot on October 12, 2014, 11:22:53 AM »
Hm - I'm also running out of suggestions  :)

Quote
I'm willing to loan you my Axon II just to rule out the board.
Not that simple. I'm based in the UK - think you're East Coast - so on top of postage there is customs duty as well. Note I'm just a SoR member like you - I don't make the Axon boards!

Only thing that may be worth knowing is the logging on the WLS Output tab as well as your USB sniffing log. I can then try to work out what's going on.

If all else fails then I could drive your Dragon either via AvrStudio tools or directly via AvrDude (although the latter clobbers the Jungo USB drivers in Atmel Studio - which can be re-installed). Probably need a new thread for this - or an off line chat. Mainly coz I don't have a Dragon. So would need to work together to get something that works.
Given your problems so far then I probably need to buy a Dragon - ie works for me but not you!

 [edit] Just 'gone mad' and ordered a Dragon You could also try dropping the baud rate right down. If that works then increase it till it breaks. Can't give you a 'number' as it depends on how fast your laptop/pc is.
16
After further work it turns out that the MCP23017 may not be the best choice for my project, because of my limited programming skills. 

Thanks to the good people at Adafruit and Joan form the Raspberrypi.org Projects forum - automation, sensing and robotics topic I believe I have found a solution to my RPi DIY motor control needs.

Long and short of it is:

DIY Ardunio motor shield @ < www.Instructables.com/id/DIY-arduino-motor-shield-L298N-Chip-2-4-Amp-/ > allows me to build the motor controller.

For help to get started with coding the shield go to <youtube.com/watch?v=qwNvYYqBy7I >

The young man hosting the video does a good job explaining H-bridges and the code he wrote to test run the DC motors being controlled by an Arduino motor controller.

The example code associated with the video can be found by clicking the "Show More" box below the video.

I hope this is helpful to those who might be looking for DIY solutions to bot motor control.

Thanks to all those who helped me plan for the RPi based robot's mobility.  BTW the RMF (Robot Motor Factor) calculator at this site, along with constructing motor torque/speed charts played a critical role in finding the motors for this project - which it turns out is not an easy task.

Cheers,




17
Software / Re: Webbotlib Studio FBoot only works the first time!
« Last post by Hero I on October 11, 2014, 03:19:29 PM »
No success.

1) I downloaded WLSboot (http://webbot.org.uk//WebbotStudio/WLSBoot_atmega640_Uart1_16MHz.hex) from http://webbot.org.uk/iPoint/57.page

Type = WLSBoot
MCU = ATMega640
Speed = 16MHz
UART = 1
BOOTRST =Ticked
BOOTSZ = 512W_7E00

2) I used my AVR Dragon to program and verify WLSBoot_atmega640_Uart1_16MHz.hex

3) I launched WLS and burned the project to the board with the following settings...

Programmer: WLSBoot
COM Port: COM4
Baud Rate: 115200

No matter how many times I try, I'm not getting any success.  :(

I'm running out of options.

I'm willing to loan you my Axon II just to rule out the board.

18
Software / Re: Webbotlib Studio FBoot only works the first time!
« Last post by Webbot on October 11, 2014, 09:11:04 AM »
WLSBoot can now be downloaded from here: http://webbot.org.uk/iPoint/55.page
NB For the Axon(s) you need the UART 1 version.
19
Electronics / Re: Help with converting flow meter output signal to power a relay.
« Last post by Billy on October 10, 2014, 11:33:36 PM »
Hey Matt,
Not a really hard problem to solve I don't think.
...but many people that post for the first time never come back to see if there was an answer given. So effort spent to answer questions from brand new members seems a waste of effort.
Let us know if you're still looking for an answer. I'm sure we can come up with something that uses a diode, op-amp, a cap and a resistor or two.
20
Mechanics and Construction / Competitive quotes for all your parts
« Last post by BriteHub on October 10, 2014, 04:45:20 PM »
Hi Robot world!

I wanted to introduce you to BriteHub - we are a manufacturing marketplace that connects people and businesses that need parts made with a community of certified, and vetted manufacturers to help make your parts.

We have been working with many universities and robot friendly folks to help get parts 3D printed, CNC'd, and other manufacturing processes.

If you have a part and need competitive quotes - create a Request for Quote at http://britehub.com
Pages: 1 2 3 4 ... 10

Get Your Ad Here

data_list