Need recommendations and help with a project using ATtiny and Raspberry Pi

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello

First post here!

 

I have a project that I am working on using a ATtiny 84 (or 24) that I would like to use to control a UPS that I have, that itself controls the power state of a Raspberry Pi3 and custom amplifier.

I can usually grind my way through figuring these things out, however, posting here, I'd like to find the fast-track approach.

i've no programming experience and is mostly what I am seeking help with.

I've posted a video of what I am looking for, and am seeking advice/pointers/help of any kind.

Potential $ trades etc..

Thank you

S

Link

https://youtu.be/kOvWLorZypI

S

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

synonymous wrote:
i've no programming experience

Well, clearly that is a pre-requisite for any programming task!

 

The usual advice is that you should learn the basics of programming on a PC (or similar) - don't start on a microcontroller.

 

Once you have the programming basics, then you can move on to get into all the added complications & restrictions of small microcontrollers.

 

Here are some 'C' learning & reference resources: http://blog.antronics.co.uk/2011...

 

 

I'd like to find the fast-track approach

Use an Arduino ?

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:

synonymous wrote:
i've no programming experience

 

I'd like to find the fast-track approach

Use an Arduino ?

+1

 

An inexpensive Chinese knockoff Arduino Nano would be a great fit for this task.  Our Arduino expert,  Simonetta, may be able to give you more advice about why we are suggesting these.

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius