Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Camel

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    2,161

    Just a little update I got the PCBs from...

    Just a little update

    I got the PCBs from oshpark and assembled them, discovered mistakes and had to do microsurgery to reroute traces using strands of wire. The switch has 6 ports and is using DMA...
  2. Replies
    14
    Views
    2,161

    Here is the repo...

    Here is the repo
    https://github.com/supercamel/PicoLAN

    Code will be going up shortly. It needs a bit of a tidy up and it's completely untested on any real hardware.
  3. Replies
    5
    Views
    1,144

    I hadn't heard of nanopb! Just reading the...

    I hadn't heard of nanopb!

    Just reading the nanopb docs on github, it seems like it's basically the same thing. Some points of difference are C3 is C++ not C, which is just a personal preference...
  4. Replies
    14
    Views
    2,161

    15439 Looking a bit better, so should run on...

    15439
    Looking a bit better, so should run on UNO/Nano no worries. Walk in the park for Teensy 3.x.
    6 port switch design sent off to osh park. Woot!
  5. Replies
    14
    Views
    2,161

    Alright, well, I've got something working for...

    Alright, well, I've got something working for reliable transfers. It is client/server based with multiple connection states . . . :rolleyes: Sort of superficially TCP-like but lacks flow control and...
  6. Replies
    14
    Views
    2,161

    There is no checking for missing frames with...

    There is no checking for missing frames with datagrams. The socket implementation just blasts out data and hopes for the best. There is error checking at the frame level, but it's just check sums so...
  7. Replies
    14
    Views
    2,161

    15419 Builds for Arduino Nano & most likely...

    15419

    Builds for Arduino Nano & most likely will for Teensy but I've been getting some weird errors with compiling anything for Teensy so need to look into that . .
    Unfortunately for UNO / Nano...
  8. Replies
    14
    Views
    2,161

    Alright, I'm doing this while I've got some...

    Alright, I'm doing this while I've got some holidays. Brief description: it's a LAN kind of like your home network, except it runs on Arduino/Teensy and uses UART. Going with 'picolan' for the...
  9. Replies
    14
    Views
    2,161

    Purpose is simply to enable a bunch of devices to...

    Purpose is simply to enable a bunch of devices to talk to each other, with built in layers of abstraction that facilitate real-time messaging through datagrams, or reliable transfers through streams,...
  10. Replies
    14
    Views
    2,161

    Packet Switched Networking

    I've been toying with the idea of using a switched packet network for a robotics project. A switched packet network, as I understand it, is a network where all devices on the network connect to a...
  11. Replies
    25
    Views
    5,762

    Nice. I'm developing a GCS at work at the...

    Nice.
    I'm developing a GCS at work at the moment. Not sure what I could publicly say about it, other than it's designed by UAS operators for UAS operators (as opposed to autopilot developers who...
  12. Replies
    23
    Views
    2,978

    Or you could use two op amps, one as a precision...

    Or you could use two op amps, one as a precision rectifier and one as a sign indicator. That'd work! (yeah i'm not an electronics guy, i'm just bored)
  13. Replies
    23
    Views
    2,978

    You could use a MOSFET rectifier and an op amp....

    You could use a MOSFET rectifier and an op amp. This would give you one analog input from the rectifier that indicates magnitude of current flow, and the op amp gives you a digital I/O that indicates...
  14. Replies
    23
    Views
    2,978

    I'd be inclined to use a 50A bi-directional...

    I'd be inclined to use a 50A bi-directional ACS758 if possible. You can measure from this sensor directly from an analog pin.
  15. Replies
    25
    Views
    5,762

    How have you been finding the beagle bone with...

    How have you been finding the beagle bone with it's non-guaranteed responsiveness? I toyed with a raspberry pi for flight stabilization and found it missed intervals by up to 600ms at times. Probably...
  16. Replies
    5
    Views
    1,144

    Yeah, kind of like protobufs, except it's...

    Yeah, kind of like protobufs, except it's designed with embedded in mind. Here's some example Arduino code based on the blinky.json file in the github repo



    #include <c3.h>

    typedef...
  17. Replies
    25
    Views
    5,762

    Hi, Cool project. I used a Teensy for a...

    Hi,

    Cool project. I used a Teensy for a flight controller a few years ago, it's a solid unit.

    I had a look through your githut & saw commits by Curtis L. Olsen. I guess you are using...
  18. Replies
    5
    Views
    1,144

    C3 Protocol Generator

    Hello,

    I'm having a tinker with an old project and thought I'd share it. It deals with the problem of getting information from one device to another. This is such a common issue, nearly every...
  19. Ok, so I think I've fixed the issues that you...

    Ok, so I think I've fixed the issues that you found. I'm still a little shocked that the compiler doesn't optimise the rope constructor, but oh well, that was an easy fix.

    ETK doesn't do...
  20. Thanks for the review. It's all a work in...

    Thanks for the review. It's all a work in progress . . . I think you're the first person other than myself to inspect that code so closely (no one else has flagged any issues, anyway), so I really do...
  21. Thank you for the feedback Paul. I had hoped...

    Thank you for the feedback Paul.

    I had hoped that if I posted here there would be at least some appreciation of the technical benefits, but I see that you're quite right about the human side....
  22. You are right, it's all about syntactic sugar,...

    You are right, it's all about syntactic sugar, rapid development & safety. I'm hoping that at some point there will be no bugs in the language, and that the ccat compiler will be able to pick up on...
  23. Aah, ok. Perhaps I didn't word that sentance very...

    Aah, ok. Perhaps I didn't word that sentance very well. The STM32 project is purely there as an example of the language and what it can do. There's absolutely no reason you couldn't use it with a...
  24. CoffeeCat - programming language & source-source compiler

    Hello all,

    CoffeeCat is a personal project of mine that I feel is ready to been shown off a little. It is a programming language and a source-source compiler that is designed for rapid...
  25. Replies
    13
    Views
    12,754

    That's some creative thinking there, using a...

    That's some creative thinking there, using a timer. I reckon that will save some people a lot of potential problems. Good work!

    Just a quick note on the Ada Ultimate GPS, if you want to get 10Hz...
  26. Replies
    16
    Views
    6,072

    OK, I've gotten the Serial library working. It's...

    OK, I've gotten the Serial library working. It's not complete - only USB-Serial works, not the UARTs yet. Making functions available to the VM is clearly documented in the Squirrel manuals, but it...
  27. Replies
    16
    Views
    6,072

    http://squirreldoc.neonapple.com/v3/frame.html ...

    http://squirreldoc.neonapple.com/v3/frame.html

    The reference isn't that great IMO. I think if I were to push on with this project I'd have to create my own language reference, as well as a...
  28. Replies
    16
    Views
    6,072

    It does, doesn't it? But its quite different....

    It does, doesn't it? But its quite different. It's not a strongly typed language like C. I'm still learning it myself and so far I think it'd be best described as Python with C++ styled syntax. This...
  29. Replies
    16
    Views
    6,072

    Yes, that's it.

    Yes, that's it.
  30. Replies
    16
    Views
    6,072

    I nearly went with TeensyNuts for the project...

    I nearly went with TeensyNuts for the project name, because a squirrel script is a 'nut'. But I think I'll go with ArduNuts instead. ;)

    *edit: Nah stuff it, TeensyNuts is a much better name. Pun...
  31. Replies
    16
    Views
    6,072

    Woo! I've got a blinky script working. Here's the...

    Woo! I've got a blinky script working. Here's the script



    pinMode(13, 1);

    while(true)
    {
    print(millis());
    print("\n");
  32. Replies
    16
    Views
    6,072

    The squirrel VM I've compiled takes up about 63%...

    The squirrel VM I've compiled takes up about 63% on a 3.1, and that includes the SdFat library and the Teensy core too of course. So by the looks it's actually bigger! Oh well, I expect the next...
  33. Replies
    16
    Views
    6,072

    Squirrel language?

    A few months ago I managed to compile a very minimalistic squirrel virtual machine on the Teensy 3.1. The only function that I implemented was 'print()' and then I got distracted by other projects....
  34. Replies
    12
    Views
    6,523

    12km of autonomous flight. We had some issues at...

    12km of autonomous flight. We had some issues at the start of the flight and I stuffed up the pitch controller gains, so the first half of the video is extremely shaky. I turned down the gains after...
  35. Replies
    12
    Views
    6,523

    Just thought I'd do a little update. Last weekend...

    Just thought I'd do a little update. Last weekend we did our first successful long range autonomous flight. The flight totalled 7.6km with the futherest waypoint being about 3.2km away - far beyond...
  36. Replies
    12
    Views
    6,523

    Haha, yeah. I'm not a gifted photographer at all....

    Haha, yeah. I'm not a gifted photographer at all. Should do a night course or something.
  37. Replies
    12
    Views
    6,523

    I've changed the design a bit. It now breaks out...

    I've changed the design a bit. It now breaks out all available digital pins (not including the pads underneath the Teensy) so that it becomes a 6 channel autopilot instead of 4. It uses the latest...
  38. Replies
    559
    Views
    296,394

    Thanks goodness for the FPU!! I was so close to...

    Thanks goodness for the FPU!! I was so close to jumping onto the STM32 bus, but I suspected a Teensy with an FPU might be here soon. Definitely keen to get my hands on a few.
  39. Replies
    12
    Views
    6,523

    Had a successful flight today. ...

    Had a successful flight today.
    http://www.youtube.com/watch?v=02Fs6D31xcA
    Appologies for the video quality. I really need a gopro or something to film from the aircraft.
  40. Replies
    12
    Views
    6,523

    I used KiCad.

    I used KiCad.
  41. Replies
    12
    Views
    6,523

    Will do! I've got a foamy on the way. It should...

    Will do! I've got a foamy on the way. It should be here this week sometime, so next weekend will be it.

    In the mean time, I offer videos of simulations - which aren't as fun I'm afraid. Here's...
  42. Replies
    12
    Views
    6,523

    Firetail UAV flight controller

    Hello,

    Don't mind me, I'm just showing off a project.

    The project is a flight controller / autopilot for RC planes, with a Teensy 3.1 for a brain. I received four brand new PCBs today. It's...
  43. Replies
    20
    Views
    5,623

    Hello, I am also experiencing segfaults on...

    Hello,

    I am also experiencing segfaults on 32-bit Linux Mint 16. It only seems to occur while opening a hex file.

    Cheers, Camel
  44. Replies
    5
    Views
    2,576

    Ahh, sorry for the confusion. Some of the...

    Ahh, sorry for the confusion. Some of the modifications I did to the makefile messed up the line numbers. I should have said the OPTIONS line.

    Anyway, this is the first 25 lines of my makefile. ...
  45. Replies
    5
    Views
    2,576

    Makefile suggestion

    Hello,

    I have recently purchased a Teensy 3.1 and am currently porting my Arduino Due program over to it. When I compile my program for the Due, it ends up around 100Kb in size. When I compiled...
Results 1 to 45 of 45